Change the definition of ranges to exclude the upper bound.
[wine/multimedia.git] / configure
blobfc1566618859d876d3cbd58850a20065d8f9189a
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.54 for Wine 20021007.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15 emulate sh
16 NULLCMD=:
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21 set -o posix
24 # Support unset when possible.
25 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
26 as_unset=unset
27 else
28 as_unset=false
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
38 # NLS nuisances.
39 for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
41 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
42 eval $as_var=C; export $as_var
43 else
44 $as_unset $as_var
46 done
48 # Required to use basename.
49 if expr a : '\(a\)' >/dev/null 2>&1; then
50 as_expr=expr
51 else
52 as_expr=false
55 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
56 as_basename=basename
57 else
58 as_basename=false
62 # Name of the executable.
63 as_me=`$as_basename "$0" ||
64 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
65 X"$0" : 'X\(//\)$' \| \
66 X"$0" : 'X\(/\)$' \| \
67 . : '\(.\)' 2>/dev/null ||
68 echo X/"$0" |
69 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
70 /^X\/\(\/\/\)$/{ s//\1/; q; }
71 /^X\/\(\/\).*/{ s//\1/; q; }
72 s/.*/./; q'`
75 # PATH needs CR, and LINENO needs CR and PATH.
76 # Avoid depending upon Character Ranges.
77 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
78 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
79 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80 as_cr_digits='0123456789'
81 as_cr_alnum=$as_cr_Letters$as_cr_digits
83 # The user is always right.
84 if test "${PATH_SEPARATOR+set}" != set; then
85 echo "#! /bin/sh" >conftest.sh
86 echo "exit 0" >>conftest.sh
87 chmod +x conftest.sh
88 if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
89 PATH_SEPARATOR=';'
90 else
91 PATH_SEPARATOR=:
93 rm -f conftest.sh
97 as_lineno_1=$LINENO
98 as_lineno_2=$LINENO
99 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
100 test "x$as_lineno_1" != "x$as_lineno_2" &&
101 test "x$as_lineno_3" = "x$as_lineno_2" || {
102 # Find who we are. Look in the path if we contain no path at all
103 # relative or not.
104 case $0 in
105 *[\\/]* ) as_myself=$0 ;;
106 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
107 for as_dir in $PATH
109 IFS=$as_save_IFS
110 test -z "$as_dir" && as_dir=.
111 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112 done
115 esac
116 # We did not find ourselves, most probably we were run as `sh COMMAND'
117 # in which case we are not to be found in the path.
118 if test "x$as_myself" = x; then
119 as_myself=$0
121 if test ! -f "$as_myself"; then
122 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
123 { (exit 1); exit 1; }; }
125 case $CONFIG_SHELL in
127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
128 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
130 IFS=$as_save_IFS
131 test -z "$as_dir" && as_dir=.
132 for as_base in sh bash ksh sh5; do
133 case $as_dir in
135 if ("$as_dir/$as_base" -c '
136 as_lineno_1=$LINENO
137 as_lineno_2=$LINENO
138 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
139 test "x$as_lineno_1" != "x$as_lineno_2" &&
140 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
141 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
142 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
143 CONFIG_SHELL=$as_dir/$as_base
144 export CONFIG_SHELL
145 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
146 fi;;
147 esac
148 done
149 done
151 esac
153 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
154 # uniformly replaced by the line number. The first 'sed' inserts a
155 # line-number line before each line; the second 'sed' does the real
156 # work. The second script uses 'N' to pair each line-number line
157 # with the numbered line, and appends trailing '-' during
158 # substitution so that $LINENO is not a special case at line end.
159 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
160 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
161 sed '=' <$as_myself |
162 sed '
164 s,$,-,
165 : loop
166 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
167 t loop
168 s,-$,,
169 s,^['$as_cr_digits']*\n,,
170 ' >$as_me.lineno &&
171 chmod +x $as_me.lineno ||
172 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
173 { (exit 1); exit 1; }; }
175 # Don't try to exec as it changes $[0], causing all sort of problems
176 # (the dirname of $[0] is not the place where we might find the
177 # original and so on. Autoconf is especially sensible to this).
178 . ./$as_me.lineno
179 # Exit status is that of the last command.
180 exit
184 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
185 *c*,-n*) ECHO_N= ECHO_C='
186 ' ECHO_T=' ' ;;
187 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
188 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
189 esac
191 if expr a : '\(a\)' >/dev/null 2>&1; then
192 as_expr=expr
193 else
194 as_expr=false
197 rm -f conf$$ conf$$.exe conf$$.file
198 echo >conf$$.file
199 if ln -s conf$$.file conf$$ 2>/dev/null; then
200 # We could just check for DJGPP; but this test a) works b) is more generic
201 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
202 if test -f conf$$.exe; then
203 # Don't use ln at all; we don't have any links
204 as_ln_s='cp -p'
205 else
206 as_ln_s='ln -s'
208 elif ln conf$$.file conf$$ 2>/dev/null; then
209 as_ln_s=ln
210 else
211 as_ln_s='cp -p'
213 rm -f conf$$ conf$$.exe conf$$.file
215 if mkdir -p . 2>/dev/null; then
216 as_mkdir_p=:
217 else
218 as_mkdir_p=false
221 as_executable_p="test -f"
223 # Sed expression to map a string onto a valid CPP name.
224 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
226 # Sed expression to map a string onto a valid variable name.
227 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
230 # IFS
231 # We need space, tab and new line, in precisely that order.
232 as_nl='
234 IFS=" $as_nl"
236 # CDPATH.
237 $as_unset CDPATH
240 # Name of the host.
241 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
242 # so uname gets run too.
243 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
245 exec 6>&1
248 # Initializations.
250 ac_default_prefix=/usr/local
251 ac_config_libobj_dir=.
252 cross_compiling=no
253 subdirs=
254 MFLAGS=
255 MAKEFLAGS=
256 SHELL=${CONFIG_SHELL-/bin/sh}
258 # Maximum number of lines to put in a shell here document.
259 # This variable seems obsolete. It should probably be removed, and
260 # only ac_max_sed_lines should be used.
261 : ${ac_max_here_lines=38}
263 # Identity of this package.
264 PACKAGE_NAME='Wine'
265 PACKAGE_TARNAME='wine'
266 PACKAGE_VERSION='20021007'
267 PACKAGE_STRING='Wine 20021007'
268 PACKAGE_BUGREPORT=''
270 ac_unique_file="server/atom.c"
271 # Factoring default headers for most tests.
272 ac_includes_default="\
273 #include <stdio.h>
274 #if HAVE_SYS_TYPES_H
275 # include <sys/types.h>
276 #endif
277 #if HAVE_SYS_STAT_H
278 # include <sys/stat.h>
279 #endif
280 #if STDC_HEADERS
281 # include <stdlib.h>
282 # include <stddef.h>
283 #else
284 # if HAVE_STDLIB_H
285 # include <stdlib.h>
286 # endif
287 #endif
288 #if HAVE_STRING_H
289 # if !STDC_HEADERS && HAVE_MEMORY_H
290 # include <memory.h>
291 # endif
292 # include <string.h>
293 #endif
294 #if HAVE_STRINGS_H
295 # include <strings.h>
296 #endif
297 #if HAVE_INTTYPES_H
298 # include <inttypes.h>
299 #else
300 # if HAVE_STDINT_H
301 # include <stdint.h>
302 # endif
303 #endif
304 #if HAVE_UNISTD_H
305 # include <unistd.h>
306 #endif"
308 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 LIBEXT OPTIONS WIN16_FILES WIN16_INSTALL build build_cpu build_vendor build_os host host_cpu host_vendor host_os SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP TOOLSDIR X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS YACC LEX LEXLIB LEX_OUTPUT_ROOT XYACC XLEX LD ac_ct_LD AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S LN C2MAN LDCONFIG LINT LINTFLAGS JPEGLIB EGREP XLIB XFILES OPENGLFILES GLU32FILES NASLIBS CURSESLIBS CUPSLIBS sane_devel SANELIBS SANEINCL ft_devel ft_devel2 FREETYPEINCL ARTSCCONFIG ARTSLIBS ARTSINCL ALSALIBS AUDIOIOLIBS DLLEXT DLLFLAGS DLLIBS LDDLLFLAGS LDSHARED DLLWRAP ac_ct_DLLWRAP CROSSTEST CROSSCC DLLTOOL LDPATH CRTLIBS LDD ALLOCA LIBOBJS LTLIBOBJS'
309 ac_subst_files='MAKE_RULES MAKE_DLL_RULES MAKE_TEST_RULES MAKE_PROG_RULES'
311 # Initialize some variables set by options.
312 ac_init_help=
313 ac_init_version=false
314 # The variables have the same names as the options, with
315 # dashes changed to underlines.
316 cache_file=/dev/null
317 exec_prefix=NONE
318 no_create=
319 no_recursion=
320 prefix=NONE
321 program_prefix=NONE
322 program_suffix=NONE
323 program_transform_name=s,x,x,
324 silent=
325 site=
326 srcdir=
327 verbose=
328 x_includes=NONE
329 x_libraries=NONE
331 # Installation directory options.
332 # These are left unexpanded so users can "make install exec_prefix=/foo"
333 # and all the variables that are supposed to be based on exec_prefix
334 # by default will actually change.
335 # Use braces instead of parens because sh, perl, etc. also accept them.
336 bindir='${exec_prefix}/bin'
337 sbindir='${exec_prefix}/sbin'
338 libexecdir='${exec_prefix}/libexec'
339 datadir='${prefix}/share'
340 sysconfdir='${prefix}/etc'
341 sharedstatedir='${prefix}/com'
342 localstatedir='${prefix}/var'
343 libdir='${exec_prefix}/lib'
344 includedir='${prefix}/include'
345 oldincludedir='/usr/include'
346 infodir='${prefix}/info'
347 mandir='${prefix}/man'
349 ac_prev=
350 for ac_option
352 # If the previous option needs an argument, assign it.
353 if test -n "$ac_prev"; then
354 eval "$ac_prev=\$ac_option"
355 ac_prev=
356 continue
359 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
361 # Accept the important Cygnus configure options, so we can diagnose typos.
363 case $ac_option in
365 -bindir | --bindir | --bindi | --bind | --bin | --bi)
366 ac_prev=bindir ;;
367 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
368 bindir=$ac_optarg ;;
370 -build | --build | --buil | --bui | --bu)
371 ac_prev=build_alias ;;
372 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
373 build_alias=$ac_optarg ;;
375 -cache-file | --cache-file | --cache-fil | --cache-fi \
376 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
377 ac_prev=cache_file ;;
378 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
379 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
380 cache_file=$ac_optarg ;;
382 --config-cache | -C)
383 cache_file=config.cache ;;
385 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
386 ac_prev=datadir ;;
387 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
388 | --da=*)
389 datadir=$ac_optarg ;;
391 -disable-* | --disable-*)
392 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
393 # Reject names that are not valid shell variable names.
394 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
395 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
396 { (exit 1); exit 1; }; }
397 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
398 eval "enable_$ac_feature=no" ;;
400 -enable-* | --enable-*)
401 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
402 # Reject names that are not valid shell variable names.
403 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
404 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
405 { (exit 1); exit 1; }; }
406 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
407 case $ac_option in
408 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
409 *) ac_optarg=yes ;;
410 esac
411 eval "enable_$ac_feature='$ac_optarg'" ;;
413 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
414 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
415 | --exec | --exe | --ex)
416 ac_prev=exec_prefix ;;
417 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
418 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
419 | --exec=* | --exe=* | --ex=*)
420 exec_prefix=$ac_optarg ;;
422 -gas | --gas | --ga | --g)
423 # Obsolete; use --with-gas.
424 with_gas=yes ;;
426 -help | --help | --hel | --he | -h)
427 ac_init_help=long ;;
428 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
429 ac_init_help=recursive ;;
430 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
431 ac_init_help=short ;;
433 -host | --host | --hos | --ho)
434 ac_prev=host_alias ;;
435 -host=* | --host=* | --hos=* | --ho=*)
436 host_alias=$ac_optarg ;;
438 -includedir | --includedir | --includedi | --included | --include \
439 | --includ | --inclu | --incl | --inc)
440 ac_prev=includedir ;;
441 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
442 | --includ=* | --inclu=* | --incl=* | --inc=*)
443 includedir=$ac_optarg ;;
445 -infodir | --infodir | --infodi | --infod | --info | --inf)
446 ac_prev=infodir ;;
447 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
448 infodir=$ac_optarg ;;
450 -libdir | --libdir | --libdi | --libd)
451 ac_prev=libdir ;;
452 -libdir=* | --libdir=* | --libdi=* | --libd=*)
453 libdir=$ac_optarg ;;
455 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
456 | --libexe | --libex | --libe)
457 ac_prev=libexecdir ;;
458 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
459 | --libexe=* | --libex=* | --libe=*)
460 libexecdir=$ac_optarg ;;
462 -localstatedir | --localstatedir | --localstatedi | --localstated \
463 | --localstate | --localstat | --localsta | --localst \
464 | --locals | --local | --loca | --loc | --lo)
465 ac_prev=localstatedir ;;
466 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
467 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
468 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
469 localstatedir=$ac_optarg ;;
471 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
472 ac_prev=mandir ;;
473 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
474 mandir=$ac_optarg ;;
476 -nfp | --nfp | --nf)
477 # Obsolete; use --without-fp.
478 with_fp=no ;;
480 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
481 | --no-cr | --no-c | -n)
482 no_create=yes ;;
484 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
485 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
486 no_recursion=yes ;;
488 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
489 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
490 | --oldin | --oldi | --old | --ol | --o)
491 ac_prev=oldincludedir ;;
492 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
493 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
494 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
495 oldincludedir=$ac_optarg ;;
497 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
498 ac_prev=prefix ;;
499 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
500 prefix=$ac_optarg ;;
502 -program-prefix | --program-prefix | --program-prefi | --program-pref \
503 | --program-pre | --program-pr | --program-p)
504 ac_prev=program_prefix ;;
505 -program-prefix=* | --program-prefix=* | --program-prefi=* \
506 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
507 program_prefix=$ac_optarg ;;
509 -program-suffix | --program-suffix | --program-suffi | --program-suff \
510 | --program-suf | --program-su | --program-s)
511 ac_prev=program_suffix ;;
512 -program-suffix=* | --program-suffix=* | --program-suffi=* \
513 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
514 program_suffix=$ac_optarg ;;
516 -program-transform-name | --program-transform-name \
517 | --program-transform-nam | --program-transform-na \
518 | --program-transform-n | --program-transform- \
519 | --program-transform | --program-transfor \
520 | --program-transfo | --program-transf \
521 | --program-trans | --program-tran \
522 | --progr-tra | --program-tr | --program-t)
523 ac_prev=program_transform_name ;;
524 -program-transform-name=* | --program-transform-name=* \
525 | --program-transform-nam=* | --program-transform-na=* \
526 | --program-transform-n=* | --program-transform-=* \
527 | --program-transform=* | --program-transfor=* \
528 | --program-transfo=* | --program-transf=* \
529 | --program-trans=* | --program-tran=* \
530 | --progr-tra=* | --program-tr=* | --program-t=*)
531 program_transform_name=$ac_optarg ;;
533 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
534 | -silent | --silent | --silen | --sile | --sil)
535 silent=yes ;;
537 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
538 ac_prev=sbindir ;;
539 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
540 | --sbi=* | --sb=*)
541 sbindir=$ac_optarg ;;
543 -sharedstatedir | --sharedstatedir | --sharedstatedi \
544 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
545 | --sharedst | --shareds | --shared | --share | --shar \
546 | --sha | --sh)
547 ac_prev=sharedstatedir ;;
548 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
549 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
550 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
551 | --sha=* | --sh=*)
552 sharedstatedir=$ac_optarg ;;
554 -site | --site | --sit)
555 ac_prev=site ;;
556 -site=* | --site=* | --sit=*)
557 site=$ac_optarg ;;
559 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
560 ac_prev=srcdir ;;
561 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
562 srcdir=$ac_optarg ;;
564 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
565 | --syscon | --sysco | --sysc | --sys | --sy)
566 ac_prev=sysconfdir ;;
567 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
568 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
569 sysconfdir=$ac_optarg ;;
571 -target | --target | --targe | --targ | --tar | --ta | --t)
572 ac_prev=target_alias ;;
573 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
574 target_alias=$ac_optarg ;;
576 -v | -verbose | --verbose | --verbos | --verbo | --verb)
577 verbose=yes ;;
579 -version | --version | --versio | --versi | --vers | -V)
580 ac_init_version=: ;;
582 -with-* | --with-*)
583 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
584 # Reject names that are not valid shell variable names.
585 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
586 { echo "$as_me: error: invalid package name: $ac_package" >&2
587 { (exit 1); exit 1; }; }
588 ac_package=`echo $ac_package| sed 's/-/_/g'`
589 case $ac_option in
590 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
591 *) ac_optarg=yes ;;
592 esac
593 eval "with_$ac_package='$ac_optarg'" ;;
595 -without-* | --without-*)
596 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
597 # Reject names that are not valid shell variable names.
598 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
599 { echo "$as_me: error: invalid package name: $ac_package" >&2
600 { (exit 1); exit 1; }; }
601 ac_package=`echo $ac_package | sed 's/-/_/g'`
602 eval "with_$ac_package=no" ;;
604 --x)
605 # Obsolete; use --with-x.
606 with_x=yes ;;
608 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
609 | --x-incl | --x-inc | --x-in | --x-i)
610 ac_prev=x_includes ;;
611 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
612 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
613 x_includes=$ac_optarg ;;
615 -x-libraries | --x-libraries | --x-librarie | --x-librari \
616 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
617 ac_prev=x_libraries ;;
618 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
619 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
620 x_libraries=$ac_optarg ;;
622 -*) { echo "$as_me: error: unrecognized option: $ac_option
623 Try \`$0 --help' for more information." >&2
624 { (exit 1); exit 1; }; }
627 *=*)
628 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
629 # Reject names that are not valid shell variable names.
630 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
631 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
632 { (exit 1); exit 1; }; }
633 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
634 eval "$ac_envvar='$ac_optarg'"
635 export $ac_envvar ;;
638 # FIXME: should be removed in autoconf 3.0.
639 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
640 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
641 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
642 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
645 esac
646 done
648 if test -n "$ac_prev"; then
649 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
650 { echo "$as_me: error: missing argument to $ac_option" >&2
651 { (exit 1); exit 1; }; }
654 # Be sure to have absolute paths.
655 for ac_var in exec_prefix prefix
657 eval ac_val=$`echo $ac_var`
658 case $ac_val in
659 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
660 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
661 { (exit 1); exit 1; }; };;
662 esac
663 done
665 # Be sure to have absolute paths.
666 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
667 localstatedir libdir includedir oldincludedir infodir mandir
669 eval ac_val=$`echo $ac_var`
670 case $ac_val in
671 [\\/$]* | ?:[\\/]* ) ;;
672 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
673 { (exit 1); exit 1; }; };;
674 esac
675 done
677 # There might be people who depend on the old broken behavior: `$host'
678 # used to hold the argument of --host etc.
679 # FIXME: To remove some day.
680 build=$build_alias
681 host=$host_alias
682 target=$target_alias
684 # FIXME: To remove some day.
685 if test "x$host_alias" != x; then
686 if test "x$build_alias" = x; then
687 cross_compiling=maybe
688 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
689 If a cross compiler is detected then cross compile mode will be used." >&2
690 elif test "x$build_alias" != "x$host_alias"; then
691 cross_compiling=yes
695 ac_tool_prefix=
696 test -n "$host_alias" && ac_tool_prefix=$host_alias-
698 test "$silent" = yes && exec 6>/dev/null
701 # Find the source files, if location was not specified.
702 if test -z "$srcdir"; then
703 ac_srcdir_defaulted=yes
704 # Try the directory containing this script, then its parent.
705 ac_confdir=`(dirname "$0") 2>/dev/null ||
706 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
707 X"$0" : 'X\(//\)[^/]' \| \
708 X"$0" : 'X\(//\)$' \| \
709 X"$0" : 'X\(/\)' \| \
710 . : '\(.\)' 2>/dev/null ||
711 echo X"$0" |
712 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
713 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
714 /^X\(\/\/\)$/{ s//\1/; q; }
715 /^X\(\/\).*/{ s//\1/; q; }
716 s/.*/./; q'`
717 srcdir=$ac_confdir
718 if test ! -r $srcdir/$ac_unique_file; then
719 srcdir=..
721 else
722 ac_srcdir_defaulted=no
724 if test ! -r $srcdir/$ac_unique_file; then
725 if test "$ac_srcdir_defaulted" = yes; then
726 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
727 { (exit 1); exit 1; }; }
728 else
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
730 { (exit 1); exit 1; }; }
733 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
734 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
735 { (exit 1); exit 1; }; }
736 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
737 ac_env_build_alias_set=${build_alias+set}
738 ac_env_build_alias_value=$build_alias
739 ac_cv_env_build_alias_set=${build_alias+set}
740 ac_cv_env_build_alias_value=$build_alias
741 ac_env_host_alias_set=${host_alias+set}
742 ac_env_host_alias_value=$host_alias
743 ac_cv_env_host_alias_set=${host_alias+set}
744 ac_cv_env_host_alias_value=$host_alias
745 ac_env_target_alias_set=${target_alias+set}
746 ac_env_target_alias_value=$target_alias
747 ac_cv_env_target_alias_set=${target_alias+set}
748 ac_cv_env_target_alias_value=$target_alias
749 ac_env_CC_set=${CC+set}
750 ac_env_CC_value=$CC
751 ac_cv_env_CC_set=${CC+set}
752 ac_cv_env_CC_value=$CC
753 ac_env_CFLAGS_set=${CFLAGS+set}
754 ac_env_CFLAGS_value=$CFLAGS
755 ac_cv_env_CFLAGS_set=${CFLAGS+set}
756 ac_cv_env_CFLAGS_value=$CFLAGS
757 ac_env_LDFLAGS_set=${LDFLAGS+set}
758 ac_env_LDFLAGS_value=$LDFLAGS
759 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
760 ac_cv_env_LDFLAGS_value=$LDFLAGS
761 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
762 ac_env_CPPFLAGS_value=$CPPFLAGS
763 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
764 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
765 ac_env_CPP_set=${CPP+set}
766 ac_env_CPP_value=$CPP
767 ac_cv_env_CPP_set=${CPP+set}
768 ac_cv_env_CPP_value=$CPP
771 # Report the --help message.
773 if test "$ac_init_help" = "long"; then
774 # Omit some internal or obsolete options to make the list less imposing.
775 # This message is too long to be a string in the A/UX 3.1 sh.
776 cat <<_ACEOF
777 \`configure' configures Wine 20021007 to adapt to many kinds of systems.
779 Usage: $0 [OPTION]... [VAR=VALUE]...
781 To assign environment variables (e.g., CC, CFLAGS...), specify them as
782 VAR=VALUE. See below for descriptions of some of the useful variables.
784 Defaults for the options are specified in brackets.
786 Configuration:
787 -h, --help display this help and exit
788 --help=short display options specific to this package
789 --help=recursive display the short help of all the included packages
790 -V, --version display version information and exit
791 -q, --quiet, --silent do not print \`checking...' messages
792 --cache-file=FILE cache test results in FILE [disabled]
793 -C, --config-cache alias for \`--cache-file=config.cache'
794 -n, --no-create do not create output files
795 --srcdir=DIR find the sources in DIR [configure dir or \`..']
797 _ACEOF
799 cat <<_ACEOF
800 Installation directories:
801 --prefix=PREFIX install architecture-independent files in PREFIX
802 [$ac_default_prefix]
803 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
804 [PREFIX]
806 By default, \`make install' will install all the files in
807 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
808 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
809 for instance \`--prefix=\$HOME'.
811 For better control, use the options below.
813 Fine tuning of the installation directories:
814 --bindir=DIR user executables [EPREFIX/bin]
815 --sbindir=DIR system admin executables [EPREFIX/sbin]
816 --libexecdir=DIR program executables [EPREFIX/libexec]
817 --datadir=DIR read-only architecture-independent data [PREFIX/share]
818 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
819 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
820 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
821 --libdir=DIR object code libraries [EPREFIX/lib]
822 --includedir=DIR C header files [PREFIX/include]
823 --oldincludedir=DIR C header files for non-gcc [/usr/include]
824 --infodir=DIR info documentation [PREFIX/info]
825 --mandir=DIR man documentation [PREFIX/man]
826 _ACEOF
828 cat <<\_ACEOF
830 X features:
831 --x-includes=DIR X include files are in DIR
832 --x-libraries=DIR X library files are in DIR
834 System types:
835 --build=BUILD configure for building on BUILD [guessed]
836 --host=HOST cross-compile to build programs to run on HOST [BUILD]
837 _ACEOF
840 if test -n "$ac_init_help"; then
841 case $ac_init_help in
842 short | recursive ) echo "Configuration of Wine 20021007:";;
843 esac
844 cat <<\_ACEOF
846 Optional Features:
847 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
848 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
849 --disable-win16 do not include Win16 support
850 --disable-debug compile out all debugging messages
851 --disable-trace compile out TRACE messages
852 --enable-opengl force usage of OpenGL even if the latter is
853 thread-safe via pthread
855 Optional Packages:
856 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
857 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
858 --without-curses do not use curses
859 --with-wine-tools=<dir> use Wine tools from directory <dir>
860 --with-x use the X Window System
862 Some influential environment variables:
863 CC C compiler command
864 CFLAGS C compiler flags
865 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
866 nonstandard directory <lib dir>
867 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
868 headers in a nonstandard directory <include dir>
869 CPP C preprocessor
871 Use these variables to override the choices made by `configure' or to help
872 it to find libraries and programs with nonstandard names/locations.
874 _ACEOF
877 if test "$ac_init_help" = "recursive"; then
878 # If there are subdirs, report their specific --help.
879 ac_popdir=`pwd`
880 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
881 test -d $ac_dir || continue
882 ac_builddir=.
884 if test "$ac_dir" != .; then
885 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
886 # A "../" for each directory in $ac_dir_suffix.
887 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
888 else
889 ac_dir_suffix= ac_top_builddir=
892 case $srcdir in
893 .) # No --srcdir option. We are building in place.
894 ac_srcdir=.
895 if test -z "$ac_top_builddir"; then
896 ac_top_srcdir=.
897 else
898 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
899 fi ;;
900 [\\/]* | ?:[\\/]* ) # Absolute path.
901 ac_srcdir=$srcdir$ac_dir_suffix;
902 ac_top_srcdir=$srcdir ;;
903 *) # Relative path.
904 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
905 ac_top_srcdir=$ac_top_builddir$srcdir ;;
906 esac
907 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
908 # absolute.
909 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
910 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
911 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
912 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
914 cd $ac_dir
915 # Check for guested configure; otherwise get Cygnus style configure.
916 if test -f $ac_srcdir/configure.gnu; then
917 echo
918 $SHELL $ac_srcdir/configure.gnu --help=recursive
919 elif test -f $ac_srcdir/configure; then
920 echo
921 $SHELL $ac_srcdir/configure --help=recursive
922 elif test -f $ac_srcdir/configure.ac ||
923 test -f $ac_srcdir/configure.in; then
924 echo
925 $ac_configure --help
926 else
927 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
929 cd $ac_popdir
930 done
933 test -n "$ac_init_help" && exit 0
934 if $ac_init_version; then
935 cat <<\_ACEOF
936 Wine configure 20021007
937 generated by GNU Autoconf 2.54
939 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
940 Free Software Foundation, Inc.
941 This configure script is free software; the Free Software Foundation
942 gives unlimited permission to copy, distribute and modify it.
943 _ACEOF
944 exit 0
946 exec 5>config.log
947 cat >&5 <<_ACEOF
948 This file contains any messages produced by compilers while
949 running configure, to aid debugging if configure makes a mistake.
951 It was created by Wine $as_me 20021007, which was
952 generated by GNU Autoconf 2.54. Invocation command line was
954 $ $0 $@
956 _ACEOF
958 cat <<_ASUNAME
959 ## --------- ##
960 ## Platform. ##
961 ## --------- ##
963 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
964 uname -m = `(uname -m) 2>/dev/null || echo unknown`
965 uname -r = `(uname -r) 2>/dev/null || echo unknown`
966 uname -s = `(uname -s) 2>/dev/null || echo unknown`
967 uname -v = `(uname -v) 2>/dev/null || echo unknown`
969 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
970 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
972 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
973 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
974 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
975 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
976 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
977 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
978 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
980 _ASUNAME
982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
983 for as_dir in $PATH
985 IFS=$as_save_IFS
986 test -z "$as_dir" && as_dir=.
987 echo "PATH: $as_dir"
988 done
990 } >&5
992 cat >&5 <<_ACEOF
995 ## ----------- ##
996 ## Core tests. ##
997 ## ----------- ##
999 _ACEOF
1002 # Keep a trace of the command line.
1003 # Strip out --no-create and --no-recursion so they do not pile up.
1004 # Also quote any args containing shell meta-characters.
1005 ac_configure_args=
1006 ac_sep=
1007 for ac_arg
1009 case $ac_arg in
1010 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1011 | --no-cr | --no-c | -n ) continue ;;
1012 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1013 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1014 continue ;;
1015 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1016 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1017 esac
1018 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1019 # Get rid of the leading space.
1020 ac_sep=" "
1021 done
1023 # When interrupted or exit'd, cleanup temporary files, and complete
1024 # config.log. We remove comments because anyway the quotes in there
1025 # would cause problems or look ugly.
1026 # WARNING: Be sure not to use single quotes in there, as some shells,
1027 # such as our DU 5.0 friend, will then `close' the trap.
1028 trap 'exit_status=$?
1029 # Save into config.log some information that might help in debugging.
1031 echo
1033 cat <<\_ASBOX
1034 ## ---------------- ##
1035 ## Cache variables. ##
1036 ## ---------------- ##
1037 _ASBOX
1038 echo
1039 # The following way of writing the cache mishandles newlines in values,
1041 (set) 2>&1 |
1042 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1043 *ac_space=\ *)
1044 sed -n \
1045 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1046 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1049 sed -n \
1050 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1052 esac;
1054 echo
1056 cat <<\_ASBOX
1057 ## ----------------- ##
1058 ## Output variables. ##
1059 ## ----------------- ##
1060 _ASBOX
1061 echo
1062 for ac_var in $ac_subst_vars
1064 eval ac_val=$`echo $ac_var`
1065 echo "$ac_var='"'"'$ac_val'"'"'"
1066 done | sort
1067 echo
1069 if test -n "$ac_subst_files"; then
1070 cat <<\_ASBOX
1071 ## ------------- ##
1072 ## Output files. ##
1073 ## ------------- ##
1074 _ASBOX
1075 echo
1076 for ac_var in $ac_subst_files
1078 eval ac_val=$`echo $ac_var`
1079 echo "$ac_var='"'"'$ac_val'"'"'"
1080 done | sort
1081 echo
1084 if test -s confdefs.h; then
1085 cat <<\_ASBOX
1086 ## ----------- ##
1087 ## confdefs.h. ##
1088 ## ----------- ##
1089 _ASBOX
1090 echo
1091 sed "/^$/d" confdefs.h | sort
1092 echo
1094 test "$ac_signal" != 0 &&
1095 echo "$as_me: caught signal $ac_signal"
1096 echo "$as_me: exit $exit_status"
1097 } >&5
1098 rm -f core core.* *.core &&
1099 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1100 exit $exit_status
1102 for ac_signal in 1 2 13 15; do
1103 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1104 done
1105 ac_signal=0
1107 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1108 rm -rf conftest* confdefs.h
1109 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1110 echo >confdefs.h
1112 # Predefined preprocessor variables.
1114 cat >>confdefs.h <<_ACEOF
1115 #define PACKAGE_NAME "$PACKAGE_NAME"
1116 _ACEOF
1119 cat >>confdefs.h <<_ACEOF
1120 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1121 _ACEOF
1124 cat >>confdefs.h <<_ACEOF
1125 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1126 _ACEOF
1129 cat >>confdefs.h <<_ACEOF
1130 #define PACKAGE_STRING "$PACKAGE_STRING"
1131 _ACEOF
1134 cat >>confdefs.h <<_ACEOF
1135 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1136 _ACEOF
1139 # Let the site file select an alternate cache file if it wants to.
1140 # Prefer explicitly selected file to automatically selected ones.
1141 if test -z "$CONFIG_SITE"; then
1142 if test "x$prefix" != xNONE; then
1143 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1144 else
1145 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1148 for ac_site_file in $CONFIG_SITE; do
1149 if test -r "$ac_site_file"; then
1150 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1151 echo "$as_me: loading site script $ac_site_file" >&6;}
1152 sed 's/^/| /' "$ac_site_file" >&5
1153 . "$ac_site_file"
1155 done
1157 if test -r "$cache_file"; then
1158 # Some versions of bash will fail to source /dev/null (special
1159 # files actually), so we avoid doing that.
1160 if test -f "$cache_file"; then
1161 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1162 echo "$as_me: loading cache $cache_file" >&6;}
1163 case $cache_file in
1164 [\\/]* | ?:[\\/]* ) . $cache_file;;
1165 *) . ./$cache_file;;
1166 esac
1168 else
1169 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1170 echo "$as_me: creating cache $cache_file" >&6;}
1171 >$cache_file
1174 # Check that the precious variables saved in the cache have kept the same
1175 # value.
1176 ac_cache_corrupted=false
1177 for ac_var in `(set) 2>&1 |
1178 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1179 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1180 eval ac_new_set=\$ac_env_${ac_var}_set
1181 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1182 eval ac_new_val="\$ac_env_${ac_var}_value"
1183 case $ac_old_set,$ac_new_set in
1184 set,)
1185 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1186 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1187 ac_cache_corrupted=: ;;
1188 ,set)
1189 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1190 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1191 ac_cache_corrupted=: ;;
1192 ,);;
1194 if test "x$ac_old_val" != "x$ac_new_val"; then
1195 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1196 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1197 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1198 echo "$as_me: former value: $ac_old_val" >&2;}
1199 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1200 echo "$as_me: current value: $ac_new_val" >&2;}
1201 ac_cache_corrupted=:
1202 fi;;
1203 esac
1204 # Pass precious variables to config.status.
1205 if test "$ac_new_set" = set; then
1206 case $ac_new_val in
1207 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1208 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1209 *) ac_arg=$ac_var=$ac_new_val ;;
1210 esac
1211 case " $ac_configure_args " in
1212 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1213 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1214 esac
1216 done
1217 if $ac_cache_corrupted; then
1218 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1219 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1220 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1221 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1222 { (exit 1); exit 1; }; }
1225 ac_ext=c
1226 ac_cpp='$CPP $CPPFLAGS'
1227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1258 ac_config_headers="$ac_config_headers include/config.h"
1260 ac_aux_dir=
1261 for ac_dir in tools $srcdir/tools; do
1262 if test -f $ac_dir/install-sh; then
1263 ac_aux_dir=$ac_dir
1264 ac_install_sh="$ac_aux_dir/install-sh -c"
1265 break
1266 elif test -f $ac_dir/install.sh; then
1267 ac_aux_dir=$ac_dir
1268 ac_install_sh="$ac_aux_dir/install.sh -c"
1269 break
1270 elif test -f $ac_dir/shtool; then
1271 ac_aux_dir=$ac_dir
1272 ac_install_sh="$ac_aux_dir/shtool install -c"
1273 break
1275 done
1276 if test -z "$ac_aux_dir"; then
1277 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&5
1278 echo "$as_me: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&2;}
1279 { (exit 1); exit 1; }; }
1281 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1282 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1283 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1287 LIBEXT="so"
1290 # Check whether --enable-win16 or --disable-win16 was given.
1291 if test "${enable_win16+set}" = set; then
1292 enableval="$enable_win16"
1295 # Check whether --enable-debug or --disable-debug was given.
1296 if test "${enable_debug+set}" = set; then
1297 enableval="$enable_debug"
1300 # Check whether --enable-trace or --disable-trace was given.
1301 if test "${enable_trace+set}" = set; then
1302 enableval="$enable_trace"
1305 # Check whether --enable-opengl or --disable-opengl was given.
1306 if test "${enable_opengl+set}" = set; then
1307 enableval="$enable_opengl"
1311 # Check whether --with-curses or --without-curses was given.
1312 if test "${with_curses+set}" = set; then
1313 withval="$with_curses"
1317 # Check whether --with-wine-tools or --without-wine-tools was given.
1318 if test "${with_wine_tools+set}" = set; then
1319 withval="$with_wine_tools"
1324 WIN16_FILES="\$(WIN16_FILES)"
1326 WIN16_INSTALL="\$(WIN16_INSTALL)"
1328 if test "x$enable_win16" = "xno"
1329 then
1330 WIN16_FILES=""
1331 WIN16_INSTALL=""
1333 if test "x$enable_debug" = "xno"
1334 then
1336 cat >>confdefs.h <<\_ACEOF
1337 #define NO_DEBUG_MSGS 1
1338 _ACEOF
1341 if test "x$enable_trace" = "xno" -o "x$enable_debug" = "xno"
1342 then
1344 cat >>confdefs.h <<\_ACEOF
1345 #define NO_TRACE_MSGS 1
1346 _ACEOF
1351 # Make sure we can run config.sub.
1352 $ac_config_sub sun4 >/dev/null 2>&1 ||
1353 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1354 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1355 { (exit 1); exit 1; }; }
1357 echo "$as_me:$LINENO: checking build system type" >&5
1358 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1359 if test "${ac_cv_build+set}" = set; then
1360 echo $ECHO_N "(cached) $ECHO_C" >&6
1361 else
1362 ac_cv_build_alias=$build_alias
1363 test -z "$ac_cv_build_alias" &&
1364 ac_cv_build_alias=`$ac_config_guess`
1365 test -z "$ac_cv_build_alias" &&
1366 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1367 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1368 { (exit 1); exit 1; }; }
1369 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1370 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1371 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1372 { (exit 1); exit 1; }; }
1375 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1376 echo "${ECHO_T}$ac_cv_build" >&6
1377 build=$ac_cv_build
1378 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1379 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1380 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1383 echo "$as_me:$LINENO: checking host system type" >&5
1384 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1385 if test "${ac_cv_host+set}" = set; then
1386 echo $ECHO_N "(cached) $ECHO_C" >&6
1387 else
1388 ac_cv_host_alias=$host_alias
1389 test -z "$ac_cv_host_alias" &&
1390 ac_cv_host_alias=$ac_cv_build_alias
1391 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1392 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1393 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1394 { (exit 1); exit 1; }; }
1397 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1398 echo "${ECHO_T}$ac_cv_host" >&6
1399 host=$ac_cv_host
1400 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1401 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1402 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1405 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1406 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1407 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1408 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1409 echo $ECHO_N "(cached) $ECHO_C" >&6
1410 else
1411 cat >conftest.make <<\_ACEOF
1412 all:
1413 @echo 'ac_maketemp="${MAKE}"'
1414 _ACEOF
1415 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1416 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1417 if test -n "$ac_maketemp"; then
1418 eval ac_cv_prog_make_${ac_make}_set=yes
1419 else
1420 eval ac_cv_prog_make_${ac_make}_set=no
1422 rm -f conftest.make
1424 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1425 echo "$as_me:$LINENO: result: yes" >&5
1426 echo "${ECHO_T}yes" >&6
1427 SET_MAKE=
1428 else
1429 echo "$as_me:$LINENO: result: no" >&5
1430 echo "${ECHO_T}no" >&6
1431 SET_MAKE="MAKE=${MAKE-make}"
1434 ac_ext=c
1435 ac_cpp='$CPP $CPPFLAGS'
1436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1439 if test -n "$ac_tool_prefix"; then
1440 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1441 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1442 echo "$as_me:$LINENO: checking for $ac_word" >&5
1443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1444 if test "${ac_cv_prog_CC+set}" = set; then
1445 echo $ECHO_N "(cached) $ECHO_C" >&6
1446 else
1447 if test -n "$CC"; then
1448 ac_cv_prog_CC="$CC" # Let the user override the test.
1449 else
1450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1451 for as_dir in $PATH
1453 IFS=$as_save_IFS
1454 test -z "$as_dir" && as_dir=.
1455 for ac_exec_ext in '' $ac_executable_extensions; do
1456 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1457 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1459 break 2
1461 done
1462 done
1466 CC=$ac_cv_prog_CC
1467 if test -n "$CC"; then
1468 echo "$as_me:$LINENO: result: $CC" >&5
1469 echo "${ECHO_T}$CC" >&6
1470 else
1471 echo "$as_me:$LINENO: result: no" >&5
1472 echo "${ECHO_T}no" >&6
1476 if test -z "$ac_cv_prog_CC"; then
1477 ac_ct_CC=$CC
1478 # Extract the first word of "gcc", so it can be a program name with args.
1479 set dummy gcc; ac_word=$2
1480 echo "$as_me:$LINENO: checking for $ac_word" >&5
1481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1482 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1483 echo $ECHO_N "(cached) $ECHO_C" >&6
1484 else
1485 if test -n "$ac_ct_CC"; then
1486 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1487 else
1488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1489 for as_dir in $PATH
1491 IFS=$as_save_IFS
1492 test -z "$as_dir" && as_dir=.
1493 for ac_exec_ext in '' $ac_executable_extensions; do
1494 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1495 ac_cv_prog_ac_ct_CC="gcc"
1496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1497 break 2
1499 done
1500 done
1504 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1505 if test -n "$ac_ct_CC"; then
1506 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1507 echo "${ECHO_T}$ac_ct_CC" >&6
1508 else
1509 echo "$as_me:$LINENO: result: no" >&5
1510 echo "${ECHO_T}no" >&6
1513 CC=$ac_ct_CC
1514 else
1515 CC="$ac_cv_prog_CC"
1518 if test -z "$CC"; then
1519 if test -n "$ac_tool_prefix"; then
1520 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1521 set dummy ${ac_tool_prefix}cc; ac_word=$2
1522 echo "$as_me:$LINENO: checking for $ac_word" >&5
1523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1524 if test "${ac_cv_prog_CC+set}" = set; then
1525 echo $ECHO_N "(cached) $ECHO_C" >&6
1526 else
1527 if test -n "$CC"; then
1528 ac_cv_prog_CC="$CC" # Let the user override the test.
1529 else
1530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1531 for as_dir in $PATH
1533 IFS=$as_save_IFS
1534 test -z "$as_dir" && as_dir=.
1535 for ac_exec_ext in '' $ac_executable_extensions; do
1536 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1537 ac_cv_prog_CC="${ac_tool_prefix}cc"
1538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1539 break 2
1541 done
1542 done
1546 CC=$ac_cv_prog_CC
1547 if test -n "$CC"; then
1548 echo "$as_me:$LINENO: result: $CC" >&5
1549 echo "${ECHO_T}$CC" >&6
1550 else
1551 echo "$as_me:$LINENO: result: no" >&5
1552 echo "${ECHO_T}no" >&6
1556 if test -z "$ac_cv_prog_CC"; then
1557 ac_ct_CC=$CC
1558 # Extract the first word of "cc", so it can be a program name with args.
1559 set dummy cc; ac_word=$2
1560 echo "$as_me:$LINENO: checking for $ac_word" >&5
1561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1562 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1563 echo $ECHO_N "(cached) $ECHO_C" >&6
1564 else
1565 if test -n "$ac_ct_CC"; then
1566 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1567 else
1568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1569 for as_dir in $PATH
1571 IFS=$as_save_IFS
1572 test -z "$as_dir" && as_dir=.
1573 for ac_exec_ext in '' $ac_executable_extensions; do
1574 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1575 ac_cv_prog_ac_ct_CC="cc"
1576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1577 break 2
1579 done
1580 done
1584 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1585 if test -n "$ac_ct_CC"; then
1586 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1587 echo "${ECHO_T}$ac_ct_CC" >&6
1588 else
1589 echo "$as_me:$LINENO: result: no" >&5
1590 echo "${ECHO_T}no" >&6
1593 CC=$ac_ct_CC
1594 else
1595 CC="$ac_cv_prog_CC"
1599 if test -z "$CC"; then
1600 # Extract the first word of "cc", so it can be a program name with args.
1601 set dummy cc; ac_word=$2
1602 echo "$as_me:$LINENO: checking for $ac_word" >&5
1603 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1604 if test "${ac_cv_prog_CC+set}" = set; then
1605 echo $ECHO_N "(cached) $ECHO_C" >&6
1606 else
1607 if test -n "$CC"; then
1608 ac_cv_prog_CC="$CC" # Let the user override the test.
1609 else
1610 ac_prog_rejected=no
1611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1612 for as_dir in $PATH
1614 IFS=$as_save_IFS
1615 test -z "$as_dir" && as_dir=.
1616 for ac_exec_ext in '' $ac_executable_extensions; do
1617 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1618 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1619 ac_prog_rejected=yes
1620 continue
1622 ac_cv_prog_CC="cc"
1623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1624 break 2
1626 done
1627 done
1629 if test $ac_prog_rejected = yes; then
1630 # We found a bogon in the path, so make sure we never use it.
1631 set dummy $ac_cv_prog_CC
1632 shift
1633 if test $# != 0; then
1634 # We chose a different compiler from the bogus one.
1635 # However, it has the same basename, so the bogon will be chosen
1636 # first if we set CC to just the basename; use the full file name.
1637 shift
1638 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1643 CC=$ac_cv_prog_CC
1644 if test -n "$CC"; then
1645 echo "$as_me:$LINENO: result: $CC" >&5
1646 echo "${ECHO_T}$CC" >&6
1647 else
1648 echo "$as_me:$LINENO: result: no" >&5
1649 echo "${ECHO_T}no" >&6
1653 if test -z "$CC"; then
1654 if test -n "$ac_tool_prefix"; then
1655 for ac_prog in cl
1657 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1658 set dummy $ac_tool_prefix$ac_prog; 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_CC+set}" = set; then
1662 echo $ECHO_N "(cached) $ECHO_C" >&6
1663 else
1664 if test -n "$CC"; then
1665 ac_cv_prog_CC="$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_CC="$ac_tool_prefix$ac_prog"
1675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1676 break 2
1678 done
1679 done
1683 CC=$ac_cv_prog_CC
1684 if test -n "$CC"; then
1685 echo "$as_me:$LINENO: result: $CC" >&5
1686 echo "${ECHO_T}$CC" >&6
1687 else
1688 echo "$as_me:$LINENO: result: no" >&5
1689 echo "${ECHO_T}no" >&6
1692 test -n "$CC" && break
1693 done
1695 if test -z "$CC"; then
1696 ac_ct_CC=$CC
1697 for ac_prog in cl
1699 # Extract the first word of "$ac_prog", so it can be a program name with args.
1700 set dummy $ac_prog; 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_ac_ct_CC+set}" = set; then
1704 echo $ECHO_N "(cached) $ECHO_C" >&6
1705 else
1706 if test -n "$ac_ct_CC"; then
1707 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1708 else
1709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1710 for as_dir in $PATH
1712 IFS=$as_save_IFS
1713 test -z "$as_dir" && as_dir=.
1714 for ac_exec_ext in '' $ac_executable_extensions; do
1715 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1716 ac_cv_prog_ac_ct_CC="$ac_prog"
1717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1718 break 2
1720 done
1721 done
1725 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1726 if test -n "$ac_ct_CC"; then
1727 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1728 echo "${ECHO_T}$ac_ct_CC" >&6
1729 else
1730 echo "$as_me:$LINENO: result: no" >&5
1731 echo "${ECHO_T}no" >&6
1734 test -n "$ac_ct_CC" && break
1735 done
1737 CC=$ac_ct_CC
1743 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1744 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1745 { (exit 1); exit 1; }; }
1747 # Provide some information about the compiler.
1748 echo "$as_me:$LINENO:" \
1749 "checking for C compiler version" >&5
1750 ac_compiler=`set X $ac_compile; echo $2`
1751 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1752 (eval $ac_compiler --version </dev/null >&5) 2>&5
1753 ac_status=$?
1754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1755 (exit $ac_status); }
1756 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1757 (eval $ac_compiler -v </dev/null >&5) 2>&5
1758 ac_status=$?
1759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1760 (exit $ac_status); }
1761 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1762 (eval $ac_compiler -V </dev/null >&5) 2>&5
1763 ac_status=$?
1764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1765 (exit $ac_status); }
1767 cat >conftest.$ac_ext <<_ACEOF
1768 #line $LINENO "configure"
1769 #include "confdefs.h"
1772 main ()
1776 return 0;
1778 _ACEOF
1779 ac_clean_files_save=$ac_clean_files
1780 ac_clean_files="$ac_clean_files a.out a.exe"
1781 # Try to create an executable without -o first, disregard a.out.
1782 # It will help us diagnose broken compilers, and finding out an intuition
1783 # of exeext.
1784 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1785 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1786 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1787 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1788 (eval $ac_link_default) 2>&5
1789 ac_status=$?
1790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1791 (exit $ac_status); }; then
1792 # Find the output, starting from the most likely. This scheme is
1793 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1794 # resort.
1796 # Be careful to initialize this variable, since it used to be cached.
1797 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1798 ac_cv_exeext=
1799 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.*; do
1800 test -f "$ac_file" || continue
1801 case $ac_file in
1802 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1803 a.out ) # We found the default executable, but exeext='' is most
1804 # certainly right.
1805 break;;
1806 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1807 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1808 export ac_cv_exeext
1809 break;;
1810 * ) break;;
1811 esac
1812 done
1813 else
1814 echo "$as_me: failed program was:" >&5
1815 cat conftest.$ac_ext >&5
1816 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1817 check \`config.log' for details." >&5
1818 echo "$as_me: error: C compiler cannot create executables
1819 check \`config.log' for details." >&2;}
1820 { (exit 77); exit 77; }; }
1823 ac_exeext=$ac_cv_exeext
1824 echo "$as_me:$LINENO: result: $ac_file" >&5
1825 echo "${ECHO_T}$ac_file" >&6
1827 # Check the compiler produces executables we can run. If not, either
1828 # the compiler is broken, or we cross compile.
1829 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1830 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1831 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1832 # If not cross compiling, check that we can run a simple program.
1833 if test "$cross_compiling" != yes; then
1834 if { ac_try='./$ac_file'
1835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1836 (eval $ac_try) 2>&5
1837 ac_status=$?
1838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1839 (exit $ac_status); }; }; then
1840 cross_compiling=no
1841 else
1842 if test "$cross_compiling" = maybe; then
1843 cross_compiling=yes
1844 else
1845 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1846 If you meant to cross compile, use \`--host'." >&5
1847 echo "$as_me: error: cannot run C compiled programs.
1848 If you meant to cross compile, use \`--host'." >&2;}
1849 { (exit 1); exit 1; }; }
1853 echo "$as_me:$LINENO: result: yes" >&5
1854 echo "${ECHO_T}yes" >&6
1856 rm -f a.out a.exe conftest$ac_cv_exeext
1857 ac_clean_files=$ac_clean_files_save
1858 # Check the compiler produces executables we can run. If not, either
1859 # the compiler is broken, or we cross compile.
1860 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1861 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1862 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1863 echo "${ECHO_T}$cross_compiling" >&6
1865 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1866 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1868 (eval $ac_link) 2>&5
1869 ac_status=$?
1870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1871 (exit $ac_status); }; then
1872 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1873 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1874 # work properly (i.e., refer to `conftest.exe'), while it won't with
1875 # `rm'.
1876 for ac_file in conftest.exe conftest conftest.*; do
1877 test -f "$ac_file" || continue
1878 case $ac_file in
1879 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1880 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1881 export ac_cv_exeext
1882 break;;
1883 * ) break;;
1884 esac
1885 done
1886 else
1887 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
1888 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
1889 { (exit 1); exit 1; }; }
1892 rm -f conftest$ac_cv_exeext
1893 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1894 echo "${ECHO_T}$ac_cv_exeext" >&6
1896 rm -f conftest.$ac_ext
1897 EXEEXT=$ac_cv_exeext
1898 ac_exeext=$EXEEXT
1899 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1900 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1901 if test "${ac_cv_objext+set}" = set; then
1902 echo $ECHO_N "(cached) $ECHO_C" >&6
1903 else
1904 cat >conftest.$ac_ext <<_ACEOF
1905 #line $LINENO "configure"
1906 #include "confdefs.h"
1909 main ()
1913 return 0;
1915 _ACEOF
1916 rm -f conftest.o conftest.obj
1917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1918 (eval $ac_compile) 2>&5
1919 ac_status=$?
1920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1921 (exit $ac_status); }; then
1922 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1923 case $ac_file in
1924 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1925 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1926 break;;
1927 esac
1928 done
1929 else
1930 echo "$as_me: failed program was:" >&5
1931 cat conftest.$ac_ext >&5
1932 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
1933 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
1934 { (exit 1); exit 1; }; }
1937 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1939 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1940 echo "${ECHO_T}$ac_cv_objext" >&6
1941 OBJEXT=$ac_cv_objext
1942 ac_objext=$OBJEXT
1943 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1944 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1945 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1946 echo $ECHO_N "(cached) $ECHO_C" >&6
1947 else
1948 cat >conftest.$ac_ext <<_ACEOF
1949 #line $LINENO "configure"
1950 #include "confdefs.h"
1953 main ()
1955 #ifndef __GNUC__
1956 choke me
1957 #endif
1960 return 0;
1962 _ACEOF
1963 rm -f conftest.$ac_objext
1964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1965 (eval $ac_compile) 2>&5
1966 ac_status=$?
1967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1968 (exit $ac_status); } &&
1969 { ac_try='test -s conftest.$ac_objext'
1970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1971 (eval $ac_try) 2>&5
1972 ac_status=$?
1973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1974 (exit $ac_status); }; }; then
1975 ac_compiler_gnu=yes
1976 else
1977 echo "$as_me: failed program was:" >&5
1978 cat conftest.$ac_ext >&5
1979 ac_compiler_gnu=no
1981 rm -f conftest.$ac_objext conftest.$ac_ext
1982 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1985 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1986 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1987 GCC=`test $ac_compiler_gnu = yes && echo yes`
1988 ac_test_CFLAGS=${CFLAGS+set}
1989 ac_save_CFLAGS=$CFLAGS
1990 CFLAGS="-g"
1991 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1992 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1993 if test "${ac_cv_prog_cc_g+set}" = set; then
1994 echo $ECHO_N "(cached) $ECHO_C" >&6
1995 else
1996 cat >conftest.$ac_ext <<_ACEOF
1997 #line $LINENO "configure"
1998 #include "confdefs.h"
2001 main ()
2005 return 0;
2007 _ACEOF
2008 rm -f conftest.$ac_objext
2009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2010 (eval $ac_compile) 2>&5
2011 ac_status=$?
2012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2013 (exit $ac_status); } &&
2014 { ac_try='test -s conftest.$ac_objext'
2015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2016 (eval $ac_try) 2>&5
2017 ac_status=$?
2018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2019 (exit $ac_status); }; }; then
2020 ac_cv_prog_cc_g=yes
2021 else
2022 echo "$as_me: failed program was:" >&5
2023 cat conftest.$ac_ext >&5
2024 ac_cv_prog_cc_g=no
2026 rm -f conftest.$ac_objext conftest.$ac_ext
2028 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2029 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2030 if test "$ac_test_CFLAGS" = set; then
2031 CFLAGS=$ac_save_CFLAGS
2032 elif test $ac_cv_prog_cc_g = yes; then
2033 if test "$GCC" = yes; then
2034 CFLAGS="-g -O2"
2035 else
2036 CFLAGS="-g"
2038 else
2039 if test "$GCC" = yes; then
2040 CFLAGS="-O2"
2041 else
2042 CFLAGS=
2045 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2046 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2047 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2048 echo $ECHO_N "(cached) $ECHO_C" >&6
2049 else
2050 ac_cv_prog_cc_stdc=no
2051 ac_save_CC=$CC
2052 cat >conftest.$ac_ext <<_ACEOF
2053 #line $LINENO "configure"
2054 #include "confdefs.h"
2055 #include <stdarg.h>
2056 #include <stdio.h>
2057 #include <sys/types.h>
2058 #include <sys/stat.h>
2059 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2060 struct buf { int x; };
2061 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2062 static char *e (p, i)
2063 char **p;
2064 int i;
2066 return p[i];
2068 static char *f (char * (*g) (char **, int), char **p, ...)
2070 char *s;
2071 va_list v;
2072 va_start (v,p);
2073 s = g (p, va_arg (v,int));
2074 va_end (v);
2075 return s;
2077 int test (int i, double x);
2078 struct s1 {int (*f) (int a);};
2079 struct s2 {int (*f) (double a);};
2080 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2081 int argc;
2082 char **argv;
2084 main ()
2086 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2088 return 0;
2090 _ACEOF
2091 # Don't try gcc -ansi; that turns off useful extensions and
2092 # breaks some systems' header files.
2093 # AIX -qlanglvl=ansi
2094 # Ultrix and OSF/1 -std1
2095 # HP-UX 10.20 and later -Ae
2096 # HP-UX older versions -Aa -D_HPUX_SOURCE
2097 # SVR4 -Xc -D__EXTENSIONS__
2098 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2100 CC="$ac_save_CC $ac_arg"
2101 rm -f conftest.$ac_objext
2102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2103 (eval $ac_compile) 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_cv_prog_cc_stdc=$ac_arg
2114 break
2115 else
2116 echo "$as_me: failed program was:" >&5
2117 cat conftest.$ac_ext >&5
2119 rm -f conftest.$ac_objext
2120 done
2121 rm -f conftest.$ac_ext conftest.$ac_objext
2122 CC=$ac_save_CC
2126 case "x$ac_cv_prog_cc_stdc" in
2127 x|xno)
2128 echo "$as_me:$LINENO: result: none needed" >&5
2129 echo "${ECHO_T}none needed" >&6 ;;
2131 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2132 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2133 CC="$CC $ac_cv_prog_cc_stdc" ;;
2134 esac
2136 # Some people use a C++ compiler to compile C. Since we use `exit',
2137 # in C++ we need to declare it. In case someone uses the same compiler
2138 # for both compiling C and C++ we need to have the C++ compiler decide
2139 # the declaration of exit, since it's the most demanding environment.
2140 cat >conftest.$ac_ext <<_ACEOF
2141 #ifndef __cplusplus
2142 choke me
2143 #endif
2144 _ACEOF
2145 rm -f conftest.$ac_objext
2146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2147 (eval $ac_compile) 2>&5
2148 ac_status=$?
2149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2150 (exit $ac_status); } &&
2151 { ac_try='test -s conftest.$ac_objext'
2152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2153 (eval $ac_try) 2>&5
2154 ac_status=$?
2155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2156 (exit $ac_status); }; }; then
2157 for ac_declaration in \
2159 '#include <stdlib.h>' \
2160 'extern "C" void std::exit (int) throw (); using std::exit;' \
2161 'extern "C" void std::exit (int); using std::exit;' \
2162 'extern "C" void exit (int) throw ();' \
2163 'extern "C" void exit (int);' \
2164 'void exit (int);'
2166 cat >conftest.$ac_ext <<_ACEOF
2167 #line $LINENO "configure"
2168 #include "confdefs.h"
2169 #include <stdlib.h>
2170 $ac_declaration
2172 main ()
2174 exit (42);
2176 return 0;
2178 _ACEOF
2179 rm -f conftest.$ac_objext
2180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2181 (eval $ac_compile) 2>&5
2182 ac_status=$?
2183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2184 (exit $ac_status); } &&
2185 { ac_try='test -s conftest.$ac_objext'
2186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2187 (eval $ac_try) 2>&5
2188 ac_status=$?
2189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2190 (exit $ac_status); }; }; then
2192 else
2193 echo "$as_me: failed program was:" >&5
2194 cat conftest.$ac_ext >&5
2195 continue
2197 rm -f conftest.$ac_objext conftest.$ac_ext
2198 cat >conftest.$ac_ext <<_ACEOF
2199 #line $LINENO "configure"
2200 #include "confdefs.h"
2201 $ac_declaration
2203 main ()
2205 exit (42);
2207 return 0;
2209 _ACEOF
2210 rm -f conftest.$ac_objext
2211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2212 (eval $ac_compile) 2>&5
2213 ac_status=$?
2214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2215 (exit $ac_status); } &&
2216 { ac_try='test -s conftest.$ac_objext'
2217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2218 (eval $ac_try) 2>&5
2219 ac_status=$?
2220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2221 (exit $ac_status); }; }; then
2222 break
2223 else
2224 echo "$as_me: failed program was:" >&5
2225 cat conftest.$ac_ext >&5
2227 rm -f conftest.$ac_objext conftest.$ac_ext
2228 done
2229 rm -f conftest*
2230 if test -n "$ac_declaration"; then
2231 echo '#ifdef __cplusplus' >>confdefs.h
2232 echo $ac_declaration >>confdefs.h
2233 echo '#endif' >>confdefs.h
2236 else
2237 echo "$as_me: failed program was:" >&5
2238 cat conftest.$ac_ext >&5
2240 rm -f conftest.$ac_objext conftest.$ac_ext
2241 ac_ext=c
2242 ac_cpp='$CPP $CPPFLAGS'
2243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2247 ac_ext=c
2248 ac_cpp='$CPP $CPPFLAGS'
2249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2252 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2253 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2254 # On Suns, sometimes $CPP names a directory.
2255 if test -n "$CPP" && test -d "$CPP"; then
2256 CPP=
2258 if test -z "$CPP"; then
2259 if test "${ac_cv_prog_CPP+set}" = set; then
2260 echo $ECHO_N "(cached) $ECHO_C" >&6
2261 else
2262 # Double quotes because CPP needs to be expanded
2263 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2265 ac_preproc_ok=false
2266 for ac_c_preproc_warn_flag in '' yes
2268 # Use a header file that comes with gcc, so configuring glibc
2269 # with a fresh cross-compiler works.
2270 # On the NeXT, cc -E runs the code through the compiler's parser,
2271 # not just through cpp. "Syntax error" is here to catch this case.
2272 cat >conftest.$ac_ext <<_ACEOF
2273 #line $LINENO "configure"
2274 #include "confdefs.h"
2275 #include <assert.h>
2276 Syntax error
2277 _ACEOF
2278 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2279 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2280 ac_status=$?
2281 grep -v '^ *+' conftest.er1 >conftest.err
2282 rm -f conftest.er1
2283 cat conftest.err >&5
2284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2285 (exit $ac_status); } >/dev/null; then
2286 if test -s conftest.err; then
2287 ac_cpp_err=$ac_c_preproc_warn_flag
2288 else
2289 ac_cpp_err=
2291 else
2292 ac_cpp_err=yes
2294 if test -z "$ac_cpp_err"; then
2296 else
2297 echo "$as_me: failed program was:" >&5
2298 cat conftest.$ac_ext >&5
2299 # Broken: fails on valid input.
2300 continue
2302 rm -f conftest.err conftest.$ac_ext
2304 # OK, works on sane cases. Now check whether non-existent headers
2305 # can be detected and how.
2306 cat >conftest.$ac_ext <<_ACEOF
2307 #line $LINENO "configure"
2308 #include "confdefs.h"
2309 #include <ac_nonexistent.h>
2310 _ACEOF
2311 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2312 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2313 ac_status=$?
2314 grep -v '^ *+' conftest.er1 >conftest.err
2315 rm -f conftest.er1
2316 cat conftest.err >&5
2317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2318 (exit $ac_status); } >/dev/null; then
2319 if test -s conftest.err; then
2320 ac_cpp_err=$ac_c_preproc_warn_flag
2321 else
2322 ac_cpp_err=
2324 else
2325 ac_cpp_err=yes
2327 if test -z "$ac_cpp_err"; then
2328 # Broken: success on invalid input.
2329 continue
2330 else
2331 echo "$as_me: failed program was:" >&5
2332 cat conftest.$ac_ext >&5
2333 # Passes both tests.
2334 ac_preproc_ok=:
2335 break
2337 rm -f conftest.err conftest.$ac_ext
2339 done
2340 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2341 rm -f conftest.err conftest.$ac_ext
2342 if $ac_preproc_ok; then
2343 break
2346 done
2347 ac_cv_prog_CPP=$CPP
2350 CPP=$ac_cv_prog_CPP
2351 else
2352 ac_cv_prog_CPP=$CPP
2354 echo "$as_me:$LINENO: result: $CPP" >&5
2355 echo "${ECHO_T}$CPP" >&6
2356 ac_preproc_ok=false
2357 for ac_c_preproc_warn_flag in '' yes
2359 # Use a header file that comes with gcc, so configuring glibc
2360 # with a fresh cross-compiler works.
2361 # On the NeXT, cc -E runs the code through the compiler's parser,
2362 # not just through cpp. "Syntax error" is here to catch this case.
2363 cat >conftest.$ac_ext <<_ACEOF
2364 #line $LINENO "configure"
2365 #include "confdefs.h"
2366 #include <assert.h>
2367 Syntax error
2368 _ACEOF
2369 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2370 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2371 ac_status=$?
2372 grep -v '^ *+' conftest.er1 >conftest.err
2373 rm -f conftest.er1
2374 cat conftest.err >&5
2375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376 (exit $ac_status); } >/dev/null; then
2377 if test -s conftest.err; then
2378 ac_cpp_err=$ac_c_preproc_warn_flag
2379 else
2380 ac_cpp_err=
2382 else
2383 ac_cpp_err=yes
2385 if test -z "$ac_cpp_err"; then
2387 else
2388 echo "$as_me: failed program was:" >&5
2389 cat conftest.$ac_ext >&5
2390 # Broken: fails on valid input.
2391 continue
2393 rm -f conftest.err conftest.$ac_ext
2395 # OK, works on sane cases. Now check whether non-existent headers
2396 # can be detected and how.
2397 cat >conftest.$ac_ext <<_ACEOF
2398 #line $LINENO "configure"
2399 #include "confdefs.h"
2400 #include <ac_nonexistent.h>
2401 _ACEOF
2402 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2403 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2404 ac_status=$?
2405 grep -v '^ *+' conftest.er1 >conftest.err
2406 rm -f conftest.er1
2407 cat conftest.err >&5
2408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2409 (exit $ac_status); } >/dev/null; then
2410 if test -s conftest.err; then
2411 ac_cpp_err=$ac_c_preproc_warn_flag
2412 else
2413 ac_cpp_err=
2415 else
2416 ac_cpp_err=yes
2418 if test -z "$ac_cpp_err"; then
2419 # Broken: success on invalid input.
2420 continue
2421 else
2422 echo "$as_me: failed program was:" >&5
2423 cat conftest.$ac_ext >&5
2424 # Passes both tests.
2425 ac_preproc_ok=:
2426 break
2428 rm -f conftest.err conftest.$ac_ext
2430 done
2431 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2432 rm -f conftest.err conftest.$ac_ext
2433 if $ac_preproc_ok; then
2435 else
2436 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2437 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2438 { (exit 1); exit 1; }; }
2441 ac_ext=c
2442 ac_cpp='$CPP $CPPFLAGS'
2443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2448 echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
2449 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6
2450 if test "${wine_cv_toolsdir+set}" = set; then
2451 echo $ECHO_N "(cached) $ECHO_C" >&6
2452 else
2453 if test -z "$with_wine_tools"; then
2454 if test "$cross_compiling" = "yes"; then
2455 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
2456 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
2457 { (exit 1); exit 1; }; }
2458 else
2459 wine_cv_toolsdir="\$(TOPOBJDIR)"
2461 elif test -d "$with_wine_tools/tools/winebuild"; then
2462 case $with_wine_tools in
2463 /*) wine_cv_toolsdir="$with_wine_tools" ;;
2464 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
2465 esac
2466 else
2467 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
2468 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
2469 { (exit 1); exit 1; }; }
2472 echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
2473 echo "${ECHO_T}$wine_cv_toolsdir" >&6
2474 TOOLSDIR=$wine_cv_toolsdir
2479 echo "$as_me:$LINENO: checking for X" >&5
2480 echo $ECHO_N "checking for X... $ECHO_C" >&6
2483 # Check whether --with-x or --without-x was given.
2484 if test "${with_x+set}" = set; then
2485 withval="$with_x"
2488 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
2489 if test "x$with_x" = xno; then
2490 # The user explicitly disabled X.
2491 have_x=disabled
2492 else
2493 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
2494 # Both variables are already set.
2495 have_x=yes
2496 else
2497 if test "${ac_cv_have_x+set}" = set; then
2498 echo $ECHO_N "(cached) $ECHO_C" >&6
2499 else
2500 # One or both of the vars are not set, and there is no cached value.
2501 ac_x_includes=no ac_x_libraries=no
2502 rm -fr conftest.dir
2503 if mkdir conftest.dir; then
2504 cd conftest.dir
2505 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
2506 cat >Imakefile <<'_ACEOF'
2507 acfindx:
2508 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
2509 _ACEOF
2510 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
2511 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2512 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
2513 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
2514 for ac_extension in a so sl; do
2515 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
2516 test -f $ac_im_libdir/libX11.$ac_extension; then
2517 ac_im_usrlibdir=$ac_im_libdir; break
2519 done
2520 # Screen out bogus values from the imake configuration. They are
2521 # bogus both because they are the default anyway, and because
2522 # using them would break gcc on systems where it needs fixed includes.
2523 case $ac_im_incroot in
2524 /usr/include) ;;
2525 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
2526 esac
2527 case $ac_im_usrlibdir in
2528 /usr/lib | /lib) ;;
2529 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
2530 esac
2532 cd ..
2533 rm -fr conftest.dir
2536 # Standard set of common directories for X headers.
2537 # Check X11 before X11Rn because it is often a symlink to the current release.
2538 ac_x_header_dirs='
2539 /usr/X11/include
2540 /usr/X11R6/include
2541 /usr/X11R5/include
2542 /usr/X11R4/include
2544 /usr/include/X11
2545 /usr/include/X11R6
2546 /usr/include/X11R5
2547 /usr/include/X11R4
2549 /usr/local/X11/include
2550 /usr/local/X11R6/include
2551 /usr/local/X11R5/include
2552 /usr/local/X11R4/include
2554 /usr/local/include/X11
2555 /usr/local/include/X11R6
2556 /usr/local/include/X11R5
2557 /usr/local/include/X11R4
2559 /usr/X386/include
2560 /usr/x386/include
2561 /usr/XFree86/include/X11
2563 /usr/include
2564 /usr/local/include
2565 /usr/unsupported/include
2566 /usr/athena/include
2567 /usr/local/x11r5/include
2568 /usr/lpp/Xamples/include
2570 /usr/openwin/include
2571 /usr/openwin/share/include'
2573 if test "$ac_x_includes" = no; then
2574 # Guess where to find include files, by looking for Intrinsic.h.
2575 # First, try using that file with no special directory specified.
2576 cat >conftest.$ac_ext <<_ACEOF
2577 #line $LINENO "configure"
2578 #include "confdefs.h"
2579 #include <X11/Intrinsic.h>
2580 _ACEOF
2581 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2582 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2583 ac_status=$?
2584 grep -v '^ *+' conftest.er1 >conftest.err
2585 rm -f conftest.er1
2586 cat conftest.err >&5
2587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2588 (exit $ac_status); } >/dev/null; then
2589 if test -s conftest.err; then
2590 ac_cpp_err=$ac_c_preproc_warn_flag
2591 else
2592 ac_cpp_err=
2594 else
2595 ac_cpp_err=yes
2597 if test -z "$ac_cpp_err"; then
2598 # We can compile using X headers with no special include directory.
2599 ac_x_includes=
2600 else
2601 echo "$as_me: failed program was:" >&5
2602 cat conftest.$ac_ext >&5
2603 for ac_dir in $ac_x_header_dirs; do
2604 if test -r "$ac_dir/X11/Intrinsic.h"; then
2605 ac_x_includes=$ac_dir
2606 break
2608 done
2610 rm -f conftest.err conftest.$ac_ext
2611 fi # $ac_x_includes = no
2613 if test "$ac_x_libraries" = no; then
2614 # Check for the libraries.
2615 # See if we find them without any special options.
2616 # Don't add to $LIBS permanently.
2617 ac_save_LIBS=$LIBS
2618 LIBS="-lXt $LIBS"
2619 cat >conftest.$ac_ext <<_ACEOF
2620 #line $LINENO "configure"
2621 #include "confdefs.h"
2622 #include <X11/Intrinsic.h>
2624 main ()
2626 XtMalloc (0)
2628 return 0;
2630 _ACEOF
2631 rm -f conftest.$ac_objext conftest$ac_exeext
2632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2633 (eval $ac_link) 2>&5
2634 ac_status=$?
2635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636 (exit $ac_status); } &&
2637 { ac_try='test -s conftest$ac_exeext'
2638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2639 (eval $ac_try) 2>&5
2640 ac_status=$?
2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); }; }; then
2643 LIBS=$ac_save_LIBS
2644 # We can link X programs with no special library path.
2645 ac_x_libraries=
2646 else
2647 echo "$as_me: failed program was:" >&5
2648 cat conftest.$ac_ext >&5
2649 LIBS=$ac_save_LIBS
2650 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
2652 # Don't even attempt the hair of trying to link an X program!
2653 for ac_extension in a so sl; do
2654 if test -r $ac_dir/libXt.$ac_extension; then
2655 ac_x_libraries=$ac_dir
2656 break 2
2658 done
2659 done
2661 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2662 fi # $ac_x_libraries = no
2664 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
2665 # Didn't find X anywhere. Cache the known absence of X.
2666 ac_cv_have_x="have_x=no"
2667 else
2668 # Record where we found X for the cache.
2669 ac_cv_have_x="have_x=yes \
2670 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
2675 eval "$ac_cv_have_x"
2676 fi # $with_x != no
2678 if test "$have_x" != yes; then
2679 echo "$as_me:$LINENO: result: $have_x" >&5
2680 echo "${ECHO_T}$have_x" >&6
2681 no_x=yes
2682 else
2683 # If each of the values was on the command line, it overrides each guess.
2684 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
2685 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
2686 # Update the cache value to reflect the command line values.
2687 ac_cv_have_x="have_x=yes \
2688 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
2689 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
2690 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
2693 if test "$no_x" = yes; then
2694 # Not all programs may use this symbol, but it does not hurt to define it.
2696 cat >>confdefs.h <<\_ACEOF
2697 #define X_DISPLAY_MISSING 1
2698 _ACEOF
2700 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
2701 else
2702 if test -n "$x_includes"; then
2703 X_CFLAGS="$X_CFLAGS -I$x_includes"
2706 # It would also be nice to do this for all -L options, not just this one.
2707 if test -n "$x_libraries"; then
2708 X_LIBS="$X_LIBS -L$x_libraries"
2709 # For Solaris; some versions of Sun CC require a space after -R and
2710 # others require no space. Words are not sufficient . . . .
2711 case `(uname -sr) 2>/dev/null` in
2712 "SunOS 5"*)
2713 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
2714 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
2715 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
2716 cat >conftest.$ac_ext <<_ACEOF
2717 #line $LINENO "configure"
2718 #include "confdefs.h"
2721 main ()
2725 return 0;
2727 _ACEOF
2728 rm -f conftest.$ac_objext conftest$ac_exeext
2729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2730 (eval $ac_link) 2>&5
2731 ac_status=$?
2732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733 (exit $ac_status); } &&
2734 { ac_try='test -s conftest$ac_exeext'
2735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2736 (eval $ac_try) 2>&5
2737 ac_status=$?
2738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2739 (exit $ac_status); }; }; then
2740 ac_R_nospace=yes
2741 else
2742 echo "$as_me: failed program was:" >&5
2743 cat conftest.$ac_ext >&5
2744 ac_R_nospace=no
2746 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2747 if test $ac_R_nospace = yes; then
2748 echo "$as_me:$LINENO: result: no" >&5
2749 echo "${ECHO_T}no" >&6
2750 X_LIBS="$X_LIBS -R$x_libraries"
2751 else
2752 LIBS="$ac_xsave_LIBS -R $x_libraries"
2753 cat >conftest.$ac_ext <<_ACEOF
2754 #line $LINENO "configure"
2755 #include "confdefs.h"
2758 main ()
2762 return 0;
2764 _ACEOF
2765 rm -f conftest.$ac_objext conftest$ac_exeext
2766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2767 (eval $ac_link) 2>&5
2768 ac_status=$?
2769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2770 (exit $ac_status); } &&
2771 { ac_try='test -s conftest$ac_exeext'
2772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2773 (eval $ac_try) 2>&5
2774 ac_status=$?
2775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776 (exit $ac_status); }; }; then
2777 ac_R_space=yes
2778 else
2779 echo "$as_me: failed program was:" >&5
2780 cat conftest.$ac_ext >&5
2781 ac_R_space=no
2783 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2784 if test $ac_R_space = yes; then
2785 echo "$as_me:$LINENO: result: yes" >&5
2786 echo "${ECHO_T}yes" >&6
2787 X_LIBS="$X_LIBS -R $x_libraries"
2788 else
2789 echo "$as_me:$LINENO: result: neither works" >&5
2790 echo "${ECHO_T}neither works" >&6
2793 LIBS=$ac_xsave_LIBS
2794 esac
2797 # Check for system-dependent libraries X programs must link with.
2798 # Do this before checking for the system-independent R6 libraries
2799 # (-lICE), since we may need -lsocket or whatever for X linking.
2801 if test "$ISC" = yes; then
2802 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
2803 else
2804 # Martyn Johnson says this is needed for Ultrix, if the X
2805 # libraries were built with DECnet support. And Karl Berry says
2806 # the Alpha needs dnet_stub (dnet does not exist).
2807 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
2808 cat >conftest.$ac_ext <<_ACEOF
2809 #line $LINENO "configure"
2810 #include "confdefs.h"
2812 /* Override any gcc2 internal prototype to avoid an error. */
2813 #ifdef __cplusplus
2814 extern "C"
2815 #endif
2816 /* We use char because int might match the return type of a gcc2
2817 builtin and then its argument prototype would still apply. */
2818 char XOpenDisplay ();
2820 main ()
2822 XOpenDisplay ();
2824 return 0;
2826 _ACEOF
2827 rm -f conftest.$ac_objext conftest$ac_exeext
2828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2829 (eval $ac_link) 2>&5
2830 ac_status=$?
2831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832 (exit $ac_status); } &&
2833 { ac_try='test -s conftest$ac_exeext'
2834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2835 (eval $ac_try) 2>&5
2836 ac_status=$?
2837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838 (exit $ac_status); }; }; then
2840 else
2841 echo "$as_me: failed program was:" >&5
2842 cat conftest.$ac_ext >&5
2843 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
2844 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
2845 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
2846 echo $ECHO_N "(cached) $ECHO_C" >&6
2847 else
2848 ac_check_lib_save_LIBS=$LIBS
2849 LIBS="-ldnet $LIBS"
2850 cat >conftest.$ac_ext <<_ACEOF
2851 #line $LINENO "configure"
2852 #include "confdefs.h"
2854 /* Override any gcc2 internal prototype to avoid an error. */
2855 #ifdef __cplusplus
2856 extern "C"
2857 #endif
2858 /* We use char because int might match the return type of a gcc2
2859 builtin and then its argument prototype would still apply. */
2860 char dnet_ntoa ();
2862 main ()
2864 dnet_ntoa ();
2866 return 0;
2868 _ACEOF
2869 rm -f conftest.$ac_objext conftest$ac_exeext
2870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2871 (eval $ac_link) 2>&5
2872 ac_status=$?
2873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874 (exit $ac_status); } &&
2875 { ac_try='test -s conftest$ac_exeext'
2876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2877 (eval $ac_try) 2>&5
2878 ac_status=$?
2879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2880 (exit $ac_status); }; }; then
2881 ac_cv_lib_dnet_dnet_ntoa=yes
2882 else
2883 echo "$as_me: failed program was:" >&5
2884 cat conftest.$ac_ext >&5
2885 ac_cv_lib_dnet_dnet_ntoa=no
2887 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2888 LIBS=$ac_check_lib_save_LIBS
2890 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
2891 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
2892 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
2893 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
2896 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
2897 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
2898 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
2899 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
2900 echo $ECHO_N "(cached) $ECHO_C" >&6
2901 else
2902 ac_check_lib_save_LIBS=$LIBS
2903 LIBS="-ldnet_stub $LIBS"
2904 cat >conftest.$ac_ext <<_ACEOF
2905 #line $LINENO "configure"
2906 #include "confdefs.h"
2908 /* Override any gcc2 internal prototype to avoid an error. */
2909 #ifdef __cplusplus
2910 extern "C"
2911 #endif
2912 /* We use char because int might match the return type of a gcc2
2913 builtin and then its argument prototype would still apply. */
2914 char dnet_ntoa ();
2916 main ()
2918 dnet_ntoa ();
2920 return 0;
2922 _ACEOF
2923 rm -f conftest.$ac_objext conftest$ac_exeext
2924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2925 (eval $ac_link) 2>&5
2926 ac_status=$?
2927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2928 (exit $ac_status); } &&
2929 { ac_try='test -s conftest$ac_exeext'
2930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2931 (eval $ac_try) 2>&5
2932 ac_status=$?
2933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2934 (exit $ac_status); }; }; then
2935 ac_cv_lib_dnet_stub_dnet_ntoa=yes
2936 else
2937 echo "$as_me: failed program was:" >&5
2938 cat conftest.$ac_ext >&5
2939 ac_cv_lib_dnet_stub_dnet_ntoa=no
2941 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2942 LIBS=$ac_check_lib_save_LIBS
2944 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
2945 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
2946 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
2947 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
2952 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2953 LIBS="$ac_xsave_LIBS"
2955 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
2956 # to get the SysV transport functions.
2957 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
2958 # needs -lnsl.
2959 # The nsl library prevents programs from opening the X display
2960 # on Irix 5.2, according to T.E. Dickey.
2961 # The functions gethostbyname, getservbyname, and inet_addr are
2962 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
2963 echo "$as_me:$LINENO: checking for gethostbyname" >&5
2964 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
2965 if test "${ac_cv_func_gethostbyname+set}" = set; then
2966 echo $ECHO_N "(cached) $ECHO_C" >&6
2967 else
2968 cat >conftest.$ac_ext <<_ACEOF
2969 #line $LINENO "configure"
2970 #include "confdefs.h"
2971 /* System header to define __stub macros and hopefully few prototypes,
2972 which can conflict with char gethostbyname (); below. */
2973 #include <assert.h>
2974 /* Override any gcc2 internal prototype to avoid an error. */
2975 #ifdef __cplusplus
2976 extern "C"
2977 #endif
2978 /* We use char because int might match the return type of a gcc2
2979 builtin and then its argument prototype would still apply. */
2980 char gethostbyname ();
2981 char (*f) ();
2984 main ()
2986 /* The GNU C library defines this for functions which it implements
2987 to always fail with ENOSYS. Some functions are actually named
2988 something starting with __ and the normal name is an alias. */
2989 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
2990 choke me
2991 #else
2992 f = gethostbyname;
2993 #endif
2996 return 0;
2998 _ACEOF
2999 rm -f conftest.$ac_objext conftest$ac_exeext
3000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3001 (eval $ac_link) 2>&5
3002 ac_status=$?
3003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3004 (exit $ac_status); } &&
3005 { ac_try='test -s conftest$ac_exeext'
3006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3007 (eval $ac_try) 2>&5
3008 ac_status=$?
3009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3010 (exit $ac_status); }; }; then
3011 ac_cv_func_gethostbyname=yes
3012 else
3013 echo "$as_me: failed program was:" >&5
3014 cat conftest.$ac_ext >&5
3015 ac_cv_func_gethostbyname=no
3017 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3019 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3020 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3022 if test $ac_cv_func_gethostbyname = no; then
3023 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3024 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3025 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3026 echo $ECHO_N "(cached) $ECHO_C" >&6
3027 else
3028 ac_check_lib_save_LIBS=$LIBS
3029 LIBS="-lnsl $LIBS"
3030 cat >conftest.$ac_ext <<_ACEOF
3031 #line $LINENO "configure"
3032 #include "confdefs.h"
3034 /* Override any gcc2 internal prototype to avoid an error. */
3035 #ifdef __cplusplus
3036 extern "C"
3037 #endif
3038 /* We use char because int might match the return type of a gcc2
3039 builtin and then its argument prototype would still apply. */
3040 char gethostbyname ();
3042 main ()
3044 gethostbyname ();
3046 return 0;
3048 _ACEOF
3049 rm -f conftest.$ac_objext conftest$ac_exeext
3050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3051 (eval $ac_link) 2>&5
3052 ac_status=$?
3053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3054 (exit $ac_status); } &&
3055 { ac_try='test -s conftest$ac_exeext'
3056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3057 (eval $ac_try) 2>&5
3058 ac_status=$?
3059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3060 (exit $ac_status); }; }; then
3061 ac_cv_lib_nsl_gethostbyname=yes
3062 else
3063 echo "$as_me: failed program was:" >&5
3064 cat conftest.$ac_ext >&5
3065 ac_cv_lib_nsl_gethostbyname=no
3067 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3068 LIBS=$ac_check_lib_save_LIBS
3070 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3071 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3072 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3073 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
3076 if test $ac_cv_lib_nsl_gethostbyname = no; then
3077 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3078 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3079 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3080 echo $ECHO_N "(cached) $ECHO_C" >&6
3081 else
3082 ac_check_lib_save_LIBS=$LIBS
3083 LIBS="-lbsd $LIBS"
3084 cat >conftest.$ac_ext <<_ACEOF
3085 #line $LINENO "configure"
3086 #include "confdefs.h"
3088 /* Override any gcc2 internal prototype to avoid an error. */
3089 #ifdef __cplusplus
3090 extern "C"
3091 #endif
3092 /* We use char because int might match the return type of a gcc2
3093 builtin and then its argument prototype would still apply. */
3094 char gethostbyname ();
3096 main ()
3098 gethostbyname ();
3100 return 0;
3102 _ACEOF
3103 rm -f conftest.$ac_objext conftest$ac_exeext
3104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3105 (eval $ac_link) 2>&5
3106 ac_status=$?
3107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3108 (exit $ac_status); } &&
3109 { ac_try='test -s conftest$ac_exeext'
3110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3111 (eval $ac_try) 2>&5
3112 ac_status=$?
3113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3114 (exit $ac_status); }; }; then
3115 ac_cv_lib_bsd_gethostbyname=yes
3116 else
3117 echo "$as_me: failed program was:" >&5
3118 cat conftest.$ac_ext >&5
3119 ac_cv_lib_bsd_gethostbyname=no
3121 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3122 LIBS=$ac_check_lib_save_LIBS
3124 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3125 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3126 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3127 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
3133 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3134 # socket/setsockopt and other routines are undefined under SCO ODT
3135 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3136 # on later versions), says Simon Leinen: it contains gethostby*
3137 # variants that don't use the name server (or something). -lsocket
3138 # must be given before -lnsl if both are needed. We assume that
3139 # if connect needs -lnsl, so does gethostbyname.
3140 echo "$as_me:$LINENO: checking for connect" >&5
3141 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3142 if test "${ac_cv_func_connect+set}" = set; then
3143 echo $ECHO_N "(cached) $ECHO_C" >&6
3144 else
3145 cat >conftest.$ac_ext <<_ACEOF
3146 #line $LINENO "configure"
3147 #include "confdefs.h"
3148 /* System header to define __stub macros and hopefully few prototypes,
3149 which can conflict with char connect (); below. */
3150 #include <assert.h>
3151 /* Override any gcc2 internal prototype to avoid an error. */
3152 #ifdef __cplusplus
3153 extern "C"
3154 #endif
3155 /* We use char because int might match the return type of a gcc2
3156 builtin and then its argument prototype would still apply. */
3157 char connect ();
3158 char (*f) ();
3161 main ()
3163 /* The GNU C library defines this for functions which it implements
3164 to always fail with ENOSYS. Some functions are actually named
3165 something starting with __ and the normal name is an alias. */
3166 #if defined (__stub_connect) || defined (__stub___connect)
3167 choke me
3168 #else
3169 f = connect;
3170 #endif
3173 return 0;
3175 _ACEOF
3176 rm -f conftest.$ac_objext conftest$ac_exeext
3177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3178 (eval $ac_link) 2>&5
3179 ac_status=$?
3180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3181 (exit $ac_status); } &&
3182 { ac_try='test -s conftest$ac_exeext'
3183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3184 (eval $ac_try) 2>&5
3185 ac_status=$?
3186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3187 (exit $ac_status); }; }; then
3188 ac_cv_func_connect=yes
3189 else
3190 echo "$as_me: failed program was:" >&5
3191 cat conftest.$ac_ext >&5
3192 ac_cv_func_connect=no
3194 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3196 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
3197 echo "${ECHO_T}$ac_cv_func_connect" >&6
3199 if test $ac_cv_func_connect = no; then
3200 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
3201 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
3202 if test "${ac_cv_lib_socket_connect+set}" = set; then
3203 echo $ECHO_N "(cached) $ECHO_C" >&6
3204 else
3205 ac_check_lib_save_LIBS=$LIBS
3206 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
3207 cat >conftest.$ac_ext <<_ACEOF
3208 #line $LINENO "configure"
3209 #include "confdefs.h"
3211 /* Override any gcc2 internal prototype to avoid an error. */
3212 #ifdef __cplusplus
3213 extern "C"
3214 #endif
3215 /* We use char because int might match the return type of a gcc2
3216 builtin and then its argument prototype would still apply. */
3217 char connect ();
3219 main ()
3221 connect ();
3223 return 0;
3225 _ACEOF
3226 rm -f conftest.$ac_objext conftest$ac_exeext
3227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3228 (eval $ac_link) 2>&5
3229 ac_status=$?
3230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3231 (exit $ac_status); } &&
3232 { ac_try='test -s conftest$ac_exeext'
3233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3234 (eval $ac_try) 2>&5
3235 ac_status=$?
3236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3237 (exit $ac_status); }; }; then
3238 ac_cv_lib_socket_connect=yes
3239 else
3240 echo "$as_me: failed program was:" >&5
3241 cat conftest.$ac_ext >&5
3242 ac_cv_lib_socket_connect=no
3244 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3245 LIBS=$ac_check_lib_save_LIBS
3247 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
3248 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
3249 if test $ac_cv_lib_socket_connect = yes; then
3250 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
3255 # Guillermo Gomez says -lposix is necessary on A/UX.
3256 echo "$as_me:$LINENO: checking for remove" >&5
3257 echo $ECHO_N "checking for remove... $ECHO_C" >&6
3258 if test "${ac_cv_func_remove+set}" = set; then
3259 echo $ECHO_N "(cached) $ECHO_C" >&6
3260 else
3261 cat >conftest.$ac_ext <<_ACEOF
3262 #line $LINENO "configure"
3263 #include "confdefs.h"
3264 /* System header to define __stub macros and hopefully few prototypes,
3265 which can conflict with char remove (); below. */
3266 #include <assert.h>
3267 /* Override any gcc2 internal prototype to avoid an error. */
3268 #ifdef __cplusplus
3269 extern "C"
3270 #endif
3271 /* We use char because int might match the return type of a gcc2
3272 builtin and then its argument prototype would still apply. */
3273 char remove ();
3274 char (*f) ();
3277 main ()
3279 /* The GNU C library defines this for functions which it implements
3280 to always fail with ENOSYS. Some functions are actually named
3281 something starting with __ and the normal name is an alias. */
3282 #if defined (__stub_remove) || defined (__stub___remove)
3283 choke me
3284 #else
3285 f = remove;
3286 #endif
3289 return 0;
3291 _ACEOF
3292 rm -f conftest.$ac_objext conftest$ac_exeext
3293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3294 (eval $ac_link) 2>&5
3295 ac_status=$?
3296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3297 (exit $ac_status); } &&
3298 { ac_try='test -s conftest$ac_exeext'
3299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3300 (eval $ac_try) 2>&5
3301 ac_status=$?
3302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3303 (exit $ac_status); }; }; then
3304 ac_cv_func_remove=yes
3305 else
3306 echo "$as_me: failed program was:" >&5
3307 cat conftest.$ac_ext >&5
3308 ac_cv_func_remove=no
3310 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3312 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
3313 echo "${ECHO_T}$ac_cv_func_remove" >&6
3315 if test $ac_cv_func_remove = no; then
3316 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
3317 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
3318 if test "${ac_cv_lib_posix_remove+set}" = set; then
3319 echo $ECHO_N "(cached) $ECHO_C" >&6
3320 else
3321 ac_check_lib_save_LIBS=$LIBS
3322 LIBS="-lposix $LIBS"
3323 cat >conftest.$ac_ext <<_ACEOF
3324 #line $LINENO "configure"
3325 #include "confdefs.h"
3327 /* Override any gcc2 internal prototype to avoid an error. */
3328 #ifdef __cplusplus
3329 extern "C"
3330 #endif
3331 /* We use char because int might match the return type of a gcc2
3332 builtin and then its argument prototype would still apply. */
3333 char remove ();
3335 main ()
3337 remove ();
3339 return 0;
3341 _ACEOF
3342 rm -f conftest.$ac_objext conftest$ac_exeext
3343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3344 (eval $ac_link) 2>&5
3345 ac_status=$?
3346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3347 (exit $ac_status); } &&
3348 { ac_try='test -s conftest$ac_exeext'
3349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3350 (eval $ac_try) 2>&5
3351 ac_status=$?
3352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3353 (exit $ac_status); }; }; then
3354 ac_cv_lib_posix_remove=yes
3355 else
3356 echo "$as_me: failed program was:" >&5
3357 cat conftest.$ac_ext >&5
3358 ac_cv_lib_posix_remove=no
3360 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3361 LIBS=$ac_check_lib_save_LIBS
3363 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
3364 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
3365 if test $ac_cv_lib_posix_remove = yes; then
3366 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
3371 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
3372 echo "$as_me:$LINENO: checking for shmat" >&5
3373 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
3374 if test "${ac_cv_func_shmat+set}" = set; then
3375 echo $ECHO_N "(cached) $ECHO_C" >&6
3376 else
3377 cat >conftest.$ac_ext <<_ACEOF
3378 #line $LINENO "configure"
3379 #include "confdefs.h"
3380 /* System header to define __stub macros and hopefully few prototypes,
3381 which can conflict with char shmat (); below. */
3382 #include <assert.h>
3383 /* Override any gcc2 internal prototype to avoid an error. */
3384 #ifdef __cplusplus
3385 extern "C"
3386 #endif
3387 /* We use char because int might match the return type of a gcc2
3388 builtin and then its argument prototype would still apply. */
3389 char shmat ();
3390 char (*f) ();
3393 main ()
3395 /* The GNU C library defines this for functions which it implements
3396 to always fail with ENOSYS. Some functions are actually named
3397 something starting with __ and the normal name is an alias. */
3398 #if defined (__stub_shmat) || defined (__stub___shmat)
3399 choke me
3400 #else
3401 f = shmat;
3402 #endif
3405 return 0;
3407 _ACEOF
3408 rm -f conftest.$ac_objext conftest$ac_exeext
3409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3410 (eval $ac_link) 2>&5
3411 ac_status=$?
3412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3413 (exit $ac_status); } &&
3414 { ac_try='test -s conftest$ac_exeext'
3415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3416 (eval $ac_try) 2>&5
3417 ac_status=$?
3418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3419 (exit $ac_status); }; }; then
3420 ac_cv_func_shmat=yes
3421 else
3422 echo "$as_me: failed program was:" >&5
3423 cat conftest.$ac_ext >&5
3424 ac_cv_func_shmat=no
3426 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3428 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
3429 echo "${ECHO_T}$ac_cv_func_shmat" >&6
3431 if test $ac_cv_func_shmat = no; then
3432 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
3433 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
3434 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
3435 echo $ECHO_N "(cached) $ECHO_C" >&6
3436 else
3437 ac_check_lib_save_LIBS=$LIBS
3438 LIBS="-lipc $LIBS"
3439 cat >conftest.$ac_ext <<_ACEOF
3440 #line $LINENO "configure"
3441 #include "confdefs.h"
3443 /* Override any gcc2 internal prototype to avoid an error. */
3444 #ifdef __cplusplus
3445 extern "C"
3446 #endif
3447 /* We use char because int might match the return type of a gcc2
3448 builtin and then its argument prototype would still apply. */
3449 char shmat ();
3451 main ()
3453 shmat ();
3455 return 0;
3457 _ACEOF
3458 rm -f conftest.$ac_objext conftest$ac_exeext
3459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3460 (eval $ac_link) 2>&5
3461 ac_status=$?
3462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3463 (exit $ac_status); } &&
3464 { ac_try='test -s conftest$ac_exeext'
3465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3466 (eval $ac_try) 2>&5
3467 ac_status=$?
3468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3469 (exit $ac_status); }; }; then
3470 ac_cv_lib_ipc_shmat=yes
3471 else
3472 echo "$as_me: failed program was:" >&5
3473 cat conftest.$ac_ext >&5
3474 ac_cv_lib_ipc_shmat=no
3476 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3477 LIBS=$ac_check_lib_save_LIBS
3479 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
3480 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
3481 if test $ac_cv_lib_ipc_shmat = yes; then
3482 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
3488 # Check for libraries that X11R6 Xt/Xaw programs need.
3489 ac_save_LDFLAGS=$LDFLAGS
3490 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
3491 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
3492 # check for ICE first), but we must link in the order -lSM -lICE or
3493 # we get undefined symbols. So assume we have SM if we have ICE.
3494 # These have to be linked with before -lX11, unlike the other
3495 # libraries we check for below, so use a different variable.
3496 # John Interrante, Karl Berry
3497 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
3498 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
3499 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
3500 echo $ECHO_N "(cached) $ECHO_C" >&6
3501 else
3502 ac_check_lib_save_LIBS=$LIBS
3503 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
3504 cat >conftest.$ac_ext <<_ACEOF
3505 #line $LINENO "configure"
3506 #include "confdefs.h"
3508 /* Override any gcc2 internal prototype to avoid an error. */
3509 #ifdef __cplusplus
3510 extern "C"
3511 #endif
3512 /* We use char because int might match the return type of a gcc2
3513 builtin and then its argument prototype would still apply. */
3514 char IceConnectionNumber ();
3516 main ()
3518 IceConnectionNumber ();
3520 return 0;
3522 _ACEOF
3523 rm -f conftest.$ac_objext conftest$ac_exeext
3524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3525 (eval $ac_link) 2>&5
3526 ac_status=$?
3527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3528 (exit $ac_status); } &&
3529 { ac_try='test -s conftest$ac_exeext'
3530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3531 (eval $ac_try) 2>&5
3532 ac_status=$?
3533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3534 (exit $ac_status); }; }; then
3535 ac_cv_lib_ICE_IceConnectionNumber=yes
3536 else
3537 echo "$as_me: failed program was:" >&5
3538 cat conftest.$ac_ext >&5
3539 ac_cv_lib_ICE_IceConnectionNumber=no
3541 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3542 LIBS=$ac_check_lib_save_LIBS
3544 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
3545 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
3546 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
3547 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
3550 LDFLAGS=$ac_save_LDFLAGS
3554 for ac_prog in 'bison -y' byacc
3556 # Extract the first word of "$ac_prog", so it can be a program name with args.
3557 set dummy $ac_prog; ac_word=$2
3558 echo "$as_me:$LINENO: checking for $ac_word" >&5
3559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3560 if test "${ac_cv_prog_YACC+set}" = set; then
3561 echo $ECHO_N "(cached) $ECHO_C" >&6
3562 else
3563 if test -n "$YACC"; then
3564 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3565 else
3566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3567 for as_dir in $PATH
3569 IFS=$as_save_IFS
3570 test -z "$as_dir" && as_dir=.
3571 for ac_exec_ext in '' $ac_executable_extensions; do
3572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3573 ac_cv_prog_YACC="$ac_prog"
3574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3575 break 2
3577 done
3578 done
3582 YACC=$ac_cv_prog_YACC
3583 if test -n "$YACC"; then
3584 echo "$as_me:$LINENO: result: $YACC" >&5
3585 echo "${ECHO_T}$YACC" >&6
3586 else
3587 echo "$as_me:$LINENO: result: no" >&5
3588 echo "${ECHO_T}no" >&6
3591 test -n "$YACC" && break
3592 done
3593 test -n "$YACC" || YACC="yacc"
3595 for ac_prog in flex lex
3597 # Extract the first word of "$ac_prog", so it can be a program name with args.
3598 set dummy $ac_prog; ac_word=$2
3599 echo "$as_me:$LINENO: checking for $ac_word" >&5
3600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3601 if test "${ac_cv_prog_LEX+set}" = set; then
3602 echo $ECHO_N "(cached) $ECHO_C" >&6
3603 else
3604 if test -n "$LEX"; then
3605 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3606 else
3607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3608 for as_dir in $PATH
3610 IFS=$as_save_IFS
3611 test -z "$as_dir" && as_dir=.
3612 for ac_exec_ext in '' $ac_executable_extensions; do
3613 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3614 ac_cv_prog_LEX="$ac_prog"
3615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3616 break 2
3618 done
3619 done
3623 LEX=$ac_cv_prog_LEX
3624 if test -n "$LEX"; then
3625 echo "$as_me:$LINENO: result: $LEX" >&5
3626 echo "${ECHO_T}$LEX" >&6
3627 else
3628 echo "$as_me:$LINENO: result: no" >&5
3629 echo "${ECHO_T}no" >&6
3632 test -n "$LEX" && break
3633 done
3634 test -n "$LEX" || LEX=":"
3636 if test -z "$LEXLIB"
3637 then
3638 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3639 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3640 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3641 echo $ECHO_N "(cached) $ECHO_C" >&6
3642 else
3643 ac_check_lib_save_LIBS=$LIBS
3644 LIBS="-lfl $LIBS"
3645 cat >conftest.$ac_ext <<_ACEOF
3646 #line $LINENO "configure"
3647 #include "confdefs.h"
3649 /* Override any gcc2 internal prototype to avoid an error. */
3650 #ifdef __cplusplus
3651 extern "C"
3652 #endif
3653 /* We use char because int might match the return type of a gcc2
3654 builtin and then its argument prototype would still apply. */
3655 char yywrap ();
3657 main ()
3659 yywrap ();
3661 return 0;
3663 _ACEOF
3664 rm -f conftest.$ac_objext conftest$ac_exeext
3665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3666 (eval $ac_link) 2>&5
3667 ac_status=$?
3668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3669 (exit $ac_status); } &&
3670 { ac_try='test -s conftest$ac_exeext'
3671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3672 (eval $ac_try) 2>&5
3673 ac_status=$?
3674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3675 (exit $ac_status); }; }; then
3676 ac_cv_lib_fl_yywrap=yes
3677 else
3678 echo "$as_me: failed program was:" >&5
3679 cat conftest.$ac_ext >&5
3680 ac_cv_lib_fl_yywrap=no
3682 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3683 LIBS=$ac_check_lib_save_LIBS
3685 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3686 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3687 if test $ac_cv_lib_fl_yywrap = yes; then
3688 LEXLIB="-lfl"
3689 else
3690 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3691 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3692 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3693 echo $ECHO_N "(cached) $ECHO_C" >&6
3694 else
3695 ac_check_lib_save_LIBS=$LIBS
3696 LIBS="-ll $LIBS"
3697 cat >conftest.$ac_ext <<_ACEOF
3698 #line $LINENO "configure"
3699 #include "confdefs.h"
3701 /* Override any gcc2 internal prototype to avoid an error. */
3702 #ifdef __cplusplus
3703 extern "C"
3704 #endif
3705 /* We use char because int might match the return type of a gcc2
3706 builtin and then its argument prototype would still apply. */
3707 char yywrap ();
3709 main ()
3711 yywrap ();
3713 return 0;
3715 _ACEOF
3716 rm -f conftest.$ac_objext conftest$ac_exeext
3717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3718 (eval $ac_link) 2>&5
3719 ac_status=$?
3720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3721 (exit $ac_status); } &&
3722 { ac_try='test -s conftest$ac_exeext'
3723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3724 (eval $ac_try) 2>&5
3725 ac_status=$?
3726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3727 (exit $ac_status); }; }; then
3728 ac_cv_lib_l_yywrap=yes
3729 else
3730 echo "$as_me: failed program was:" >&5
3731 cat conftest.$ac_ext >&5
3732 ac_cv_lib_l_yywrap=no
3734 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3735 LIBS=$ac_check_lib_save_LIBS
3737 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3738 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3739 if test $ac_cv_lib_l_yywrap = yes; then
3740 LEXLIB="-ll"
3747 if test "x$LEX" != "x:"; then
3748 echo "$as_me:$LINENO: checking lex output file root" >&5
3749 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3750 if test "${ac_cv_prog_lex_root+set}" = set; then
3751 echo $ECHO_N "(cached) $ECHO_C" >&6
3752 else
3753 # The minimal lex program is just a single line: %%. But some broken lexes
3754 # (Solaris, I think it was) want two %% lines, so accommodate them.
3755 cat >conftest.l <<_ACEOF
3758 _ACEOF
3759 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3760 (eval $LEX conftest.l) 2>&5
3761 ac_status=$?
3762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3763 (exit $ac_status); }
3764 if test -f lex.yy.c; then
3765 ac_cv_prog_lex_root=lex.yy
3766 elif test -f lexyy.c; then
3767 ac_cv_prog_lex_root=lexyy
3768 else
3769 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3770 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3771 { (exit 1); exit 1; }; }
3774 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3775 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3776 rm -f conftest.l
3777 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3779 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3780 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3781 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3782 echo $ECHO_N "(cached) $ECHO_C" >&6
3783 else
3784 # POSIX says lex can declare yytext either as a pointer or an array; the
3785 # default is implementation-dependent. Figure out which it is, since
3786 # not all implementations provide the %pointer and %array declarations.
3787 ac_cv_prog_lex_yytext_pointer=no
3788 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3789 ac_save_LIBS=$LIBS
3790 LIBS="$LIBS $LEXLIB"
3791 cat >conftest.$ac_ext <<_ACEOF
3792 `cat $LEX_OUTPUT_ROOT.c`
3793 _ACEOF
3794 rm -f conftest.$ac_objext conftest$ac_exeext
3795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3796 (eval $ac_link) 2>&5
3797 ac_status=$?
3798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3799 (exit $ac_status); } &&
3800 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
3806 ac_cv_prog_lex_yytext_pointer=yes
3807 else
3808 echo "$as_me: failed program was:" >&5
3809 cat conftest.$ac_ext >&5
3811 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3812 LIBS=$ac_save_LIBS
3813 rm -f "${LEX_OUTPUT_ROOT}.c"
3816 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3817 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3818 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3820 cat >>confdefs.h <<\_ACEOF
3821 #define YYTEXT_POINTER 1
3822 _ACEOF
3828 for ac_prog in $YACC bison yacc
3830 # Extract the first word of "$ac_prog", so it can be a program name with args.
3831 set dummy $ac_prog; ac_word=$2
3832 echo "$as_me:$LINENO: checking for $ac_word" >&5
3833 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3834 if test "${ac_cv_prog_XYACC+set}" = set; then
3835 echo $ECHO_N "(cached) $ECHO_C" >&6
3836 else
3837 if test -n "$XYACC"; then
3838 ac_cv_prog_XYACC="$XYACC" # Let the user override the test.
3839 else
3840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3841 for as_dir in $PATH
3843 IFS=$as_save_IFS
3844 test -z "$as_dir" && as_dir=.
3845 for ac_exec_ext in '' $ac_executable_extensions; do
3846 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3847 ac_cv_prog_XYACC="$ac_prog"
3848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3849 break 2
3851 done
3852 done
3856 XYACC=$ac_cv_prog_XYACC
3857 if test -n "$XYACC"; then
3858 echo "$as_me:$LINENO: result: $XYACC" >&5
3859 echo "${ECHO_T}$XYACC" >&6
3860 else
3861 echo "$as_me:$LINENO: result: no" >&5
3862 echo "${ECHO_T}no" >&6
3865 test -n "$XYACC" && break
3866 done
3867 test -n "$XYACC" || XYACC="none"
3869 if test "$XYACC" = "none"
3870 then
3871 { { echo "$as_me:$LINENO: error: no suitable bison/yacc found. Please install the 'bison' package." >&5
3872 echo "$as_me: error: no suitable bison/yacc found. Please install the 'bison' package." >&2;}
3873 { (exit 1); exit 1; }; }
3875 for ac_prog in $LEX flex lex
3877 # Extract the first word of "$ac_prog", so it can be a program name with args.
3878 set dummy $ac_prog; ac_word=$2
3879 echo "$as_me:$LINENO: checking for $ac_word" >&5
3880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3881 if test "${ac_cv_prog_XLEX+set}" = set; then
3882 echo $ECHO_N "(cached) $ECHO_C" >&6
3883 else
3884 if test -n "$XLEX"; then
3885 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
3886 else
3887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3888 for as_dir in $PATH
3890 IFS=$as_save_IFS
3891 test -z "$as_dir" && as_dir=.
3892 for ac_exec_ext in '' $ac_executable_extensions; do
3893 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3894 ac_cv_prog_XLEX="$ac_prog"
3895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3896 break 2
3898 done
3899 done
3903 XLEX=$ac_cv_prog_XLEX
3904 if test -n "$XLEX"; then
3905 echo "$as_me:$LINENO: result: $XLEX" >&5
3906 echo "${ECHO_T}$XLEX" >&6
3907 else
3908 echo "$as_me:$LINENO: result: no" >&5
3909 echo "${ECHO_T}no" >&6
3912 test -n "$XLEX" && break
3913 done
3914 test -n "$XLEX" || XLEX="none"
3916 if test "$XLEX" = "none"
3917 then
3918 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
3919 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
3920 { (exit 1); exit 1; }; }
3923 if test -n "$ac_tool_prefix"; then
3924 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
3925 set dummy ${ac_tool_prefix}ld; ac_word=$2
3926 echo "$as_me:$LINENO: checking for $ac_word" >&5
3927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3928 if test "${ac_cv_prog_LD+set}" = set; then
3929 echo $ECHO_N "(cached) $ECHO_C" >&6
3930 else
3931 if test -n "$LD"; then
3932 ac_cv_prog_LD="$LD" # Let the user override the test.
3933 else
3934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3935 for as_dir in $PATH
3937 IFS=$as_save_IFS
3938 test -z "$as_dir" && as_dir=.
3939 for ac_exec_ext in '' $ac_executable_extensions; do
3940 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3941 ac_cv_prog_LD="${ac_tool_prefix}ld"
3942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3943 break 2
3945 done
3946 done
3950 LD=$ac_cv_prog_LD
3951 if test -n "$LD"; then
3952 echo "$as_me:$LINENO: result: $LD" >&5
3953 echo "${ECHO_T}$LD" >&6
3954 else
3955 echo "$as_me:$LINENO: result: no" >&5
3956 echo "${ECHO_T}no" >&6
3960 if test -z "$ac_cv_prog_LD"; then
3961 ac_ct_LD=$LD
3962 # Extract the first word of "ld", so it can be a program name with args.
3963 set dummy ld; ac_word=$2
3964 echo "$as_me:$LINENO: checking for $ac_word" >&5
3965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3966 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
3967 echo $ECHO_N "(cached) $ECHO_C" >&6
3968 else
3969 if test -n "$ac_ct_LD"; then
3970 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
3971 else
3972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3973 for as_dir in $PATH
3975 IFS=$as_save_IFS
3976 test -z "$as_dir" && as_dir=.
3977 for ac_exec_ext in '' $ac_executable_extensions; do
3978 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3979 ac_cv_prog_ac_ct_LD="ld"
3980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3981 break 2
3983 done
3984 done
3986 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD="ld"
3989 ac_ct_LD=$ac_cv_prog_ac_ct_LD
3990 if test -n "$ac_ct_LD"; then
3991 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
3992 echo "${ECHO_T}$ac_ct_LD" >&6
3993 else
3994 echo "$as_me:$LINENO: result: no" >&5
3995 echo "${ECHO_T}no" >&6
3998 LD=$ac_ct_LD
3999 else
4000 LD="$ac_cv_prog_LD"
4003 if test -n "$ac_tool_prefix"; then
4004 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4005 set dummy ${ac_tool_prefix}ar; ac_word=$2
4006 echo "$as_me:$LINENO: checking for $ac_word" >&5
4007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4008 if test "${ac_cv_prog_AR+set}" = set; then
4009 echo $ECHO_N "(cached) $ECHO_C" >&6
4010 else
4011 if test -n "$AR"; then
4012 ac_cv_prog_AR="$AR" # Let the user override the test.
4013 else
4014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4015 for as_dir in $PATH
4017 IFS=$as_save_IFS
4018 test -z "$as_dir" && as_dir=.
4019 for ac_exec_ext in '' $ac_executable_extensions; do
4020 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4021 ac_cv_prog_AR="${ac_tool_prefix}ar"
4022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4023 break 2
4025 done
4026 done
4030 AR=$ac_cv_prog_AR
4031 if test -n "$AR"; then
4032 echo "$as_me:$LINENO: result: $AR" >&5
4033 echo "${ECHO_T}$AR" >&6
4034 else
4035 echo "$as_me:$LINENO: result: no" >&5
4036 echo "${ECHO_T}no" >&6
4040 if test -z "$ac_cv_prog_AR"; then
4041 ac_ct_AR=$AR
4042 # Extract the first word of "ar", so it can be a program name with args.
4043 set dummy ar; ac_word=$2
4044 echo "$as_me:$LINENO: checking for $ac_word" >&5
4045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4046 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4047 echo $ECHO_N "(cached) $ECHO_C" >&6
4048 else
4049 if test -n "$ac_ct_AR"; then
4050 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4051 else
4052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4053 for as_dir in $PATH
4055 IFS=$as_save_IFS
4056 test -z "$as_dir" && as_dir=.
4057 for ac_exec_ext in '' $ac_executable_extensions; do
4058 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4059 ac_cv_prog_ac_ct_AR="ar"
4060 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4061 break 2
4063 done
4064 done
4066 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
4069 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4070 if test -n "$ac_ct_AR"; then
4071 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4072 echo "${ECHO_T}$ac_ct_AR" >&6
4073 else
4074 echo "$as_me:$LINENO: result: no" >&5
4075 echo "${ECHO_T}no" >&6
4078 AR=$ac_ct_AR
4079 else
4080 AR="$ac_cv_prog_AR"
4083 if test -n "$ac_tool_prefix"; then
4084 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4085 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4086 echo "$as_me:$LINENO: checking for $ac_word" >&5
4087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4088 if test "${ac_cv_prog_RANLIB+set}" = set; then
4089 echo $ECHO_N "(cached) $ECHO_C" >&6
4090 else
4091 if test -n "$RANLIB"; then
4092 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4093 else
4094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4095 for as_dir in $PATH
4097 IFS=$as_save_IFS
4098 test -z "$as_dir" && as_dir=.
4099 for ac_exec_ext in '' $ac_executable_extensions; do
4100 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4101 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4103 break 2
4105 done
4106 done
4110 RANLIB=$ac_cv_prog_RANLIB
4111 if test -n "$RANLIB"; then
4112 echo "$as_me:$LINENO: result: $RANLIB" >&5
4113 echo "${ECHO_T}$RANLIB" >&6
4114 else
4115 echo "$as_me:$LINENO: result: no" >&5
4116 echo "${ECHO_T}no" >&6
4120 if test -z "$ac_cv_prog_RANLIB"; then
4121 ac_ct_RANLIB=$RANLIB
4122 # Extract the first word of "ranlib", so it can be a program name with args.
4123 set dummy ranlib; ac_word=$2
4124 echo "$as_me:$LINENO: checking for $ac_word" >&5
4125 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4126 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4127 echo $ECHO_N "(cached) $ECHO_C" >&6
4128 else
4129 if test -n "$ac_ct_RANLIB"; then
4130 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4131 else
4132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4133 for as_dir in $PATH
4135 IFS=$as_save_IFS
4136 test -z "$as_dir" && as_dir=.
4137 for ac_exec_ext in '' $ac_executable_extensions; do
4138 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4139 ac_cv_prog_ac_ct_RANLIB="ranlib"
4140 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4141 break 2
4143 done
4144 done
4146 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4149 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4150 if test -n "$ac_ct_RANLIB"; then
4151 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4152 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4153 else
4154 echo "$as_me:$LINENO: result: no" >&5
4155 echo "${ECHO_T}no" >&6
4158 RANLIB=$ac_ct_RANLIB
4159 else
4160 RANLIB="$ac_cv_prog_RANLIB"
4163 if test -n "$ac_tool_prefix"; then
4164 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4165 set dummy ${ac_tool_prefix}strip; ac_word=$2
4166 echo "$as_me:$LINENO: checking for $ac_word" >&5
4167 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4168 if test "${ac_cv_prog_STRIP+set}" = set; then
4169 echo $ECHO_N "(cached) $ECHO_C" >&6
4170 else
4171 if test -n "$STRIP"; then
4172 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4173 else
4174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4175 for as_dir in $PATH
4177 IFS=$as_save_IFS
4178 test -z "$as_dir" && as_dir=.
4179 for ac_exec_ext in '' $ac_executable_extensions; do
4180 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4181 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4182 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4183 break 2
4185 done
4186 done
4190 STRIP=$ac_cv_prog_STRIP
4191 if test -n "$STRIP"; then
4192 echo "$as_me:$LINENO: result: $STRIP" >&5
4193 echo "${ECHO_T}$STRIP" >&6
4194 else
4195 echo "$as_me:$LINENO: result: no" >&5
4196 echo "${ECHO_T}no" >&6
4200 if test -z "$ac_cv_prog_STRIP"; then
4201 ac_ct_STRIP=$STRIP
4202 # Extract the first word of "strip", so it can be a program name with args.
4203 set dummy strip; ac_word=$2
4204 echo "$as_me:$LINENO: checking for $ac_word" >&5
4205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4206 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4207 echo $ECHO_N "(cached) $ECHO_C" >&6
4208 else
4209 if test -n "$ac_ct_STRIP"; then
4210 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4211 else
4212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4213 for as_dir in $PATH
4215 IFS=$as_save_IFS
4216 test -z "$as_dir" && as_dir=.
4217 for ac_exec_ext in '' $ac_executable_extensions; do
4218 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4219 ac_cv_prog_ac_ct_STRIP="strip"
4220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4221 break 2
4223 done
4224 done
4226 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="strip"
4229 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4230 if test -n "$ac_ct_STRIP"; then
4231 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4232 echo "${ECHO_T}$ac_ct_STRIP" >&6
4233 else
4234 echo "$as_me:$LINENO: result: no" >&5
4235 echo "${ECHO_T}no" >&6
4238 STRIP=$ac_ct_STRIP
4239 else
4240 STRIP="$ac_cv_prog_STRIP"
4243 if test -n "$ac_tool_prefix"; then
4244 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
4245 set dummy ${ac_tool_prefix}windres; ac_word=$2
4246 echo "$as_me:$LINENO: checking for $ac_word" >&5
4247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4248 if test "${ac_cv_prog_WINDRES+set}" = set; then
4249 echo $ECHO_N "(cached) $ECHO_C" >&6
4250 else
4251 if test -n "$WINDRES"; then
4252 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
4253 else
4254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4255 for as_dir in $PATH
4257 IFS=$as_save_IFS
4258 test -z "$as_dir" && as_dir=.
4259 for ac_exec_ext in '' $ac_executable_extensions; do
4260 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4261 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
4262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4263 break 2
4265 done
4266 done
4270 WINDRES=$ac_cv_prog_WINDRES
4271 if test -n "$WINDRES"; then
4272 echo "$as_me:$LINENO: result: $WINDRES" >&5
4273 echo "${ECHO_T}$WINDRES" >&6
4274 else
4275 echo "$as_me:$LINENO: result: no" >&5
4276 echo "${ECHO_T}no" >&6
4280 if test -z "$ac_cv_prog_WINDRES"; then
4281 ac_ct_WINDRES=$WINDRES
4282 # Extract the first word of "windres", so it can be a program name with args.
4283 set dummy windres; ac_word=$2
4284 echo "$as_me:$LINENO: checking for $ac_word" >&5
4285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4286 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
4287 echo $ECHO_N "(cached) $ECHO_C" >&6
4288 else
4289 if test -n "$ac_ct_WINDRES"; then
4290 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
4291 else
4292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4293 for as_dir in $PATH
4295 IFS=$as_save_IFS
4296 test -z "$as_dir" && as_dir=.
4297 for ac_exec_ext in '' $ac_executable_extensions; do
4298 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4299 ac_cv_prog_ac_ct_WINDRES="windres"
4300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4301 break 2
4303 done
4304 done
4306 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES="false"
4309 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
4310 if test -n "$ac_ct_WINDRES"; then
4311 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
4312 echo "${ECHO_T}$ac_ct_WINDRES" >&6
4313 else
4314 echo "$as_me:$LINENO: result: no" >&5
4315 echo "${ECHO_T}no" >&6
4318 WINDRES=$ac_ct_WINDRES
4319 else
4320 WINDRES="$ac_cv_prog_WINDRES"
4323 # Find a good install program. We prefer a C program (faster),
4324 # so one script is as good as another. But avoid the broken or
4325 # incompatible versions:
4326 # SysV /etc/install, /usr/sbin/install
4327 # SunOS /usr/etc/install
4328 # IRIX /sbin/install
4329 # AIX /bin/install
4330 # AmigaOS /C/install, which installs bootblocks on floppy discs
4331 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4332 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4333 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4334 # ./install, which can be erroneously created by make from ./install.sh.
4335 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4336 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4337 if test -z "$INSTALL"; then
4338 if test "${ac_cv_path_install+set}" = set; then
4339 echo $ECHO_N "(cached) $ECHO_C" >&6
4340 else
4341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4342 for as_dir in $PATH
4344 IFS=$as_save_IFS
4345 test -z "$as_dir" && as_dir=.
4346 # Account for people who put trailing slashes in PATH elements.
4347 case $as_dir/ in
4348 ./ | .// | /cC/* | \
4349 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4350 /usr/ucb/* ) ;;
4352 # OSF1 and SCO ODT 3.0 have their own names for install.
4353 # Don't use installbsd from OSF since it installs stuff as root
4354 # by default.
4355 for ac_prog in ginstall scoinst install; do
4356 for ac_exec_ext in '' $ac_executable_extensions; do
4357 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4358 if test $ac_prog = install &&
4359 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4360 # AIX install. It has an incompatible calling convention.
4362 elif test $ac_prog = install &&
4363 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4364 # program-specific install script used by HP pwplus--don't use.
4366 else
4367 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4368 break 3
4371 done
4372 done
4374 esac
4375 done
4379 if test "${ac_cv_path_install+set}" = set; then
4380 INSTALL=$ac_cv_path_install
4381 else
4382 # As a last resort, use the slow shell script. We don't cache a
4383 # path for INSTALL within a source directory, because that will
4384 # break other packages using the cache if that directory is
4385 # removed, or if the path is relative.
4386 INSTALL=$ac_install_sh
4389 echo "$as_me:$LINENO: result: $INSTALL" >&5
4390 echo "${ECHO_T}$INSTALL" >&6
4392 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4393 # It thinks the first close brace ends the variable substitution.
4394 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4396 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4398 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4400 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4401 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4402 LN_S=$as_ln_s
4403 if test "$LN_S" = "ln -s"; then
4404 echo "$as_me:$LINENO: result: yes" >&5
4405 echo "${ECHO_T}yes" >&6
4406 else
4407 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4408 echo "${ECHO_T}no, using $LN_S" >&6
4411 echo "$as_me:$LINENO: checking whether ln works" >&5
4412 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
4413 rm -f conf$$ conf$$.file
4414 echo >conf$$.file
4415 if ln conf$$.file conf$$ 2>/dev/null; then
4416 LN=ln
4418 echo "$as_me:$LINENO: result: yes" >&5
4419 echo "${ECHO_T}yes" >&6
4420 else
4421 LN="cp -p"
4423 echo "$as_me:$LINENO: result: no, using $LN" >&5
4424 echo "${ECHO_T}no, using $LN" >&6
4426 rm -f conf$$ conf$$.file
4427 # Extract the first word of "c2man", so it can be a program name with args.
4428 set dummy c2man; ac_word=$2
4429 echo "$as_me:$LINENO: checking for $ac_word" >&5
4430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4431 if test "${ac_cv_prog_C2MAN+set}" = set; then
4432 echo $ECHO_N "(cached) $ECHO_C" >&6
4433 else
4434 if test -n "$C2MAN"; then
4435 ac_cv_prog_C2MAN="$C2MAN" # Let the user override the test.
4436 else
4437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4438 for as_dir in $PATH
4440 IFS=$as_save_IFS
4441 test -z "$as_dir" && as_dir=.
4442 for ac_exec_ext in '' $ac_executable_extensions; do
4443 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4444 ac_cv_prog_C2MAN="c2man"
4445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4446 break 2
4448 done
4449 done
4451 test -z "$ac_cv_prog_C2MAN" && ac_cv_prog_C2MAN="\$(TOPSRCDIR)/tools/c2man.pl"
4454 C2MAN=$ac_cv_prog_C2MAN
4455 if test -n "$C2MAN"; then
4456 echo "$as_me:$LINENO: result: $C2MAN" >&5
4457 echo "${ECHO_T}$C2MAN" >&6
4458 else
4459 echo "$as_me:$LINENO: result: no" >&5
4460 echo "${ECHO_T}no" >&6
4463 # Extract the first word of "ldconfig", so it can be a program name with args.
4464 set dummy ldconfig; ac_word=$2
4465 echo "$as_me:$LINENO: checking for $ac_word" >&5
4466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4467 if test "${ac_cv_path_LDCONFIG+set}" = set; then
4468 echo $ECHO_N "(cached) $ECHO_C" >&6
4469 else
4470 case $LDCONFIG in
4471 [\\/]* | ?:[\\/]*)
4472 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
4475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4476 for as_dir in /sbin /usr/sbin $PATH
4478 IFS=$as_save_IFS
4479 test -z "$as_dir" && as_dir=.
4480 for ac_exec_ext in '' $ac_executable_extensions; do
4481 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4482 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
4483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4484 break 2
4486 done
4487 done
4489 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
4491 esac
4493 LDCONFIG=$ac_cv_path_LDCONFIG
4495 if test -n "$LDCONFIG"; then
4496 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
4497 echo "${ECHO_T}$LDCONFIG" >&6
4498 else
4499 echo "$as_me:$LINENO: result: no" >&5
4500 echo "${ECHO_T}no" >&6
4504 for ac_prog in lclint lint
4506 # Extract the first word of "$ac_prog", so it can be a program name with args.
4507 set dummy $ac_prog; ac_word=$2
4508 echo "$as_me:$LINENO: checking for $ac_word" >&5
4509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4510 if test "${ac_cv_prog_LINT+set}" = set; then
4511 echo $ECHO_N "(cached) $ECHO_C" >&6
4512 else
4513 if test -n "$LINT"; then
4514 ac_cv_prog_LINT="$LINT" # Let the user override the test.
4515 else
4516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4517 for as_dir in $PATH
4519 IFS=$as_save_IFS
4520 test -z "$as_dir" && as_dir=.
4521 for ac_exec_ext in '' $ac_executable_extensions; do
4522 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4523 ac_cv_prog_LINT="$ac_prog"
4524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4525 break 2
4527 done
4528 done
4532 LINT=$ac_cv_prog_LINT
4533 if test -n "$LINT"; then
4534 echo "$as_me:$LINENO: result: $LINT" >&5
4535 echo "${ECHO_T}$LINT" >&6
4536 else
4537 echo "$as_me:$LINENO: result: no" >&5
4538 echo "${ECHO_T}no" >&6
4541 test -n "$LINT" && break
4542 done
4544 if test "$LINT" = "lint"
4545 then
4546 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4553 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
4554 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
4555 if test "${ac_cv_lib_m_sqrt+set}" = set; then
4556 echo $ECHO_N "(cached) $ECHO_C" >&6
4557 else
4558 ac_check_lib_save_LIBS=$LIBS
4559 LIBS="-lm $LIBS"
4560 cat >conftest.$ac_ext <<_ACEOF
4561 #line $LINENO "configure"
4562 #include "confdefs.h"
4564 /* Override any gcc2 internal prototype to avoid an error. */
4565 #ifdef __cplusplus
4566 extern "C"
4567 #endif
4568 /* We use char because int might match the return type of a gcc2
4569 builtin and then its argument prototype would still apply. */
4570 char sqrt ();
4572 main ()
4574 sqrt ();
4576 return 0;
4578 _ACEOF
4579 rm -f conftest.$ac_objext conftest$ac_exeext
4580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4581 (eval $ac_link) 2>&5
4582 ac_status=$?
4583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4584 (exit $ac_status); } &&
4585 { ac_try='test -s conftest$ac_exeext'
4586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4587 (eval $ac_try) 2>&5
4588 ac_status=$?
4589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4590 (exit $ac_status); }; }; then
4591 ac_cv_lib_m_sqrt=yes
4592 else
4593 echo "$as_me: failed program was:" >&5
4594 cat conftest.$ac_ext >&5
4595 ac_cv_lib_m_sqrt=no
4597 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4598 LIBS=$ac_check_lib_save_LIBS
4600 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
4601 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
4602 if test $ac_cv_lib_m_sqrt = yes; then
4603 cat >>confdefs.h <<_ACEOF
4604 #define HAVE_LIBM 1
4605 _ACEOF
4607 LIBS="-lm $LIBS"
4612 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
4613 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
4614 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
4615 echo $ECHO_N "(cached) $ECHO_C" >&6
4616 else
4617 ac_check_lib_save_LIBS=$LIBS
4618 LIBS="-li386 $LIBS"
4619 cat >conftest.$ac_ext <<_ACEOF
4620 #line $LINENO "configure"
4621 #include "confdefs.h"
4623 /* Override any gcc2 internal prototype to avoid an error. */
4624 #ifdef __cplusplus
4625 extern "C"
4626 #endif
4627 /* We use char because int might match the return type of a gcc2
4628 builtin and then its argument prototype would still apply. */
4629 char i386_set_ldt ();
4631 main ()
4633 i386_set_ldt ();
4635 return 0;
4637 _ACEOF
4638 rm -f conftest.$ac_objext conftest$ac_exeext
4639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4640 (eval $ac_link) 2>&5
4641 ac_status=$?
4642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4643 (exit $ac_status); } &&
4644 { ac_try='test -s conftest$ac_exeext'
4645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4646 (eval $ac_try) 2>&5
4647 ac_status=$?
4648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649 (exit $ac_status); }; }; then
4650 ac_cv_lib_i386_i386_set_ldt=yes
4651 else
4652 echo "$as_me: failed program was:" >&5
4653 cat conftest.$ac_ext >&5
4654 ac_cv_lib_i386_i386_set_ldt=no
4656 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4657 LIBS=$ac_check_lib_save_LIBS
4659 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
4660 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
4661 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
4662 cat >>confdefs.h <<_ACEOF
4663 #define HAVE_LIBI386 1
4664 _ACEOF
4666 LIBS="-li386 $LIBS"
4671 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
4672 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
4673 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
4674 echo $ECHO_N "(cached) $ECHO_C" >&6
4675 else
4676 ac_check_lib_save_LIBS=$LIBS
4677 LIBS="-lossaudio $LIBS"
4678 cat >conftest.$ac_ext <<_ACEOF
4679 #line $LINENO "configure"
4680 #include "confdefs.h"
4682 /* Override any gcc2 internal prototype to avoid an error. */
4683 #ifdef __cplusplus
4684 extern "C"
4685 #endif
4686 /* We use char because int might match the return type of a gcc2
4687 builtin and then its argument prototype would still apply. */
4688 char _oss_ioctl ();
4690 main ()
4692 _oss_ioctl ();
4694 return 0;
4696 _ACEOF
4697 rm -f conftest.$ac_objext conftest$ac_exeext
4698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4699 (eval $ac_link) 2>&5
4700 ac_status=$?
4701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4702 (exit $ac_status); } &&
4703 { ac_try='test -s conftest$ac_exeext'
4704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4705 (eval $ac_try) 2>&5
4706 ac_status=$?
4707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4708 (exit $ac_status); }; }; then
4709 ac_cv_lib_ossaudio__oss_ioctl=yes
4710 else
4711 echo "$as_me: failed program was:" >&5
4712 cat conftest.$ac_ext >&5
4713 ac_cv_lib_ossaudio__oss_ioctl=no
4715 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4716 LIBS=$ac_check_lib_save_LIBS
4718 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
4719 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
4720 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
4721 cat >>confdefs.h <<_ACEOF
4722 #define HAVE_LIBOSSAUDIO 1
4723 _ACEOF
4725 LIBS="-lossaudio $LIBS"
4730 for ac_func in iswalnum
4732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4733 echo "$as_me:$LINENO: checking for $ac_func" >&5
4734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4735 if eval "test \"\${$as_ac_var+set}\" = set"; then
4736 echo $ECHO_N "(cached) $ECHO_C" >&6
4737 else
4738 cat >conftest.$ac_ext <<_ACEOF
4739 #line $LINENO "configure"
4740 #include "confdefs.h"
4741 /* System header to define __stub macros and hopefully few prototypes,
4742 which can conflict with char $ac_func (); below. */
4743 #include <assert.h>
4744 /* Override any gcc2 internal prototype to avoid an error. */
4745 #ifdef __cplusplus
4746 extern "C"
4747 #endif
4748 /* We use char because int might match the return type of a gcc2
4749 builtin and then its argument prototype would still apply. */
4750 char $ac_func ();
4751 char (*f) ();
4754 main ()
4756 /* The GNU C library defines this for functions which it implements
4757 to always fail with ENOSYS. Some functions are actually named
4758 something starting with __ and the normal name is an alias. */
4759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4760 choke me
4761 #else
4762 f = $ac_func;
4763 #endif
4766 return 0;
4768 _ACEOF
4769 rm -f conftest.$ac_objext conftest$ac_exeext
4770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4771 (eval $ac_link) 2>&5
4772 ac_status=$?
4773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4774 (exit $ac_status); } &&
4775 { ac_try='test -s conftest$ac_exeext'
4776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4777 (eval $ac_try) 2>&5
4778 ac_status=$?
4779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4780 (exit $ac_status); }; }; then
4781 eval "$as_ac_var=yes"
4782 else
4783 echo "$as_me: failed program was:" >&5
4784 cat conftest.$ac_ext >&5
4785 eval "$as_ac_var=no"
4787 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4791 if test `eval echo '${'$as_ac_var'}'` = yes; then
4792 cat >>confdefs.h <<_ACEOF
4793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4794 _ACEOF
4796 else
4798 echo "$as_me:$LINENO: checking for iswalnum in -lw" >&5
4799 echo $ECHO_N "checking for iswalnum in -lw... $ECHO_C" >&6
4800 if test "${ac_cv_lib_w_iswalnum+set}" = set; then
4801 echo $ECHO_N "(cached) $ECHO_C" >&6
4802 else
4803 ac_check_lib_save_LIBS=$LIBS
4804 LIBS="-lw $LIBS"
4805 cat >conftest.$ac_ext <<_ACEOF
4806 #line $LINENO "configure"
4807 #include "confdefs.h"
4809 /* Override any gcc2 internal prototype to avoid an error. */
4810 #ifdef __cplusplus
4811 extern "C"
4812 #endif
4813 /* We use char because int might match the return type of a gcc2
4814 builtin and then its argument prototype would still apply. */
4815 char iswalnum ();
4817 main ()
4819 iswalnum ();
4821 return 0;
4823 _ACEOF
4824 rm -f conftest.$ac_objext conftest$ac_exeext
4825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4826 (eval $ac_link) 2>&5
4827 ac_status=$?
4828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4829 (exit $ac_status); } &&
4830 { ac_try='test -s conftest$ac_exeext'
4831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4832 (eval $ac_try) 2>&5
4833 ac_status=$?
4834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4835 (exit $ac_status); }; }; then
4836 ac_cv_lib_w_iswalnum=yes
4837 else
4838 echo "$as_me: failed program was:" >&5
4839 cat conftest.$ac_ext >&5
4840 ac_cv_lib_w_iswalnum=no
4842 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4843 LIBS=$ac_check_lib_save_LIBS
4845 echo "$as_me:$LINENO: result: $ac_cv_lib_w_iswalnum" >&5
4846 echo "${ECHO_T}$ac_cv_lib_w_iswalnum" >&6
4847 if test $ac_cv_lib_w_iswalnum = yes; then
4848 cat >>confdefs.h <<_ACEOF
4849 #define HAVE_LIBW 1
4850 _ACEOF
4852 LIBS="-lw $LIBS"
4857 done
4860 for ac_func in gethostbyname
4862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4863 echo "$as_me:$LINENO: checking for $ac_func" >&5
4864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4865 if eval "test \"\${$as_ac_var+set}\" = set"; then
4866 echo $ECHO_N "(cached) $ECHO_C" >&6
4867 else
4868 cat >conftest.$ac_ext <<_ACEOF
4869 #line $LINENO "configure"
4870 #include "confdefs.h"
4871 /* System header to define __stub macros and hopefully few prototypes,
4872 which can conflict with char $ac_func (); below. */
4873 #include <assert.h>
4874 /* Override any gcc2 internal prototype to avoid an error. */
4875 #ifdef __cplusplus
4876 extern "C"
4877 #endif
4878 /* We use char because int might match the return type of a gcc2
4879 builtin and then its argument prototype would still apply. */
4880 char $ac_func ();
4881 char (*f) ();
4884 main ()
4886 /* The GNU C library defines this for functions which it implements
4887 to always fail with ENOSYS. Some functions are actually named
4888 something starting with __ and the normal name is an alias. */
4889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4890 choke me
4891 #else
4892 f = $ac_func;
4893 #endif
4896 return 0;
4898 _ACEOF
4899 rm -f conftest.$ac_objext conftest$ac_exeext
4900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4901 (eval $ac_link) 2>&5
4902 ac_status=$?
4903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4904 (exit $ac_status); } &&
4905 { ac_try='test -s conftest$ac_exeext'
4906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4907 (eval $ac_try) 2>&5
4908 ac_status=$?
4909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4910 (exit $ac_status); }; }; then
4911 eval "$as_ac_var=yes"
4912 else
4913 echo "$as_me: failed program was:" >&5
4914 cat conftest.$ac_ext >&5
4915 eval "$as_ac_var=no"
4917 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4920 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4921 if test `eval echo '${'$as_ac_var'}'` = yes; then
4922 cat >>confdefs.h <<_ACEOF
4923 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4924 _ACEOF
4926 else
4928 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4929 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
4930 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4931 echo $ECHO_N "(cached) $ECHO_C" >&6
4932 else
4933 ac_check_lib_save_LIBS=$LIBS
4934 LIBS="-lnsl $LIBS"
4935 cat >conftest.$ac_ext <<_ACEOF
4936 #line $LINENO "configure"
4937 #include "confdefs.h"
4939 /* Override any gcc2 internal prototype to avoid an error. */
4940 #ifdef __cplusplus
4941 extern "C"
4942 #endif
4943 /* We use char because int might match the return type of a gcc2
4944 builtin and then its argument prototype would still apply. */
4945 char gethostbyname ();
4947 main ()
4949 gethostbyname ();
4951 return 0;
4953 _ACEOF
4954 rm -f conftest.$ac_objext conftest$ac_exeext
4955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4956 (eval $ac_link) 2>&5
4957 ac_status=$?
4958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4959 (exit $ac_status); } &&
4960 { ac_try='test -s conftest$ac_exeext'
4961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4962 (eval $ac_try) 2>&5
4963 ac_status=$?
4964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4965 (exit $ac_status); }; }; then
4966 ac_cv_lib_nsl_gethostbyname=yes
4967 else
4968 echo "$as_me: failed program was:" >&5
4969 cat conftest.$ac_ext >&5
4970 ac_cv_lib_nsl_gethostbyname=no
4972 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4973 LIBS=$ac_check_lib_save_LIBS
4975 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4976 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
4977 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4978 cat >>confdefs.h <<_ACEOF
4979 #define HAVE_LIBNSL 1
4980 _ACEOF
4982 LIBS="-lnsl $LIBS"
4987 done
4990 for ac_func in connect
4992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4993 echo "$as_me:$LINENO: checking for $ac_func" >&5
4994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4995 if eval "test \"\${$as_ac_var+set}\" = set"; then
4996 echo $ECHO_N "(cached) $ECHO_C" >&6
4997 else
4998 cat >conftest.$ac_ext <<_ACEOF
4999 #line $LINENO "configure"
5000 #include "confdefs.h"
5001 /* System header to define __stub macros and hopefully few prototypes,
5002 which can conflict with char $ac_func (); below. */
5003 #include <assert.h>
5004 /* Override any gcc2 internal prototype to avoid an error. */
5005 #ifdef __cplusplus
5006 extern "C"
5007 #endif
5008 /* We use char because int might match the return type of a gcc2
5009 builtin and then its argument prototype would still apply. */
5010 char $ac_func ();
5011 char (*f) ();
5014 main ()
5016 /* The GNU C library defines this for functions which it implements
5017 to always fail with ENOSYS. Some functions are actually named
5018 something starting with __ and the normal name is an alias. */
5019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5020 choke me
5021 #else
5022 f = $ac_func;
5023 #endif
5026 return 0;
5028 _ACEOF
5029 rm -f conftest.$ac_objext conftest$ac_exeext
5030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5031 (eval $ac_link) 2>&5
5032 ac_status=$?
5033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5034 (exit $ac_status); } &&
5035 { ac_try='test -s conftest$ac_exeext'
5036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5037 (eval $ac_try) 2>&5
5038 ac_status=$?
5039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5040 (exit $ac_status); }; }; then
5041 eval "$as_ac_var=yes"
5042 else
5043 echo "$as_me: failed program was:" >&5
5044 cat conftest.$ac_ext >&5
5045 eval "$as_ac_var=no"
5047 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5051 if test `eval echo '${'$as_ac_var'}'` = yes; then
5052 cat >>confdefs.h <<_ACEOF
5053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5054 _ACEOF
5056 else
5058 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
5059 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
5060 if test "${ac_cv_lib_socket_connect+set}" = set; then
5061 echo $ECHO_N "(cached) $ECHO_C" >&6
5062 else
5063 ac_check_lib_save_LIBS=$LIBS
5064 LIBS="-lsocket $LIBS"
5065 cat >conftest.$ac_ext <<_ACEOF
5066 #line $LINENO "configure"
5067 #include "confdefs.h"
5069 /* Override any gcc2 internal prototype to avoid an error. */
5070 #ifdef __cplusplus
5071 extern "C"
5072 #endif
5073 /* We use char because int might match the return type of a gcc2
5074 builtin and then its argument prototype would still apply. */
5075 char connect ();
5077 main ()
5079 connect ();
5081 return 0;
5083 _ACEOF
5084 rm -f conftest.$ac_objext conftest$ac_exeext
5085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5086 (eval $ac_link) 2>&5
5087 ac_status=$?
5088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5089 (exit $ac_status); } &&
5090 { ac_try='test -s conftest$ac_exeext'
5091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5092 (eval $ac_try) 2>&5
5093 ac_status=$?
5094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5095 (exit $ac_status); }; }; then
5096 ac_cv_lib_socket_connect=yes
5097 else
5098 echo "$as_me: failed program was:" >&5
5099 cat conftest.$ac_ext >&5
5100 ac_cv_lib_socket_connect=no
5102 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5103 LIBS=$ac_check_lib_save_LIBS
5105 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
5106 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
5107 if test $ac_cv_lib_socket_connect = yes; then
5108 cat >>confdefs.h <<_ACEOF
5109 #define HAVE_LIBSOCKET 1
5110 _ACEOF
5112 LIBS="-lsocket $LIBS"
5117 done
5120 for ac_func in inet_aton
5122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5123 echo "$as_me:$LINENO: checking for $ac_func" >&5
5124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5125 if eval "test \"\${$as_ac_var+set}\" = set"; then
5126 echo $ECHO_N "(cached) $ECHO_C" >&6
5127 else
5128 cat >conftest.$ac_ext <<_ACEOF
5129 #line $LINENO "configure"
5130 #include "confdefs.h"
5131 /* System header to define __stub macros and hopefully few prototypes,
5132 which can conflict with char $ac_func (); below. */
5133 #include <assert.h>
5134 /* Override any gcc2 internal prototype to avoid an error. */
5135 #ifdef __cplusplus
5136 extern "C"
5137 #endif
5138 /* We use char because int might match the return type of a gcc2
5139 builtin and then its argument prototype would still apply. */
5140 char $ac_func ();
5141 char (*f) ();
5144 main ()
5146 /* The GNU C library defines this for functions which it implements
5147 to always fail with ENOSYS. Some functions are actually named
5148 something starting with __ and the normal name is an alias. */
5149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5150 choke me
5151 #else
5152 f = $ac_func;
5153 #endif
5156 return 0;
5158 _ACEOF
5159 rm -f conftest.$ac_objext conftest$ac_exeext
5160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5161 (eval $ac_link) 2>&5
5162 ac_status=$?
5163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5164 (exit $ac_status); } &&
5165 { ac_try='test -s conftest$ac_exeext'
5166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5167 (eval $ac_try) 2>&5
5168 ac_status=$?
5169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5170 (exit $ac_status); }; }; then
5171 eval "$as_ac_var=yes"
5172 else
5173 echo "$as_me: failed program was:" >&5
5174 cat conftest.$ac_ext >&5
5175 eval "$as_ac_var=no"
5177 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5181 if test `eval echo '${'$as_ac_var'}'` = yes; then
5182 cat >>confdefs.h <<_ACEOF
5183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5184 _ACEOF
5186 else
5188 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
5189 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
5190 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
5191 echo $ECHO_N "(cached) $ECHO_C" >&6
5192 else
5193 ac_check_lib_save_LIBS=$LIBS
5194 LIBS="-lresolv $LIBS"
5195 cat >conftest.$ac_ext <<_ACEOF
5196 #line $LINENO "configure"
5197 #include "confdefs.h"
5199 /* Override any gcc2 internal prototype to avoid an error. */
5200 #ifdef __cplusplus
5201 extern "C"
5202 #endif
5203 /* We use char because int might match the return type of a gcc2
5204 builtin and then its argument prototype would still apply. */
5205 char inet_aton ();
5207 main ()
5209 inet_aton ();
5211 return 0;
5213 _ACEOF
5214 rm -f conftest.$ac_objext conftest$ac_exeext
5215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5216 (eval $ac_link) 2>&5
5217 ac_status=$?
5218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5219 (exit $ac_status); } &&
5220 { ac_try='test -s conftest$ac_exeext'
5221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5222 (eval $ac_try) 2>&5
5223 ac_status=$?
5224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5225 (exit $ac_status); }; }; then
5226 ac_cv_lib_resolv_inet_aton=yes
5227 else
5228 echo "$as_me: failed program was:" >&5
5229 cat conftest.$ac_ext >&5
5230 ac_cv_lib_resolv_inet_aton=no
5232 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5233 LIBS=$ac_check_lib_save_LIBS
5235 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
5236 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
5237 if test $ac_cv_lib_resolv_inet_aton = yes; then
5238 cat >>confdefs.h <<_ACEOF
5239 #define HAVE_LIBRESOLV 1
5240 _ACEOF
5242 LIBS="-lresolv $LIBS"
5247 done
5250 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
5251 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
5252 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
5253 echo $ECHO_N "(cached) $ECHO_C" >&6
5254 else
5255 ac_check_lib_save_LIBS=$LIBS
5256 LIBS="-lxpg4 $LIBS"
5257 cat >conftest.$ac_ext <<_ACEOF
5258 #line $LINENO "configure"
5259 #include "confdefs.h"
5261 /* Override any gcc2 internal prototype to avoid an error. */
5262 #ifdef __cplusplus
5263 extern "C"
5264 #endif
5265 /* We use char because int might match the return type of a gcc2
5266 builtin and then its argument prototype would still apply. */
5267 char _xpg4_setrunelocale ();
5269 main ()
5271 _xpg4_setrunelocale ();
5273 return 0;
5275 _ACEOF
5276 rm -f conftest.$ac_objext conftest$ac_exeext
5277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5278 (eval $ac_link) 2>&5
5279 ac_status=$?
5280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5281 (exit $ac_status); } &&
5282 { ac_try='test -s conftest$ac_exeext'
5283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5284 (eval $ac_try) 2>&5
5285 ac_status=$?
5286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5287 (exit $ac_status); }; }; then
5288 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
5289 else
5290 echo "$as_me: failed program was:" >&5
5291 cat conftest.$ac_ext >&5
5292 ac_cv_lib_xpg4__xpg4_setrunelocale=no
5294 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5295 LIBS=$ac_check_lib_save_LIBS
5297 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
5298 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
5299 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
5300 cat >>confdefs.h <<_ACEOF
5301 #define HAVE_LIBXPG4 1
5302 _ACEOF
5304 LIBS="-lxpg4 $LIBS"
5309 echo "$as_me:$LINENO: checking for mmap in -lmmap" >&5
5310 echo $ECHO_N "checking for mmap in -lmmap... $ECHO_C" >&6
5311 if test "${ac_cv_lib_mmap_mmap+set}" = set; then
5312 echo $ECHO_N "(cached) $ECHO_C" >&6
5313 else
5314 ac_check_lib_save_LIBS=$LIBS
5315 LIBS="-lmmap $LIBS"
5316 cat >conftest.$ac_ext <<_ACEOF
5317 #line $LINENO "configure"
5318 #include "confdefs.h"
5320 /* Override any gcc2 internal prototype to avoid an error. */
5321 #ifdef __cplusplus
5322 extern "C"
5323 #endif
5324 /* We use char because int might match the return type of a gcc2
5325 builtin and then its argument prototype would still apply. */
5326 char mmap ();
5328 main ()
5330 mmap ();
5332 return 0;
5334 _ACEOF
5335 rm -f conftest.$ac_objext conftest$ac_exeext
5336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5337 (eval $ac_link) 2>&5
5338 ac_status=$?
5339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5340 (exit $ac_status); } &&
5341 { ac_try='test -s conftest$ac_exeext'
5342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5343 (eval $ac_try) 2>&5
5344 ac_status=$?
5345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5346 (exit $ac_status); }; }; then
5347 ac_cv_lib_mmap_mmap=yes
5348 else
5349 echo "$as_me: failed program was:" >&5
5350 cat conftest.$ac_ext >&5
5351 ac_cv_lib_mmap_mmap=no
5353 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5354 LIBS=$ac_check_lib_save_LIBS
5356 echo "$as_me:$LINENO: result: $ac_cv_lib_mmap_mmap" >&5
5357 echo "${ECHO_T}$ac_cv_lib_mmap_mmap" >&6
5358 if test $ac_cv_lib_mmap_mmap = yes; then
5359 cat >>confdefs.h <<_ACEOF
5360 #define HAVE_LIBMMAP 1
5361 _ACEOF
5363 LIBS="-lmmap $LIBS"
5368 JPEGLIB=""
5370 echo "$as_me:$LINENO: checking for egrep" >&5
5371 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5372 if test "${ac_cv_prog_egrep+set}" = set; then
5373 echo $ECHO_N "(cached) $ECHO_C" >&6
5374 else
5375 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5376 then ac_cv_prog_egrep='grep -E'
5377 else ac_cv_prog_egrep='egrep'
5380 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5381 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5382 EGREP=$ac_cv_prog_egrep
5385 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5386 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5387 if test "${ac_cv_header_stdc+set}" = set; then
5388 echo $ECHO_N "(cached) $ECHO_C" >&6
5389 else
5390 cat >conftest.$ac_ext <<_ACEOF
5391 #line $LINENO "configure"
5392 #include "confdefs.h"
5393 #include <stdlib.h>
5394 #include <stdarg.h>
5395 #include <string.h>
5396 #include <float.h>
5398 _ACEOF
5399 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5400 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5401 ac_status=$?
5402 grep -v '^ *+' conftest.er1 >conftest.err
5403 rm -f conftest.er1
5404 cat conftest.err >&5
5405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5406 (exit $ac_status); } >/dev/null; then
5407 if test -s conftest.err; then
5408 ac_cpp_err=$ac_c_preproc_warn_flag
5409 else
5410 ac_cpp_err=
5412 else
5413 ac_cpp_err=yes
5415 if test -z "$ac_cpp_err"; then
5416 ac_cv_header_stdc=yes
5417 else
5418 echo "$as_me: failed program was:" >&5
5419 cat conftest.$ac_ext >&5
5420 ac_cv_header_stdc=no
5422 rm -f conftest.err conftest.$ac_ext
5424 if test $ac_cv_header_stdc = yes; then
5425 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5426 cat >conftest.$ac_ext <<_ACEOF
5427 #line $LINENO "configure"
5428 #include "confdefs.h"
5429 #include <string.h>
5431 _ACEOF
5432 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5433 $EGREP "memchr" >/dev/null 2>&1; then
5435 else
5436 ac_cv_header_stdc=no
5438 rm -f conftest*
5442 if test $ac_cv_header_stdc = yes; then
5443 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5444 cat >conftest.$ac_ext <<_ACEOF
5445 #line $LINENO "configure"
5446 #include "confdefs.h"
5447 #include <stdlib.h>
5449 _ACEOF
5450 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5451 $EGREP "free" >/dev/null 2>&1; then
5453 else
5454 ac_cv_header_stdc=no
5456 rm -f conftest*
5460 if test $ac_cv_header_stdc = yes; then
5461 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5462 if test "$cross_compiling" = yes; then
5464 else
5465 cat >conftest.$ac_ext <<_ACEOF
5466 #line $LINENO "configure"
5467 #include "confdefs.h"
5468 #include <ctype.h>
5469 #if ((' ' & 0x0FF) == 0x020)
5470 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5471 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5472 #else
5473 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
5474 || ('j' <= (c) && (c) <= 'r') \
5475 || ('s' <= (c) && (c) <= 'z'))
5476 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5477 #endif
5479 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5481 main ()
5483 int i;
5484 for (i = 0; i < 256; i++)
5485 if (XOR (islower (i), ISLOWER (i))
5486 || toupper (i) != TOUPPER (i))
5487 exit(2);
5488 exit (0);
5490 _ACEOF
5491 rm -f conftest$ac_exeext
5492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5493 (eval $ac_link) 2>&5
5494 ac_status=$?
5495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5496 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5498 (eval $ac_try) 2>&5
5499 ac_status=$?
5500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5501 (exit $ac_status); }; }; then
5503 else
5504 echo "$as_me: program exited with status $ac_status" >&5
5505 echo "$as_me: failed program was:" >&5
5506 cat conftest.$ac_ext >&5
5507 ( exit $ac_status )
5508 ac_cv_header_stdc=no
5510 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5514 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5515 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5516 if test $ac_cv_header_stdc = yes; then
5518 cat >>confdefs.h <<\_ACEOF
5519 #define STDC_HEADERS 1
5520 _ACEOF
5524 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5534 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5535 inttypes.h stdint.h unistd.h
5537 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5538 echo "$as_me:$LINENO: checking for $ac_header" >&5
5539 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5540 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5541 echo $ECHO_N "(cached) $ECHO_C" >&6
5542 else
5543 cat >conftest.$ac_ext <<_ACEOF
5544 #line $LINENO "configure"
5545 #include "confdefs.h"
5546 $ac_includes_default
5548 #include <$ac_header>
5549 _ACEOF
5550 rm -f conftest.$ac_objext
5551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5552 (eval $ac_compile) 2>&5
5553 ac_status=$?
5554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5555 (exit $ac_status); } &&
5556 { ac_try='test -s conftest.$ac_objext'
5557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5558 (eval $ac_try) 2>&5
5559 ac_status=$?
5560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5561 (exit $ac_status); }; }; then
5562 eval "$as_ac_Header=yes"
5563 else
5564 echo "$as_me: failed program was:" >&5
5565 cat conftest.$ac_ext >&5
5566 eval "$as_ac_Header=no"
5568 rm -f conftest.$ac_objext conftest.$ac_ext
5570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5571 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5572 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5573 cat >>confdefs.h <<_ACEOF
5574 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5575 _ACEOF
5579 done
5583 for ac_header in jpeglib.h
5585 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5586 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5587 echo "$as_me:$LINENO: checking for $ac_header" >&5
5588 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5589 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5590 echo $ECHO_N "(cached) $ECHO_C" >&6
5592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5593 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5594 else
5595 # Is the header compilable?
5596 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5597 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5598 cat >conftest.$ac_ext <<_ACEOF
5599 #line $LINENO "configure"
5600 #include "confdefs.h"
5601 $ac_includes_default
5602 #include <$ac_header>
5603 _ACEOF
5604 rm -f conftest.$ac_objext
5605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5606 (eval $ac_compile) 2>&5
5607 ac_status=$?
5608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5609 (exit $ac_status); } &&
5610 { ac_try='test -s conftest.$ac_objext'
5611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5612 (eval $ac_try) 2>&5
5613 ac_status=$?
5614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5615 (exit $ac_status); }; }; then
5616 ac_header_compiler=yes
5617 else
5618 echo "$as_me: failed program was:" >&5
5619 cat conftest.$ac_ext >&5
5620 ac_header_compiler=no
5622 rm -f conftest.$ac_objext conftest.$ac_ext
5623 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5624 echo "${ECHO_T}$ac_header_compiler" >&6
5626 # Is the header present?
5627 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5628 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5629 cat >conftest.$ac_ext <<_ACEOF
5630 #line $LINENO "configure"
5631 #include "confdefs.h"
5632 #include <$ac_header>
5633 _ACEOF
5634 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5635 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5636 ac_status=$?
5637 grep -v '^ *+' conftest.er1 >conftest.err
5638 rm -f conftest.er1
5639 cat conftest.err >&5
5640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5641 (exit $ac_status); } >/dev/null; then
5642 if test -s conftest.err; then
5643 ac_cpp_err=$ac_c_preproc_warn_flag
5644 else
5645 ac_cpp_err=
5647 else
5648 ac_cpp_err=yes
5650 if test -z "$ac_cpp_err"; then
5651 ac_header_preproc=yes
5652 else
5653 echo "$as_me: failed program was:" >&5
5654 cat conftest.$ac_ext >&5
5655 ac_header_preproc=no
5657 rm -f conftest.err conftest.$ac_ext
5658 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5659 echo "${ECHO_T}$ac_header_preproc" >&6
5661 # So? What about this header?
5662 case $ac_header_compiler:$ac_header_preproc in
5663 yes:no )
5664 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5665 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5666 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5667 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5668 no:yes )
5669 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5670 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5671 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5672 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5673 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5674 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5675 esac
5676 echo "$as_me:$LINENO: checking for $ac_header" >&5
5677 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5678 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5679 echo $ECHO_N "(cached) $ECHO_C" >&6
5680 else
5681 eval "$as_ac_Header=$ac_header_preproc"
5683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5684 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5687 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5688 cat >>confdefs.h <<_ACEOF
5689 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5690 _ACEOF
5691 echo "$as_me:$LINENO: checking for jpeg_start_decompress in -ljpeg" >&5
5692 echo $ECHO_N "checking for jpeg_start_decompress in -ljpeg... $ECHO_C" >&6
5693 if test "${ac_cv_lib_jpeg_jpeg_start_decompress+set}" = set; then
5694 echo $ECHO_N "(cached) $ECHO_C" >&6
5695 else
5696 ac_check_lib_save_LIBS=$LIBS
5697 LIBS="-ljpeg $LIBS"
5698 cat >conftest.$ac_ext <<_ACEOF
5699 #line $LINENO "configure"
5700 #include "confdefs.h"
5702 /* Override any gcc2 internal prototype to avoid an error. */
5703 #ifdef __cplusplus
5704 extern "C"
5705 #endif
5706 /* We use char because int might match the return type of a gcc2
5707 builtin and then its argument prototype would still apply. */
5708 char jpeg_start_decompress ();
5710 main ()
5712 jpeg_start_decompress ();
5714 return 0;
5716 _ACEOF
5717 rm -f conftest.$ac_objext conftest$ac_exeext
5718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5719 (eval $ac_link) 2>&5
5720 ac_status=$?
5721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5722 (exit $ac_status); } &&
5723 { ac_try='test -s conftest$ac_exeext'
5724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5725 (eval $ac_try) 2>&5
5726 ac_status=$?
5727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5728 (exit $ac_status); }; }; then
5729 ac_cv_lib_jpeg_jpeg_start_decompress=yes
5730 else
5731 echo "$as_me: failed program was:" >&5
5732 cat conftest.$ac_ext >&5
5733 ac_cv_lib_jpeg_jpeg_start_decompress=no
5735 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5736 LIBS=$ac_check_lib_save_LIBS
5738 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_start_decompress" >&5
5739 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_start_decompress" >&6
5740 if test $ac_cv_lib_jpeg_jpeg_start_decompress = yes; then
5742 cat >>confdefs.h <<\_ACEOF
5743 #define HAVE_LIBJPEG 1
5744 _ACEOF
5746 JPEGLIB="-ljpeg"
5753 done
5759 XFILES=""
5761 OPENGLFILES=""
5763 GLU32FILES=""
5764 if test "$have_x" = "yes"
5765 then
5766 XLIB="-lXext -lX11"
5767 ac_save_CPPFLAGS="$CPPFLAGS"
5768 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
5771 for ac_header in X11/Xlib.h
5773 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5774 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5775 echo "$as_me:$LINENO: checking for $ac_header" >&5
5776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5777 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5778 echo $ECHO_N "(cached) $ECHO_C" >&6
5780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5781 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5782 else
5783 # Is the header compilable?
5784 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5785 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5786 cat >conftest.$ac_ext <<_ACEOF
5787 #line $LINENO "configure"
5788 #include "confdefs.h"
5789 $ac_includes_default
5790 #include <$ac_header>
5791 _ACEOF
5792 rm -f conftest.$ac_objext
5793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5794 (eval $ac_compile) 2>&5
5795 ac_status=$?
5796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5797 (exit $ac_status); } &&
5798 { ac_try='test -s conftest.$ac_objext'
5799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5800 (eval $ac_try) 2>&5
5801 ac_status=$?
5802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5803 (exit $ac_status); }; }; then
5804 ac_header_compiler=yes
5805 else
5806 echo "$as_me: failed program was:" >&5
5807 cat conftest.$ac_ext >&5
5808 ac_header_compiler=no
5810 rm -f conftest.$ac_objext conftest.$ac_ext
5811 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5812 echo "${ECHO_T}$ac_header_compiler" >&6
5814 # Is the header present?
5815 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5816 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5817 cat >conftest.$ac_ext <<_ACEOF
5818 #line $LINENO "configure"
5819 #include "confdefs.h"
5820 #include <$ac_header>
5821 _ACEOF
5822 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5823 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5824 ac_status=$?
5825 grep -v '^ *+' conftest.er1 >conftest.err
5826 rm -f conftest.er1
5827 cat conftest.err >&5
5828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5829 (exit $ac_status); } >/dev/null; then
5830 if test -s conftest.err; then
5831 ac_cpp_err=$ac_c_preproc_warn_flag
5832 else
5833 ac_cpp_err=
5835 else
5836 ac_cpp_err=yes
5838 if test -z "$ac_cpp_err"; then
5839 ac_header_preproc=yes
5840 else
5841 echo "$as_me: failed program was:" >&5
5842 cat conftest.$ac_ext >&5
5843 ac_header_preproc=no
5845 rm -f conftest.err conftest.$ac_ext
5846 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5847 echo "${ECHO_T}$ac_header_preproc" >&6
5849 # So? What about this header?
5850 case $ac_header_compiler:$ac_header_preproc in
5851 yes:no )
5852 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5853 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5854 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5855 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5856 no:yes )
5857 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5858 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5859 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5860 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5861 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5862 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5863 esac
5864 echo "$as_me:$LINENO: checking for $ac_header" >&5
5865 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5866 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5867 echo $ECHO_N "(cached) $ECHO_C" >&6
5868 else
5869 eval "$as_ac_Header=$ac_header_preproc"
5871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5872 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5875 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5876 cat >>confdefs.h <<_ACEOF
5877 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5878 _ACEOF
5881 for ac_header in X11/XKBlib.h
5883 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5884 echo "$as_me:$LINENO: checking for $ac_header" >&5
5885 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5886 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5887 echo $ECHO_N "(cached) $ECHO_C" >&6
5888 else
5889 cat >conftest.$ac_ext <<_ACEOF
5890 #line $LINENO "configure"
5891 #include "confdefs.h"
5892 #include <X11/Xlib.h>
5894 #include <$ac_header>
5895 _ACEOF
5896 rm -f conftest.$ac_objext
5897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5898 (eval $ac_compile) 2>&5
5899 ac_status=$?
5900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5901 (exit $ac_status); } &&
5902 { ac_try='test -s conftest.$ac_objext'
5903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5904 (eval $ac_try) 2>&5
5905 ac_status=$?
5906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5907 (exit $ac_status); }; }; then
5908 eval "$as_ac_Header=yes"
5909 else
5910 echo "$as_me: failed program was:" >&5
5911 cat conftest.$ac_ext >&5
5912 eval "$as_ac_Header=no"
5914 rm -f conftest.$ac_objext conftest.$ac_ext
5916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5917 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5918 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5919 cat >>confdefs.h <<_ACEOF
5920 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5921 _ACEOF
5922 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
5923 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
5924 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
5925 echo $ECHO_N "(cached) $ECHO_C" >&6
5926 else
5927 ac_check_lib_save_LIBS=$LIBS
5928 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
5929 cat >conftest.$ac_ext <<_ACEOF
5930 #line $LINENO "configure"
5931 #include "confdefs.h"
5933 /* Override any gcc2 internal prototype to avoid an error. */
5934 #ifdef __cplusplus
5935 extern "C"
5936 #endif
5937 /* We use char because int might match the return type of a gcc2
5938 builtin and then its argument prototype would still apply. */
5939 char XkbQueryExtension ();
5941 main ()
5943 XkbQueryExtension ();
5945 return 0;
5947 _ACEOF
5948 rm -f conftest.$ac_objext conftest$ac_exeext
5949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5950 (eval $ac_link) 2>&5
5951 ac_status=$?
5952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5953 (exit $ac_status); } &&
5954 { ac_try='test -s conftest$ac_exeext'
5955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5956 (eval $ac_try) 2>&5
5957 ac_status=$?
5958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5959 (exit $ac_status); }; }; then
5960 ac_cv_lib_X11_XkbQueryExtension=yes
5961 else
5962 echo "$as_me: failed program was:" >&5
5963 cat conftest.$ac_ext >&5
5964 ac_cv_lib_X11_XkbQueryExtension=no
5966 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5967 LIBS=$ac_check_lib_save_LIBS
5969 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
5970 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
5971 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
5973 cat >>confdefs.h <<\_ACEOF
5974 #define HAVE_XKB 1
5975 _ACEOF
5980 else
5981 { echo "$as_me:$LINENO: WARNING: Xkb extension not found, Wine will be built without it" >&5
5982 echo "$as_me: WARNING: Xkb extension not found, Wine will be built without it" >&2;}
5985 done
5989 for ac_header in X11/extensions/XShm.h
5991 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5992 echo "$as_me:$LINENO: checking for $ac_header" >&5
5993 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5994 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5995 echo $ECHO_N "(cached) $ECHO_C" >&6
5996 else
5997 cat >conftest.$ac_ext <<_ACEOF
5998 #line $LINENO "configure"
5999 #include "confdefs.h"
6000 #include <X11/Xlib.h>
6002 #include <$ac_header>
6003 _ACEOF
6004 rm -f conftest.$ac_objext
6005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6006 (eval $ac_compile) 2>&5
6007 ac_status=$?
6008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6009 (exit $ac_status); } &&
6010 { ac_try='test -s conftest.$ac_objext'
6011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6012 (eval $ac_try) 2>&5
6013 ac_status=$?
6014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6015 (exit $ac_status); }; }; then
6016 eval "$as_ac_Header=yes"
6017 else
6018 echo "$as_me: failed program was:" >&5
6019 cat conftest.$ac_ext >&5
6020 eval "$as_ac_Header=no"
6022 rm -f conftest.$ac_objext conftest.$ac_ext
6024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6025 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6026 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6027 cat >>confdefs.h <<_ACEOF
6028 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6029 _ACEOF
6030 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
6031 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
6032 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
6033 echo $ECHO_N "(cached) $ECHO_C" >&6
6034 else
6035 ac_check_lib_save_LIBS=$LIBS
6036 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6037 cat >conftest.$ac_ext <<_ACEOF
6038 #line $LINENO "configure"
6039 #include "confdefs.h"
6041 /* Override any gcc2 internal prototype to avoid an error. */
6042 #ifdef __cplusplus
6043 extern "C"
6044 #endif
6045 /* We use char because int might match the return type of a gcc2
6046 builtin and then its argument prototype would still apply. */
6047 char XShmQueryExtension ();
6049 main ()
6051 XShmQueryExtension ();
6053 return 0;
6055 _ACEOF
6056 rm -f conftest.$ac_objext conftest$ac_exeext
6057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6058 (eval $ac_link) 2>&5
6059 ac_status=$?
6060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6061 (exit $ac_status); } &&
6062 { ac_try='test -s conftest$ac_exeext'
6063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6064 (eval $ac_try) 2>&5
6065 ac_status=$?
6066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6067 (exit $ac_status); }; }; then
6068 ac_cv_lib_Xext_XShmQueryExtension=yes
6069 else
6070 echo "$as_me: failed program was:" >&5
6071 cat conftest.$ac_ext >&5
6072 ac_cv_lib_Xext_XShmQueryExtension=no
6074 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6075 LIBS=$ac_check_lib_save_LIBS
6077 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
6078 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
6079 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
6081 cat >>confdefs.h <<\_ACEOF
6082 #define HAVE_LIBXXSHM 1
6083 _ACEOF
6088 else
6089 { echo "$as_me:$LINENO: WARNING: XShm extension not found, Wine will be built without it" >&5
6090 echo "$as_me: WARNING: XShm extension not found, Wine will be built without it" >&2;}
6093 done
6097 for ac_header in X11/Xutil.h
6099 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6100 echo "$as_me:$LINENO: checking for $ac_header" >&5
6101 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6102 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6103 echo $ECHO_N "(cached) $ECHO_C" >&6
6104 else
6105 cat >conftest.$ac_ext <<_ACEOF
6106 #line $LINENO "configure"
6107 #include "confdefs.h"
6108 #include <X11/Xlib.h>
6110 #include <$ac_header>
6111 _ACEOF
6112 rm -f conftest.$ac_objext
6113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6114 (eval $ac_compile) 2>&5
6115 ac_status=$?
6116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6117 (exit $ac_status); } &&
6118 { ac_try='test -s conftest.$ac_objext'
6119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6120 (eval $ac_try) 2>&5
6121 ac_status=$?
6122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6123 (exit $ac_status); }; }; then
6124 eval "$as_ac_Header=yes"
6125 else
6126 echo "$as_me: failed program was:" >&5
6127 cat conftest.$ac_ext >&5
6128 eval "$as_ac_Header=no"
6130 rm -f conftest.$ac_objext conftest.$ac_ext
6132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6133 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6134 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6135 cat >>confdefs.h <<_ACEOF
6136 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6137 _ACEOF
6141 done
6145 for ac_header in X11/extensions/shape.h
6147 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6148 echo "$as_me:$LINENO: checking for $ac_header" >&5
6149 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6150 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6151 echo $ECHO_N "(cached) $ECHO_C" >&6
6152 else
6153 cat >conftest.$ac_ext <<_ACEOF
6154 #line $LINENO "configure"
6155 #include "confdefs.h"
6156 #include <X11/Xlib.h>
6157 #ifdef HAVE_X11_XUTIL_H
6158 # include <X11/Xutil.h>
6159 #endif
6161 #include <$ac_header>
6162 _ACEOF
6163 rm -f conftest.$ac_objext
6164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6165 (eval $ac_compile) 2>&5
6166 ac_status=$?
6167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6168 (exit $ac_status); } &&
6169 { ac_try='test -s conftest.$ac_objext'
6170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6171 (eval $ac_try) 2>&5
6172 ac_status=$?
6173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6174 (exit $ac_status); }; }; then
6175 eval "$as_ac_Header=yes"
6176 else
6177 echo "$as_me: failed program was:" >&5
6178 cat conftest.$ac_ext >&5
6179 eval "$as_ac_Header=no"
6181 rm -f conftest.$ac_objext conftest.$ac_ext
6183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6184 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6185 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6186 cat >>confdefs.h <<_ACEOF
6187 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6188 _ACEOF
6189 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
6190 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
6191 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
6192 echo $ECHO_N "(cached) $ECHO_C" >&6
6193 else
6194 ac_check_lib_save_LIBS=$LIBS
6195 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6196 cat >conftest.$ac_ext <<_ACEOF
6197 #line $LINENO "configure"
6198 #include "confdefs.h"
6200 /* Override any gcc2 internal prototype to avoid an error. */
6201 #ifdef __cplusplus
6202 extern "C"
6203 #endif
6204 /* We use char because int might match the return type of a gcc2
6205 builtin and then its argument prototype would still apply. */
6206 char XShapeQueryExtension ();
6208 main ()
6210 XShapeQueryExtension ();
6212 return 0;
6214 _ACEOF
6215 rm -f conftest.$ac_objext conftest$ac_exeext
6216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6217 (eval $ac_link) 2>&5
6218 ac_status=$?
6219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6220 (exit $ac_status); } &&
6221 { ac_try='test -s conftest$ac_exeext'
6222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6223 (eval $ac_try) 2>&5
6224 ac_status=$?
6225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6226 (exit $ac_status); }; }; then
6227 ac_cv_lib_Xext_XShapeQueryExtension=yes
6228 else
6229 echo "$as_me: failed program was:" >&5
6230 cat conftest.$ac_ext >&5
6231 ac_cv_lib_Xext_XShapeQueryExtension=no
6233 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6234 LIBS=$ac_check_lib_save_LIBS
6236 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
6237 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
6238 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
6240 cat >>confdefs.h <<\_ACEOF
6241 #define HAVE_LIBXSHAPE 1
6242 _ACEOF
6247 else
6248 { echo "$as_me:$LINENO: WARNING: XShape extension not found, Wine will be built without it" >&5
6249 echo "$as_me: WARNING: XShape extension not found, Wine will be built without it" >&2;}
6252 done
6256 for ac_header in X11/extensions/xf86dga.h
6258 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6259 echo "$as_me:$LINENO: checking for $ac_header" >&5
6260 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6261 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6262 echo $ECHO_N "(cached) $ECHO_C" >&6
6263 else
6264 cat >conftest.$ac_ext <<_ACEOF
6265 #line $LINENO "configure"
6266 #include "confdefs.h"
6267 #include <X11/Xlib.h>
6269 #include <$ac_header>
6270 _ACEOF
6271 rm -f conftest.$ac_objext
6272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6273 (eval $ac_compile) 2>&5
6274 ac_status=$?
6275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6276 (exit $ac_status); } &&
6277 { ac_try='test -s conftest.$ac_objext'
6278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6279 (eval $ac_try) 2>&5
6280 ac_status=$?
6281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6282 (exit $ac_status); }; }; then
6283 eval "$as_ac_Header=yes"
6284 else
6285 echo "$as_me: failed program was:" >&5
6286 cat conftest.$ac_ext >&5
6287 eval "$as_ac_Header=no"
6289 rm -f conftest.$ac_objext conftest.$ac_ext
6291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6292 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6293 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6294 cat >>confdefs.h <<_ACEOF
6295 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6296 _ACEOF
6297 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
6298 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
6299 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
6300 echo $ECHO_N "(cached) $ECHO_C" >&6
6301 else
6302 ac_check_lib_save_LIBS=$LIBS
6303 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6304 $LIBS"
6305 cat >conftest.$ac_ext <<_ACEOF
6306 #line $LINENO "configure"
6307 #include "confdefs.h"
6309 /* Override any gcc2 internal prototype to avoid an error. */
6310 #ifdef __cplusplus
6311 extern "C"
6312 #endif
6313 /* We use char because int might match the return type of a gcc2
6314 builtin and then its argument prototype would still apply. */
6315 char XDGAQueryExtension ();
6317 main ()
6319 XDGAQueryExtension ();
6321 return 0;
6323 _ACEOF
6324 rm -f conftest.$ac_objext conftest$ac_exeext
6325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6326 (eval $ac_link) 2>&5
6327 ac_status=$?
6328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6329 (exit $ac_status); } &&
6330 { ac_try='test -s conftest$ac_exeext'
6331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6332 (eval $ac_try) 2>&5
6333 ac_status=$?
6334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6335 (exit $ac_status); }; }; then
6336 ac_cv_lib_Xxf86dga_XDGAQueryExtension=yes
6337 else
6338 echo "$as_me: failed program was:" >&5
6339 cat conftest.$ac_ext >&5
6340 ac_cv_lib_Xxf86dga_XDGAQueryExtension=no
6342 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6343 LIBS=$ac_check_lib_save_LIBS
6345 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
6346 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
6347 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
6349 cat >>confdefs.h <<\_ACEOF
6350 #define HAVE_LIBXXF86DGA2 1
6351 _ACEOF
6353 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
6355 else
6356 echo "$as_me:$LINENO: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
6357 echo $ECHO_N "checking for XF86DGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
6358 if test "${ac_cv_lib_Xxf86dga_XF86DGAQueryExtension+set}" = set; then
6359 echo $ECHO_N "(cached) $ECHO_C" >&6
6360 else
6361 ac_check_lib_save_LIBS=$LIBS
6362 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6363 $LIBS"
6364 cat >conftest.$ac_ext <<_ACEOF
6365 #line $LINENO "configure"
6366 #include "confdefs.h"
6368 /* Override any gcc2 internal prototype to avoid an error. */
6369 #ifdef __cplusplus
6370 extern "C"
6371 #endif
6372 /* We use char because int might match the return type of a gcc2
6373 builtin and then its argument prototype would still apply. */
6374 char XF86DGAQueryExtension ();
6376 main ()
6378 XF86DGAQueryExtension ();
6380 return 0;
6382 _ACEOF
6383 rm -f conftest.$ac_objext conftest$ac_exeext
6384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6385 (eval $ac_link) 2>&5
6386 ac_status=$?
6387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6388 (exit $ac_status); } &&
6389 { ac_try='test -s conftest$ac_exeext'
6390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6391 (eval $ac_try) 2>&5
6392 ac_status=$?
6393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6394 (exit $ac_status); }; }; then
6395 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=yes
6396 else
6397 echo "$as_me: failed program was:" >&5
6398 cat conftest.$ac_ext >&5
6399 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=no
6401 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6402 LIBS=$ac_check_lib_save_LIBS
6404 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&5
6405 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&6
6406 if test $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension = yes; then
6408 cat >>confdefs.h <<\_ACEOF
6409 #define HAVE_LIBXXF86DGA 1
6410 _ACEOF
6412 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
6420 else
6421 { echo "$as_me:$LINENO: WARNING: DGA extension not found, Wine will be built without it" >&5
6422 echo "$as_me: WARNING: DGA extension not found, Wine will be built without it" >&2;}
6425 done
6429 for ac_header in X11/extensions/xf86vmode.h
6431 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6432 echo "$as_me:$LINENO: checking for $ac_header" >&5
6433 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6434 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6435 echo $ECHO_N "(cached) $ECHO_C" >&6
6436 else
6437 cat >conftest.$ac_ext <<_ACEOF
6438 #line $LINENO "configure"
6439 #include "confdefs.h"
6440 #include <X11/Xlib.h>
6442 #include <$ac_header>
6443 _ACEOF
6444 rm -f conftest.$ac_objext
6445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6446 (eval $ac_compile) 2>&5
6447 ac_status=$?
6448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6449 (exit $ac_status); } &&
6450 { ac_try='test -s conftest.$ac_objext'
6451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6452 (eval $ac_try) 2>&5
6453 ac_status=$?
6454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6455 (exit $ac_status); }; }; then
6456 eval "$as_ac_Header=yes"
6457 else
6458 echo "$as_me: failed program was:" >&5
6459 cat conftest.$ac_ext >&5
6460 eval "$as_ac_Header=no"
6462 rm -f conftest.$ac_objext conftest.$ac_ext
6464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6465 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6466 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6467 cat >>confdefs.h <<_ACEOF
6468 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6469 _ACEOF
6470 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
6471 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
6472 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
6473 echo $ECHO_N "(cached) $ECHO_C" >&6
6474 else
6475 ac_check_lib_save_LIBS=$LIBS
6476 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6477 $LIBS"
6478 cat >conftest.$ac_ext <<_ACEOF
6479 #line $LINENO "configure"
6480 #include "confdefs.h"
6482 /* Override any gcc2 internal prototype to avoid an error. */
6483 #ifdef __cplusplus
6484 extern "C"
6485 #endif
6486 /* We use char because int might match the return type of a gcc2
6487 builtin and then its argument prototype would still apply. */
6488 char XF86VidModeQueryExtension ();
6490 main ()
6492 XF86VidModeQueryExtension ();
6494 return 0;
6496 _ACEOF
6497 rm -f conftest.$ac_objext conftest$ac_exeext
6498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6499 (eval $ac_link) 2>&5
6500 ac_status=$?
6501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6502 (exit $ac_status); } &&
6503 { ac_try='test -s conftest$ac_exeext'
6504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6505 (eval $ac_try) 2>&5
6506 ac_status=$?
6507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6508 (exit $ac_status); }; }; then
6509 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
6510 else
6511 echo "$as_me: failed program was:" >&5
6512 cat conftest.$ac_ext >&5
6513 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
6515 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6516 LIBS=$ac_check_lib_save_LIBS
6518 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
6519 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
6520 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
6522 cat >>confdefs.h <<\_ACEOF
6523 #define HAVE_LIBXXF86VM 1
6524 _ACEOF
6526 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
6531 else
6532 { echo "$as_me:$LINENO: WARNING: XFree86 VMODE extension not found, Wine will be built without it" >&5
6533 echo "$as_me: WARNING: XFree86 VMODE extension not found, Wine will be built without it" >&2;}
6536 done
6540 for ac_header in X11/extensions/Xvlib.h
6542 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6543 echo "$as_me:$LINENO: checking for $ac_header" >&5
6544 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6545 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6546 echo $ECHO_N "(cached) $ECHO_C" >&6
6547 else
6548 cat >conftest.$ac_ext <<_ACEOF
6549 #line $LINENO "configure"
6550 #include "confdefs.h"
6551 #include <X11/Xlib.h>
6553 #include <$ac_header>
6554 _ACEOF
6555 rm -f conftest.$ac_objext
6556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6557 (eval $ac_compile) 2>&5
6558 ac_status=$?
6559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6560 (exit $ac_status); } &&
6561 { ac_try='test -s conftest.$ac_objext'
6562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6563 (eval $ac_try) 2>&5
6564 ac_status=$?
6565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6566 (exit $ac_status); }; }; then
6567 eval "$as_ac_Header=yes"
6568 else
6569 echo "$as_me: failed program was:" >&5
6570 cat conftest.$ac_ext >&5
6571 eval "$as_ac_Header=no"
6573 rm -f conftest.$ac_objext conftest.$ac_ext
6575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6576 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6577 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6578 cat >>confdefs.h <<_ACEOF
6579 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6580 _ACEOF
6581 echo "$as_me:$LINENO: checking for XvShmCreateImage in -lXv" >&5
6582 echo $ECHO_N "checking for XvShmCreateImage in -lXv... $ECHO_C" >&6
6583 if test "${ac_cv_lib_Xv_XvShmCreateImage+set}" = set; then
6584 echo $ECHO_N "(cached) $ECHO_C" >&6
6585 else
6586 ac_check_lib_save_LIBS=$LIBS
6587 LIBS="-lXv $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6588 $LIBS"
6589 cat >conftest.$ac_ext <<_ACEOF
6590 #line $LINENO "configure"
6591 #include "confdefs.h"
6593 /* Override any gcc2 internal prototype to avoid an error. */
6594 #ifdef __cplusplus
6595 extern "C"
6596 #endif
6597 /* We use char because int might match the return type of a gcc2
6598 builtin and then its argument prototype would still apply. */
6599 char XvShmCreateImage ();
6601 main ()
6603 XvShmCreateImage ();
6605 return 0;
6607 _ACEOF
6608 rm -f conftest.$ac_objext conftest$ac_exeext
6609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6610 (eval $ac_link) 2>&5
6611 ac_status=$?
6612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6613 (exit $ac_status); } &&
6614 { ac_try='test -s conftest$ac_exeext'
6615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6616 (eval $ac_try) 2>&5
6617 ac_status=$?
6618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6619 (exit $ac_status); }; }; then
6620 ac_cv_lib_Xv_XvShmCreateImage=yes
6621 else
6622 echo "$as_me: failed program was:" >&5
6623 cat conftest.$ac_ext >&5
6624 ac_cv_lib_Xv_XvShmCreateImage=no
6626 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6627 LIBS=$ac_check_lib_save_LIBS
6629 echo "$as_me:$LINENO: result: $ac_cv_lib_Xv_XvShmCreateImage" >&5
6630 echo "${ECHO_T}$ac_cv_lib_Xv_XvShmCreateImage" >&6
6631 if test $ac_cv_lib_Xv_XvShmCreateImage = yes; then
6633 cat >>confdefs.h <<\_ACEOF
6634 #define HAVE_XVIDEO 1
6635 _ACEOF
6637 X_PRE_LIBS="$X_PRE_LIBS -lXv"
6642 else
6643 { echo "$as_me:$LINENO: WARNING: XVideo extension not found, Wine will be built without it" >&5
6644 echo "$as_me: WARNING: XVideo extension not found, Wine will be built without it" >&2;}
6647 done
6651 for ac_header in X11/extensions/Xrender.h
6653 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6654 echo "$as_me:$LINENO: checking for $ac_header" >&5
6655 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6656 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6657 echo $ECHO_N "(cached) $ECHO_C" >&6
6658 else
6659 cat >conftest.$ac_ext <<_ACEOF
6660 #line $LINENO "configure"
6661 #include "confdefs.h"
6662 #include <X11/Xlib.h>
6664 #include <$ac_header>
6665 _ACEOF
6666 rm -f conftest.$ac_objext
6667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6668 (eval $ac_compile) 2>&5
6669 ac_status=$?
6670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6671 (exit $ac_status); } &&
6672 { ac_try='test -s conftest.$ac_objext'
6673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6674 (eval $ac_try) 2>&5
6675 ac_status=$?
6676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6677 (exit $ac_status); }; }; then
6678 eval "$as_ac_Header=yes"
6679 else
6680 echo "$as_me: failed program was:" >&5
6681 cat conftest.$ac_ext >&5
6682 eval "$as_ac_Header=no"
6684 rm -f conftest.$ac_objext conftest.$ac_ext
6686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6687 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6688 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6689 cat >>confdefs.h <<_ACEOF
6690 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6691 _ACEOF
6695 done
6701 done
6703 if test "x$enable_opengl" != "xno"
6704 then
6705 if test -f /usr/X11R6/lib/libGL.a -a ! -f /usr/X11R6/lib/libGL.so
6706 then
6707 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
6708 This prevents linking to OpenGL. Delete the file and restart configure." >&5
6709 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
6710 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
6711 { (exit 1); exit 1; }; }
6716 for ac_header in GL/gl.h GL/glx.h
6718 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6719 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6720 echo "$as_me:$LINENO: checking for $ac_header" >&5
6721 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6722 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6723 echo $ECHO_N "(cached) $ECHO_C" >&6
6725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6726 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6727 else
6728 # Is the header compilable?
6729 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6730 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6731 cat >conftest.$ac_ext <<_ACEOF
6732 #line $LINENO "configure"
6733 #include "confdefs.h"
6734 $ac_includes_default
6735 #include <$ac_header>
6736 _ACEOF
6737 rm -f conftest.$ac_objext
6738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6739 (eval $ac_compile) 2>&5
6740 ac_status=$?
6741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6742 (exit $ac_status); } &&
6743 { ac_try='test -s conftest.$ac_objext'
6744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6745 (eval $ac_try) 2>&5
6746 ac_status=$?
6747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6748 (exit $ac_status); }; }; then
6749 ac_header_compiler=yes
6750 else
6751 echo "$as_me: failed program was:" >&5
6752 cat conftest.$ac_ext >&5
6753 ac_header_compiler=no
6755 rm -f conftest.$ac_objext conftest.$ac_ext
6756 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6757 echo "${ECHO_T}$ac_header_compiler" >&6
6759 # Is the header present?
6760 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6761 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6762 cat >conftest.$ac_ext <<_ACEOF
6763 #line $LINENO "configure"
6764 #include "confdefs.h"
6765 #include <$ac_header>
6766 _ACEOF
6767 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6768 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6769 ac_status=$?
6770 grep -v '^ *+' conftest.er1 >conftest.err
6771 rm -f conftest.er1
6772 cat conftest.err >&5
6773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6774 (exit $ac_status); } >/dev/null; then
6775 if test -s conftest.err; then
6776 ac_cpp_err=$ac_c_preproc_warn_flag
6777 else
6778 ac_cpp_err=
6780 else
6781 ac_cpp_err=yes
6783 if test -z "$ac_cpp_err"; then
6784 ac_header_preproc=yes
6785 else
6786 echo "$as_me: failed program was:" >&5
6787 cat conftest.$ac_ext >&5
6788 ac_header_preproc=no
6790 rm -f conftest.err conftest.$ac_ext
6791 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6792 echo "${ECHO_T}$ac_header_preproc" >&6
6794 # So? What about this header?
6795 case $ac_header_compiler:$ac_header_preproc in
6796 yes:no )
6797 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6798 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6799 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6800 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6801 no:yes )
6802 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6803 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6804 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6805 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6806 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6807 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6808 esac
6809 echo "$as_me:$LINENO: checking for $ac_header" >&5
6810 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6812 echo $ECHO_N "(cached) $ECHO_C" >&6
6813 else
6814 eval "$as_ac_Header=$ac_header_preproc"
6816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6817 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6820 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6821 cat >>confdefs.h <<_ACEOF
6822 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6823 _ACEOF
6827 done
6829 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
6830 then
6832 for ac_header in GL/glext.h
6834 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6835 echo "$as_me:$LINENO: checking for $ac_header" >&5
6836 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6837 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6838 echo $ECHO_N "(cached) $ECHO_C" >&6
6839 else
6840 cat >conftest.$ac_ext <<_ACEOF
6841 #line $LINENO "configure"
6842 #include "confdefs.h"
6843 #include <GL/glx.h>
6845 #include <$ac_header>
6846 _ACEOF
6847 rm -f conftest.$ac_objext
6848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6849 (eval $ac_compile) 2>&5
6850 ac_status=$?
6851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6852 (exit $ac_status); } &&
6853 { ac_try='test -s conftest.$ac_objext'
6854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6855 (eval $ac_try) 2>&5
6856 ac_status=$?
6857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6858 (exit $ac_status); }; }; then
6859 eval "$as_ac_Header=yes"
6860 else
6861 echo "$as_me: failed program was:" >&5
6862 cat conftest.$ac_ext >&5
6863 eval "$as_ac_Header=no"
6865 rm -f conftest.$ac_objext conftest.$ac_ext
6867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6868 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6869 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6870 cat >>confdefs.h <<_ACEOF
6871 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6872 _ACEOF
6876 done
6878 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
6879 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
6880 if test "${wine_cv_opengl_version_OK+set}" = set; then
6881 echo $ECHO_N "(cached) $ECHO_C" >&6
6882 else
6883 cat >conftest.$ac_ext <<_ACEOF
6884 #line $LINENO "configure"
6885 #include "confdefs.h"
6886 #include <GL/gl.h>
6888 main ()
6890 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
6892 return 0;
6894 _ACEOF
6895 rm -f conftest.$ac_objext
6896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6897 (eval $ac_compile) 2>&5
6898 ac_status=$?
6899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6900 (exit $ac_status); } &&
6901 { ac_try='test -s conftest.$ac_objext'
6902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6903 (eval $ac_try) 2>&5
6904 ac_status=$?
6905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6906 (exit $ac_status); }; }; then
6907 wine_cv_opengl_version_OK="yes"
6908 else
6909 echo "$as_me: failed program was:" >&5
6910 cat conftest.$ac_ext >&5
6911 wine_cv_opengl_version_OK="no"
6914 rm -f conftest.$ac_objext conftest.$ac_ext
6917 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
6918 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
6920 echo "$as_me:$LINENO: checking for thread-safe OpenGL version" >&5
6921 echo $ECHO_N "checking for thread-safe OpenGL version... $ECHO_C" >&6
6922 if test "${wine_cv_opengl_version_threadsafe+set}" = set; then
6923 echo $ECHO_N "(cached) $ECHO_C" >&6
6924 else
6925 saved_libs=$LIBS
6926 LIBS="$X_LIBS -lGL"
6927 cat >conftest.$ac_ext <<_ACEOF
6928 #line $LINENO "configure"
6929 #include "confdefs.h"
6932 main ()
6934 pthread_getspecific();
6936 return 0;
6938 _ACEOF
6939 rm -f conftest.$ac_objext conftest$ac_exeext
6940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6941 (eval $ac_link) 2>&5
6942 ac_status=$?
6943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6944 (exit $ac_status); } &&
6945 { ac_try='test -s conftest$ac_exeext'
6946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6947 (eval $ac_try) 2>&5
6948 ac_status=$?
6949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6950 (exit $ac_status); }; }; then
6951 wine_cv_opengl_version_threadsafe="yes"
6952 else
6953 echo "$as_me: failed program was:" >&5
6954 cat conftest.$ac_ext >&5
6955 wine_cv_opengl_version_threadsafe="no"
6957 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6958 LIBS=$saved_libs
6961 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_threadsafe" >&5
6962 echo "${ECHO_T}$wine_cv_opengl_version_threadsafe" >&6
6964 if test "$wine_cv_opengl_version_OK" = "yes" -a \( "$wine_cv_opengl_version_threadsafe" = "no" -o "x$enable_opengl" = "xyes" \)
6965 then
6966 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
6967 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
6968 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
6969 echo $ECHO_N "(cached) $ECHO_C" >&6
6970 else
6971 ac_check_lib_save_LIBS=$LIBS
6972 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
6973 cat >conftest.$ac_ext <<_ACEOF
6974 #line $LINENO "configure"
6975 #include "confdefs.h"
6977 /* Override any gcc2 internal prototype to avoid an error. */
6978 #ifdef __cplusplus
6979 extern "C"
6980 #endif
6981 /* We use char because int might match the return type of a gcc2
6982 builtin and then its argument prototype would still apply. */
6983 char glXCreateContext ();
6985 main ()
6987 glXCreateContext ();
6989 return 0;
6991 _ACEOF
6992 rm -f conftest.$ac_objext conftest$ac_exeext
6993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6994 (eval $ac_link) 2>&5
6995 ac_status=$?
6996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6997 (exit $ac_status); } &&
6998 { ac_try='test -s conftest$ac_exeext'
6999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7000 (eval $ac_try) 2>&5
7001 ac_status=$?
7002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7003 (exit $ac_status); }; }; then
7004 ac_cv_lib_GL_glXCreateContext=yes
7005 else
7006 echo "$as_me: failed program was:" >&5
7007 cat conftest.$ac_ext >&5
7008 ac_cv_lib_GL_glXCreateContext=no
7010 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7011 LIBS=$ac_check_lib_save_LIBS
7013 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
7014 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
7015 if test $ac_cv_lib_GL_glXCreateContext = yes; then
7016 X_PRE_LIBS="$X_PRE_LIBS -lGL"
7021 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
7022 then
7023 OPENGLFILES='$(OPENGLFILES)'
7025 cat >>confdefs.h <<\_ACEOF
7026 #define HAVE_OPENGL 1
7027 _ACEOF
7030 echo "$as_me:$LINENO: checking for glXGetProcAddressARB in -lGL" >&5
7031 echo $ECHO_N "checking for glXGetProcAddressARB in -lGL... $ECHO_C" >&6
7032 if test "${ac_cv_lib_GL_glXGetProcAddressARB+set}" = set; then
7033 echo $ECHO_N "(cached) $ECHO_C" >&6
7034 else
7035 ac_check_lib_save_LIBS=$LIBS
7036 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
7037 cat >conftest.$ac_ext <<_ACEOF
7038 #line $LINENO "configure"
7039 #include "confdefs.h"
7041 /* Override any gcc2 internal prototype to avoid an error. */
7042 #ifdef __cplusplus
7043 extern "C"
7044 #endif
7045 /* We use char because int might match the return type of a gcc2
7046 builtin and then its argument prototype would still apply. */
7047 char glXGetProcAddressARB ();
7049 main ()
7051 glXGetProcAddressARB ();
7053 return 0;
7055 _ACEOF
7056 rm -f conftest.$ac_objext conftest$ac_exeext
7057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7058 (eval $ac_link) 2>&5
7059 ac_status=$?
7060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7061 (exit $ac_status); } &&
7062 { ac_try='test -s conftest$ac_exeext'
7063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7064 (eval $ac_try) 2>&5
7065 ac_status=$?
7066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7067 (exit $ac_status); }; }; then
7068 ac_cv_lib_GL_glXGetProcAddressARB=yes
7069 else
7070 echo "$as_me: failed program was:" >&5
7071 cat conftest.$ac_ext >&5
7072 ac_cv_lib_GL_glXGetProcAddressARB=no
7074 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7075 LIBS=$ac_check_lib_save_LIBS
7077 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXGetProcAddressARB" >&5
7078 echo "${ECHO_T}$ac_cv_lib_GL_glXGetProcAddressARB" >&6
7079 if test $ac_cv_lib_GL_glXGetProcAddressARB = yes; then
7081 cat >>confdefs.h <<\_ACEOF
7082 #define HAVE_GLX_GETPROCADDRESS 1
7083 _ACEOF
7088 if test "$ac_cv_lib_GL_glXGetProcAddressARB" = "yes"
7089 then
7090 echo "$as_me:$LINENO: checking for OpenGL extension functions prototypes" >&5
7091 echo $ECHO_N "checking for OpenGL extension functions prototypes... $ECHO_C" >&6
7092 if test "${wine_cv_extension_prototypes+set}" = set; then
7093 echo $ECHO_N "(cached) $ECHO_C" >&6
7094 else
7095 cat >conftest.$ac_ext <<_ACEOF
7096 #line $LINENO "configure"
7097 #include "confdefs.h"
7098 #include <GL/gl.h>
7099 #ifdef HAVE_GL_GLEXT_H
7100 # include <GL/glext.h>
7101 #endif
7104 main ()
7106 PFNGLCOLORTABLEEXTPROC test_proc;
7108 return 0;
7110 _ACEOF
7111 rm -f conftest.$ac_objext
7112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7113 (eval $ac_compile) 2>&5
7114 ac_status=$?
7115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7116 (exit $ac_status); } &&
7117 { ac_try='test -s conftest.$ac_objext'
7118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7119 (eval $ac_try) 2>&5
7120 ac_status=$?
7121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7122 (exit $ac_status); }; }; then
7123 wine_cv_extension_prototypes="yes"
7124 else
7125 echo "$as_me: failed program was:" >&5
7126 cat conftest.$ac_ext >&5
7127 wine_cv_extension_prototypes="no"
7130 rm -f conftest.$ac_objext conftest.$ac_ext
7133 echo "$as_me:$LINENO: result: $wine_cv_extension_prototypes" >&5
7134 echo "${ECHO_T}$wine_cv_extension_prototypes" >&6
7135 if test "$wine_cv_extension_prototypes" = "yes"
7136 then
7138 cat >>confdefs.h <<\_ACEOF
7139 #define HAVE_GLEXT_PROTOTYPES 1
7140 _ACEOF
7146 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
7147 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
7148 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
7149 echo $ECHO_N "(cached) $ECHO_C" >&6
7150 else
7151 ac_check_lib_save_LIBS=$LIBS
7152 LIBS="-lGLU $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
7153 $LIBS"
7154 cat >conftest.$ac_ext <<_ACEOF
7155 #line $LINENO "configure"
7156 #include "confdefs.h"
7158 /* Override any gcc2 internal prototype to avoid an error. */
7159 #ifdef __cplusplus
7160 extern "C"
7161 #endif
7162 /* We use char because int might match the return type of a gcc2
7163 builtin and then its argument prototype would still apply. */
7164 char gluLookAt ();
7166 main ()
7168 gluLookAt ();
7170 return 0;
7172 _ACEOF
7173 rm -f conftest.$ac_objext conftest$ac_exeext
7174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7175 (eval $ac_link) 2>&5
7176 ac_status=$?
7177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7178 (exit $ac_status); } &&
7179 { ac_try='test -s conftest$ac_exeext'
7180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7181 (eval $ac_try) 2>&5
7182 ac_status=$?
7183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7184 (exit $ac_status); }; }; then
7185 ac_cv_lib_GLU_gluLookAt=yes
7186 else
7187 echo "$as_me: failed program was:" >&5
7188 cat conftest.$ac_ext >&5
7189 ac_cv_lib_GLU_gluLookAt=no
7191 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7192 LIBS=$ac_check_lib_save_LIBS
7194 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
7195 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
7196 if test $ac_cv_lib_GLU_gluLookAt = yes; then
7197 X_PRE_LIBS="$X_PRE_LIBS -lGLU"
7198 GLU32FILES='$(GLU32FILES)'
7206 NASLIBS=""
7209 for ac_header in audio/audiolib.h
7211 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7212 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7213 echo "$as_me:$LINENO: checking for $ac_header" >&5
7214 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7215 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7216 echo $ECHO_N "(cached) $ECHO_C" >&6
7218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7219 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7220 else
7221 # Is the header compilable?
7222 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7223 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7224 cat >conftest.$ac_ext <<_ACEOF
7225 #line $LINENO "configure"
7226 #include "confdefs.h"
7227 $ac_includes_default
7228 #include <$ac_header>
7229 _ACEOF
7230 rm -f conftest.$ac_objext
7231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7232 (eval $ac_compile) 2>&5
7233 ac_status=$?
7234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7235 (exit $ac_status); } &&
7236 { ac_try='test -s conftest.$ac_objext'
7237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7238 (eval $ac_try) 2>&5
7239 ac_status=$?
7240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7241 (exit $ac_status); }; }; then
7242 ac_header_compiler=yes
7243 else
7244 echo "$as_me: failed program was:" >&5
7245 cat conftest.$ac_ext >&5
7246 ac_header_compiler=no
7248 rm -f conftest.$ac_objext conftest.$ac_ext
7249 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7250 echo "${ECHO_T}$ac_header_compiler" >&6
7252 # Is the header present?
7253 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7254 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7255 cat >conftest.$ac_ext <<_ACEOF
7256 #line $LINENO "configure"
7257 #include "confdefs.h"
7258 #include <$ac_header>
7259 _ACEOF
7260 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7261 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7262 ac_status=$?
7263 grep -v '^ *+' conftest.er1 >conftest.err
7264 rm -f conftest.er1
7265 cat conftest.err >&5
7266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7267 (exit $ac_status); } >/dev/null; then
7268 if test -s conftest.err; then
7269 ac_cpp_err=$ac_c_preproc_warn_flag
7270 else
7271 ac_cpp_err=
7273 else
7274 ac_cpp_err=yes
7276 if test -z "$ac_cpp_err"; then
7277 ac_header_preproc=yes
7278 else
7279 echo "$as_me: failed program was:" >&5
7280 cat conftest.$ac_ext >&5
7281 ac_header_preproc=no
7283 rm -f conftest.err conftest.$ac_ext
7284 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7285 echo "${ECHO_T}$ac_header_preproc" >&6
7287 # So? What about this header?
7288 case $ac_header_compiler:$ac_header_preproc in
7289 yes:no )
7290 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7291 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7292 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7293 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7294 no:yes )
7295 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7296 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7297 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7298 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7299 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7300 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7301 esac
7302 echo "$as_me:$LINENO: checking for $ac_header" >&5
7303 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7305 echo $ECHO_N "(cached) $ECHO_C" >&6
7306 else
7307 eval "$as_ac_Header=$ac_header_preproc"
7309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7310 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7313 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7314 cat >>confdefs.h <<_ACEOF
7315 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7316 _ACEOF
7318 for ac_header in audio/soundlib.h
7320 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7321 echo "$as_me:$LINENO: checking for $ac_header" >&5
7322 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7323 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7324 echo $ECHO_N "(cached) $ECHO_C" >&6
7325 else
7326 cat >conftest.$ac_ext <<_ACEOF
7327 #line $LINENO "configure"
7328 #include "confdefs.h"
7329 #include <audio/audiolib.h>
7331 #include <$ac_header>
7332 _ACEOF
7333 rm -f conftest.$ac_objext
7334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7335 (eval $ac_compile) 2>&5
7336 ac_status=$?
7337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7338 (exit $ac_status); } &&
7339 { ac_try='test -s conftest.$ac_objext'
7340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7341 (eval $ac_try) 2>&5
7342 ac_status=$?
7343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7344 (exit $ac_status); }; }; then
7345 eval "$as_ac_Header=yes"
7346 else
7347 echo "$as_me: failed program was:" >&5
7348 cat conftest.$ac_ext >&5
7349 eval "$as_ac_Header=no"
7351 rm -f conftest.$ac_objext conftest.$ac_ext
7353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7354 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7355 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7356 cat >>confdefs.h <<_ACEOF
7357 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7358 _ACEOF
7362 done
7364 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
7365 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
7366 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
7367 echo $ECHO_N "(cached) $ECHO_C" >&6
7368 else
7369 ac_check_lib_save_LIBS=$LIBS
7370 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7371 cat >conftest.$ac_ext <<_ACEOF
7372 #line $LINENO "configure"
7373 #include "confdefs.h"
7375 /* Override any gcc2 internal prototype to avoid an error. */
7376 #ifdef __cplusplus
7377 extern "C"
7378 #endif
7379 /* We use char because int might match the return type of a gcc2
7380 builtin and then its argument prototype would still apply. */
7381 char AuCreateFlow ();
7383 main ()
7385 AuCreateFlow ();
7387 return 0;
7389 _ACEOF
7390 rm -f conftest.$ac_objext conftest$ac_exeext
7391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7392 (eval $ac_link) 2>&5
7393 ac_status=$?
7394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7395 (exit $ac_status); } &&
7396 { ac_try='test -s conftest$ac_exeext'
7397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7398 (eval $ac_try) 2>&5
7399 ac_status=$?
7400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7401 (exit $ac_status); }; }; then
7402 ac_cv_lib_audio_AuCreateFlow=yes
7403 else
7404 echo "$as_me: failed program was:" >&5
7405 cat conftest.$ac_ext >&5
7406 ac_cv_lib_audio_AuCreateFlow=no
7408 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7409 LIBS=$ac_check_lib_save_LIBS
7411 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
7412 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
7413 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
7415 cat >>confdefs.h <<\_ACEOF
7416 #define HAVE_NAS 1
7417 _ACEOF
7419 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
7424 done
7427 CPPFLAGS="$ac_save_CPPFLAGS"
7428 XFILES='$(XFILES)'
7429 else
7430 XLIB=""
7431 X_CFLAGS=""
7432 X_LIBS=""
7435 CURSESLIBS=""
7436 if test "x$with_curses" != "xno"
7437 then
7439 for ac_header in ncurses.h
7441 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7442 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7443 echo "$as_me:$LINENO: checking for $ac_header" >&5
7444 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7446 echo $ECHO_N "(cached) $ECHO_C" >&6
7448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7449 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7450 else
7451 # Is the header compilable?
7452 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7453 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7454 cat >conftest.$ac_ext <<_ACEOF
7455 #line $LINENO "configure"
7456 #include "confdefs.h"
7457 $ac_includes_default
7458 #include <$ac_header>
7459 _ACEOF
7460 rm -f conftest.$ac_objext
7461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7462 (eval $ac_compile) 2>&5
7463 ac_status=$?
7464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7465 (exit $ac_status); } &&
7466 { ac_try='test -s conftest.$ac_objext'
7467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7468 (eval $ac_try) 2>&5
7469 ac_status=$?
7470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7471 (exit $ac_status); }; }; then
7472 ac_header_compiler=yes
7473 else
7474 echo "$as_me: failed program was:" >&5
7475 cat conftest.$ac_ext >&5
7476 ac_header_compiler=no
7478 rm -f conftest.$ac_objext conftest.$ac_ext
7479 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7480 echo "${ECHO_T}$ac_header_compiler" >&6
7482 # Is the header present?
7483 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7484 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7485 cat >conftest.$ac_ext <<_ACEOF
7486 #line $LINENO "configure"
7487 #include "confdefs.h"
7488 #include <$ac_header>
7489 _ACEOF
7490 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7491 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7492 ac_status=$?
7493 grep -v '^ *+' conftest.er1 >conftest.err
7494 rm -f conftest.er1
7495 cat conftest.err >&5
7496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7497 (exit $ac_status); } >/dev/null; then
7498 if test -s conftest.err; then
7499 ac_cpp_err=$ac_c_preproc_warn_flag
7500 else
7501 ac_cpp_err=
7503 else
7504 ac_cpp_err=yes
7506 if test -z "$ac_cpp_err"; then
7507 ac_header_preproc=yes
7508 else
7509 echo "$as_me: failed program was:" >&5
7510 cat conftest.$ac_ext >&5
7511 ac_header_preproc=no
7513 rm -f conftest.err conftest.$ac_ext
7514 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7515 echo "${ECHO_T}$ac_header_preproc" >&6
7517 # So? What about this header?
7518 case $ac_header_compiler:$ac_header_preproc in
7519 yes:no )
7520 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7521 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7522 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7523 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7524 no:yes )
7525 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7526 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7527 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7528 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7529 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7530 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7531 esac
7532 echo "$as_me:$LINENO: checking for $ac_header" >&5
7533 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7534 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7535 echo $ECHO_N "(cached) $ECHO_C" >&6
7536 else
7537 eval "$as_ac_Header=$ac_header_preproc"
7539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7540 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7543 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7544 cat >>confdefs.h <<_ACEOF
7545 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7546 _ACEOF
7547 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
7548 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
7549 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
7550 echo $ECHO_N "(cached) $ECHO_C" >&6
7551 else
7552 ac_check_lib_save_LIBS=$LIBS
7553 LIBS="-lncurses $LIBS"
7554 cat >conftest.$ac_ext <<_ACEOF
7555 #line $LINENO "configure"
7556 #include "confdefs.h"
7558 /* Override any gcc2 internal prototype to avoid an error. */
7559 #ifdef __cplusplus
7560 extern "C"
7561 #endif
7562 /* We use char because int might match the return type of a gcc2
7563 builtin and then its argument prototype would still apply. */
7564 char waddch ();
7566 main ()
7568 waddch ();
7570 return 0;
7572 _ACEOF
7573 rm -f conftest.$ac_objext conftest$ac_exeext
7574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7575 (eval $ac_link) 2>&5
7576 ac_status=$?
7577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7578 (exit $ac_status); } &&
7579 { ac_try='test -s conftest$ac_exeext'
7580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7581 (eval $ac_try) 2>&5
7582 ac_status=$?
7583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7584 (exit $ac_status); }; }; then
7585 ac_cv_lib_ncurses_waddch=yes
7586 else
7587 echo "$as_me: failed program was:" >&5
7588 cat conftest.$ac_ext >&5
7589 ac_cv_lib_ncurses_waddch=no
7591 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7592 LIBS=$ac_check_lib_save_LIBS
7594 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
7595 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
7596 if test $ac_cv_lib_ncurses_waddch = yes; then
7598 cat >>confdefs.h <<\_ACEOF
7599 #define HAVE_LIBNCURSES 1
7600 _ACEOF
7602 CURSESLIBS="-lncurses"
7603 else
7605 for ac_header in curses.h
7607 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7608 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7609 echo "$as_me:$LINENO: checking for $ac_header" >&5
7610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7611 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7612 echo $ECHO_N "(cached) $ECHO_C" >&6
7614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7615 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7616 else
7617 # Is the header compilable?
7618 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7619 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7620 cat >conftest.$ac_ext <<_ACEOF
7621 #line $LINENO "configure"
7622 #include "confdefs.h"
7623 $ac_includes_default
7624 #include <$ac_header>
7625 _ACEOF
7626 rm -f conftest.$ac_objext
7627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7628 (eval $ac_compile) 2>&5
7629 ac_status=$?
7630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7631 (exit $ac_status); } &&
7632 { ac_try='test -s conftest.$ac_objext'
7633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7634 (eval $ac_try) 2>&5
7635 ac_status=$?
7636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7637 (exit $ac_status); }; }; then
7638 ac_header_compiler=yes
7639 else
7640 echo "$as_me: failed program was:" >&5
7641 cat conftest.$ac_ext >&5
7642 ac_header_compiler=no
7644 rm -f conftest.$ac_objext conftest.$ac_ext
7645 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7646 echo "${ECHO_T}$ac_header_compiler" >&6
7648 # Is the header present?
7649 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7650 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7651 cat >conftest.$ac_ext <<_ACEOF
7652 #line $LINENO "configure"
7653 #include "confdefs.h"
7654 #include <$ac_header>
7655 _ACEOF
7656 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7657 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7658 ac_status=$?
7659 grep -v '^ *+' conftest.er1 >conftest.err
7660 rm -f conftest.er1
7661 cat conftest.err >&5
7662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7663 (exit $ac_status); } >/dev/null; then
7664 if test -s conftest.err; then
7665 ac_cpp_err=$ac_c_preproc_warn_flag
7666 else
7667 ac_cpp_err=
7669 else
7670 ac_cpp_err=yes
7672 if test -z "$ac_cpp_err"; then
7673 ac_header_preproc=yes
7674 else
7675 echo "$as_me: failed program was:" >&5
7676 cat conftest.$ac_ext >&5
7677 ac_header_preproc=no
7679 rm -f conftest.err conftest.$ac_ext
7680 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7681 echo "${ECHO_T}$ac_header_preproc" >&6
7683 # So? What about this header?
7684 case $ac_header_compiler:$ac_header_preproc in
7685 yes:no )
7686 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7687 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7688 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7689 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7690 no:yes )
7691 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7692 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7693 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7694 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7695 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7696 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7697 esac
7698 echo "$as_me:$LINENO: checking for $ac_header" >&5
7699 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7700 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7701 echo $ECHO_N "(cached) $ECHO_C" >&6
7702 else
7703 eval "$as_ac_Header=$ac_header_preproc"
7705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7706 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7709 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7710 cat >>confdefs.h <<_ACEOF
7711 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7712 _ACEOF
7713 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
7714 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
7715 if test "${ac_cv_lib_curses_waddch+set}" = set; then
7716 echo $ECHO_N "(cached) $ECHO_C" >&6
7717 else
7718 ac_check_lib_save_LIBS=$LIBS
7719 LIBS="-lcurses $LIBS"
7720 cat >conftest.$ac_ext <<_ACEOF
7721 #line $LINENO "configure"
7722 #include "confdefs.h"
7724 /* Override any gcc2 internal prototype to avoid an error. */
7725 #ifdef __cplusplus
7726 extern "C"
7727 #endif
7728 /* We use char because int might match the return type of a gcc2
7729 builtin and then its argument prototype would still apply. */
7730 char waddch ();
7732 main ()
7734 waddch ();
7736 return 0;
7738 _ACEOF
7739 rm -f conftest.$ac_objext conftest$ac_exeext
7740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7741 (eval $ac_link) 2>&5
7742 ac_status=$?
7743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7744 (exit $ac_status); } &&
7745 { ac_try='test -s conftest$ac_exeext'
7746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7747 (eval $ac_try) 2>&5
7748 ac_status=$?
7749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7750 (exit $ac_status); }; }; then
7751 ac_cv_lib_curses_waddch=yes
7752 else
7753 echo "$as_me: failed program was:" >&5
7754 cat conftest.$ac_ext >&5
7755 ac_cv_lib_curses_waddch=no
7757 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7758 LIBS=$ac_check_lib_save_LIBS
7760 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
7761 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
7762 if test $ac_cv_lib_curses_waddch = yes; then
7764 cat >>confdefs.h <<\_ACEOF
7765 #define HAVE_LIBCURSES 1
7766 _ACEOF
7768 CURSESLIBS="-lcurses"
7773 done
7779 done
7781 saved_libs="$LIBS"
7782 LIBS="$CURSESLIBS $LIBS"
7785 for ac_func in getbkgd resizeterm
7787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7788 echo "$as_me:$LINENO: checking for $ac_func" >&5
7789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7790 if eval "test \"\${$as_ac_var+set}\" = set"; then
7791 echo $ECHO_N "(cached) $ECHO_C" >&6
7792 else
7793 cat >conftest.$ac_ext <<_ACEOF
7794 #line $LINENO "configure"
7795 #include "confdefs.h"
7796 /* System header to define __stub macros and hopefully few prototypes,
7797 which can conflict with char $ac_func (); below. */
7798 #include <assert.h>
7799 /* Override any gcc2 internal prototype to avoid an error. */
7800 #ifdef __cplusplus
7801 extern "C"
7802 #endif
7803 /* We use char because int might match the return type of a gcc2
7804 builtin and then its argument prototype would still apply. */
7805 char $ac_func ();
7806 char (*f) ();
7809 main ()
7811 /* The GNU C library defines this for functions which it implements
7812 to always fail with ENOSYS. Some functions are actually named
7813 something starting with __ and the normal name is an alias. */
7814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7815 choke me
7816 #else
7817 f = $ac_func;
7818 #endif
7821 return 0;
7823 _ACEOF
7824 rm -f conftest.$ac_objext conftest$ac_exeext
7825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7826 (eval $ac_link) 2>&5
7827 ac_status=$?
7828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7829 (exit $ac_status); } &&
7830 { ac_try='test -s conftest$ac_exeext'
7831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7832 (eval $ac_try) 2>&5
7833 ac_status=$?
7834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7835 (exit $ac_status); }; }; then
7836 eval "$as_ac_var=yes"
7837 else
7838 echo "$as_me: failed program was:" >&5
7839 cat conftest.$ac_ext >&5
7840 eval "$as_ac_var=no"
7842 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7845 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7846 if test `eval echo '${'$as_ac_var'}'` = yes; then
7847 cat >>confdefs.h <<_ACEOF
7848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7849 _ACEOF
7852 done
7854 LIBS="$saved_libs"
7858 CUPSLIBS=""
7859 wine_cv_warn_cups_h=no
7860 echo "$as_me:$LINENO: checking for cupsGetPPD in -lcups" >&5
7861 echo $ECHO_N "checking for cupsGetPPD in -lcups... $ECHO_C" >&6
7862 if test "${ac_cv_lib_cups_cupsGetPPD+set}" = set; then
7863 echo $ECHO_N "(cached) $ECHO_C" >&6
7864 else
7865 ac_check_lib_save_LIBS=$LIBS
7866 LIBS="-lcups $LIBS"
7867 cat >conftest.$ac_ext <<_ACEOF
7868 #line $LINENO "configure"
7869 #include "confdefs.h"
7871 /* Override any gcc2 internal prototype to avoid an error. */
7872 #ifdef __cplusplus
7873 extern "C"
7874 #endif
7875 /* We use char because int might match the return type of a gcc2
7876 builtin and then its argument prototype would still apply. */
7877 char cupsGetPPD ();
7879 main ()
7881 cupsGetPPD ();
7883 return 0;
7885 _ACEOF
7886 rm -f conftest.$ac_objext conftest$ac_exeext
7887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7888 (eval $ac_link) 2>&5
7889 ac_status=$?
7890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7891 (exit $ac_status); } &&
7892 { ac_try='test -s conftest$ac_exeext'
7893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7894 (eval $ac_try) 2>&5
7895 ac_status=$?
7896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7897 (exit $ac_status); }; }; then
7898 ac_cv_lib_cups_cupsGetPPD=yes
7899 else
7900 echo "$as_me: failed program was:" >&5
7901 cat conftest.$ac_ext >&5
7902 ac_cv_lib_cups_cupsGetPPD=no
7904 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7905 LIBS=$ac_check_lib_save_LIBS
7907 echo "$as_me:$LINENO: result: $ac_cv_lib_cups_cupsGetPPD" >&5
7908 echo "${ECHO_T}$ac_cv_lib_cups_cupsGetPPD" >&6
7909 if test $ac_cv_lib_cups_cupsGetPPD = yes; then
7910 if test "${ac_cv_header_cups_cups_h+set}" = set; then
7911 echo "$as_me:$LINENO: checking for cups/cups.h" >&5
7912 echo $ECHO_N "checking for cups/cups.h... $ECHO_C" >&6
7913 if test "${ac_cv_header_cups_cups_h+set}" = set; then
7914 echo $ECHO_N "(cached) $ECHO_C" >&6
7916 echo "$as_me:$LINENO: result: $ac_cv_header_cups_cups_h" >&5
7917 echo "${ECHO_T}$ac_cv_header_cups_cups_h" >&6
7918 else
7919 # Is the header compilable?
7920 echo "$as_me:$LINENO: checking cups/cups.h usability" >&5
7921 echo $ECHO_N "checking cups/cups.h usability... $ECHO_C" >&6
7922 cat >conftest.$ac_ext <<_ACEOF
7923 #line $LINENO "configure"
7924 #include "confdefs.h"
7925 $ac_includes_default
7926 #include <cups/cups.h>
7927 _ACEOF
7928 rm -f conftest.$ac_objext
7929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7930 (eval $ac_compile) 2>&5
7931 ac_status=$?
7932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7933 (exit $ac_status); } &&
7934 { ac_try='test -s conftest.$ac_objext'
7935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7936 (eval $ac_try) 2>&5
7937 ac_status=$?
7938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7939 (exit $ac_status); }; }; then
7940 ac_header_compiler=yes
7941 else
7942 echo "$as_me: failed program was:" >&5
7943 cat conftest.$ac_ext >&5
7944 ac_header_compiler=no
7946 rm -f conftest.$ac_objext conftest.$ac_ext
7947 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7948 echo "${ECHO_T}$ac_header_compiler" >&6
7950 # Is the header present?
7951 echo "$as_me:$LINENO: checking cups/cups.h presence" >&5
7952 echo $ECHO_N "checking cups/cups.h presence... $ECHO_C" >&6
7953 cat >conftest.$ac_ext <<_ACEOF
7954 #line $LINENO "configure"
7955 #include "confdefs.h"
7956 #include <cups/cups.h>
7957 _ACEOF
7958 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7959 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7960 ac_status=$?
7961 grep -v '^ *+' conftest.er1 >conftest.err
7962 rm -f conftest.er1
7963 cat conftest.err >&5
7964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7965 (exit $ac_status); } >/dev/null; then
7966 if test -s conftest.err; then
7967 ac_cpp_err=$ac_c_preproc_warn_flag
7968 else
7969 ac_cpp_err=
7971 else
7972 ac_cpp_err=yes
7974 if test -z "$ac_cpp_err"; then
7975 ac_header_preproc=yes
7976 else
7977 echo "$as_me: failed program was:" >&5
7978 cat conftest.$ac_ext >&5
7979 ac_header_preproc=no
7981 rm -f conftest.err conftest.$ac_ext
7982 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7983 echo "${ECHO_T}$ac_header_preproc" >&6
7985 # So? What about this header?
7986 case $ac_header_compiler:$ac_header_preproc in
7987 yes:no )
7988 { echo "$as_me:$LINENO: WARNING: cups/cups.h: accepted by the compiler, rejected by the preprocessor!" >&5
7989 echo "$as_me: WARNING: cups/cups.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7990 { echo "$as_me:$LINENO: WARNING: cups/cups.h: proceeding with the preprocessor's result" >&5
7991 echo "$as_me: WARNING: cups/cups.h: proceeding with the preprocessor's result" >&2;};;
7992 no:yes )
7993 { echo "$as_me:$LINENO: WARNING: cups/cups.h: present but cannot be compiled" >&5
7994 echo "$as_me: WARNING: cups/cups.h: present but cannot be compiled" >&2;}
7995 { echo "$as_me:$LINENO: WARNING: cups/cups.h: check for missing prerequisite headers?" >&5
7996 echo "$as_me: WARNING: cups/cups.h: check for missing prerequisite headers?" >&2;}
7997 { echo "$as_me:$LINENO: WARNING: cups/cups.h: proceeding with the preprocessor's result" >&5
7998 echo "$as_me: WARNING: cups/cups.h: proceeding with the preprocessor's result" >&2;};;
7999 esac
8000 echo "$as_me:$LINENO: checking for cups/cups.h" >&5
8001 echo $ECHO_N "checking for cups/cups.h... $ECHO_C" >&6
8002 if test "${ac_cv_header_cups_cups_h+set}" = set; then
8003 echo $ECHO_N "(cached) $ECHO_C" >&6
8004 else
8005 ac_cv_header_cups_cups_h=$ac_header_preproc
8007 echo "$as_me:$LINENO: result: $ac_cv_header_cups_cups_h" >&5
8008 echo "${ECHO_T}$ac_cv_header_cups_cups_h" >&6
8011 if test $ac_cv_header_cups_cups_h = yes; then
8013 cat >>confdefs.h <<\_ACEOF
8014 #define HAVE_CUPS 1
8015 _ACEOF
8017 CUPSLIBS="-lcups"
8018 else
8019 wine_cv_warn_cups_h=yes
8028 # Extract the first word of "sane-config", so it can be a program name with args.
8029 set dummy sane-config; ac_word=$2
8030 echo "$as_me:$LINENO: checking for $ac_word" >&5
8031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8032 if test "${ac_cv_prog_sane_devel+set}" = set; then
8033 echo $ECHO_N "(cached) $ECHO_C" >&6
8034 else
8035 if test -n "$sane_devel"; then
8036 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
8037 else
8038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8039 for as_dir in $PATH
8041 IFS=$as_save_IFS
8042 test -z "$as_dir" && as_dir=.
8043 for ac_exec_ext in '' $ac_executable_extensions; do
8044 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8045 ac_cv_prog_sane_devel="sane-config"
8046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8047 break 2
8049 done
8050 done
8052 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
8055 sane_devel=$ac_cv_prog_sane_devel
8056 if test -n "$sane_devel"; then
8057 echo "$as_me:$LINENO: result: $sane_devel" >&5
8058 echo "${ECHO_T}$sane_devel" >&6
8059 else
8060 echo "$as_me:$LINENO: result: no" >&5
8061 echo "${ECHO_T}no" >&6
8064 if test "$sane_devel" = "no"
8065 then
8066 SANELIBS=""
8067 SANEINCL=""
8068 else
8069 SANELIBS="`$sane_devel --libs`"
8070 SANEINCL="`$sane_devel --cflags`"
8071 ac_save_CPPFLAGS="$CPPFLAGS"
8072 ac_save_LIBS="$LIBS"
8073 CPPFLAGS="$CPPFLAGS $SANEINCL"
8074 LIBS="$LIBS $SANELIBS"
8075 if test "${ac_cv_header_sane_sane_h+set}" = set; then
8076 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
8077 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
8078 if test "${ac_cv_header_sane_sane_h+set}" = set; then
8079 echo $ECHO_N "(cached) $ECHO_C" >&6
8081 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
8082 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
8083 else
8084 # Is the header compilable?
8085 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
8086 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
8087 cat >conftest.$ac_ext <<_ACEOF
8088 #line $LINENO "configure"
8089 #include "confdefs.h"
8090 $ac_includes_default
8091 #include <sane/sane.h>
8092 _ACEOF
8093 rm -f conftest.$ac_objext
8094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8095 (eval $ac_compile) 2>&5
8096 ac_status=$?
8097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8098 (exit $ac_status); } &&
8099 { ac_try='test -s conftest.$ac_objext'
8100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8101 (eval $ac_try) 2>&5
8102 ac_status=$?
8103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8104 (exit $ac_status); }; }; then
8105 ac_header_compiler=yes
8106 else
8107 echo "$as_me: failed program was:" >&5
8108 cat conftest.$ac_ext >&5
8109 ac_header_compiler=no
8111 rm -f conftest.$ac_objext conftest.$ac_ext
8112 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8113 echo "${ECHO_T}$ac_header_compiler" >&6
8115 # Is the header present?
8116 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
8117 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
8118 cat >conftest.$ac_ext <<_ACEOF
8119 #line $LINENO "configure"
8120 #include "confdefs.h"
8121 #include <sane/sane.h>
8122 _ACEOF
8123 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8124 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8125 ac_status=$?
8126 grep -v '^ *+' conftest.er1 >conftest.err
8127 rm -f conftest.er1
8128 cat conftest.err >&5
8129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8130 (exit $ac_status); } >/dev/null; then
8131 if test -s conftest.err; then
8132 ac_cpp_err=$ac_c_preproc_warn_flag
8133 else
8134 ac_cpp_err=
8136 else
8137 ac_cpp_err=yes
8139 if test -z "$ac_cpp_err"; then
8140 ac_header_preproc=yes
8141 else
8142 echo "$as_me: failed program was:" >&5
8143 cat conftest.$ac_ext >&5
8144 ac_header_preproc=no
8146 rm -f conftest.err conftest.$ac_ext
8147 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8148 echo "${ECHO_T}$ac_header_preproc" >&6
8150 # So? What about this header?
8151 case $ac_header_compiler:$ac_header_preproc in
8152 yes:no )
8153 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
8154 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8155 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
8156 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;};;
8157 no:yes )
8158 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
8159 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
8160 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
8161 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
8162 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
8163 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;};;
8164 esac
8165 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
8166 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
8167 if test "${ac_cv_header_sane_sane_h+set}" = set; then
8168 echo $ECHO_N "(cached) $ECHO_C" >&6
8169 else
8170 ac_cv_header_sane_sane_h=$ac_header_preproc
8172 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
8173 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
8176 if test $ac_cv_header_sane_sane_h = yes; then
8177 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
8178 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
8179 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
8180 echo $ECHO_N "(cached) $ECHO_C" >&6
8181 else
8182 ac_check_lib_save_LIBS=$LIBS
8183 LIBS="-lsane $LIBS"
8184 cat >conftest.$ac_ext <<_ACEOF
8185 #line $LINENO "configure"
8186 #include "confdefs.h"
8188 /* Override any gcc2 internal prototype to avoid an error. */
8189 #ifdef __cplusplus
8190 extern "C"
8191 #endif
8192 /* We use char because int might match the return type of a gcc2
8193 builtin and then its argument prototype would still apply. */
8194 char sane_open ();
8196 main ()
8198 sane_open ();
8200 return 0;
8202 _ACEOF
8203 rm -f conftest.$ac_objext conftest$ac_exeext
8204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8205 (eval $ac_link) 2>&5
8206 ac_status=$?
8207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8208 (exit $ac_status); } &&
8209 { ac_try='test -s conftest$ac_exeext'
8210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8211 (eval $ac_try) 2>&5
8212 ac_status=$?
8213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8214 (exit $ac_status); }; }; then
8215 ac_cv_lib_sane_sane_open=yes
8216 else
8217 echo "$as_me: failed program was:" >&5
8218 cat conftest.$ac_ext >&5
8219 ac_cv_lib_sane_sane_open=no
8221 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8222 LIBS=$ac_check_lib_save_LIBS
8224 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
8225 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
8226 if test $ac_cv_lib_sane_sane_open = yes; then
8228 cat >>confdefs.h <<\_ACEOF
8229 #define HAVE_SANE 1
8230 _ACEOF
8232 else
8233 SANELIBS=""
8234 SANEINCL=""
8237 else
8238 SANELIBS=""
8239 SANEINCL=""
8243 LIBS="$ac_save_LIBS"
8244 CPPFLAGS="$ac_save_CPPFLAGS"
8249 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
8250 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
8251 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
8252 echo $ECHO_N "(cached) $ECHO_C" >&6
8253 else
8254 ac_check_lib_save_LIBS=$LIBS
8255 LIBS="-lfreetype $X_LIBS $LIBS"
8256 cat >conftest.$ac_ext <<_ACEOF
8257 #line $LINENO "configure"
8258 #include "confdefs.h"
8260 /* Override any gcc2 internal prototype to avoid an error. */
8261 #ifdef __cplusplus
8262 extern "C"
8263 #endif
8264 /* We use char because int might match the return type of a gcc2
8265 builtin and then its argument prototype would still apply. */
8266 char FT_Init_FreeType ();
8268 main ()
8270 FT_Init_FreeType ();
8272 return 0;
8274 _ACEOF
8275 rm -f conftest.$ac_objext conftest$ac_exeext
8276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8277 (eval $ac_link) 2>&5
8278 ac_status=$?
8279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8280 (exit $ac_status); } &&
8281 { ac_try='test -s conftest$ac_exeext'
8282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8283 (eval $ac_try) 2>&5
8284 ac_status=$?
8285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8286 (exit $ac_status); }; }; then
8287 ac_cv_lib_freetype_FT_Init_FreeType=yes
8288 else
8289 echo "$as_me: failed program was:" >&5
8290 cat conftest.$ac_ext >&5
8291 ac_cv_lib_freetype_FT_Init_FreeType=no
8293 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8294 LIBS=$ac_check_lib_save_LIBS
8296 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
8297 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
8298 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
8299 ft_lib=yes
8300 else
8301 ft_lib=no
8304 if test "$ft_lib" = "no"
8305 then
8306 FREETYPEINCL=""
8307 wine_cv_msg_freetype=no
8308 else
8309 # Extract the first word of "freetype-config", so it can be a program name with args.
8310 set dummy freetype-config; ac_word=$2
8311 echo "$as_me:$LINENO: checking for $ac_word" >&5
8312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8313 if test "${ac_cv_prog_ft_devel+set}" = set; then
8314 echo $ECHO_N "(cached) $ECHO_C" >&6
8315 else
8316 if test -n "$ft_devel"; then
8317 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
8318 else
8319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8320 for as_dir in $PATH
8322 IFS=$as_save_IFS
8323 test -z "$as_dir" && as_dir=.
8324 for ac_exec_ext in '' $ac_executable_extensions; do
8325 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8326 ac_cv_prog_ft_devel="freetype-config"
8327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8328 break 2
8330 done
8331 done
8333 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
8336 ft_devel=$ac_cv_prog_ft_devel
8337 if test -n "$ft_devel"; then
8338 echo "$as_me:$LINENO: result: $ft_devel" >&5
8339 echo "${ECHO_T}$ft_devel" >&6
8340 else
8341 echo "$as_me:$LINENO: result: no" >&5
8342 echo "${ECHO_T}no" >&6
8345 if test "$ft_devel" = "no"
8346 then
8347 # Extract the first word of "freetype2-config", so it can be a program name with args.
8348 set dummy freetype2-config; ac_word=$2
8349 echo "$as_me:$LINENO: checking for $ac_word" >&5
8350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8351 if test "${ac_cv_prog_ft_devel2+set}" = set; then
8352 echo $ECHO_N "(cached) $ECHO_C" >&6
8353 else
8354 if test -n "$ft_devel2"; then
8355 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
8356 else
8357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8358 for as_dir in $PATH
8360 IFS=$as_save_IFS
8361 test -z "$as_dir" && as_dir=.
8362 for ac_exec_ext in '' $ac_executable_extensions; do
8363 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8364 ac_cv_prog_ft_devel2="freetype2-config"
8365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8366 break 2
8368 done
8369 done
8371 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
8374 ft_devel2=$ac_cv_prog_ft_devel2
8375 if test -n "$ft_devel2"; then
8376 echo "$as_me:$LINENO: result: $ft_devel2" >&5
8377 echo "${ECHO_T}$ft_devel2" >&6
8378 else
8379 echo "$as_me:$LINENO: result: no" >&5
8380 echo "${ECHO_T}no" >&6
8383 if test "$ft_devel2" = "freetype2-config"
8384 then
8385 ft_devel=$ft_devel2
8388 if test "$ft_devel" = "no"
8389 then
8390 FREETYPEINCL=""
8391 wine_cv_msg_freetype=yes
8392 else
8393 FREETYPEINCL=`$ft_devel --cflags`
8394 ac_save_CPPFLAGS="$CPPFLAGS"
8395 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
8404 for ac_header in freetype/freetype.h \
8405 freetype/ftglyph.h \
8406 freetype/tttables.h \
8407 freetype/ftnames.h \
8408 freetype/ftsnames.h \
8409 freetype/ttnameid.h \
8410 freetype/ftoutln.h \
8411 freetype/internal/sfnt.h
8413 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8414 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8415 echo "$as_me:$LINENO: checking for $ac_header" >&5
8416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8417 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8418 echo $ECHO_N "(cached) $ECHO_C" >&6
8420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8421 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8422 else
8423 # Is the header compilable?
8424 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8425 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8426 cat >conftest.$ac_ext <<_ACEOF
8427 #line $LINENO "configure"
8428 #include "confdefs.h"
8429 $ac_includes_default
8430 #include <$ac_header>
8431 _ACEOF
8432 rm -f conftest.$ac_objext
8433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8434 (eval $ac_compile) 2>&5
8435 ac_status=$?
8436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8437 (exit $ac_status); } &&
8438 { ac_try='test -s conftest.$ac_objext'
8439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8440 (eval $ac_try) 2>&5
8441 ac_status=$?
8442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8443 (exit $ac_status); }; }; then
8444 ac_header_compiler=yes
8445 else
8446 echo "$as_me: failed program was:" >&5
8447 cat conftest.$ac_ext >&5
8448 ac_header_compiler=no
8450 rm -f conftest.$ac_objext conftest.$ac_ext
8451 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8452 echo "${ECHO_T}$ac_header_compiler" >&6
8454 # Is the header present?
8455 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8456 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8457 cat >conftest.$ac_ext <<_ACEOF
8458 #line $LINENO "configure"
8459 #include "confdefs.h"
8460 #include <$ac_header>
8461 _ACEOF
8462 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8463 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8464 ac_status=$?
8465 grep -v '^ *+' conftest.er1 >conftest.err
8466 rm -f conftest.er1
8467 cat conftest.err >&5
8468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8469 (exit $ac_status); } >/dev/null; then
8470 if test -s conftest.err; then
8471 ac_cpp_err=$ac_c_preproc_warn_flag
8472 else
8473 ac_cpp_err=
8475 else
8476 ac_cpp_err=yes
8478 if test -z "$ac_cpp_err"; then
8479 ac_header_preproc=yes
8480 else
8481 echo "$as_me: failed program was:" >&5
8482 cat conftest.$ac_ext >&5
8483 ac_header_preproc=no
8485 rm -f conftest.err conftest.$ac_ext
8486 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8487 echo "${ECHO_T}$ac_header_preproc" >&6
8489 # So? What about this header?
8490 case $ac_header_compiler:$ac_header_preproc in
8491 yes:no )
8492 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8493 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8494 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8495 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8496 no:yes )
8497 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8498 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8499 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8500 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8501 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8502 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8503 esac
8504 echo "$as_me:$LINENO: checking for $ac_header" >&5
8505 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8506 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8507 echo $ECHO_N "(cached) $ECHO_C" >&6
8508 else
8509 eval "$as_ac_Header=$ac_header_preproc"
8511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8512 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8515 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8516 cat >>confdefs.h <<_ACEOF
8517 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8518 _ACEOF
8522 done
8524 cat >conftest.$ac_ext <<_ACEOF
8525 #line $LINENO "configure"
8526 #include "confdefs.h"
8527 #include <ft2build.h>
8528 #include <freetype/fttrigon.h>
8529 _ACEOF
8530 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8531 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8532 ac_status=$?
8533 grep -v '^ *+' conftest.er1 >conftest.err
8534 rm -f conftest.er1
8535 cat conftest.err >&5
8536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8537 (exit $ac_status); } >/dev/null; then
8538 if test -s conftest.err; then
8539 ac_cpp_err=$ac_c_preproc_warn_flag
8540 else
8541 ac_cpp_err=
8543 else
8544 ac_cpp_err=yes
8546 if test -z "$ac_cpp_err"; then
8548 cat >>confdefs.h <<\_ACEOF
8549 #define HAVE_FREETYPE_FTTRIGON_H 1
8550 _ACEOF
8552 wine_cv_fttrigon=yes
8553 else
8554 echo "$as_me: failed program was:" >&5
8555 cat conftest.$ac_ext >&5
8556 wine_cv_fttrigon=no
8558 rm -f conftest.err conftest.$ac_ext
8559 CPPFLAGS="$ac_save_CPPFLAGS"
8560 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
8561 then
8563 cat >>confdefs.h <<\_ACEOF
8564 #define HAVE_FREETYPE 1
8565 _ACEOF
8567 wine_cv_msg_freetype=no
8568 else
8569 FREETYPEINCL=""
8570 wine_cv_msg_freetype=yes
8576 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
8577 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
8578 if test "${ac_cv_c_ppdev+set}" = set; then
8579 echo $ECHO_N "(cached) $ECHO_C" >&6
8580 else
8581 cat >conftest.$ac_ext <<_ACEOF
8582 #line $LINENO "configure"
8583 #include "confdefs.h"
8584 #include <linux/ppdev.h>
8586 main ()
8588 ioctl (1,PPCLAIM,0)
8590 return 0;
8592 _ACEOF
8593 rm -f conftest.$ac_objext
8594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8595 (eval $ac_compile) 2>&5
8596 ac_status=$?
8597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8598 (exit $ac_status); } &&
8599 { ac_try='test -s conftest.$ac_objext'
8600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8601 (eval $ac_try) 2>&5
8602 ac_status=$?
8603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8604 (exit $ac_status); }; }; then
8605 ac_cv_c_ppdev="yes"
8606 else
8607 echo "$as_me: failed program was:" >&5
8608 cat conftest.$ac_ext >&5
8609 ac_cv_c_ppdev="no"
8611 rm -f conftest.$ac_objext conftest.$ac_ext
8614 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
8615 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
8616 if test "$ac_cv_c_ppdev" = "yes"
8617 then
8619 cat >>confdefs.h <<\_ACEOF
8620 #define HAVE_PPDEV 1
8621 _ACEOF
8625 echo "$as_me:$LINENO: checking for va_copy" >&5
8626 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
8627 if test "${ac_cv_c_va_copy+set}" = set; then
8628 echo $ECHO_N "(cached) $ECHO_C" >&6
8629 else
8630 cat >conftest.$ac_ext <<_ACEOF
8631 #line $LINENO "configure"
8632 #include "confdefs.h"
8633 #include <stdarg.h>
8635 main ()
8637 va_list ap1, ap2;
8638 va_copy(ap1,ap2);
8641 return 0;
8643 _ACEOF
8644 rm -f conftest.$ac_objext conftest$ac_exeext
8645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8646 (eval $ac_link) 2>&5
8647 ac_status=$?
8648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8649 (exit $ac_status); } &&
8650 { ac_try='test -s conftest$ac_exeext'
8651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8652 (eval $ac_try) 2>&5
8653 ac_status=$?
8654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8655 (exit $ac_status); }; }; then
8656 ac_cv_c_va_copy="yes"
8657 else
8658 echo "$as_me: failed program was:" >&5
8659 cat conftest.$ac_ext >&5
8660 ac_cv_c_va_copy="no"
8662 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8665 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
8666 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
8667 if test "$ac_cv_c_va_copy" = "yes"
8668 then
8670 cat >>confdefs.h <<\_ACEOF
8671 #define HAVE_VA_COPY 1
8672 _ACEOF
8675 echo "$as_me:$LINENO: checking for __va_copy" >&5
8676 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
8677 if test "${ac_cv_c___va_copy+set}" = set; then
8678 echo $ECHO_N "(cached) $ECHO_C" >&6
8679 else
8680 cat >conftest.$ac_ext <<_ACEOF
8681 #line $LINENO "configure"
8682 #include "confdefs.h"
8683 #include <stdarg.h>
8685 main ()
8687 va_list ap1, ap2;
8688 __va_copy(ap1,ap2);
8691 return 0;
8693 _ACEOF
8694 rm -f conftest.$ac_objext conftest$ac_exeext
8695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8696 (eval $ac_link) 2>&5
8697 ac_status=$?
8698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8699 (exit $ac_status); } &&
8700 { ac_try='test -s conftest$ac_exeext'
8701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8702 (eval $ac_try) 2>&5
8703 ac_status=$?
8704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8705 (exit $ac_status); }; }; then
8706 ac_cv_c___va_copy="yes"
8707 else
8708 echo "$as_me: failed program was:" >&5
8709 cat conftest.$ac_ext >&5
8710 ac_cv_c___va_copy="no"
8712 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8715 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
8716 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
8717 if test "$ac_cv_c___va_copy" = "yes"
8718 then
8720 cat >>confdefs.h <<\_ACEOF
8721 #define HAVE___VA_COPY 1
8722 _ACEOF
8726 echo "$as_me:$LINENO: checking for GNU style IPX support" >&5
8727 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
8728 if test "${ac_cv_c_ipx_gnu+set}" = set; then
8729 echo $ECHO_N "(cached) $ECHO_C" >&6
8730 else
8731 cat >conftest.$ac_ext <<_ACEOF
8732 #line $LINENO "configure"
8733 #include "confdefs.h"
8734 #include <sys/socket.h>
8735 #include <netipx/ipx.h>
8737 main ()
8739 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
8741 return 0;
8743 _ACEOF
8744 rm -f conftest.$ac_objext
8745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8746 (eval $ac_compile) 2>&5
8747 ac_status=$?
8748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8749 (exit $ac_status); } &&
8750 { ac_try='test -s conftest.$ac_objext'
8751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8752 (eval $ac_try) 2>&5
8753 ac_status=$?
8754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8755 (exit $ac_status); }; }; then
8756 ac_cv_c_ipx_gnu="yes"
8757 else
8758 echo "$as_me: failed program was:" >&5
8759 cat conftest.$ac_ext >&5
8760 ac_cv_c_ipx_gnu="no"
8762 rm -f conftest.$ac_objext conftest.$ac_ext
8765 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_gnu" >&5
8766 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
8767 if test "$ac_cv_c_ipx_gnu" = "yes"
8768 then
8770 cat >>confdefs.h <<\_ACEOF
8771 #define HAVE_IPX_GNU 1
8772 _ACEOF
8776 if test "$ac_cv_c_ipx_gnu" = "no"
8777 then
8778 echo "$as_me:$LINENO: checking for linux style IPX support" >&5
8779 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
8780 if test "${ac_cv_c_ipx_linux+set}" = set; then
8781 echo $ECHO_N "(cached) $ECHO_C" >&6
8782 else
8783 cat >conftest.$ac_ext <<_ACEOF
8784 #line $LINENO "configure"
8785 #include "confdefs.h"
8786 #include <sys/socket.h>
8787 #include <asm/types.h>
8788 #include <linux/ipx.h>
8790 main ()
8792 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
8794 return 0;
8796 _ACEOF
8797 rm -f conftest.$ac_objext
8798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8799 (eval $ac_compile) 2>&5
8800 ac_status=$?
8801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8802 (exit $ac_status); } &&
8803 { ac_try='test -s conftest.$ac_objext'
8804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8805 (eval $ac_try) 2>&5
8806 ac_status=$?
8807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8808 (exit $ac_status); }; }; then
8809 ac_cv_c_ipx_linux="yes"
8810 else
8811 echo "$as_me: failed program was:" >&5
8812 cat conftest.$ac_ext >&5
8813 ac_cv_c_ipx_linux="no"
8815 rm -f conftest.$ac_objext conftest.$ac_ext
8818 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_linux" >&5
8819 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
8820 if test "$ac_cv_c_ipx_linux" = "yes"
8821 then
8823 cat >>confdefs.h <<\_ACEOF
8824 #define HAVE_IPX_LINUX 1
8825 _ACEOF
8833 for ac_header in sys/soundcard.h machine/soundcard.h soundcard.h
8835 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8836 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8837 echo "$as_me:$LINENO: checking for $ac_header" >&5
8838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8839 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8840 echo $ECHO_N "(cached) $ECHO_C" >&6
8842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8843 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8844 else
8845 # Is the header compilable?
8846 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8847 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8848 cat >conftest.$ac_ext <<_ACEOF
8849 #line $LINENO "configure"
8850 #include "confdefs.h"
8851 $ac_includes_default
8852 #include <$ac_header>
8853 _ACEOF
8854 rm -f conftest.$ac_objext
8855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8856 (eval $ac_compile) 2>&5
8857 ac_status=$?
8858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8859 (exit $ac_status); } &&
8860 { ac_try='test -s conftest.$ac_objext'
8861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8862 (eval $ac_try) 2>&5
8863 ac_status=$?
8864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8865 (exit $ac_status); }; }; then
8866 ac_header_compiler=yes
8867 else
8868 echo "$as_me: failed program was:" >&5
8869 cat conftest.$ac_ext >&5
8870 ac_header_compiler=no
8872 rm -f conftest.$ac_objext conftest.$ac_ext
8873 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8874 echo "${ECHO_T}$ac_header_compiler" >&6
8876 # Is the header present?
8877 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8878 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8879 cat >conftest.$ac_ext <<_ACEOF
8880 #line $LINENO "configure"
8881 #include "confdefs.h"
8882 #include <$ac_header>
8883 _ACEOF
8884 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8885 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8886 ac_status=$?
8887 grep -v '^ *+' conftest.er1 >conftest.err
8888 rm -f conftest.er1
8889 cat conftest.err >&5
8890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8891 (exit $ac_status); } >/dev/null; then
8892 if test -s conftest.err; then
8893 ac_cpp_err=$ac_c_preproc_warn_flag
8894 else
8895 ac_cpp_err=
8897 else
8898 ac_cpp_err=yes
8900 if test -z "$ac_cpp_err"; then
8901 ac_header_preproc=yes
8902 else
8903 echo "$as_me: failed program was:" >&5
8904 cat conftest.$ac_ext >&5
8905 ac_header_preproc=no
8907 rm -f conftest.err conftest.$ac_ext
8908 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8909 echo "${ECHO_T}$ac_header_preproc" >&6
8911 # So? What about this header?
8912 case $ac_header_compiler:$ac_header_preproc in
8913 yes:no )
8914 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8915 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8916 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8917 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8918 no:yes )
8919 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8920 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8921 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8922 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8923 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8924 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8925 esac
8926 echo "$as_me:$LINENO: checking for $ac_header" >&5
8927 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8928 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8929 echo $ECHO_N "(cached) $ECHO_C" >&6
8930 else
8931 eval "$as_ac_Header=$ac_header_preproc"
8933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8934 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8937 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8938 cat >>confdefs.h <<_ACEOF
8939 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8940 _ACEOF
8941 break
8944 done
8947 echo "$as_me:$LINENO: checking for Open Sound System" >&5
8948 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
8949 if test "${ac_cv_c_opensoundsystem+set}" = set; then
8950 echo $ECHO_N "(cached) $ECHO_C" >&6
8951 else
8952 cat >conftest.$ac_ext <<_ACEOF
8953 #line $LINENO "configure"
8954 #include "confdefs.h"
8956 #if defined(HAVE_SYS_SOUNDCARD_H)
8957 #include <sys/soundcard.h>
8958 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
8959 #include <machine/soundcard.h>
8960 #elif defined(HAVE_SOUNDCARD_H)
8961 #include <soundcard.h>
8962 #endif
8965 main ()
8969 /* check for one of the Open Sound System specific SNDCTL_ defines */
8970 #if !defined(SNDCTL_DSP_STEREO)
8971 #error No open sound system
8972 #endif
8975 return 0;
8977 _ACEOF
8978 rm -f conftest.$ac_objext
8979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8980 (eval $ac_compile) 2>&5
8981 ac_status=$?
8982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8983 (exit $ac_status); } &&
8984 { ac_try='test -s conftest.$ac_objext'
8985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8986 (eval $ac_try) 2>&5
8987 ac_status=$?
8988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8989 (exit $ac_status); }; }; then
8990 ac_cv_c_opensoundsystem="yes"
8991 else
8992 echo "$as_me: failed program was:" >&5
8993 cat conftest.$ac_ext >&5
8994 ac_cv_c_opensoundsystem="no"
8996 rm -f conftest.$ac_objext conftest.$ac_ext
8998 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
8999 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
9001 if test "$ac_cv_c_opensoundsystem" = "yes"
9002 then
9004 cat >>confdefs.h <<\_ACEOF
9005 #define HAVE_OSS 1
9006 _ACEOF
9010 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
9011 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
9012 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
9013 echo $ECHO_N "(cached) $ECHO_C" >&6
9014 else
9015 cat >conftest.$ac_ext <<_ACEOF
9016 #line $LINENO "configure"
9017 #include "confdefs.h"
9019 #if defined(HAVE_SYS_SOUNDCARD_H)
9020 #include <sys/soundcard.h>
9021 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
9022 #include <machine/soundcard.h>
9023 #elif defined(HAVE_SOUNDCARD_H)
9024 #include <soundcard.h>
9025 #endif
9028 main ()
9032 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
9033 #if !defined(SNDCTL_SEQ_SYNC)
9034 #error No open sound system MIDI interface
9035 #endif
9038 return 0;
9040 _ACEOF
9041 rm -f conftest.$ac_objext
9042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9043 (eval $ac_compile) 2>&5
9044 ac_status=$?
9045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9046 (exit $ac_status); } &&
9047 { ac_try='test -s conftest.$ac_objext'
9048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9049 (eval $ac_try) 2>&5
9050 ac_status=$?
9051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9052 (exit $ac_status); }; }; then
9053 ac_cv_c_opensoundsystem_midi="yes"
9054 else
9055 echo "$as_me: failed program was:" >&5
9056 cat conftest.$ac_ext >&5
9057 ac_cv_c_opensoundsystem_midi="no"
9059 rm -f conftest.$ac_objext conftest.$ac_ext
9061 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
9062 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
9064 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
9065 then
9067 cat >>confdefs.h <<\_ACEOF
9068 #define HAVE_OSS_MIDI 1
9069 _ACEOF
9073 # Extract the first word of "artsc-config", so it can be a program name with args.
9074 set dummy artsc-config; ac_word=$2
9075 echo "$as_me:$LINENO: checking for $ac_word" >&5
9076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9077 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
9078 echo $ECHO_N "(cached) $ECHO_C" >&6
9079 else
9080 case $ARTSCCONFIG in
9081 [\\/]* | ?:[\\/]*)
9082 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
9085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9086 for as_dir in $PATH
9088 IFS=$as_save_IFS
9089 test -z "$as_dir" && as_dir=.
9090 for ac_exec_ext in '' $ac_executable_extensions; do
9091 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9092 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
9093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9094 break 2
9096 done
9097 done
9100 esac
9102 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
9104 if test -n "$ARTSCCONFIG"; then
9105 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
9106 echo "${ECHO_T}$ARTSCCONFIG" >&6
9107 else
9108 echo "$as_me:$LINENO: result: no" >&5
9109 echo "${ECHO_T}no" >&6
9112 echo "$as_me:$LINENO: checking for aRts Sound server" >&5
9113 echo $ECHO_N "checking for aRts Sound server... $ECHO_C" >&6
9114 if test "${ac_cv_c_artsserver+set}" = set; then
9115 echo $ECHO_N "(cached) $ECHO_C" >&6
9116 else
9117 if test x$ARTSCCONFIG = x -o x$ARTSCCONFIG = x'"$ARTSCCONFIG"';
9118 then
9119 ac_cv_c_artsserver=no
9120 else
9121 ARTSC_CFLAGS=`$ARTSCCONFIG --cflags`
9122 ARTSC_LIBS=`$ARTSCCONFIG --libs`
9123 ac_cv_c_artsserver=no
9124 save_CFLAGS="$CFLAGS"
9125 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
9126 cat >conftest.$ac_ext <<_ACEOF
9127 #line $LINENO "configure"
9128 #include "confdefs.h"
9130 #include <artsc.h>
9133 main ()
9136 arts_stream_t stream;
9139 return 0;
9141 _ACEOF
9142 rm -f conftest.$ac_objext
9143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9144 (eval $ac_compile) 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
9155 ac_cv_c_artsserver=yes
9157 else
9158 echo "$as_me: failed program was:" >&5
9159 cat conftest.$ac_ext >&5
9161 rm -f conftest.$ac_objext conftest.$ac_ext
9162 CFLAGS="$save_CFLAGS"
9165 echo "$as_me:$LINENO: result: $ac_cv_c_artsserver" >&5
9166 echo "${ECHO_T}$ac_cv_c_artsserver" >&6
9168 if test "$ac_cv_c_artsserver" = "yes"
9169 then
9170 ARTSLIBS=$ARTSC_LIBS
9172 ARTSINCL=$ARTSC_CFLAGS
9176 cat >>confdefs.h <<\_ACEOF
9177 #define HAVE_ARTS 1
9178 _ACEOF
9182 ALSALIBS=""
9186 for ac_header in alsa/asoundlib.h sys/asoundlib.h
9188 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9189 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9190 echo "$as_me:$LINENO: checking for $ac_header" >&5
9191 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9192 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9193 echo $ECHO_N "(cached) $ECHO_C" >&6
9195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9196 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9197 else
9198 # Is the header compilable?
9199 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9200 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9201 cat >conftest.$ac_ext <<_ACEOF
9202 #line $LINENO "configure"
9203 #include "confdefs.h"
9204 $ac_includes_default
9205 #include <$ac_header>
9206 _ACEOF
9207 rm -f conftest.$ac_objext
9208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9209 (eval $ac_compile) 2>&5
9210 ac_status=$?
9211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9212 (exit $ac_status); } &&
9213 { ac_try='test -s conftest.$ac_objext'
9214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9215 (eval $ac_try) 2>&5
9216 ac_status=$?
9217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9218 (exit $ac_status); }; }; then
9219 ac_header_compiler=yes
9220 else
9221 echo "$as_me: failed program was:" >&5
9222 cat conftest.$ac_ext >&5
9223 ac_header_compiler=no
9225 rm -f conftest.$ac_objext conftest.$ac_ext
9226 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9227 echo "${ECHO_T}$ac_header_compiler" >&6
9229 # Is the header present?
9230 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9231 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9232 cat >conftest.$ac_ext <<_ACEOF
9233 #line $LINENO "configure"
9234 #include "confdefs.h"
9235 #include <$ac_header>
9236 _ACEOF
9237 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9238 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9239 ac_status=$?
9240 grep -v '^ *+' conftest.er1 >conftest.err
9241 rm -f conftest.er1
9242 cat conftest.err >&5
9243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9244 (exit $ac_status); } >/dev/null; then
9245 if test -s conftest.err; then
9246 ac_cpp_err=$ac_c_preproc_warn_flag
9247 else
9248 ac_cpp_err=
9250 else
9251 ac_cpp_err=yes
9253 if test -z "$ac_cpp_err"; then
9254 ac_header_preproc=yes
9255 else
9256 echo "$as_me: failed program was:" >&5
9257 cat conftest.$ac_ext >&5
9258 ac_header_preproc=no
9260 rm -f conftest.err conftest.$ac_ext
9261 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9262 echo "${ECHO_T}$ac_header_preproc" >&6
9264 # So? What about this header?
9265 case $ac_header_compiler:$ac_header_preproc in
9266 yes:no )
9267 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9268 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9269 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9270 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9271 no:yes )
9272 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9273 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9274 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9275 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9276 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9277 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9278 esac
9279 echo "$as_me:$LINENO: checking for $ac_header" >&5
9280 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9281 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9282 echo $ECHO_N "(cached) $ECHO_C" >&6
9283 else
9284 eval "$as_ac_Header=$ac_header_preproc"
9286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9287 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9290 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9291 cat >>confdefs.h <<_ACEOF
9292 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9293 _ACEOF
9294 break
9297 done
9299 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
9300 then
9301 echo "$as_me:$LINENO: checking for snd_pcm_open in -lasound" >&5
9302 echo $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6
9303 if test "${ac_cv_lib_asound_snd_pcm_open+set}" = set; then
9304 echo $ECHO_N "(cached) $ECHO_C" >&6
9305 else
9306 ac_check_lib_save_LIBS=$LIBS
9307 LIBS="-lasound $LIBS"
9308 cat >conftest.$ac_ext <<_ACEOF
9309 #line $LINENO "configure"
9310 #include "confdefs.h"
9312 /* Override any gcc2 internal prototype to avoid an error. */
9313 #ifdef __cplusplus
9314 extern "C"
9315 #endif
9316 /* We use char because int might match the return type of a gcc2
9317 builtin and then its argument prototype would still apply. */
9318 char snd_pcm_open ();
9320 main ()
9322 snd_pcm_open ();
9324 return 0;
9326 _ACEOF
9327 rm -f conftest.$ac_objext conftest$ac_exeext
9328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9329 (eval $ac_link) 2>&5
9330 ac_status=$?
9331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9332 (exit $ac_status); } &&
9333 { ac_try='test -s conftest$ac_exeext'
9334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9335 (eval $ac_try) 2>&5
9336 ac_status=$?
9337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9338 (exit $ac_status); }; }; then
9339 ac_cv_lib_asound_snd_pcm_open=yes
9340 else
9341 echo "$as_me: failed program was:" >&5
9342 cat conftest.$ac_ext >&5
9343 ac_cv_lib_asound_snd_pcm_open=no
9345 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9346 LIBS=$ac_check_lib_save_LIBS
9348 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5
9349 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6
9350 if test $ac_cv_lib_asound_snd_pcm_open = yes; then
9352 cat >>confdefs.h <<\_ACEOF
9353 #define HAVE_ALSA 1
9354 _ACEOF
9356 ALSALIBS="-lasound"
9362 AUDIOIOLIBS=""
9365 for ac_header in libaudioio.h
9367 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9368 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9369 echo "$as_me:$LINENO: checking for $ac_header" >&5
9370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9372 echo $ECHO_N "(cached) $ECHO_C" >&6
9374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9375 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9376 else
9377 # Is the header compilable?
9378 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9379 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9380 cat >conftest.$ac_ext <<_ACEOF
9381 #line $LINENO "configure"
9382 #include "confdefs.h"
9383 $ac_includes_default
9384 #include <$ac_header>
9385 _ACEOF
9386 rm -f conftest.$ac_objext
9387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9388 (eval $ac_compile) 2>&5
9389 ac_status=$?
9390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9391 (exit $ac_status); } &&
9392 { ac_try='test -s conftest.$ac_objext'
9393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9394 (eval $ac_try) 2>&5
9395 ac_status=$?
9396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9397 (exit $ac_status); }; }; then
9398 ac_header_compiler=yes
9399 else
9400 echo "$as_me: failed program was:" >&5
9401 cat conftest.$ac_ext >&5
9402 ac_header_compiler=no
9404 rm -f conftest.$ac_objext conftest.$ac_ext
9405 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9406 echo "${ECHO_T}$ac_header_compiler" >&6
9408 # Is the header present?
9409 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9410 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9411 cat >conftest.$ac_ext <<_ACEOF
9412 #line $LINENO "configure"
9413 #include "confdefs.h"
9414 #include <$ac_header>
9415 _ACEOF
9416 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9417 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9418 ac_status=$?
9419 grep -v '^ *+' conftest.er1 >conftest.err
9420 rm -f conftest.er1
9421 cat conftest.err >&5
9422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9423 (exit $ac_status); } >/dev/null; then
9424 if test -s conftest.err; then
9425 ac_cpp_err=$ac_c_preproc_warn_flag
9426 else
9427 ac_cpp_err=
9429 else
9430 ac_cpp_err=yes
9432 if test -z "$ac_cpp_err"; then
9433 ac_header_preproc=yes
9434 else
9435 echo "$as_me: failed program was:" >&5
9436 cat conftest.$ac_ext >&5
9437 ac_header_preproc=no
9439 rm -f conftest.err conftest.$ac_ext
9440 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9441 echo "${ECHO_T}$ac_header_preproc" >&6
9443 # So? What about this header?
9444 case $ac_header_compiler:$ac_header_preproc in
9445 yes:no )
9446 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9447 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9448 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9449 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9450 no:yes )
9451 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9452 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9453 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9454 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9455 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9456 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9457 esac
9458 echo "$as_me:$LINENO: checking for $ac_header" >&5
9459 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9460 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9461 echo $ECHO_N "(cached) $ECHO_C" >&6
9462 else
9463 eval "$as_ac_Header=$ac_header_preproc"
9465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9466 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9469 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9470 cat >>confdefs.h <<_ACEOF
9471 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9472 _ACEOF
9473 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
9474 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
9475 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
9476 echo $ECHO_N "(cached) $ECHO_C" >&6
9477 else
9478 ac_check_lib_save_LIBS=$LIBS
9479 LIBS="-laudioio $LIBS"
9480 cat >conftest.$ac_ext <<_ACEOF
9481 #line $LINENO "configure"
9482 #include "confdefs.h"
9484 /* Override any gcc2 internal prototype to avoid an error. */
9485 #ifdef __cplusplus
9486 extern "C"
9487 #endif
9488 /* We use char because int might match the return type of a gcc2
9489 builtin and then its argument prototype would still apply. */
9490 char AudioIOGetVersion ();
9492 main ()
9494 AudioIOGetVersion ();
9496 return 0;
9498 _ACEOF
9499 rm -f conftest.$ac_objext conftest$ac_exeext
9500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9501 (eval $ac_link) 2>&5
9502 ac_status=$?
9503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9504 (exit $ac_status); } &&
9505 { ac_try='test -s conftest$ac_exeext'
9506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9507 (eval $ac_try) 2>&5
9508 ac_status=$?
9509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9510 (exit $ac_status); }; }; then
9511 ac_cv_lib_audioio_AudioIOGetVersion=yes
9512 else
9513 echo "$as_me: failed program was:" >&5
9514 cat conftest.$ac_ext >&5
9515 ac_cv_lib_audioio_AudioIOGetVersion=no
9517 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9518 LIBS=$ac_check_lib_save_LIBS
9520 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
9521 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
9522 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
9523 AUDIOIOLIBS="-laudioio"
9525 cat >>confdefs.h <<\_ACEOF
9526 #define HAVE_LIBAUDIOIO 1
9527 _ACEOF
9533 done
9537 echo "$as_me:$LINENO: checking whether mmap64 works defined as mmap" >&5
9538 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
9539 if test "${ac_cv_mmap64_works+set}" = set; then
9540 echo $ECHO_N "(cached) $ECHO_C" >&6
9541 else
9542 if test "$cross_compiling" = yes; then
9543 ac_cv_mmap64_works="no"
9544 else
9545 cat >conftest.$ac_ext <<_ACEOF
9546 #line $LINENO "configure"
9547 #include "confdefs.h"
9549 #define _FILE_OFFSET_BITS 64
9550 #include <stdio.h>
9551 #include <unistd.h>
9552 #include <fcntl.h>
9553 #include <sys/mman.h>
9554 #include <errno.h>
9556 int main(int argc,char **argv) {
9557 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
9558 if (fd == -1) exit(1);
9560 unlink("conftest.map");
9562 write(fd,"test",4);
9564 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
9565 (errno == EINVAL)
9567 exit(1);
9569 close(fd);
9570 fprintf(stderr,"success!\n");
9571 exit(0);
9575 _ACEOF
9576 rm -f conftest$ac_exeext
9577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9578 (eval $ac_link) 2>&5
9579 ac_status=$?
9580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9581 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9583 (eval $ac_try) 2>&5
9584 ac_status=$?
9585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9586 (exit $ac_status); }; }; then
9587 ac_cv_mmap64_works="yes"
9588 else
9589 echo "$as_me: program exited with status $ac_status" >&5
9590 echo "$as_me: failed program was:" >&5
9591 cat conftest.$ac_ext >&5
9592 ( exit $ac_status )
9593 ac_cv_mmap64_works="no"
9595 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9598 echo "$as_me:$LINENO: result: $ac_cv_mmap64_works" >&5
9599 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
9601 if test "$ac_cv_mmap64_works" = "yes"
9602 then
9604 cat >>confdefs.h <<\_ACEOF
9605 #define _FILE_OFFSET_BITS 64
9606 _ACEOF
9611 if test "x${GCC}" = "xyes"
9612 then
9613 CFLAGS="$CFLAGS -Wall"
9614 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
9615 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
9616 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
9617 echo $ECHO_N "(cached) $ECHO_C" >&6
9618 else
9619 if test "$cross_compiling" = yes; then
9620 ac_cv_c_gcc_strength_bug="yes"
9621 else
9622 cat >conftest.$ac_ext <<_ACEOF
9623 #line $LINENO "configure"
9624 #include "confdefs.h"
9626 int L[4] = {0,1,2,3};
9627 int main(void) {
9628 static int Array[3];
9629 unsigned int B = 3;
9630 int i;
9631 for(i=0; i<B; i++) Array[i] = i - 3;
9632 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
9633 L[i] = 4;
9635 exit( Array[1] != -2 || L[2] != 3);
9637 _ACEOF
9638 rm -f conftest$ac_exeext
9639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9640 (eval $ac_link) 2>&5
9641 ac_status=$?
9642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9643 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9645 (eval $ac_try) 2>&5
9646 ac_status=$?
9647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9648 (exit $ac_status); }; }; then
9649 ac_cv_c_gcc_strength_bug="no"
9650 else
9651 echo "$as_me: program exited with status $ac_status" >&5
9652 echo "$as_me: failed program was:" >&5
9653 cat conftest.$ac_ext >&5
9654 ( exit $ac_status )
9655 ac_cv_c_gcc_strength_bug="yes"
9657 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9660 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
9661 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
9662 if test "$ac_cv_c_gcc_strength_bug" = "yes"
9663 then
9664 CFLAGS="$CFLAGS -fno-strength-reduce"
9667 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
9668 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
9669 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
9670 echo $ECHO_N "(cached) $ECHO_C" >&6
9671 else
9672 ac_wine_try_cflags_saved=$CFLAGS
9673 CFLAGS="$CFLAGS -mpreferred-stack-boundary=2"
9674 cat >conftest.$ac_ext <<_ACEOF
9675 #line $LINENO "configure"
9676 #include "confdefs.h"
9679 main ()
9683 return 0;
9685 _ACEOF
9686 rm -f conftest.$ac_objext conftest$ac_exeext
9687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9688 (eval $ac_link) 2>&5
9689 ac_status=$?
9690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9691 (exit $ac_status); } &&
9692 { ac_try='test -s conftest$ac_exeext'
9693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9694 (eval $ac_try) 2>&5
9695 ac_status=$?
9696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9697 (exit $ac_status); }; }; then
9698 ac_cv_c_gcc_stack_boundary="yes"
9699 else
9700 echo "$as_me: failed program was:" >&5
9701 cat conftest.$ac_ext >&5
9702 ac_cv_c_gcc_stack_boundary="no"
9704 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9705 CFLAGS=$ac_wine_try_cflags_saved
9707 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
9708 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
9709 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
9710 then
9711 CFLAGS="$CFLAGS -mpreferred-stack-boundary=2"
9716 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
9717 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
9718 if test "${ac_cv_asm_func_def+set}" = set; then
9719 echo $ECHO_N "(cached) $ECHO_C" >&6
9720 else
9721 cat >conftest.$ac_ext <<_ACEOF
9722 #line $LINENO "configure"
9723 #include "confdefs.h"
9724 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"); }
9727 main ()
9731 return 0;
9733 _ACEOF
9734 rm -f conftest.$ac_objext conftest$ac_exeext
9735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9736 (eval $ac_link) 2>&5
9737 ac_status=$?
9738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9739 (exit $ac_status); } &&
9740 { ac_try='test -s conftest$ac_exeext'
9741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9742 (eval $ac_try) 2>&5
9743 ac_status=$?
9744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9745 (exit $ac_status); }; }; then
9746 ac_cv_asm_func_def=".def"
9747 else
9748 echo "$as_me: failed program was:" >&5
9749 cat conftest.$ac_ext >&5
9750 cat >conftest.$ac_ext <<_ACEOF
9751 #line $LINENO "configure"
9752 #include "confdefs.h"
9753 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
9756 main ()
9760 return 0;
9762 _ACEOF
9763 rm -f conftest.$ac_objext conftest$ac_exeext
9764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9765 (eval $ac_link) 2>&5
9766 ac_status=$?
9767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9768 (exit $ac_status); } &&
9769 { ac_try='test -s conftest$ac_exeext'
9770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9771 (eval $ac_try) 2>&5
9772 ac_status=$?
9773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9774 (exit $ac_status); }; }; then
9775 ac_cv_asm_func_def=".type @function"
9776 else
9777 echo "$as_me: failed program was:" >&5
9778 cat conftest.$ac_ext >&5
9779 cat >conftest.$ac_ext <<_ACEOF
9780 #line $LINENO "configure"
9781 #include "confdefs.h"
9782 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
9785 main ()
9789 return 0;
9791 _ACEOF
9792 rm -f conftest.$ac_objext conftest$ac_exeext
9793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9794 (eval $ac_link) 2>&5
9795 ac_status=$?
9796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9797 (exit $ac_status); } &&
9798 { ac_try='test -s conftest$ac_exeext'
9799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9800 (eval $ac_try) 2>&5
9801 ac_status=$?
9802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9803 (exit $ac_status); }; }; then
9804 ac_cv_asm_func_def=".type 2"
9805 else
9806 echo "$as_me: failed program was:" >&5
9807 cat conftest.$ac_ext >&5
9808 ac_cv_asm_func_def="unknown"
9810 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9812 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9814 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9816 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
9817 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
9821 case "$ac_cv_asm_func_def" in
9822 ".def")
9823 cat >>confdefs.h <<\_ACEOF
9824 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
9825 _ACEOF
9827 ".type @function")
9828 cat >>confdefs.h <<\_ACEOF
9829 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
9830 _ACEOF
9832 ".type 2")
9833 cat >>confdefs.h <<\_ACEOF
9834 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
9835 _ACEOF
9838 cat >>confdefs.h <<\_ACEOF
9839 #define __ASM_FUNC(name) ""
9840 _ACEOF
9842 esac
9845 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
9846 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
9847 if test "${ac_cv_c_extern_prefix+set}" = set; then
9848 echo $ECHO_N "(cached) $ECHO_C" >&6
9849 else
9850 cat >conftest.$ac_ext <<_ACEOF
9851 #line $LINENO "configure"
9852 #include "confdefs.h"
9853 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
9854 extern int ac_test;
9856 main ()
9858 if (ac_test) return 1
9860 return 0;
9862 _ACEOF
9863 rm -f conftest.$ac_objext conftest$ac_exeext
9864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9865 (eval $ac_link) 2>&5
9866 ac_status=$?
9867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9868 (exit $ac_status); } &&
9869 { ac_try='test -s conftest$ac_exeext'
9870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9871 (eval $ac_try) 2>&5
9872 ac_status=$?
9873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9874 (exit $ac_status); }; }; then
9875 ac_cv_c_extern_prefix="yes"
9876 else
9877 echo "$as_me: failed program was:" >&5
9878 cat conftest.$ac_ext >&5
9879 ac_cv_c_extern_prefix="no"
9881 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9883 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
9884 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
9888 if test "$ac_cv_c_extern_prefix" = "yes"
9889 then
9890 cat >>confdefs.h <<\_ACEOF
9891 #define __ASM_NAME(name) "_" name
9892 _ACEOF
9894 else
9895 cat >>confdefs.h <<\_ACEOF
9896 #define __ASM_NAME(name) name
9897 _ACEOF
9902 echo "$as_me:$LINENO: checking whether stdcall symbols need to be decorated" >&5
9903 echo $ECHO_N "checking whether stdcall symbols need to be decorated... $ECHO_C" >&6
9904 if test "${ac_cv_c_stdcall_decoration+set}" = set; then
9905 echo $ECHO_N "(cached) $ECHO_C" >&6
9906 else
9907 cat >conftest.$ac_ext <<_ACEOF
9908 #line $LINENO "configure"
9909 #include "confdefs.h"
9910 void ac_asm(void) { asm("\t.globl _ac_test@0\n_ac_test@0:\n\t.globl ac_test@0\nac_test@0:"); }
9911 extern void __attribute__((__stdcall__)) ac_test(void);
9913 main ()
9915 ac_test()
9917 return 0;
9919 _ACEOF
9920 rm -f conftest.$ac_objext conftest$ac_exeext
9921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9922 (eval $ac_link) 2>&5
9923 ac_status=$?
9924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9925 (exit $ac_status); } &&
9926 { ac_try='test -s conftest$ac_exeext'
9927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9928 (eval $ac_try) 2>&5
9929 ac_status=$?
9930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9931 (exit $ac_status); }; }; then
9932 ac_cv_c_stdcall_decoration="yes"
9933 else
9934 echo "$as_me: failed program was:" >&5
9935 cat conftest.$ac_ext >&5
9936 ac_cv_c_stdcall_decoration="no"
9938 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9940 echo "$as_me:$LINENO: result: $ac_cv_c_stdcall_decoration" >&5
9941 echo "${ECHO_T}$ac_cv_c_stdcall_decoration" >&6
9942 if test "$ac_cv_c_stdcall_decoration" = "yes"
9943 then
9945 cat >>confdefs.h <<\_ACEOF
9946 #define NEED_STDCALL_DECORATION 1
9947 _ACEOF
9952 echo "$as_me:$LINENO: checking whether assembler accepts .string" >&5
9953 echo $ECHO_N "checking whether assembler accepts .string... $ECHO_C" >&6
9954 if test "${ac_cv_c_asm_string+set}" = set; then
9955 echo $ECHO_N "(cached) $ECHO_C" >&6
9956 else
9957 cat >conftest.$ac_ext <<_ACEOF
9958 #line $LINENO "configure"
9959 #include "confdefs.h"
9960 void ac_asm(void) { asm(".data\n\t.string \"test\"\n\t.text"); }
9963 main ()
9967 return 0;
9969 _ACEOF
9970 rm -f conftest.$ac_objext conftest$ac_exeext
9971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9972 (eval $ac_link) 2>&5
9973 ac_status=$?
9974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9975 (exit $ac_status); } &&
9976 { ac_try='test -s conftest$ac_exeext'
9977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9978 (eval $ac_try) 2>&5
9979 ac_status=$?
9980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9981 (exit $ac_status); }; }; then
9982 ac_cv_c_asm_string="yes"
9983 else
9984 echo "$as_me: failed program was:" >&5
9985 cat conftest.$ac_ext >&5
9986 ac_cv_c_asm_string="no"
9988 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9990 echo "$as_me:$LINENO: result: $ac_cv_c_asm_string" >&5
9991 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
9992 if test "$ac_cv_c_asm_string" = "yes"
9993 then
9995 cat >>confdefs.h <<\_ACEOF
9996 #define HAVE_ASM_STRING 1
9997 _ACEOF
10002 DLLEXT=""
10004 DLLFLAGS=""
10006 DLLIBS=""
10008 LDDLLFLAGS=""
10010 LDSHARED=""
10013 case $host_os in
10014 cygwin*|mingw32*)
10015 if test -n "$ac_tool_prefix"; then
10016 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
10017 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
10018 echo "$as_me:$LINENO: checking for $ac_word" >&5
10019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10020 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
10021 echo $ECHO_N "(cached) $ECHO_C" >&6
10022 else
10023 if test -n "$DLLWRAP"; then
10024 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
10025 else
10026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10027 for as_dir in $PATH
10029 IFS=$as_save_IFS
10030 test -z "$as_dir" && as_dir=.
10031 for ac_exec_ext in '' $ac_executable_extensions; do
10032 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10033 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
10034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10035 break 2
10037 done
10038 done
10042 DLLWRAP=$ac_cv_prog_DLLWRAP
10043 if test -n "$DLLWRAP"; then
10044 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
10045 echo "${ECHO_T}$DLLWRAP" >&6
10046 else
10047 echo "$as_me:$LINENO: result: no" >&5
10048 echo "${ECHO_T}no" >&6
10052 if test -z "$ac_cv_prog_DLLWRAP"; then
10053 ac_ct_DLLWRAP=$DLLWRAP
10054 # Extract the first word of "dllwrap", so it can be a program name with args.
10055 set dummy dllwrap; ac_word=$2
10056 echo "$as_me:$LINENO: checking for $ac_word" >&5
10057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10058 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
10059 echo $ECHO_N "(cached) $ECHO_C" >&6
10060 else
10061 if test -n "$ac_ct_DLLWRAP"; then
10062 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
10063 else
10064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10065 for as_dir in $PATH
10067 IFS=$as_save_IFS
10068 test -z "$as_dir" && as_dir=.
10069 for ac_exec_ext in '' $ac_executable_extensions; do
10070 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10071 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
10072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10073 break 2
10075 done
10076 done
10078 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP="false"
10081 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
10082 if test -n "$ac_ct_DLLWRAP"; then
10083 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
10084 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
10085 else
10086 echo "$as_me:$LINENO: result: no" >&5
10087 echo "${ECHO_T}no" >&6
10090 DLLWRAP=$ac_ct_DLLWRAP
10091 else
10092 DLLWRAP="$ac_cv_prog_DLLWRAP"
10095 if test "$DLLWRAP" = "false"; then
10096 LIBEXT="a"
10097 else
10098 LIBEXT="dll"
10103 for ac_header in dlfcn.h
10105 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10106 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10107 echo "$as_me:$LINENO: checking for $ac_header" >&5
10108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10109 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10110 echo $ECHO_N "(cached) $ECHO_C" >&6
10112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10113 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10114 else
10115 # Is the header compilable?
10116 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10117 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10118 cat >conftest.$ac_ext <<_ACEOF
10119 #line $LINENO "configure"
10120 #include "confdefs.h"
10121 $ac_includes_default
10122 #include <$ac_header>
10123 _ACEOF
10124 rm -f conftest.$ac_objext
10125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10126 (eval $ac_compile) 2>&5
10127 ac_status=$?
10128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10129 (exit $ac_status); } &&
10130 { ac_try='test -s conftest.$ac_objext'
10131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10132 (eval $ac_try) 2>&5
10133 ac_status=$?
10134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10135 (exit $ac_status); }; }; then
10136 ac_header_compiler=yes
10137 else
10138 echo "$as_me: failed program was:" >&5
10139 cat conftest.$ac_ext >&5
10140 ac_header_compiler=no
10142 rm -f conftest.$ac_objext conftest.$ac_ext
10143 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10144 echo "${ECHO_T}$ac_header_compiler" >&6
10146 # Is the header present?
10147 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10148 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10149 cat >conftest.$ac_ext <<_ACEOF
10150 #line $LINENO "configure"
10151 #include "confdefs.h"
10152 #include <$ac_header>
10153 _ACEOF
10154 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10155 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10156 ac_status=$?
10157 grep -v '^ *+' conftest.er1 >conftest.err
10158 rm -f conftest.er1
10159 cat conftest.err >&5
10160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10161 (exit $ac_status); } >/dev/null; then
10162 if test -s conftest.err; then
10163 ac_cpp_err=$ac_c_preproc_warn_flag
10164 else
10165 ac_cpp_err=
10167 else
10168 ac_cpp_err=yes
10170 if test -z "$ac_cpp_err"; then
10171 ac_header_preproc=yes
10172 else
10173 echo "$as_me: failed program was:" >&5
10174 cat conftest.$ac_ext >&5
10175 ac_header_preproc=no
10177 rm -f conftest.err conftest.$ac_ext
10178 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10179 echo "${ECHO_T}$ac_header_preproc" >&6
10181 # So? What about this header?
10182 case $ac_header_compiler:$ac_header_preproc in
10183 yes:no )
10184 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10185 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10186 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10187 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10188 no:yes )
10189 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10190 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10191 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10192 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10193 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10194 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10195 esac
10196 echo "$as_me:$LINENO: checking for $ac_header" >&5
10197 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10198 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10199 echo $ECHO_N "(cached) $ECHO_C" >&6
10200 else
10201 eval "$as_ac_Header=$ac_header_preproc"
10203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10204 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10207 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10208 cat >>confdefs.h <<_ACEOF
10209 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10210 _ACEOF
10212 for ac_func in dlopen
10214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10215 echo "$as_me:$LINENO: checking for $ac_func" >&5
10216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10217 if eval "test \"\${$as_ac_var+set}\" = set"; then
10218 echo $ECHO_N "(cached) $ECHO_C" >&6
10219 else
10220 cat >conftest.$ac_ext <<_ACEOF
10221 #line $LINENO "configure"
10222 #include "confdefs.h"
10223 /* System header to define __stub macros and hopefully few prototypes,
10224 which can conflict with char $ac_func (); below. */
10225 #include <assert.h>
10226 /* Override any gcc2 internal prototype to avoid an error. */
10227 #ifdef __cplusplus
10228 extern "C"
10229 #endif
10230 /* We use char because int might match the return type of a gcc2
10231 builtin and then its argument prototype would still apply. */
10232 char $ac_func ();
10233 char (*f) ();
10236 main ()
10238 /* The GNU C library defines this for functions which it implements
10239 to always fail with ENOSYS. Some functions are actually named
10240 something starting with __ and the normal name is an alias. */
10241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10242 choke me
10243 #else
10244 f = $ac_func;
10245 #endif
10248 return 0;
10250 _ACEOF
10251 rm -f conftest.$ac_objext conftest$ac_exeext
10252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10253 (eval $ac_link) 2>&5
10254 ac_status=$?
10255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10256 (exit $ac_status); } &&
10257 { ac_try='test -s conftest$ac_exeext'
10258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10259 (eval $ac_try) 2>&5
10260 ac_status=$?
10261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10262 (exit $ac_status); }; }; then
10263 eval "$as_ac_var=yes"
10264 else
10265 echo "$as_me: failed program was:" >&5
10266 cat conftest.$ac_ext >&5
10267 eval "$as_ac_var=no"
10269 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10272 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10273 if test `eval echo '${'$as_ac_var'}'` = yes; then
10274 cat >>confdefs.h <<_ACEOF
10275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10276 _ACEOF
10278 else
10279 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10280 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10281 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10282 echo $ECHO_N "(cached) $ECHO_C" >&6
10283 else
10284 ac_check_lib_save_LIBS=$LIBS
10285 LIBS="-ldl $LIBS"
10286 cat >conftest.$ac_ext <<_ACEOF
10287 #line $LINENO "configure"
10288 #include "confdefs.h"
10290 /* Override any gcc2 internal prototype to avoid an error. */
10291 #ifdef __cplusplus
10292 extern "C"
10293 #endif
10294 /* We use char because int might match the return type of a gcc2
10295 builtin and then its argument prototype would still apply. */
10296 char dlopen ();
10298 main ()
10300 dlopen ();
10302 return 0;
10304 _ACEOF
10305 rm -f conftest.$ac_objext conftest$ac_exeext
10306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10307 (eval $ac_link) 2>&5
10308 ac_status=$?
10309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10310 (exit $ac_status); } &&
10311 { ac_try='test -s conftest$ac_exeext'
10312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10313 (eval $ac_try) 2>&5
10314 ac_status=$?
10315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10316 (exit $ac_status); }; }; then
10317 ac_cv_lib_dl_dlopen=yes
10318 else
10319 echo "$as_me: failed program was:" >&5
10320 cat conftest.$ac_ext >&5
10321 ac_cv_lib_dl_dlopen=no
10323 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10324 LIBS=$ac_check_lib_save_LIBS
10326 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10327 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10328 if test $ac_cv_lib_dl_dlopen = yes; then
10330 cat >>confdefs.h <<\_ACEOF
10331 #define HAVE_DLOPEN 1
10332 _ACEOF
10334 DLLIBS="-ldl"
10335 else
10336 LIBEXT="a"
10340 done
10342 else
10343 LIBEXT="a"
10346 done
10349 if test "$LIBEXT" = "so"
10350 then
10351 DLLFLAGS="-fPIC"
10352 DLLEXT=".so"
10353 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
10354 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
10355 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
10356 echo $ECHO_N "(cached) $ECHO_C" >&6
10357 else
10358 ac_wine_try_cflags_saved=$CFLAGS
10359 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
10360 cat >conftest.$ac_ext <<_ACEOF
10361 #line $LINENO "configure"
10362 #include "confdefs.h"
10365 main ()
10369 return 0;
10371 _ACEOF
10372 rm -f conftest.$ac_objext conftest$ac_exeext
10373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10374 (eval $ac_link) 2>&5
10375 ac_status=$?
10376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10377 (exit $ac_status); } &&
10378 { ac_try='test -s conftest$ac_exeext'
10379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10380 (eval $ac_try) 2>&5
10381 ac_status=$?
10382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10383 (exit $ac_status); }; }; then
10384 ac_cv_c_dll_gnuelf="yes"
10385 else
10386 echo "$as_me: failed program was:" >&5
10387 cat conftest.$ac_ext >&5
10388 ac_cv_c_dll_gnuelf="no"
10390 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10391 CFLAGS=$ac_wine_try_cflags_saved
10393 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
10394 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
10395 if test "$ac_cv_c_dll_gnuelf" = "yes"
10396 then
10397 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
10398 LDDLLFLAGS="-Wl,-Bsymbolic"
10399 else
10400 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
10401 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
10402 if test "${ac_cv_c_dll_unixware+set}" = set; then
10403 echo $ECHO_N "(cached) $ECHO_C" >&6
10404 else
10405 ac_wine_try_cflags_saved=$CFLAGS
10406 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
10407 cat >conftest.$ac_ext <<_ACEOF
10408 #line $LINENO "configure"
10409 #include "confdefs.h"
10412 main ()
10416 return 0;
10418 _ACEOF
10419 rm -f conftest.$ac_objext conftest$ac_exeext
10420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10421 (eval $ac_link) 2>&5
10422 ac_status=$?
10423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10424 (exit $ac_status); } &&
10425 { ac_try='test -s conftest$ac_exeext'
10426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10427 (eval $ac_try) 2>&5
10428 ac_status=$?
10429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10430 (exit $ac_status); }; }; then
10431 ac_cv_c_dll_unixware="yes"
10432 else
10433 echo "$as_me: failed program was:" >&5
10434 cat conftest.$ac_ext >&5
10435 ac_cv_c_dll_unixware="no"
10437 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10438 CFLAGS=$ac_wine_try_cflags_saved
10440 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
10441 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
10442 if test "$ac_cv_c_dll_unixware" = "yes"
10443 then
10444 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
10445 LDDLLFLAGS="-Wl,-B,symbolic"
10450 CROSSTEST=""
10452 if test "$cross_compiling" = "no"
10453 then
10454 for ac_prog in i586-mingw32msvc-gcc
10456 # Extract the first word of "$ac_prog", so it can be a program name with args.
10457 set dummy $ac_prog; ac_word=$2
10458 echo "$as_me:$LINENO: checking for $ac_word" >&5
10459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10460 if test "${ac_cv_prog_CROSSCC+set}" = set; then
10461 echo $ECHO_N "(cached) $ECHO_C" >&6
10462 else
10463 if test -n "$CROSSCC"; then
10464 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
10465 else
10466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10467 for as_dir in $PATH
10469 IFS=$as_save_IFS
10470 test -z "$as_dir" && as_dir=.
10471 for ac_exec_ext in '' $ac_executable_extensions; do
10472 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10473 ac_cv_prog_CROSSCC="$ac_prog"
10474 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10475 break 2
10477 done
10478 done
10482 CROSSCC=$ac_cv_prog_CROSSCC
10483 if test -n "$CROSSCC"; then
10484 echo "$as_me:$LINENO: result: $CROSSCC" >&5
10485 echo "${ECHO_T}$CROSSCC" >&6
10486 else
10487 echo "$as_me:$LINENO: result: no" >&5
10488 echo "${ECHO_T}no" >&6
10491 test -n "$CROSSCC" && break
10492 done
10493 test -n "$CROSSCC" || CROSSCC="false"
10495 for ac_prog in i586-mingw32msvc-dlltool
10497 # Extract the first word of "$ac_prog", so it can be a program name with args.
10498 set dummy $ac_prog; ac_word=$2
10499 echo "$as_me:$LINENO: checking for $ac_word" >&5
10500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10501 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
10502 echo $ECHO_N "(cached) $ECHO_C" >&6
10503 else
10504 if test -n "$DLLTOOL"; then
10505 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
10506 else
10507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10508 for as_dir in $PATH
10510 IFS=$as_save_IFS
10511 test -z "$as_dir" && as_dir=.
10512 for ac_exec_ext in '' $ac_executable_extensions; do
10513 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10514 ac_cv_prog_DLLTOOL="$ac_prog"
10515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10516 break 2
10518 done
10519 done
10523 DLLTOOL=$ac_cv_prog_DLLTOOL
10524 if test -n "$DLLTOOL"; then
10525 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
10526 echo "${ECHO_T}$DLLTOOL" >&6
10527 else
10528 echo "$as_me:$LINENO: result: no" >&5
10529 echo "${ECHO_T}no" >&6
10532 test -n "$DLLTOOL" && break
10533 done
10534 test -n "$DLLTOOL" || DLLTOOL="false"
10536 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
10539 esac
10541 if test "$LIBEXT" = "a"; then
10542 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
10543 It is currently not possible to build Wine without shared library
10544 (.so) support to allow transparent switch between .so and .dll files.
10545 If you are using Linux, you will need a newer binutils.
10546 " >&5
10547 echo "$as_me: error: could not find a way to build shared libraries.
10548 It is currently not possible to build Wine without shared library
10549 (.so) support to allow transparent switch between .so and .dll files.
10550 If you are using Linux, you will need a newer binutils.
10551 " >&2;}
10552 { (exit 1); exit 1; }; }
10555 case $build_os in
10556 cygwin*|mingw32*)
10557 LDPATH="PATH=\"\$(TOOLSDIR)/library:\$(TOOLSDIR)/unicode:\$\$PATH\""
10560 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/library:\$(TOOLSDIR)/unicode:\$\$LD_LIBRARY_PATH\""
10562 esac
10564 CRTLIBS=""
10566 case $host_os in
10567 mingw32*)
10568 CRTLIBS="-lmsvcrt" ;;
10569 esac
10572 if test "$LIBEXT" = "so"
10573 then
10574 # Extract the first word of "ldd", so it can be a program name with args.
10575 set dummy ldd; ac_word=$2
10576 echo "$as_me:$LINENO: checking for $ac_word" >&5
10577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10578 if test "${ac_cv_path_LDD+set}" = set; then
10579 echo $ECHO_N "(cached) $ECHO_C" >&6
10580 else
10581 case $LDD in
10582 [\\/]* | ?:[\\/]*)
10583 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
10586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10587 as_dummy="/sbin:/usr/sbin:$PATH"
10588 for as_dir in $as_dummy
10590 IFS=$as_save_IFS
10591 test -z "$as_dir" && as_dir=.
10592 for ac_exec_ext in '' $ac_executable_extensions; do
10593 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10594 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
10595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10596 break 2
10598 done
10599 done
10601 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
10603 esac
10605 LDD=$ac_cv_path_LDD
10607 if test -n "$LDD"; then
10608 echo "$as_me:$LINENO: result: $LDD" >&5
10609 echo "${ECHO_T}$LDD" >&6
10610 else
10611 echo "$as_me:$LINENO: result: no" >&5
10612 echo "${ECHO_T}no" >&6
10616 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
10617 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
10618 if test "${ac_cv_lib_soname_X11+set}" = set; then
10619 echo $ECHO_N "(cached) $ECHO_C" >&6
10620 else
10621 ac_get_soname_save_LIBS=$LIBS
10622 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10623 cat >conftest.$ac_ext <<_ACEOF
10624 #line $LINENO "configure"
10625 #include "confdefs.h"
10627 /* Override any gcc2 internal prototype to avoid an error. */
10628 #ifdef __cplusplus
10629 extern "C"
10630 #endif
10631 /* We use char because int might match the return type of a gcc2
10632 builtin and then its argument prototype would still apply. */
10633 char XCreateWindow ();
10635 main ()
10637 XCreateWindow ();
10639 return 0;
10641 _ACEOF
10642 rm -f conftest.$ac_objext conftest$ac_exeext
10643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10644 (eval $ac_link) 2>&5
10645 ac_status=$?
10646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10647 (exit $ac_status); } &&
10648 { ac_try='test -s conftest$ac_exeext'
10649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10650 (eval $ac_try) 2>&5
10651 ac_status=$?
10652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10653 (exit $ac_status); }; }; then
10654 ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
10655 if test "x$ac_cv_lib_soname_X11" = "x"
10656 then
10657 ac_cv_lib_soname_X11="libX11.so"
10659 else
10660 echo "$as_me: failed program was:" >&5
10661 cat conftest.$ac_ext >&5
10662 ac_cv_lib_soname_X11="libX11.so"
10664 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10665 LIBS=$ac_get_soname_save_LIBS
10667 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
10668 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
10669 if test "x$ac_cv_lib_soname_X11" != xNONE
10670 then
10671 cat >>confdefs.h <<_ACEOF
10672 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
10673 _ACEOF
10676 echo "$as_me:$LINENO: checking for -lXext soname" >&5
10677 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
10678 if test "${ac_cv_lib_soname_Xext+set}" = set; then
10679 echo $ECHO_N "(cached) $ECHO_C" >&6
10680 else
10681 ac_get_soname_save_LIBS=$LIBS
10682 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
10683 cat >conftest.$ac_ext <<_ACEOF
10684 #line $LINENO "configure"
10685 #include "confdefs.h"
10687 /* Override any gcc2 internal prototype to avoid an error. */
10688 #ifdef __cplusplus
10689 extern "C"
10690 #endif
10691 /* We use char because int might match the return type of a gcc2
10692 builtin and then its argument prototype would still apply. */
10693 char XextCreateExtension ();
10695 main ()
10697 XextCreateExtension ();
10699 return 0;
10701 _ACEOF
10702 rm -f conftest.$ac_objext conftest$ac_exeext
10703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10704 (eval $ac_link) 2>&5
10705 ac_status=$?
10706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10707 (exit $ac_status); } &&
10708 { ac_try='test -s conftest$ac_exeext'
10709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10710 (eval $ac_try) 2>&5
10711 ac_status=$?
10712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10713 (exit $ac_status); }; }; then
10714 ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
10715 if test "x$ac_cv_lib_soname_Xext" = "x"
10716 then
10717 ac_cv_lib_soname_Xext="libXext.so"
10719 else
10720 echo "$as_me: failed program was:" >&5
10721 cat conftest.$ac_ext >&5
10722 ac_cv_lib_soname_Xext="libXext.so"
10724 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10725 LIBS=$ac_get_soname_save_LIBS
10727 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
10728 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
10729 if test "x$ac_cv_lib_soname_Xext" != xNONE
10730 then
10731 cat >>confdefs.h <<_ACEOF
10732 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10733 _ACEOF
10736 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
10737 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
10738 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10739 echo $ECHO_N "(cached) $ECHO_C" >&6
10740 else
10741 ac_get_soname_save_LIBS=$LIBS
10742 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10743 cat >conftest.$ac_ext <<_ACEOF
10744 #line $LINENO "configure"
10745 #include "confdefs.h"
10747 /* Override any gcc2 internal prototype to avoid an error. */
10748 #ifdef __cplusplus
10749 extern "C"
10750 #endif
10751 /* We use char because int might match the return type of a gcc2
10752 builtin and then its argument prototype would still apply. */
10753 char XRenderQueryExtension ();
10755 main ()
10757 XRenderQueryExtension ();
10759 return 0;
10761 _ACEOF
10762 rm -f conftest.$ac_objext conftest$ac_exeext
10763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10764 (eval $ac_link) 2>&5
10765 ac_status=$?
10766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10767 (exit $ac_status); } &&
10768 { ac_try='test -s conftest$ac_exeext'
10769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10770 (eval $ac_try) 2>&5
10771 ac_status=$?
10772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10773 (exit $ac_status); }; }; then
10774 ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
10775 if test "x$ac_cv_lib_soname_Xrender" = "x"
10776 then
10777 ac_cv_lib_soname_Xrender="libXrender.so"
10779 else
10780 echo "$as_me: failed program was:" >&5
10781 cat conftest.$ac_ext >&5
10782 ac_cv_lib_soname_Xrender="libXrender.so"
10784 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10785 LIBS=$ac_get_soname_save_LIBS
10787 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10788 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
10789 if test "x$ac_cv_lib_soname_Xrender" != xNONE
10790 then
10791 cat >>confdefs.h <<_ACEOF
10792 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10793 _ACEOF
10796 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
10797 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
10798 if test "${ac_cv_lib_soname_freetype+set}" = set; then
10799 echo $ECHO_N "(cached) $ECHO_C" >&6
10800 else
10801 ac_get_soname_save_LIBS=$LIBS
10802 LIBS="-lfreetype $X_LIBS $LIBS"
10803 cat >conftest.$ac_ext <<_ACEOF
10804 #line $LINENO "configure"
10805 #include "confdefs.h"
10807 /* Override any gcc2 internal prototype to avoid an error. */
10808 #ifdef __cplusplus
10809 extern "C"
10810 #endif
10811 /* We use char because int might match the return type of a gcc2
10812 builtin and then its argument prototype would still apply. */
10813 char FT_Init_FreeType ();
10815 main ()
10817 FT_Init_FreeType ();
10819 return 0;
10821 _ACEOF
10822 rm -f conftest.$ac_objext conftest$ac_exeext
10823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10824 (eval $ac_link) 2>&5
10825 ac_status=$?
10826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10827 (exit $ac_status); } &&
10828 { ac_try='test -s conftest$ac_exeext'
10829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10830 (eval $ac_try) 2>&5
10831 ac_status=$?
10832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10833 (exit $ac_status); }; }; then
10834 ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
10835 if test "x$ac_cv_lib_soname_freetype" = "x"
10836 then
10837 ac_cv_lib_soname_freetype="libfreetype.so"
10839 else
10840 echo "$as_me: failed program was:" >&5
10841 cat conftest.$ac_ext >&5
10842 ac_cv_lib_soname_freetype="libfreetype.so"
10844 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10845 LIBS=$ac_get_soname_save_LIBS
10847 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
10848 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
10849 if test "x$ac_cv_lib_soname_freetype" != xNONE
10850 then
10851 cat >>confdefs.h <<_ACEOF
10852 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10853 _ACEOF
10859 wine_cv_libc_reentrant=no
10860 echo "$as_me:$LINENO: checking for reentrant libc: __errno_location" >&5
10861 echo $ECHO_N "checking for reentrant libc: __errno_location... $ECHO_C" >&6
10862 if test "${wine_cv_libc_r___errno_location+set}" = set; then
10863 echo $ECHO_N "(cached) $ECHO_C" >&6
10864 else
10865 if test "$cross_compiling" = yes; then
10866 wine_cv_libc_r___errno_location=yes
10867 else
10868 cat >conftest.$ac_ext <<_ACEOF
10869 #line $LINENO "configure"
10870 #include "confdefs.h"
10871 int myerrno = 0;
10872 int *__errno_location(){return &myerrno;}
10873 main(){close(333); close(333); exit(!myerrno);}
10874 _ACEOF
10875 rm -f conftest$ac_exeext
10876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10877 (eval $ac_link) 2>&5
10878 ac_status=$?
10879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10880 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10882 (eval $ac_try) 2>&5
10883 ac_status=$?
10884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10885 (exit $ac_status); }; }; then
10886 wine_cv_libc_r___errno_location=yes
10887 else
10888 echo "$as_me: program exited with status $ac_status" >&5
10889 echo "$as_me: failed program was:" >&5
10890 cat conftest.$ac_ext >&5
10891 ( exit $ac_status )
10892 wine_cv_libc_r___errno_location=no
10894 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10897 echo "$as_me:$LINENO: result: $wine_cv_libc_r___errno_location" >&5
10898 echo "${ECHO_T}$wine_cv_libc_r___errno_location" >&6
10899 if test "$wine_cv_libc_r___errno_location" = "yes"; then
10900 wine_cv_libc_reentrant=__errno_location
10901 else
10902 echo "$as_me:$LINENO: checking for reentrant libc: __error" >&5
10903 echo $ECHO_N "checking for reentrant libc: __error... $ECHO_C" >&6
10904 if test "${wine_cv_libc_r___error+set}" = set; then
10905 echo $ECHO_N "(cached) $ECHO_C" >&6
10906 else
10907 if test "$cross_compiling" = yes; then
10908 wine_cv_libc_r___error=yes
10909 else
10910 cat >conftest.$ac_ext <<_ACEOF
10911 #line $LINENO "configure"
10912 #include "confdefs.h"
10913 int myerrno = 0;
10914 int *__error(){return &myerrno;}
10915 main(){close(333); close(333); exit(!myerrno);}
10916 _ACEOF
10917 rm -f conftest$ac_exeext
10918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10919 (eval $ac_link) 2>&5
10920 ac_status=$?
10921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10922 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10924 (eval $ac_try) 2>&5
10925 ac_status=$?
10926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10927 (exit $ac_status); }; }; then
10928 wine_cv_libc_r___error=yes
10929 else
10930 echo "$as_me: program exited with status $ac_status" >&5
10931 echo "$as_me: failed program was:" >&5
10932 cat conftest.$ac_ext >&5
10933 ( exit $ac_status )
10934 wine_cv_libc_r___error=no
10936 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10939 echo "$as_me:$LINENO: result: $wine_cv_libc_r___error" >&5
10940 echo "${ECHO_T}$wine_cv_libc_r___error" >&6
10941 if test "$wine_cv_libc_r___error" = "yes"; then
10942 wine_cv_libc_reentrant=__error
10943 else
10944 echo "$as_me:$LINENO: checking for reentrant libc: ___errno" >&5
10945 echo $ECHO_N "checking for reentrant libc: ___errno... $ECHO_C" >&6
10946 if test "${wine_cv_libc_r____errno+set}" = set; then
10947 echo $ECHO_N "(cached) $ECHO_C" >&6
10948 else
10949 if test "$cross_compiling" = yes; then
10950 wine_cv_libc_r____errno=yes
10951 else
10952 cat >conftest.$ac_ext <<_ACEOF
10953 #line $LINENO "configure"
10954 #include "confdefs.h"
10955 int myerrno = 0;
10956 int *___errno(){return &myerrno;}
10957 main(){close(333); close(333); exit(!myerrno);}
10958 _ACEOF
10959 rm -f conftest$ac_exeext
10960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10961 (eval $ac_link) 2>&5
10962 ac_status=$?
10963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10964 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10966 (eval $ac_try) 2>&5
10967 ac_status=$?
10968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10969 (exit $ac_status); }; }; then
10970 wine_cv_libc_r____errno=yes
10971 else
10972 echo "$as_me: program exited with status $ac_status" >&5
10973 echo "$as_me: failed program was:" >&5
10974 cat conftest.$ac_ext >&5
10975 ( exit $ac_status )
10976 wine_cv_libc_r____errno=no
10978 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10981 echo "$as_me:$LINENO: result: $wine_cv_libc_r____errno" >&5
10982 echo "${ECHO_T}$wine_cv_libc_r____errno" >&6
10983 if test "$wine_cv_libc_r____errno" = "yes"; then
10984 wine_cv_libc_reentrant=___errno
10985 else
10986 echo "$as_me:$LINENO: checking for reentrant libc: __thr_errno" >&5
10987 echo $ECHO_N "checking for reentrant libc: __thr_errno... $ECHO_C" >&6
10988 if test "${wine_cv_libc_r___thr_errno+set}" = set; then
10989 echo $ECHO_N "(cached) $ECHO_C" >&6
10990 else
10991 if test "$cross_compiling" = yes; then
10992 wine_cv_libc_r___thr_errno=yes
10993 else
10994 cat >conftest.$ac_ext <<_ACEOF
10995 #line $LINENO "configure"
10996 #include "confdefs.h"
10997 int myerrno = 0;
10998 int *__thr_errno(){return &myerrno;}
10999 main(){close(333); close(333); exit(!myerrno);}
11000 _ACEOF
11001 rm -f conftest$ac_exeext
11002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11003 (eval $ac_link) 2>&5
11004 ac_status=$?
11005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11006 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11008 (eval $ac_try) 2>&5
11009 ac_status=$?
11010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11011 (exit $ac_status); }; }; then
11012 wine_cv_libc_r___thr_errno=yes
11013 else
11014 echo "$as_me: program exited with status $ac_status" >&5
11015 echo "$as_me: failed program was:" >&5
11016 cat conftest.$ac_ext >&5
11017 ( exit $ac_status )
11018 wine_cv_libc_r___thr_errno=no
11020 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11023 echo "$as_me:$LINENO: result: $wine_cv_libc_r___thr_errno" >&5
11024 echo "${ECHO_T}$wine_cv_libc_r___thr_errno" >&6
11025 if test "$wine_cv_libc_r___thr_errno" = "yes"; then
11026 wine_cv_libc_reentrant=__thr_errno
11027 else
11028 echo "$as_me:$LINENO: checking for reentrant libc: __errno" >&5
11029 echo $ECHO_N "checking for reentrant libc: __errno... $ECHO_C" >&6
11030 if test "${wine_cv_libc_r___errno+set}" = set; then
11031 echo $ECHO_N "(cached) $ECHO_C" >&6
11032 else
11033 if test "$cross_compiling" = yes; then
11034 wine_cv_libc_r___errno=yes
11035 else
11036 cat >conftest.$ac_ext <<_ACEOF
11037 #line $LINENO "configure"
11038 #include "confdefs.h"
11039 int myerrno = 0;
11040 int *__errno(){return &myerrno;}
11041 main(){close(333); close(333); exit(!myerrno);}
11042 _ACEOF
11043 rm -f conftest$ac_exeext
11044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11045 (eval $ac_link) 2>&5
11046 ac_status=$?
11047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11048 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11050 (eval $ac_try) 2>&5
11051 ac_status=$?
11052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11053 (exit $ac_status); }; }; then
11054 wine_cv_libc_r___errno=yes
11055 else
11056 echo "$as_me: program exited with status $ac_status" >&5
11057 echo "$as_me: failed program was:" >&5
11058 cat conftest.$ac_ext >&5
11059 ( exit $ac_status )
11060 wine_cv_libc_r___errno=no
11062 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11065 echo "$as_me:$LINENO: result: $wine_cv_libc_r___errno" >&5
11066 echo "${ECHO_T}$wine_cv_libc_r___errno" >&6
11067 if test "$wine_cv_libc_r___errno" = "yes"; then
11068 wine_cv_libc_reentrant=__errno
11081 if test "$wine_cv_libc_reentrant" != "no"
11082 then
11084 cat >>confdefs.h <<_ACEOF
11085 #define ERRNO_LOCATION $wine_cv_libc_reentrant
11086 _ACEOF
11091 if test "$have_x" = "yes"
11092 then
11093 echo "$as_me:$LINENO: checking for reentrant X libraries" >&5
11094 echo $ECHO_N "checking for reentrant X libraries... $ECHO_C" >&6
11095 if test "${wine_cv_x_reentrant+set}" = set; then
11096 echo $ECHO_N "(cached) $ECHO_C" >&6
11097 else
11098 libX11_check=none
11099 for dir in "$x_libraries" /usr/lib /usr/local/lib /lib; do
11100 if test -r $dir/libX11.so; then
11101 libX11_check="-D $dir/libX11.so"
11102 break
11104 if test -r $dir/libX11.a; then
11105 libX11_check="$dir/libX11.a"
11106 break
11108 done
11109 if test "$libX11_check" != "none"; then
11110 if nm $libX11_check | grep $wine_cv_libc_reentrant >/dev/null 2>&1
11111 then
11112 wine_cv_x_reentrant=yes
11113 else
11114 wine_cv_x_reentrant=no
11116 else
11117 wine_cv_x_reentrant=unknown
11120 echo "$as_me:$LINENO: result: $wine_cv_x_reentrant" >&5
11121 echo "${ECHO_T}$wine_cv_x_reentrant" >&6
11125 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
11126 # for constant arguments. Useless!
11127 echo "$as_me:$LINENO: checking for working alloca.h" >&5
11128 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
11129 if test "${ac_cv_working_alloca_h+set}" = set; then
11130 echo $ECHO_N "(cached) $ECHO_C" >&6
11131 else
11132 cat >conftest.$ac_ext <<_ACEOF
11133 #line $LINENO "configure"
11134 #include "confdefs.h"
11135 #include <alloca.h>
11137 main ()
11139 char *p = (char *) alloca (2 * sizeof (int));
11141 return 0;
11143 _ACEOF
11144 rm -f conftest.$ac_objext conftest$ac_exeext
11145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11146 (eval $ac_link) 2>&5
11147 ac_status=$?
11148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11149 (exit $ac_status); } &&
11150 { ac_try='test -s conftest$ac_exeext'
11151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11152 (eval $ac_try) 2>&5
11153 ac_status=$?
11154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11155 (exit $ac_status); }; }; then
11156 ac_cv_working_alloca_h=yes
11157 else
11158 echo "$as_me: failed program was:" >&5
11159 cat conftest.$ac_ext >&5
11160 ac_cv_working_alloca_h=no
11162 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11164 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
11165 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
11166 if test $ac_cv_working_alloca_h = yes; then
11168 cat >>confdefs.h <<\_ACEOF
11169 #define HAVE_ALLOCA_H 1
11170 _ACEOF
11174 echo "$as_me:$LINENO: checking for alloca" >&5
11175 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
11176 if test "${ac_cv_func_alloca_works+set}" = set; then
11177 echo $ECHO_N "(cached) $ECHO_C" >&6
11178 else
11179 cat >conftest.$ac_ext <<_ACEOF
11180 #line $LINENO "configure"
11181 #include "confdefs.h"
11182 #ifdef __GNUC__
11183 # define alloca __builtin_alloca
11184 #else
11185 # ifdef _MSC_VER
11186 # include <malloc.h>
11187 # define alloca _alloca
11188 # else
11189 # if HAVE_ALLOCA_H
11190 # include <alloca.h>
11191 # else
11192 # ifdef _AIX
11193 #pragma alloca
11194 # else
11195 # ifndef alloca /* predefined by HP cc +Olibcalls */
11196 char *alloca ();
11197 # endif
11198 # endif
11199 # endif
11200 # endif
11201 #endif
11204 main ()
11206 char *p = (char *) alloca (1);
11208 return 0;
11210 _ACEOF
11211 rm -f conftest.$ac_objext conftest$ac_exeext
11212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11213 (eval $ac_link) 2>&5
11214 ac_status=$?
11215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11216 (exit $ac_status); } &&
11217 { ac_try='test -s conftest$ac_exeext'
11218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11219 (eval $ac_try) 2>&5
11220 ac_status=$?
11221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11222 (exit $ac_status); }; }; then
11223 ac_cv_func_alloca_works=yes
11224 else
11225 echo "$as_me: failed program was:" >&5
11226 cat conftest.$ac_ext >&5
11227 ac_cv_func_alloca_works=no
11229 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11231 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
11232 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
11234 if test $ac_cv_func_alloca_works = yes; then
11236 cat >>confdefs.h <<\_ACEOF
11237 #define HAVE_ALLOCA 1
11238 _ACEOF
11240 else
11241 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
11242 # that cause trouble. Some versions do not even contain alloca or
11243 # contain a buggy version. If you still want to use their alloca,
11244 # use ar to extract alloca.o from them instead of compiling alloca.c.
11246 ALLOCA=alloca.$ac_objext
11248 cat >>confdefs.h <<\_ACEOF
11249 #define C_ALLOCA 1
11250 _ACEOF
11253 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
11254 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
11255 if test "${ac_cv_os_cray+set}" = set; then
11256 echo $ECHO_N "(cached) $ECHO_C" >&6
11257 else
11258 cat >conftest.$ac_ext <<_ACEOF
11259 #line $LINENO "configure"
11260 #include "confdefs.h"
11261 #if defined(CRAY) && ! defined(CRAY2)
11262 webecray
11263 #else
11264 wenotbecray
11265 #endif
11267 _ACEOF
11268 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11269 $EGREP "webecray" >/dev/null 2>&1; then
11270 ac_cv_os_cray=yes
11271 else
11272 ac_cv_os_cray=no
11274 rm -f conftest*
11277 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
11278 echo "${ECHO_T}$ac_cv_os_cray" >&6
11279 if test $ac_cv_os_cray = yes; then
11280 for ac_func in _getb67 GETB67 getb67; do
11281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11282 echo "$as_me:$LINENO: checking for $ac_func" >&5
11283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11284 if eval "test \"\${$as_ac_var+set}\" = set"; then
11285 echo $ECHO_N "(cached) $ECHO_C" >&6
11286 else
11287 cat >conftest.$ac_ext <<_ACEOF
11288 #line $LINENO "configure"
11289 #include "confdefs.h"
11290 /* System header to define __stub macros and hopefully few prototypes,
11291 which can conflict with char $ac_func (); below. */
11292 #include <assert.h>
11293 /* Override any gcc2 internal prototype to avoid an error. */
11294 #ifdef __cplusplus
11295 extern "C"
11296 #endif
11297 /* We use char because int might match the return type of a gcc2
11298 builtin and then its argument prototype would still apply. */
11299 char $ac_func ();
11300 char (*f) ();
11303 main ()
11305 /* The GNU C library defines this for functions which it implements
11306 to always fail with ENOSYS. Some functions are actually named
11307 something starting with __ and the normal name is an alias. */
11308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11309 choke me
11310 #else
11311 f = $ac_func;
11312 #endif
11315 return 0;
11317 _ACEOF
11318 rm -f conftest.$ac_objext conftest$ac_exeext
11319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11320 (eval $ac_link) 2>&5
11321 ac_status=$?
11322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11323 (exit $ac_status); } &&
11324 { ac_try='test -s conftest$ac_exeext'
11325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11326 (eval $ac_try) 2>&5
11327 ac_status=$?
11328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11329 (exit $ac_status); }; }; then
11330 eval "$as_ac_var=yes"
11331 else
11332 echo "$as_me: failed program was:" >&5
11333 cat conftest.$ac_ext >&5
11334 eval "$as_ac_var=no"
11336 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11340 if test `eval echo '${'$as_ac_var'}'` = yes; then
11342 cat >>confdefs.h <<_ACEOF
11343 #define CRAY_STACKSEG_END $ac_func
11344 _ACEOF
11346 break
11349 done
11352 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
11353 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
11354 if test "${ac_cv_c_stack_direction+set}" = set; then
11355 echo $ECHO_N "(cached) $ECHO_C" >&6
11356 else
11357 if test "$cross_compiling" = yes; then
11358 ac_cv_c_stack_direction=0
11359 else
11360 cat >conftest.$ac_ext <<_ACEOF
11361 #line $LINENO "configure"
11362 #include "confdefs.h"
11364 find_stack_direction ()
11366 static char *addr = 0;
11367 auto char dummy;
11368 if (addr == 0)
11370 addr = &dummy;
11371 return find_stack_direction ();
11373 else
11374 return (&dummy > addr) ? 1 : -1;
11378 main ()
11380 exit (find_stack_direction () < 0);
11382 _ACEOF
11383 rm -f conftest$ac_exeext
11384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11385 (eval $ac_link) 2>&5
11386 ac_status=$?
11387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11388 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11390 (eval $ac_try) 2>&5
11391 ac_status=$?
11392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11393 (exit $ac_status); }; }; then
11394 ac_cv_c_stack_direction=1
11395 else
11396 echo "$as_me: program exited with status $ac_status" >&5
11397 echo "$as_me: failed program was:" >&5
11398 cat conftest.$ac_ext >&5
11399 ( exit $ac_status )
11400 ac_cv_c_stack_direction=-1
11402 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11405 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
11406 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
11408 cat >>confdefs.h <<_ACEOF
11409 #define STACK_DIRECTION $ac_cv_c_stack_direction
11410 _ACEOF
11463 for ac_func in \
11464 __libc_fork \
11465 _lwp_create \
11466 _pclose \
11467 _popen \
11468 _snprintf \
11469 _stricmp \
11470 _strnicmp \
11471 chsize \
11472 clone \
11473 ecvt \
11474 finite \
11475 fpclass \
11476 ftruncate \
11477 ftruncate64 \
11478 getnetbyaddr \
11479 getnetbyname \
11480 getpagesize \
11481 getprotobyname \
11482 getprotobynumber \
11483 getpwuid \
11484 getservbyport \
11485 getsockopt \
11486 inet_network \
11487 lseek64 \
11488 lstat \
11489 memmove \
11490 mkstemp \
11491 mmap \
11492 pclose \
11493 popen \
11494 pread \
11495 pwrite \
11496 rfork \
11497 select \
11498 sendmsg \
11499 settimeofday \
11500 sigaltstack \
11501 snprintf \
11502 statfs \
11503 strcasecmp \
11504 strerror \
11505 strncasecmp \
11506 tcgetattr \
11507 timegm \
11508 usleep \
11509 vfscanf \
11510 wait4 \
11511 waitpid \
11514 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11515 echo "$as_me:$LINENO: checking for $ac_func" >&5
11516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11517 if eval "test \"\${$as_ac_var+set}\" = set"; then
11518 echo $ECHO_N "(cached) $ECHO_C" >&6
11519 else
11520 cat >conftest.$ac_ext <<_ACEOF
11521 #line $LINENO "configure"
11522 #include "confdefs.h"
11523 /* System header to define __stub macros and hopefully few prototypes,
11524 which can conflict with char $ac_func (); below. */
11525 #include <assert.h>
11526 /* Override any gcc2 internal prototype to avoid an error. */
11527 #ifdef __cplusplus
11528 extern "C"
11529 #endif
11530 /* We use char because int might match the return type of a gcc2
11531 builtin and then its argument prototype would still apply. */
11532 char $ac_func ();
11533 char (*f) ();
11536 main ()
11538 /* The GNU C library defines this for functions which it implements
11539 to always fail with ENOSYS. Some functions are actually named
11540 something starting with __ and the normal name is an alias. */
11541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11542 choke me
11543 #else
11544 f = $ac_func;
11545 #endif
11548 return 0;
11550 _ACEOF
11551 rm -f conftest.$ac_objext conftest$ac_exeext
11552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11553 (eval $ac_link) 2>&5
11554 ac_status=$?
11555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11556 (exit $ac_status); } &&
11557 { ac_try='test -s conftest$ac_exeext'
11558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11559 (eval $ac_try) 2>&5
11560 ac_status=$?
11561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11562 (exit $ac_status); }; }; then
11563 eval "$as_ac_var=yes"
11564 else
11565 echo "$as_me: failed program was:" >&5
11566 cat conftest.$ac_ext >&5
11567 eval "$as_ac_var=no"
11569 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11572 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11573 if test `eval echo '${'$as_ac_var'}'` = yes; then
11574 cat >>confdefs.h <<_ACEOF
11575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11576 _ACEOF
11579 done
11650 for ac_header in \
11651 arpa/inet.h \
11652 arpa/nameser.h \
11653 direct.h \
11654 elf.h \
11655 float.h \
11656 ieeefp.h \
11657 io.h \
11658 libio.h \
11659 libutil.h \
11660 link.h \
11661 linux/cdrom.h \
11662 linux/hdreg.h \
11663 linux/input.h \
11664 linux/joystick.h \
11665 linux/major.h \
11666 linux/param.h \
11667 linux/serial.h \
11668 linux/ucdrom.h \
11669 netdb.h \
11670 netinet/in.h \
11671 netinet/in_systm.h \
11672 netinet/tcp.h \
11673 pty.h \
11674 pwd.h \
11675 sched.h \
11676 scsi/sg.h \
11677 socket.h \
11678 stdint.h \
11679 strings.h \
11680 sys/cdio.h \
11681 sys/errno.h \
11682 sys/file.h \
11683 sys/filio.h \
11684 sys/inttypes.h \
11685 sys/ioctl.h \
11686 sys/ipc.h \
11687 sys/link.h \
11688 sys/lwp.h \
11689 sys/mman.h \
11690 sys/modem.h \
11691 sys/mount.h \
11692 sys/msg.h \
11693 sys/param.h \
11694 sys/poll.h \
11695 sys/ptrace.h \
11696 sys/reg.h \
11697 sys/shm.h \
11698 sys/signal.h \
11699 sys/socket.h \
11700 sys/sockio.h \
11701 sys/statfs.h \
11702 sys/strtio.h \
11703 sys/syscall.h \
11704 sys/sysctl.h \
11705 sys/time.h \
11706 sys/times.h \
11707 sys/user.h \
11708 sys/v86.h \
11709 sys/v86intr.h \
11710 sys/vfs.h \
11711 sys/vm86.h \
11712 sys/wait.h \
11713 syscall.h \
11714 termios.h \
11715 ucontext.h \
11716 unistd.h \
11717 utime.h \
11720 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11721 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11722 echo "$as_me:$LINENO: checking for $ac_header" >&5
11723 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11724 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11725 echo $ECHO_N "(cached) $ECHO_C" >&6
11727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11728 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11729 else
11730 # Is the header compilable?
11731 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11732 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11733 cat >conftest.$ac_ext <<_ACEOF
11734 #line $LINENO "configure"
11735 #include "confdefs.h"
11736 $ac_includes_default
11737 #include <$ac_header>
11738 _ACEOF
11739 rm -f conftest.$ac_objext
11740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11741 (eval $ac_compile) 2>&5
11742 ac_status=$?
11743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11744 (exit $ac_status); } &&
11745 { ac_try='test -s conftest.$ac_objext'
11746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11747 (eval $ac_try) 2>&5
11748 ac_status=$?
11749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11750 (exit $ac_status); }; }; then
11751 ac_header_compiler=yes
11752 else
11753 echo "$as_me: failed program was:" >&5
11754 cat conftest.$ac_ext >&5
11755 ac_header_compiler=no
11757 rm -f conftest.$ac_objext conftest.$ac_ext
11758 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11759 echo "${ECHO_T}$ac_header_compiler" >&6
11761 # Is the header present?
11762 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11763 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11764 cat >conftest.$ac_ext <<_ACEOF
11765 #line $LINENO "configure"
11766 #include "confdefs.h"
11767 #include <$ac_header>
11768 _ACEOF
11769 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11770 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11771 ac_status=$?
11772 grep -v '^ *+' conftest.er1 >conftest.err
11773 rm -f conftest.er1
11774 cat conftest.err >&5
11775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11776 (exit $ac_status); } >/dev/null; then
11777 if test -s conftest.err; then
11778 ac_cpp_err=$ac_c_preproc_warn_flag
11779 else
11780 ac_cpp_err=
11782 else
11783 ac_cpp_err=yes
11785 if test -z "$ac_cpp_err"; then
11786 ac_header_preproc=yes
11787 else
11788 echo "$as_me: failed program was:" >&5
11789 cat conftest.$ac_ext >&5
11790 ac_header_preproc=no
11792 rm -f conftest.err conftest.$ac_ext
11793 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11794 echo "${ECHO_T}$ac_header_preproc" >&6
11796 # So? What about this header?
11797 case $ac_header_compiler:$ac_header_preproc in
11798 yes:no )
11799 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11800 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11801 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11802 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11803 no:yes )
11804 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11805 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11806 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11807 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11808 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11809 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11810 esac
11811 echo "$as_me:$LINENO: checking for $ac_header" >&5
11812 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11813 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11814 echo $ECHO_N "(cached) $ECHO_C" >&6
11815 else
11816 eval "$as_ac_Header=$ac_header_preproc"
11818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11819 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11822 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11823 cat >>confdefs.h <<_ACEOF
11824 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11825 _ACEOF
11829 done
11831 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
11832 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
11833 if test "${ac_cv_header_stat_broken+set}" = set; then
11834 echo $ECHO_N "(cached) $ECHO_C" >&6
11835 else
11836 cat >conftest.$ac_ext <<_ACEOF
11837 #line $LINENO "configure"
11838 #include "confdefs.h"
11839 #include <sys/types.h>
11840 #include <sys/stat.h>
11842 #if defined(S_ISBLK) && defined(S_IFDIR)
11843 # if S_ISBLK (S_IFDIR)
11844 You lose.
11845 # endif
11846 #endif
11848 #if defined(S_ISBLK) && defined(S_IFCHR)
11849 # if S_ISBLK (S_IFCHR)
11850 You lose.
11851 # endif
11852 #endif
11854 #if defined(S_ISLNK) && defined(S_IFREG)
11855 # if S_ISLNK (S_IFREG)
11856 You lose.
11857 # endif
11858 #endif
11860 #if defined(S_ISSOCK) && defined(S_IFREG)
11861 # if S_ISSOCK (S_IFREG)
11862 You lose.
11863 # endif
11864 #endif
11866 _ACEOF
11867 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11868 $EGREP "You lose" >/dev/null 2>&1; then
11869 ac_cv_header_stat_broken=yes
11870 else
11871 ac_cv_header_stat_broken=no
11873 rm -f conftest*
11876 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
11877 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
11878 if test $ac_cv_header_stat_broken = yes; then
11880 cat >>confdefs.h <<\_ACEOF
11881 #define STAT_MACROS_BROKEN 1
11882 _ACEOF
11888 for ac_header in net/if.h
11890 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11891 echo "$as_me:$LINENO: checking for $ac_header" >&5
11892 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11893 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11894 echo $ECHO_N "(cached) $ECHO_C" >&6
11895 else
11896 cat >conftest.$ac_ext <<_ACEOF
11897 #line $LINENO "configure"
11898 #include "confdefs.h"
11899 #if HAVE_SYS_TYPES_H
11900 # include <sys/types.h>
11901 #endif
11902 #if HAVE_SYS_SOCKET_H
11903 # include <sys/socket.h>
11904 #endif
11906 #include <$ac_header>
11907 _ACEOF
11908 rm -f conftest.$ac_objext
11909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11910 (eval $ac_compile) 2>&5
11911 ac_status=$?
11912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11913 (exit $ac_status); } &&
11914 { ac_try='test -s conftest.$ac_objext'
11915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11916 (eval $ac_try) 2>&5
11917 ac_status=$?
11918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11919 (exit $ac_status); }; }; then
11920 eval "$as_ac_Header=yes"
11921 else
11922 echo "$as_me: failed program was:" >&5
11923 cat conftest.$ac_ext >&5
11924 eval "$as_ac_Header=no"
11926 rm -f conftest.$ac_objext conftest.$ac_ext
11928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11929 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11930 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11931 cat >>confdefs.h <<_ACEOF
11932 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11933 _ACEOF
11937 done
11941 for ac_header in netinet/ip.h
11943 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11944 echo "$as_me:$LINENO: checking for $ac_header" >&5
11945 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11947 echo $ECHO_N "(cached) $ECHO_C" >&6
11948 else
11949 cat >conftest.$ac_ext <<_ACEOF
11950 #line $LINENO "configure"
11951 #include "confdefs.h"
11952 #if HAVE_SYS_SOCKET_H
11953 # include <sys/socket.h>
11954 #endif
11955 #if HAVE_NETINET_IN_SYSTM_H
11956 # include <netinet/in_systm.h>
11957 #endif
11959 #include <$ac_header>
11960 _ACEOF
11961 rm -f conftest.$ac_objext
11962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11963 (eval $ac_compile) 2>&5
11964 ac_status=$?
11965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11966 (exit $ac_status); } &&
11967 { ac_try='test -s conftest.$ac_objext'
11968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11969 (eval $ac_try) 2>&5
11970 ac_status=$?
11971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11972 (exit $ac_status); }; }; then
11973 eval "$as_ac_Header=yes"
11974 else
11975 echo "$as_me: failed program was:" >&5
11976 cat conftest.$ac_ext >&5
11977 eval "$as_ac_Header=no"
11979 rm -f conftest.$ac_objext conftest.$ac_ext
11981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11982 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11983 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11984 cat >>confdefs.h <<_ACEOF
11985 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11986 _ACEOF
11990 done
11994 for ac_header in resolv.h
11996 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11997 echo "$as_me:$LINENO: checking for $ac_header" >&5
11998 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11999 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12000 echo $ECHO_N "(cached) $ECHO_C" >&6
12001 else
12002 cat >conftest.$ac_ext <<_ACEOF
12003 #line $LINENO "configure"
12004 #include "confdefs.h"
12005 #if HAVE_SYS_SOCKET_H
12006 # include <sys/socket.h>
12007 #endif
12009 #include <$ac_header>
12010 _ACEOF
12011 rm -f conftest.$ac_objext
12012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12013 (eval $ac_compile) 2>&5
12014 ac_status=$?
12015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12016 (exit $ac_status); } &&
12017 { ac_try='test -s conftest.$ac_objext'
12018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12019 (eval $ac_try) 2>&5
12020 ac_status=$?
12021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12022 (exit $ac_status); }; }; then
12023 eval "$as_ac_Header=yes"
12024 else
12025 echo "$as_me: failed program was:" >&5
12026 cat conftest.$ac_ext >&5
12027 eval "$as_ac_Header=no"
12029 rm -f conftest.$ac_objext conftest.$ac_ext
12031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12032 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12033 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12034 cat >>confdefs.h <<_ACEOF
12035 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12036 _ACEOF
12040 done
12044 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
12045 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
12046 if test "${ac_cv_c_const+set}" = set; then
12047 echo $ECHO_N "(cached) $ECHO_C" >&6
12048 else
12049 cat >conftest.$ac_ext <<_ACEOF
12050 #line $LINENO "configure"
12051 #include "confdefs.h"
12054 main ()
12056 /* FIXME: Include the comments suggested by Paul. */
12057 #ifndef __cplusplus
12058 /* Ultrix mips cc rejects this. */
12059 typedef int charset[2];
12060 const charset x;
12061 /* SunOS 4.1.1 cc rejects this. */
12062 char const *const *ccp;
12063 char **p;
12064 /* NEC SVR4.0.2 mips cc rejects this. */
12065 struct point {int x, y;};
12066 static struct point const zero = {0,0};
12067 /* AIX XL C 1.02.0.0 rejects this.
12068 It does not let you subtract one const X* pointer from another in
12069 an arm of an if-expression whose if-part is not a constant
12070 expression */
12071 const char *g = "string";
12072 ccp = &g + (g ? g-g : 0);
12073 /* HPUX 7.0 cc rejects these. */
12074 ++ccp;
12075 p = (char**) ccp;
12076 ccp = (char const *const *) p;
12077 { /* SCO 3.2v4 cc rejects this. */
12078 char *t;
12079 char const *s = 0 ? (char *) 0 : (char const *) 0;
12081 *t++ = 0;
12083 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12084 int x[] = {25, 17};
12085 const int *foo = &x[0];
12086 ++foo;
12088 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12089 typedef const int *iptr;
12090 iptr p = 0;
12091 ++p;
12093 { /* AIX XL C 1.02.0.0 rejects this saying
12094 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12095 struct s { int j; const int *ap[3]; };
12096 struct s *b; b->j = 5;
12098 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12099 const int foo = 10;
12101 #endif
12104 return 0;
12106 _ACEOF
12107 rm -f conftest.$ac_objext
12108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12109 (eval $ac_compile) 2>&5
12110 ac_status=$?
12111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12112 (exit $ac_status); } &&
12113 { ac_try='test -s conftest.$ac_objext'
12114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12115 (eval $ac_try) 2>&5
12116 ac_status=$?
12117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12118 (exit $ac_status); }; }; then
12119 ac_cv_c_const=yes
12120 else
12121 echo "$as_me: failed program was:" >&5
12122 cat conftest.$ac_ext >&5
12123 ac_cv_c_const=no
12125 rm -f conftest.$ac_objext conftest.$ac_ext
12127 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
12128 echo "${ECHO_T}$ac_cv_c_const" >&6
12129 if test $ac_cv_c_const = no; then
12131 cat >>confdefs.h <<\_ACEOF
12132 #define const
12133 _ACEOF
12137 echo "$as_me:$LINENO: checking for inline" >&5
12138 echo $ECHO_N "checking for inline... $ECHO_C" >&6
12139 if test "${ac_cv_c_inline+set}" = set; then
12140 echo $ECHO_N "(cached) $ECHO_C" >&6
12141 else
12142 ac_cv_c_inline=no
12143 for ac_kw in inline __inline__ __inline; do
12144 cat >conftest.$ac_ext <<_ACEOF
12145 #line $LINENO "configure"
12146 #include "confdefs.h"
12147 #ifndef __cplusplus
12148 typedef int foo_t;
12149 static $ac_kw foo_t static_foo () {return 0; }
12150 $ac_kw foo_t foo () {return 0; }
12151 #endif
12153 _ACEOF
12154 rm -f conftest.$ac_objext
12155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12156 (eval $ac_compile) 2>&5
12157 ac_status=$?
12158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12159 (exit $ac_status); } &&
12160 { ac_try='test -s conftest.$ac_objext'
12161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12162 (eval $ac_try) 2>&5
12163 ac_status=$?
12164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12165 (exit $ac_status); }; }; then
12166 ac_cv_c_inline=$ac_kw; break
12167 else
12168 echo "$as_me: failed program was:" >&5
12169 cat conftest.$ac_ext >&5
12171 rm -f conftest.$ac_objext conftest.$ac_ext
12172 done
12175 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
12176 echo "${ECHO_T}$ac_cv_c_inline" >&6
12177 case $ac_cv_c_inline in
12178 inline | yes) ;;
12180 cat >>confdefs.h <<\_ACEOF
12181 #define inline
12182 _ACEOF
12184 *) cat >>confdefs.h <<_ACEOF
12185 #define inline $ac_cv_c_inline
12186 _ACEOF
12188 esac
12190 echo "$as_me:$LINENO: checking for mode_t" >&5
12191 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
12192 if test "${ac_cv_type_mode_t+set}" = set; then
12193 echo $ECHO_N "(cached) $ECHO_C" >&6
12194 else
12195 cat >conftest.$ac_ext <<_ACEOF
12196 #line $LINENO "configure"
12197 #include "confdefs.h"
12198 $ac_includes_default
12200 main ()
12202 if ((mode_t *) 0)
12203 return 0;
12204 if (sizeof (mode_t))
12205 return 0;
12207 return 0;
12209 _ACEOF
12210 rm -f conftest.$ac_objext
12211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12212 (eval $ac_compile) 2>&5
12213 ac_status=$?
12214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12215 (exit $ac_status); } &&
12216 { ac_try='test -s conftest.$ac_objext'
12217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12218 (eval $ac_try) 2>&5
12219 ac_status=$?
12220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12221 (exit $ac_status); }; }; then
12222 ac_cv_type_mode_t=yes
12223 else
12224 echo "$as_me: failed program was:" >&5
12225 cat conftest.$ac_ext >&5
12226 ac_cv_type_mode_t=no
12228 rm -f conftest.$ac_objext conftest.$ac_ext
12230 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
12231 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
12232 if test $ac_cv_type_mode_t = yes; then
12234 cat >>confdefs.h <<_ACEOF
12235 #define HAVE_MODE_T 1
12236 _ACEOF
12240 echo "$as_me:$LINENO: checking for off_t" >&5
12241 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
12242 if test "${ac_cv_type_off_t+set}" = set; then
12243 echo $ECHO_N "(cached) $ECHO_C" >&6
12244 else
12245 cat >conftest.$ac_ext <<_ACEOF
12246 #line $LINENO "configure"
12247 #include "confdefs.h"
12248 $ac_includes_default
12250 main ()
12252 if ((off_t *) 0)
12253 return 0;
12254 if (sizeof (off_t))
12255 return 0;
12257 return 0;
12259 _ACEOF
12260 rm -f conftest.$ac_objext
12261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12262 (eval $ac_compile) 2>&5
12263 ac_status=$?
12264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12265 (exit $ac_status); } &&
12266 { ac_try='test -s conftest.$ac_objext'
12267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12268 (eval $ac_try) 2>&5
12269 ac_status=$?
12270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12271 (exit $ac_status); }; }; then
12272 ac_cv_type_off_t=yes
12273 else
12274 echo "$as_me: failed program was:" >&5
12275 cat conftest.$ac_ext >&5
12276 ac_cv_type_off_t=no
12278 rm -f conftest.$ac_objext conftest.$ac_ext
12280 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
12281 echo "${ECHO_T}$ac_cv_type_off_t" >&6
12282 if test $ac_cv_type_off_t = yes; then
12284 cat >>confdefs.h <<_ACEOF
12285 #define HAVE_OFF_T 1
12286 _ACEOF
12290 echo "$as_me:$LINENO: checking for pid_t" >&5
12291 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
12292 if test "${ac_cv_type_pid_t+set}" = set; then
12293 echo $ECHO_N "(cached) $ECHO_C" >&6
12294 else
12295 cat >conftest.$ac_ext <<_ACEOF
12296 #line $LINENO "configure"
12297 #include "confdefs.h"
12298 $ac_includes_default
12300 main ()
12302 if ((pid_t *) 0)
12303 return 0;
12304 if (sizeof (pid_t))
12305 return 0;
12307 return 0;
12309 _ACEOF
12310 rm -f conftest.$ac_objext
12311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12312 (eval $ac_compile) 2>&5
12313 ac_status=$?
12314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12315 (exit $ac_status); } &&
12316 { ac_try='test -s conftest.$ac_objext'
12317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12318 (eval $ac_try) 2>&5
12319 ac_status=$?
12320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12321 (exit $ac_status); }; }; then
12322 ac_cv_type_pid_t=yes
12323 else
12324 echo "$as_me: failed program was:" >&5
12325 cat conftest.$ac_ext >&5
12326 ac_cv_type_pid_t=no
12328 rm -f conftest.$ac_objext conftest.$ac_ext
12330 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
12331 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
12332 if test $ac_cv_type_pid_t = yes; then
12334 cat >>confdefs.h <<_ACEOF
12335 #define HAVE_PID_T 1
12336 _ACEOF
12340 echo "$as_me:$LINENO: checking for size_t" >&5
12341 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
12342 if test "${ac_cv_type_size_t+set}" = set; then
12343 echo $ECHO_N "(cached) $ECHO_C" >&6
12344 else
12345 cat >conftest.$ac_ext <<_ACEOF
12346 #line $LINENO "configure"
12347 #include "confdefs.h"
12348 $ac_includes_default
12350 main ()
12352 if ((size_t *) 0)
12353 return 0;
12354 if (sizeof (size_t))
12355 return 0;
12357 return 0;
12359 _ACEOF
12360 rm -f conftest.$ac_objext
12361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12362 (eval $ac_compile) 2>&5
12363 ac_status=$?
12364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12365 (exit $ac_status); } &&
12366 { ac_try='test -s conftest.$ac_objext'
12367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12368 (eval $ac_try) 2>&5
12369 ac_status=$?
12370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12371 (exit $ac_status); }; }; then
12372 ac_cv_type_size_t=yes
12373 else
12374 echo "$as_me: failed program was:" >&5
12375 cat conftest.$ac_ext >&5
12376 ac_cv_type_size_t=no
12378 rm -f conftest.$ac_objext conftest.$ac_ext
12380 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
12381 echo "${ECHO_T}$ac_cv_type_size_t" >&6
12382 if test $ac_cv_type_size_t = yes; then
12384 cat >>confdefs.h <<_ACEOF
12385 #define HAVE_SIZE_T 1
12386 _ACEOF
12390 echo "$as_me:$LINENO: checking for ssize_t" >&5
12391 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
12392 if test "${ac_cv_type_ssize_t+set}" = set; then
12393 echo $ECHO_N "(cached) $ECHO_C" >&6
12394 else
12395 cat >conftest.$ac_ext <<_ACEOF
12396 #line $LINENO "configure"
12397 #include "confdefs.h"
12398 $ac_includes_default
12400 main ()
12402 if ((ssize_t *) 0)
12403 return 0;
12404 if (sizeof (ssize_t))
12405 return 0;
12407 return 0;
12409 _ACEOF
12410 rm -f conftest.$ac_objext
12411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12412 (eval $ac_compile) 2>&5
12413 ac_status=$?
12414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12415 (exit $ac_status); } &&
12416 { ac_try='test -s conftest.$ac_objext'
12417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12418 (eval $ac_try) 2>&5
12419 ac_status=$?
12420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12421 (exit $ac_status); }; }; then
12422 ac_cv_type_ssize_t=yes
12423 else
12424 echo "$as_me: failed program was:" >&5
12425 cat conftest.$ac_ext >&5
12426 ac_cv_type_ssize_t=no
12428 rm -f conftest.$ac_objext conftest.$ac_ext
12430 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
12431 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
12432 if test $ac_cv_type_ssize_t = yes; then
12434 cat >>confdefs.h <<_ACEOF
12435 #define HAVE_SSIZE_T 1
12436 _ACEOF
12441 echo "$as_me:$LINENO: checking for long long" >&5
12442 echo $ECHO_N "checking for long long... $ECHO_C" >&6
12443 if test "${ac_cv_type_long_long+set}" = set; then
12444 echo $ECHO_N "(cached) $ECHO_C" >&6
12445 else
12446 cat >conftest.$ac_ext <<_ACEOF
12447 #line $LINENO "configure"
12448 #include "confdefs.h"
12449 $ac_includes_default
12451 main ()
12453 if ((long long *) 0)
12454 return 0;
12455 if (sizeof (long long))
12456 return 0;
12458 return 0;
12460 _ACEOF
12461 rm -f conftest.$ac_objext
12462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12463 (eval $ac_compile) 2>&5
12464 ac_status=$?
12465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12466 (exit $ac_status); } &&
12467 { ac_try='test -s conftest.$ac_objext'
12468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12469 (eval $ac_try) 2>&5
12470 ac_status=$?
12471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12472 (exit $ac_status); }; }; then
12473 ac_cv_type_long_long=yes
12474 else
12475 echo "$as_me: failed program was:" >&5
12476 cat conftest.$ac_ext >&5
12477 ac_cv_type_long_long=no
12479 rm -f conftest.$ac_objext conftest.$ac_ext
12481 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
12482 echo "${ECHO_T}$ac_cv_type_long_long" >&6
12484 echo "$as_me:$LINENO: checking size of long long" >&5
12485 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
12486 if test "${ac_cv_sizeof_long_long+set}" = set; then
12487 echo $ECHO_N "(cached) $ECHO_C" >&6
12488 else
12489 if test "$ac_cv_type_long_long" = yes; then
12490 # The cast to unsigned long works around a bug in the HP C Compiler
12491 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12492 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12493 # This bug is HP SR number 8606223364.
12494 if test "$cross_compiling" = yes; then
12495 # Depending upon the size, compute the lo and hi bounds.
12496 cat >conftest.$ac_ext <<_ACEOF
12497 #line $LINENO "configure"
12498 #include "confdefs.h"
12499 $ac_includes_default
12501 main ()
12503 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
12504 test_array [0] = 0
12507 return 0;
12509 _ACEOF
12510 rm -f conftest.$ac_objext
12511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12512 (eval $ac_compile) 2>&5
12513 ac_status=$?
12514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12515 (exit $ac_status); } &&
12516 { ac_try='test -s conftest.$ac_objext'
12517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12518 (eval $ac_try) 2>&5
12519 ac_status=$?
12520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12521 (exit $ac_status); }; }; then
12522 ac_lo=0 ac_mid=0
12523 while :; do
12524 cat >conftest.$ac_ext <<_ACEOF
12525 #line $LINENO "configure"
12526 #include "confdefs.h"
12527 $ac_includes_default
12529 main ()
12531 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
12532 test_array [0] = 0
12535 return 0;
12537 _ACEOF
12538 rm -f conftest.$ac_objext
12539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12540 (eval $ac_compile) 2>&5
12541 ac_status=$?
12542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12543 (exit $ac_status); } &&
12544 { ac_try='test -s conftest.$ac_objext'
12545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12546 (eval $ac_try) 2>&5
12547 ac_status=$?
12548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12549 (exit $ac_status); }; }; then
12550 ac_hi=$ac_mid; break
12551 else
12552 echo "$as_me: failed program was:" >&5
12553 cat conftest.$ac_ext >&5
12554 ac_lo=`expr $ac_mid + 1`
12555 if test $ac_lo -le $ac_mid; then
12556 ac_lo= ac_hi=
12557 break
12559 ac_mid=`expr 2 '*' $ac_mid + 1`
12561 rm -f conftest.$ac_objext conftest.$ac_ext
12562 done
12563 else
12564 echo "$as_me: failed program was:" >&5
12565 cat conftest.$ac_ext >&5
12566 cat >conftest.$ac_ext <<_ACEOF
12567 #line $LINENO "configure"
12568 #include "confdefs.h"
12569 $ac_includes_default
12571 main ()
12573 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
12574 test_array [0] = 0
12577 return 0;
12579 _ACEOF
12580 rm -f conftest.$ac_objext
12581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12582 (eval $ac_compile) 2>&5
12583 ac_status=$?
12584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12585 (exit $ac_status); } &&
12586 { ac_try='test -s conftest.$ac_objext'
12587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12588 (eval $ac_try) 2>&5
12589 ac_status=$?
12590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12591 (exit $ac_status); }; }; then
12592 ac_hi=-1 ac_mid=-1
12593 while :; do
12594 cat >conftest.$ac_ext <<_ACEOF
12595 #line $LINENO "configure"
12596 #include "confdefs.h"
12597 $ac_includes_default
12599 main ()
12601 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
12602 test_array [0] = 0
12605 return 0;
12607 _ACEOF
12608 rm -f conftest.$ac_objext
12609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12610 (eval $ac_compile) 2>&5
12611 ac_status=$?
12612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12613 (exit $ac_status); } &&
12614 { ac_try='test -s conftest.$ac_objext'
12615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12616 (eval $ac_try) 2>&5
12617 ac_status=$?
12618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12619 (exit $ac_status); }; }; then
12620 ac_lo=$ac_mid; break
12621 else
12622 echo "$as_me: failed program was:" >&5
12623 cat conftest.$ac_ext >&5
12624 ac_hi=`expr '(' $ac_mid ')' - 1`
12625 if test $ac_mid -le $ac_hi; then
12626 ac_lo= ac_hi=
12627 break
12629 ac_mid=`expr 2 '*' $ac_mid`
12631 rm -f conftest.$ac_objext conftest.$ac_ext
12632 done
12633 else
12634 echo "$as_me: failed program was:" >&5
12635 cat conftest.$ac_ext >&5
12636 ac_lo= ac_hi=
12638 rm -f conftest.$ac_objext conftest.$ac_ext
12640 rm -f conftest.$ac_objext conftest.$ac_ext
12641 # Binary search between lo and hi bounds.
12642 while test "x$ac_lo" != "x$ac_hi"; do
12643 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12644 cat >conftest.$ac_ext <<_ACEOF
12645 #line $LINENO "configure"
12646 #include "confdefs.h"
12647 $ac_includes_default
12649 main ()
12651 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
12652 test_array [0] = 0
12655 return 0;
12657 _ACEOF
12658 rm -f conftest.$ac_objext
12659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12660 (eval $ac_compile) 2>&5
12661 ac_status=$?
12662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12663 (exit $ac_status); } &&
12664 { ac_try='test -s conftest.$ac_objext'
12665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12666 (eval $ac_try) 2>&5
12667 ac_status=$?
12668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12669 (exit $ac_status); }; }; then
12670 ac_hi=$ac_mid
12671 else
12672 echo "$as_me: failed program was:" >&5
12673 cat conftest.$ac_ext >&5
12674 ac_lo=`expr '(' $ac_mid ')' + 1`
12676 rm -f conftest.$ac_objext conftest.$ac_ext
12677 done
12678 case $ac_lo in
12679 ?*) ac_cv_sizeof_long_long=$ac_lo;;
12680 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77" >&5
12681 echo "$as_me: error: cannot compute sizeof (long long), 77" >&2;}
12682 { (exit 1); exit 1; }; } ;;
12683 esac
12684 else
12685 if test "$cross_compiling" = yes; then
12686 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
12687 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
12688 { (exit 1); exit 1; }; }
12689 else
12690 cat >conftest.$ac_ext <<_ACEOF
12691 #line $LINENO "configure"
12692 #include "confdefs.h"
12693 $ac_includes_default
12694 long longval () { return (long) (sizeof (long long)); }
12695 unsigned long ulongval () { return (long) (sizeof (long long)); }
12696 #include <stdio.h>
12697 #include <stdlib.h>
12699 main ()
12702 FILE *f = fopen ("conftest.val", "w");
12703 if (! f)
12704 exit (1);
12705 if (((long) (sizeof (long long))) < 0)
12707 long i = longval ();
12708 if (i != ((long) (sizeof (long long))))
12709 exit (1);
12710 fprintf (f, "%ld\n", i);
12712 else
12714 unsigned long i = ulongval ();
12715 if (i != ((long) (sizeof (long long))))
12716 exit (1);
12717 fprintf (f, "%lu\n", i);
12719 exit (ferror (f) || fclose (f) != 0);
12722 return 0;
12724 _ACEOF
12725 rm -f conftest$ac_exeext
12726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12727 (eval $ac_link) 2>&5
12728 ac_status=$?
12729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12730 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12732 (eval $ac_try) 2>&5
12733 ac_status=$?
12734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12735 (exit $ac_status); }; }; then
12736 ac_cv_sizeof_long_long=`cat conftest.val`
12737 else
12738 echo "$as_me: program exited with status $ac_status" >&5
12739 echo "$as_me: failed program was:" >&5
12740 cat conftest.$ac_ext >&5
12741 ( exit $ac_status )
12742 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77" >&5
12743 echo "$as_me: error: cannot compute sizeof (long long), 77" >&2;}
12744 { (exit 1); exit 1; }; }
12746 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12749 rm -f conftest.val
12750 else
12751 ac_cv_sizeof_long_long=0
12754 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
12755 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
12756 cat >>confdefs.h <<_ACEOF
12757 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12758 _ACEOF
12762 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
12763 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
12764 if test "${wine_cv_linux_input_h+set}" = set; then
12765 echo $ECHO_N "(cached) $ECHO_C" >&6
12766 else
12767 cat >conftest.$ac_ext <<_ACEOF
12768 #line $LINENO "configure"
12769 #include "confdefs.h"
12771 #include <linux/input.h>
12774 main ()
12777 int foo = EVIOCGBIT(EV_ABS,42);
12778 int bar = BTN_PINKIE;
12779 int fortytwo = 42;
12782 return 0;
12784 _ACEOF
12785 rm -f conftest.$ac_objext
12786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12787 (eval $ac_compile) 2>&5
12788 ac_status=$?
12789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12790 (exit $ac_status); } &&
12791 { ac_try='test -s conftest.$ac_objext'
12792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12793 (eval $ac_try) 2>&5
12794 ac_status=$?
12795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12796 (exit $ac_status); }; }; then
12797 wine_cv_linux_input_h=yes
12798 else
12799 echo "$as_me: failed program was:" >&5
12800 cat conftest.$ac_ext >&5
12801 wine_cv_linux_input_h=no
12803 rm -f conftest.$ac_objext conftest.$ac_ext
12806 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
12807 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
12808 if test "$wine_cv_linux_input_h" = "yes"
12809 then
12811 cat >>confdefs.h <<\_ACEOF
12812 #define HAVE_CORRECT_LINUXINPUT_H 1
12813 _ACEOF
12818 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
12819 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
12820 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
12821 echo $ECHO_N "(cached) $ECHO_C" >&6
12822 else
12823 cat >conftest.$ac_ext <<_ACEOF
12824 #line $LINENO "configure"
12825 #include "confdefs.h"
12827 #include <netdb.h>
12830 main ()
12833 char *name=NULL;
12834 struct hostent he;
12835 struct hostent *result;
12836 char *buf=NULL;
12837 int bufsize=0;
12838 int res,errnr;
12839 char *addr=NULL;
12840 int addrlen=0;
12841 int addrtype=0;
12842 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
12843 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
12846 return 0;
12848 _ACEOF
12849 rm -f conftest.$ac_objext
12850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12851 (eval $ac_compile) 2>&5
12852 ac_status=$?
12853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12854 (exit $ac_status); } &&
12855 { ac_try='test -s conftest.$ac_objext'
12856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12857 (eval $ac_try) 2>&5
12858 ac_status=$?
12859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12860 (exit $ac_status); }; }; then
12861 wine_cv_linux_gethostbyname_r_6=yes
12862 else
12863 echo "$as_me: failed program was:" >&5
12864 cat conftest.$ac_ext >&5
12865 wine_cv_linux_gethostbyname_r_6=no
12868 rm -f conftest.$ac_objext conftest.$ac_ext
12871 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
12872 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
12873 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
12874 then
12876 cat >>confdefs.h <<\_ACEOF
12877 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
12878 _ACEOF
12882 if test "$ac_cv_header_linux_joystick_h" = "yes"
12883 then
12884 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
12885 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
12886 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
12887 echo $ECHO_N "(cached) $ECHO_C" >&6
12888 else
12889 cat >conftest.$ac_ext <<_ACEOF
12890 #line $LINENO "configure"
12891 #include "confdefs.h"
12893 #include <sys/ioctl.h>
12894 #include <linux/joystick.h>
12896 struct js_event blub;
12897 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
12898 #error "no 2.2 header"
12899 #endif
12902 main ()
12904 /*empty*/
12906 return 0;
12908 _ACEOF
12909 rm -f conftest.$ac_objext
12910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12911 (eval $ac_compile) 2>&5
12912 ac_status=$?
12913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12914 (exit $ac_status); } &&
12915 { ac_try='test -s conftest.$ac_objext'
12916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12917 (eval $ac_try) 2>&5
12918 ac_status=$?
12919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12920 (exit $ac_status); }; }; then
12921 wine_cv_linux_joystick_22_api=yes
12922 else
12923 echo "$as_me: failed program was:" >&5
12924 cat conftest.$ac_ext >&5
12925 wine_cv_linux_joystick_22_api=no
12927 rm -f conftest.$ac_objext conftest.$ac_ext
12930 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
12931 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
12932 if test "$wine_cv_linux_joystick_22_api" = "yes"
12933 then
12935 cat >>confdefs.h <<\_ACEOF
12936 #define HAVE_LINUX_22_JOYSTICK_API 1
12937 _ACEOF
12943 if test "$ac_cv_header_sys_vfs_h" = "yes"
12944 then
12945 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
12946 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
12947 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
12948 echo $ECHO_N "(cached) $ECHO_C" >&6
12949 else
12950 cat >conftest.$ac_ext <<_ACEOF
12951 #line $LINENO "configure"
12952 #include "confdefs.h"
12954 #include <sys/types.h>
12955 #ifdef HAVE_SYS_PARAM_H
12956 # include <sys/param.h>
12957 #endif
12958 #include <sys/vfs.h>
12961 main ()
12964 struct statfs stfs;
12966 memset(&stfs,0,sizeof(stfs));
12969 return 0;
12971 _ACEOF
12972 rm -f conftest.$ac_objext
12973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12974 (eval $ac_compile) 2>&5
12975 ac_status=$?
12976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12977 (exit $ac_status); } &&
12978 { ac_try='test -s conftest.$ac_objext'
12979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12980 (eval $ac_try) 2>&5
12981 ac_status=$?
12982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12983 (exit $ac_status); }; }; then
12984 wine_cv_sys_vfs_has_statfs=yes
12985 else
12986 echo "$as_me: failed program was:" >&5
12987 cat conftest.$ac_ext >&5
12988 wine_cv_sys_vfs_has_statfs=no
12991 rm -f conftest.$ac_objext conftest.$ac_ext
12994 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
12995 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
12996 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
12997 then
12999 cat >>confdefs.h <<\_ACEOF
13000 #define STATFS_DEFINED_BY_SYS_VFS 1
13001 _ACEOF
13006 if test "$ac_cv_header_sys_statfs_h" = "yes"
13007 then
13008 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
13009 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
13010 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
13011 echo $ECHO_N "(cached) $ECHO_C" >&6
13012 else
13013 cat >conftest.$ac_ext <<_ACEOF
13014 #line $LINENO "configure"
13015 #include "confdefs.h"
13017 #include <sys/types.h>
13018 #ifdef HAVE_SYS_PARAM_H
13019 # include <sys/param.h>
13020 #endif
13021 #include <sys/statfs.h>
13024 main ()
13027 struct statfs stfs;
13030 return 0;
13032 _ACEOF
13033 rm -f conftest.$ac_objext
13034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13035 (eval $ac_compile) 2>&5
13036 ac_status=$?
13037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13038 (exit $ac_status); } &&
13039 { ac_try='test -s conftest.$ac_objext'
13040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13041 (eval $ac_try) 2>&5
13042 ac_status=$?
13043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13044 (exit $ac_status); }; }; then
13045 wine_cv_sys_statfs_has_statfs=yes
13046 else
13047 echo "$as_me: failed program was:" >&5
13048 cat conftest.$ac_ext >&5
13049 wine_cv_sys_statfs_has_statfs=no
13052 rm -f conftest.$ac_objext conftest.$ac_ext
13055 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
13056 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
13057 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
13058 then
13060 cat >>confdefs.h <<\_ACEOF
13061 #define STATFS_DEFINED_BY_SYS_STATFS 1
13062 _ACEOF
13067 if test "$ac_cv_header_sys_mount_h" = "yes"
13068 then
13069 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
13070 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
13071 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
13072 echo $ECHO_N "(cached) $ECHO_C" >&6
13073 else
13074 cat >conftest.$ac_ext <<_ACEOF
13075 #line $LINENO "configure"
13076 #include "confdefs.h"
13078 #include <sys/types.h>
13079 #ifdef HAVE_SYS_PARAM_H
13080 # include <sys/param.h>
13081 #endif
13082 #include <sys/mount.h>
13085 main ()
13088 struct statfs stfs;
13091 return 0;
13093 _ACEOF
13094 rm -f conftest.$ac_objext
13095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13096 (eval $ac_compile) 2>&5
13097 ac_status=$?
13098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13099 (exit $ac_status); } &&
13100 { ac_try='test -s conftest.$ac_objext'
13101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13102 (eval $ac_try) 2>&5
13103 ac_status=$?
13104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13105 (exit $ac_status); }; }; then
13106 wine_cv_sys_mount_has_statfs=yes
13107 else
13108 echo "$as_me: failed program was:" >&5
13109 cat conftest.$ac_ext >&5
13110 wine_cv_sys_mount_has_statfs=no
13113 rm -f conftest.$ac_objext conftest.$ac_ext
13116 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
13117 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
13118 if test "$wine_cv_sys_mount_has_statfs" = "yes"
13119 then
13121 cat >>confdefs.h <<\_ACEOF
13122 #define STATFS_DEFINED_BY_SYS_MOUNT 1
13123 _ACEOF
13129 echo "$as_me:$LINENO: checking for f_bfree in struct statfs" >&5
13130 echo $ECHO_N "checking for f_bfree in struct statfs... $ECHO_C" >&6
13131 if test "${ac_cv_c_statfs_f_bfree+set}" = set; then
13132 echo $ECHO_N "(cached) $ECHO_C" >&6
13133 else
13134 cat >conftest.$ac_ext <<_ACEOF
13135 #line $LINENO "configure"
13136 #include "confdefs.h"
13137 #include <sys/types.h>
13138 #ifdef HAVE_SYS_PARAM_H
13139 # include <sys/param.h>
13140 #endif
13141 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
13142 # include <sys/mount.h>
13143 #else
13144 # ifdef STATFS_DEFINED_BY_SYS_VFS
13145 # include <sys/vfs.h>
13146 # else
13147 # ifdef STATFS_DEFINED_BY_SYS_STATFS
13148 # include <sys/statfs.h>
13149 # endif
13150 # endif
13151 #endif
13153 main ()
13155 struct statfs s; s.f_bfree = 0
13157 return 0;
13159 _ACEOF
13160 rm -f conftest.$ac_objext
13161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13162 (eval $ac_compile) 2>&5
13163 ac_status=$?
13164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13165 (exit $ac_status); } &&
13166 { ac_try='test -s conftest.$ac_objext'
13167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13168 (eval $ac_try) 2>&5
13169 ac_status=$?
13170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13171 (exit $ac_status); }; }; then
13172 ac_cv_c_statfs_f_bfree="yes"
13173 else
13174 echo "$as_me: failed program was:" >&5
13175 cat conftest.$ac_ext >&5
13176 ac_cv_c_statfs_f_bfree="no"
13178 rm -f conftest.$ac_objext conftest.$ac_ext
13180 echo "$as_me:$LINENO: result: $ac_cv_c_statfs_f_bfree" >&5
13181 echo "${ECHO_T}$ac_cv_c_statfs_f_bfree" >&6
13182 if test "x$ac_cv_c_statfs_f_bfree" = "xyes"; then
13184 cat >>confdefs.h <<\_ACEOF
13185 #define STATFS_HAS_BFREE 1
13186 _ACEOF
13192 echo "$as_me:$LINENO: checking for f_bavail in struct statfs" >&5
13193 echo $ECHO_N "checking for f_bavail in struct statfs... $ECHO_C" >&6
13194 if test "${ac_cv_c_statfs_f_bavail+set}" = set; then
13195 echo $ECHO_N "(cached) $ECHO_C" >&6
13196 else
13197 cat >conftest.$ac_ext <<_ACEOF
13198 #line $LINENO "configure"
13199 #include "confdefs.h"
13200 #include <sys/types.h>
13201 #ifdef HAVE_SYS_PARAM_H
13202 # include <sys/param.h>
13203 #endif
13204 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
13205 # include <sys/mount.h>
13206 #else
13207 # ifdef STATFS_DEFINED_BY_SYS_VFS
13208 # include <sys/vfs.h>
13209 # else
13210 # ifdef STATFS_DEFINED_BY_SYS_STATFS
13211 # include <sys/statfs.h>
13212 # endif
13213 # endif
13214 #endif
13216 main ()
13218 struct statfs s; s.f_bavail = 0
13220 return 0;
13222 _ACEOF
13223 rm -f conftest.$ac_objext
13224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13225 (eval $ac_compile) 2>&5
13226 ac_status=$?
13227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13228 (exit $ac_status); } &&
13229 { ac_try='test -s conftest.$ac_objext'
13230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13231 (eval $ac_try) 2>&5
13232 ac_status=$?
13233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13234 (exit $ac_status); }; }; then
13235 ac_cv_c_statfs_f_bavail="yes"
13236 else
13237 echo "$as_me: failed program was:" >&5
13238 cat conftest.$ac_ext >&5
13239 ac_cv_c_statfs_f_bavail="no"
13241 rm -f conftest.$ac_objext conftest.$ac_ext
13243 echo "$as_me:$LINENO: result: $ac_cv_c_statfs_f_bavail" >&5
13244 echo "${ECHO_T}$ac_cv_c_statfs_f_bavail" >&6
13245 if test "x$ac_cv_c_statfs_f_bavail" = "xyes"; then
13247 cat >>confdefs.h <<\_ACEOF
13248 #define STATFS_HAS_BAVAIL 1
13249 _ACEOF
13255 echo "$as_me:$LINENO: checking for msg_accrights in struct msghdr" >&5
13256 echo $ECHO_N "checking for msg_accrights in struct msghdr... $ECHO_C" >&6
13257 if test "${ac_cv_c_msghdr_msg_accrights+set}" = set; then
13258 echo $ECHO_N "(cached) $ECHO_C" >&6
13259 else
13260 cat >conftest.$ac_ext <<_ACEOF
13261 #line $LINENO "configure"
13262 #include "confdefs.h"
13263 #include <sys/types.h>
13264 #include <sys/socket.h>
13266 main ()
13268 struct msghdr s; s.msg_accrights = 0
13270 return 0;
13272 _ACEOF
13273 rm -f conftest.$ac_objext
13274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13275 (eval $ac_compile) 2>&5
13276 ac_status=$?
13277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13278 (exit $ac_status); } &&
13279 { ac_try='test -s conftest.$ac_objext'
13280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13281 (eval $ac_try) 2>&5
13282 ac_status=$?
13283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13284 (exit $ac_status); }; }; then
13285 ac_cv_c_msghdr_msg_accrights="yes"
13286 else
13287 echo "$as_me: failed program was:" >&5
13288 cat conftest.$ac_ext >&5
13289 ac_cv_c_msghdr_msg_accrights="no"
13291 rm -f conftest.$ac_objext conftest.$ac_ext
13293 echo "$as_me:$LINENO: result: $ac_cv_c_msghdr_msg_accrights" >&5
13294 echo "${ECHO_T}$ac_cv_c_msghdr_msg_accrights" >&6
13295 if test "x$ac_cv_c_msghdr_msg_accrights" = "xyes"; then
13297 cat >>confdefs.h <<\_ACEOF
13298 #define HAVE_MSGHDR_ACCRIGHTS 1
13299 _ACEOF
13305 echo "$as_me:$LINENO: checking for sa_len in struct sockaddr" >&5
13306 echo $ECHO_N "checking for sa_len in struct sockaddr... $ECHO_C" >&6
13307 if test "${ac_cv_c_sockaddr_sa_len+set}" = set; then
13308 echo $ECHO_N "(cached) $ECHO_C" >&6
13309 else
13310 cat >conftest.$ac_ext <<_ACEOF
13311 #line $LINENO "configure"
13312 #include "confdefs.h"
13313 #include <sys/types.h>
13314 #include <sys/socket.h>
13316 main ()
13318 struct sockaddr s; s.sa_len = 0
13320 return 0;
13322 _ACEOF
13323 rm -f conftest.$ac_objext
13324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13325 (eval $ac_compile) 2>&5
13326 ac_status=$?
13327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13328 (exit $ac_status); } &&
13329 { ac_try='test -s conftest.$ac_objext'
13330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13331 (eval $ac_try) 2>&5
13332 ac_status=$?
13333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13334 (exit $ac_status); }; }; then
13335 ac_cv_c_sockaddr_sa_len="yes"
13336 else
13337 echo "$as_me: failed program was:" >&5
13338 cat conftest.$ac_ext >&5
13339 ac_cv_c_sockaddr_sa_len="no"
13341 rm -f conftest.$ac_objext conftest.$ac_ext
13343 echo "$as_me:$LINENO: result: $ac_cv_c_sockaddr_sa_len" >&5
13344 echo "${ECHO_T}$ac_cv_c_sockaddr_sa_len" >&6
13345 if test "x$ac_cv_c_sockaddr_sa_len" = "xyes"; then
13347 cat >>confdefs.h <<\_ACEOF
13348 #define HAVE_SOCKADDR_SA_LEN 1
13349 _ACEOF
13355 echo "$as_me:$LINENO: checking for sun_len in struct sockaddr_un" >&5
13356 echo $ECHO_N "checking for sun_len in struct sockaddr_un... $ECHO_C" >&6
13357 if test "${ac_cv_c_sockaddr_un_sun_len+set}" = set; then
13358 echo $ECHO_N "(cached) $ECHO_C" >&6
13359 else
13360 cat >conftest.$ac_ext <<_ACEOF
13361 #line $LINENO "configure"
13362 #include "confdefs.h"
13363 #include <sys/types.h>
13364 #include <sys/socket.h>
13365 #include <sys/un.h>
13367 main ()
13369 struct sockaddr_un s; s.sun_len = 0
13371 return 0;
13373 _ACEOF
13374 rm -f conftest.$ac_objext
13375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13376 (eval $ac_compile) 2>&5
13377 ac_status=$?
13378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13379 (exit $ac_status); } &&
13380 { ac_try='test -s conftest.$ac_objext'
13381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13382 (eval $ac_try) 2>&5
13383 ac_status=$?
13384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13385 (exit $ac_status); }; }; then
13386 ac_cv_c_sockaddr_un_sun_len="yes"
13387 else
13388 echo "$as_me: failed program was:" >&5
13389 cat conftest.$ac_ext >&5
13390 ac_cv_c_sockaddr_un_sun_len="no"
13392 rm -f conftest.$ac_objext conftest.$ac_ext
13394 echo "$as_me:$LINENO: result: $ac_cv_c_sockaddr_un_sun_len" >&5
13395 echo "${ECHO_T}$ac_cv_c_sockaddr_un_sun_len" >&6
13396 if test "x$ac_cv_c_sockaddr_un_sun_len" = "xyes"; then
13398 cat >>confdefs.h <<\_ACEOF
13399 #define HAVE_SOCKADDR_SUN_LEN 1
13400 _ACEOF
13407 case $host_cpu in
13408 *i345678986* )
13409 echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
13410 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
13411 if test "${ac_cv_cpp_def_i386+set}" = set; then
13412 echo $ECHO_N "(cached) $ECHO_C" >&6
13413 else
13414 cat >conftest.$ac_ext <<_ACEOF
13415 #line $LINENO "configure"
13416 #include "confdefs.h"
13417 #ifndef __i386__
13419 #endif
13420 _ACEOF
13421 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13422 $EGREP "yes" >/dev/null 2>&1; then
13423 ac_cv_cpp_def_i386="yes"
13424 else
13425 ac_cv_cpp_def_i386="no"
13427 rm -f conftest*
13430 echo "$as_me:$LINENO: result: $ac_cv_cpp_def_i386" >&5
13431 echo "${ECHO_T}$ac_cv_cpp_def_i386" >&6
13433 esac
13434 if test "$ac_cv_cpp_def_i386" = "yes"
13435 then
13436 CFLAGS="$CFLAGS -D__i386__"
13437 LINTFLAGS="$LINTFLAGS -D__i386__"
13441 case $host_cpu in
13442 *sparc* )
13443 echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
13444 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
13445 if test "${ac_cv_cpp_def_sparc+set}" = set; then
13446 echo $ECHO_N "(cached) $ECHO_C" >&6
13447 else
13448 cat >conftest.$ac_ext <<_ACEOF
13449 #line $LINENO "configure"
13450 #include "confdefs.h"
13451 #ifndef __sparc__
13453 #endif
13454 _ACEOF
13455 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13456 $EGREP "yes" >/dev/null 2>&1; then
13457 ac_cv_cpp_def_sparc="yes"
13458 else
13459 ac_cv_cpp_def_sparc="no"
13461 rm -f conftest*
13464 echo "$as_me:$LINENO: result: $ac_cv_cpp_def_sparc" >&5
13465 echo "${ECHO_T}$ac_cv_cpp_def_sparc" >&6
13467 esac
13468 if test "$ac_cv_cpp_def_sparc" = "yes"
13469 then
13470 CFLAGS="$CFLAGS -D__sparc__"
13471 LINTFLAGS="$LINTFLAGS -D__sparc__"
13475 case $host_vendor in
13476 *sun* )
13477 echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
13478 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
13479 if test "${ac_cv_cpp_def_sun+set}" = set; then
13480 echo $ECHO_N "(cached) $ECHO_C" >&6
13481 else
13482 cat >conftest.$ac_ext <<_ACEOF
13483 #line $LINENO "configure"
13484 #include "confdefs.h"
13485 #ifndef __sun__
13487 #endif
13488 _ACEOF
13489 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13490 $EGREP "yes" >/dev/null 2>&1; then
13491 ac_cv_cpp_def_sun="yes"
13492 else
13493 ac_cv_cpp_def_sun="no"
13495 rm -f conftest*
13498 echo "$as_me:$LINENO: result: $ac_cv_cpp_def_sun" >&5
13499 echo "${ECHO_T}$ac_cv_cpp_def_sun" >&6
13501 esac
13502 if test "$ac_cv_cpp_def_sun" = "yes"
13503 then
13504 CFLAGS="$CFLAGS -D__sun__"
13505 LINTFLAGS="$LINTFLAGS -D__sun__"
13512 ac_config_commands="$ac_config_commands controls"
13514 ac_config_commands="$ac_config_commands dlls/ddraw/d3ddevice"
13516 ac_config_commands="$ac_config_commands dlls/ddraw/dclipper"
13518 ac_config_commands="$ac_config_commands dlls/ddraw/ddraw"
13520 ac_config_commands="$ac_config_commands dlls/ddraw/direct3d"
13522 ac_config_commands="$ac_config_commands dlls/ddraw/dpalette"
13524 ac_config_commands="$ac_config_commands dlls/ddraw/dsurface"
13526 ac_config_commands="$ac_config_commands dlls/dinput/joystick"
13528 ac_config_commands="$ac_config_commands dlls/dinput/keyboard"
13530 ac_config_commands="$ac_config_commands dlls/dinput/mouse"
13532 ac_config_commands="$ac_config_commands dlls/gdi/enhmfdrv"
13534 ac_config_commands="$ac_config_commands dlls/gdi/mfdrv"
13536 ac_config_commands="$ac_config_commands dlls/gdi/win16drv"
13538 ac_config_commands="$ac_config_commands dlls/kernel/messages"
13540 ac_config_commands="$ac_config_commands dlls/user/dde"
13542 ac_config_commands="$ac_config_commands dlls/user/resources"
13544 ac_config_commands="$ac_config_commands dlls/wineps/data"
13546 ac_config_commands="$ac_config_commands files"
13548 ac_config_commands="$ac_config_commands graphics"
13550 ac_config_commands="$ac_config_commands graphics/x11drv"
13552 ac_config_commands="$ac_config_commands if1632"
13554 ac_config_commands="$ac_config_commands include/wine"
13556 ac_config_commands="$ac_config_commands loader"
13558 ac_config_commands="$ac_config_commands loader/ne"
13560 ac_config_commands="$ac_config_commands memory"
13562 ac_config_commands="$ac_config_commands misc"
13564 ac_config_commands="$ac_config_commands msdos"
13566 ac_config_commands="$ac_config_commands objects"
13568 ac_config_commands="$ac_config_commands programs/regapi/tests"
13570 ac_config_commands="$ac_config_commands programs/regedit/tests"
13572 ac_config_commands="$ac_config_commands programs/winetest/tests"
13574 ac_config_commands="$ac_config_commands relay32"
13576 ac_config_commands="$ac_config_commands scheduler"
13578 ac_config_commands="$ac_config_commands win32"
13580 ac_config_commands="$ac_config_commands windows"
13583 MAKE_RULES=Make.rules
13586 MAKE_DLL_RULES=dlls/Makedll.rules
13589 MAKE_TEST_RULES=dlls/Maketest.rules
13592 MAKE_PROG_RULES=programs/Makeprog.rules
13595 ac_config_files="$ac_config_files Make.rules dlls/Makedll.rules dlls/Maketest.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/comcat/Makefile dlls/comctl32/Makefile dlls/commdlg/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/d3d8/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput8/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dsound/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/icmp/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/kernel/Makefile dlls/kernel/tests/Makefile dlls/lzexpand/Makefile dlls/mapi32/Makefile dlls/mpr/Makefile dlls/msacm/Makefile dlls/msacm/imaadp32/Makefile dlls/msacm/msadp32/Makefile dlls/msacm/msg711/Makefile dlls/msacm/winemp3/Makefile dlls/msdmo/Makefile dlls/msimg32/Makefile dlls/msisys/Makefile dlls/msnet32/Makefile dlls/msvcrt/Makefile dlls/msvcrt20/Makefile dlls/msvideo/Makefile dlls/msvideo/msrle32/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/odbc32/Makefile dlls/ole32/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr/Makefile dlls/opengl32/Makefile dlls/psapi/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/rasapi32/Makefile dlls/richedit/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/shdocvw/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/sti/Makefile dlls/tapi32/Makefile dlls/ttydrv/Makefile dlls/twain/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/version/Makefile dlls/win32s/Makefile dlls/winaspi/Makefile dlls/winedos/Makefile dlls/wineps/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/mcianim/Makefile dlls/winmm/mciavi/Makefile dlls/winmm/mcicda/Makefile dlls/winmm/mciseq/Makefile dlls/winmm/mciwave/Makefile dlls/winmm/midimap/Makefile dlls/winmm/wavemap/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/Makefile dlls/winnls/Makefile dlls/winsock/Makefile dlls/winsock/tests/Makefile dlls/winspool/Makefile dlls/wintrust/Makefile dlls/wow32/Makefile dlls/wsock32/Makefile dlls/x11drv/Makefile documentation/Makefile include/Makefile library/Makefile miscemu/Makefile ole/Makefile programs/Makefile programs/avitools/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/expand/Makefile programs/notepad/Makefile programs/osversioncheck/Makefile programs/progman/Makefile programs/regapi/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/regtest/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wcmd/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winetest/Makefile programs/winhelp/Makefile programs/winver/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/wmc/Makefile tools/wpp/Makefile tools/wrc/Makefile unicode/Makefile"
13598 cat >confcache <<\_ACEOF
13599 # This file is a shell script that caches the results of configure
13600 # tests run on this system so they can be shared between configure
13601 # scripts and configure runs, see configure's option --config-cache.
13602 # It is not useful on other systems. If it contains results you don't
13603 # want to keep, you may remove or edit it.
13605 # config.status only pays attention to the cache file if you give it
13606 # the --recheck option to rerun configure.
13608 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13609 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13610 # following values.
13612 _ACEOF
13614 # The following way of writing the cache mishandles newlines in values,
13615 # but we know of no workaround that is simple, portable, and efficient.
13616 # So, don't put newlines in cache variables' values.
13617 # Ultrix sh set writes to stderr and can't be redirected directly,
13618 # and sets the high bit in the cache file unless we assign to the vars.
13620 (set) 2>&1 |
13621 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13622 *ac_space=\ *)
13623 # `set' does not quote correctly, so add quotes (double-quote
13624 # substitution turns \\\\ into \\, and sed turns \\ into \).
13625 sed -n \
13626 "s/'/'\\\\''/g;
13627 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13630 # `set' quotes correctly as required by POSIX, so do not add quotes.
13631 sed -n \
13632 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
13634 esac;
13636 sed '
13637 t clear
13638 : clear
13639 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13640 t end
13641 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13642 : end' >>confcache
13643 if cmp -s $cache_file confcache; then :; else
13644 if test -w $cache_file; then
13645 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
13646 cat confcache >$cache_file
13647 else
13648 echo "not updating unwritable cache $cache_file"
13651 rm -f confcache
13653 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13654 # Let make expand exec_prefix.
13655 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13657 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13658 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13659 # trailing colons and then remove the whole line if VPATH becomes empty
13660 # (actually we leave an empty line to preserve line numbers).
13661 if test "x$srcdir" = x.; then
13662 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13663 s/:*\$(srcdir):*/:/;
13664 s/:*\${srcdir}:*/:/;
13665 s/:*@srcdir@:*/:/;
13666 s/^\([^=]*=[ ]*\):*/\1/;
13667 s/:*$//;
13668 s/^[^=]*=[ ]*$//;
13672 DEFS=-DHAVE_CONFIG_H
13674 ac_libobjs=
13675 ac_ltlibobjs=
13676 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13677 # 1. Remove the extension, and $U if already installed.
13678 ac_i=`echo "$ac_i" |
13679 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
13680 # 2. Add them.
13681 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
13682 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
13683 done
13684 LIBOBJS=$ac_libobjs
13686 LTLIBOBJS=$ac_ltlibobjs
13690 : ${CONFIG_STATUS=./config.status}
13691 ac_clean_files_save=$ac_clean_files
13692 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13693 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13694 echo "$as_me: creating $CONFIG_STATUS" >&6;}
13695 cat >$CONFIG_STATUS <<_ACEOF
13696 #! $SHELL
13697 # Generated by $as_me.
13698 # Run this file to recreate the current configuration.
13699 # Compiler output produced by configure, useful for debugging
13700 # configure, is in config.log if it exists.
13702 debug=false
13703 SHELL=\${CONFIG_SHELL-$SHELL}
13704 _ACEOF
13706 cat >>$CONFIG_STATUS <<\_ACEOF
13707 ## --------------------- ##
13708 ## M4sh Initialization. ##
13709 ## --------------------- ##
13711 # Be Bourne compatible
13712 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
13713 emulate sh
13714 NULLCMD=:
13715 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
13716 # is contrary to our usage. Disable this feature.
13717 alias -g '${1+"$@"}'='"$@"'
13718 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
13719 set -o posix
13722 # Support unset when possible.
13723 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
13724 as_unset=unset
13725 else
13726 as_unset=false
13730 # Work around bugs in pre-3.0 UWIN ksh.
13731 $as_unset ENV MAIL MAILPATH
13732 PS1='$ '
13733 PS2='> '
13734 PS4='+ '
13736 # NLS nuisances.
13737 for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
13739 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
13740 eval $as_var=C; export $as_var
13741 else
13742 $as_unset $as_var
13744 done
13746 # Required to use basename.
13747 if expr a : '\(a\)' >/dev/null 2>&1; then
13748 as_expr=expr
13749 else
13750 as_expr=false
13753 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
13754 as_basename=basename
13755 else
13756 as_basename=false
13760 # Name of the executable.
13761 as_me=`$as_basename "$0" ||
13762 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13763 X"$0" : 'X\(//\)$' \| \
13764 X"$0" : 'X\(/\)$' \| \
13765 . : '\(.\)' 2>/dev/null ||
13766 echo X/"$0" |
13767 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
13768 /^X\/\(\/\/\)$/{ s//\1/; q; }
13769 /^X\/\(\/\).*/{ s//\1/; q; }
13770 s/.*/./; q'`
13773 # PATH needs CR, and LINENO needs CR and PATH.
13774 # Avoid depending upon Character Ranges.
13775 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13776 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13777 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13778 as_cr_digits='0123456789'
13779 as_cr_alnum=$as_cr_Letters$as_cr_digits
13781 # The user is always right.
13782 if test "${PATH_SEPARATOR+set}" != set; then
13783 echo "#! /bin/sh" >conftest.sh
13784 echo "exit 0" >>conftest.sh
13785 chmod +x conftest.sh
13786 if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
13787 PATH_SEPARATOR=';'
13788 else
13789 PATH_SEPARATOR=:
13791 rm -f conftest.sh
13795 as_lineno_1=$LINENO
13796 as_lineno_2=$LINENO
13797 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
13798 test "x$as_lineno_1" != "x$as_lineno_2" &&
13799 test "x$as_lineno_3" = "x$as_lineno_2" || {
13800 # Find who we are. Look in the path if we contain no path at all
13801 # relative or not.
13802 case $0 in
13803 *[\\/]* ) as_myself=$0 ;;
13804 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13805 for as_dir in $PATH
13807 IFS=$as_save_IFS
13808 test -z "$as_dir" && as_dir=.
13809 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13810 done
13813 esac
13814 # We did not find ourselves, most probably we were run as `sh COMMAND'
13815 # in which case we are not to be found in the path.
13816 if test "x$as_myself" = x; then
13817 as_myself=$0
13819 if test ! -f "$as_myself"; then
13820 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
13821 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
13822 { (exit 1); exit 1; }; }
13824 case $CONFIG_SHELL in
13826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13827 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
13829 IFS=$as_save_IFS
13830 test -z "$as_dir" && as_dir=.
13831 for as_base in sh bash ksh sh5; do
13832 case $as_dir in
13834 if ("$as_dir/$as_base" -c '
13835 as_lineno_1=$LINENO
13836 as_lineno_2=$LINENO
13837 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
13838 test "x$as_lineno_1" != "x$as_lineno_2" &&
13839 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
13840 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
13841 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
13842 CONFIG_SHELL=$as_dir/$as_base
13843 export CONFIG_SHELL
13844 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
13845 fi;;
13846 esac
13847 done
13848 done
13850 esac
13852 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13853 # uniformly replaced by the line number. The first 'sed' inserts a
13854 # line-number line before each line; the second 'sed' does the real
13855 # work. The second script uses 'N' to pair each line-number line
13856 # with the numbered line, and appends trailing '-' during
13857 # substitution so that $LINENO is not a special case at line end.
13858 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13859 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
13860 sed '=' <$as_myself |
13861 sed '
13863 s,$,-,
13864 : loop
13865 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
13866 t loop
13867 s,-$,,
13868 s,^['$as_cr_digits']*\n,,
13869 ' >$as_me.lineno &&
13870 chmod +x $as_me.lineno ||
13871 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
13872 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
13873 { (exit 1); exit 1; }; }
13875 # Don't try to exec as it changes $[0], causing all sort of problems
13876 # (the dirname of $[0] is not the place where we might find the
13877 # original and so on. Autoconf is especially sensible to this).
13878 . ./$as_me.lineno
13879 # Exit status is that of the last command.
13880 exit
13884 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
13885 *c*,-n*) ECHO_N= ECHO_C='
13886 ' ECHO_T=' ' ;;
13887 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
13888 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
13889 esac
13891 if expr a : '\(a\)' >/dev/null 2>&1; then
13892 as_expr=expr
13893 else
13894 as_expr=false
13897 rm -f conf$$ conf$$.exe conf$$.file
13898 echo >conf$$.file
13899 if ln -s conf$$.file conf$$ 2>/dev/null; then
13900 # We could just check for DJGPP; but this test a) works b) is more generic
13901 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
13902 if test -f conf$$.exe; then
13903 # Don't use ln at all; we don't have any links
13904 as_ln_s='cp -p'
13905 else
13906 as_ln_s='ln -s'
13908 elif ln conf$$.file conf$$ 2>/dev/null; then
13909 as_ln_s=ln
13910 else
13911 as_ln_s='cp -p'
13913 rm -f conf$$ conf$$.exe conf$$.file
13915 if mkdir -p . 2>/dev/null; then
13916 as_mkdir_p=:
13917 else
13918 as_mkdir_p=false
13921 as_executable_p="test -f"
13923 # Sed expression to map a string onto a valid CPP name.
13924 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
13926 # Sed expression to map a string onto a valid variable name.
13927 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
13930 # IFS
13931 # We need space, tab and new line, in precisely that order.
13932 as_nl='
13934 IFS=" $as_nl"
13936 # CDPATH.
13937 $as_unset CDPATH
13939 exec 6>&1
13941 # Open the log real soon, to keep \$[0] and so on meaningful, and to
13942 # report actual input values of CONFIG_FILES etc. instead of their
13943 # values after options handling. Logging --version etc. is OK.
13944 exec 5>>config.log
13946 echo
13947 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13948 ## Running $as_me. ##
13949 _ASBOX
13950 } >&5
13951 cat >&5 <<_CSEOF
13953 This file was extended by Wine $as_me 20021007, which was
13954 generated by GNU Autoconf 2.54. Invocation command line was
13956 CONFIG_FILES = $CONFIG_FILES
13957 CONFIG_HEADERS = $CONFIG_HEADERS
13958 CONFIG_LINKS = $CONFIG_LINKS
13959 CONFIG_COMMANDS = $CONFIG_COMMANDS
13960 $ $0 $@
13962 _CSEOF
13963 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
13964 echo >&5
13965 _ACEOF
13967 # Files that config.status was made for.
13968 if test -n "$ac_config_files"; then
13969 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
13972 if test -n "$ac_config_headers"; then
13973 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
13976 if test -n "$ac_config_links"; then
13977 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
13980 if test -n "$ac_config_commands"; then
13981 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
13984 cat >>$CONFIG_STATUS <<\_ACEOF
13986 ac_cs_usage="\
13987 \`$as_me' instantiates files from templates according to the
13988 current configuration.
13990 Usage: $0 [OPTIONS] [FILE]...
13992 -h, --help print this help, then exit
13993 -V, --version print version number, then exit
13994 -d, --debug don't remove temporary files
13995 --recheck update $as_me by reconfiguring in the same conditions
13996 --file=FILE[:TEMPLATE]
13997 instantiate the configuration file FILE
13998 --header=FILE[:TEMPLATE]
13999 instantiate the configuration header FILE
14001 Configuration files:
14002 $config_files
14004 Configuration headers:
14005 $config_headers
14007 Configuration commands:
14008 $config_commands
14010 Report bugs to <bug-autoconf@gnu.org>."
14011 _ACEOF
14013 cat >>$CONFIG_STATUS <<_ACEOF
14014 ac_cs_version="\\
14015 Wine config.status 20021007
14016 configured by $0, generated by GNU Autoconf 2.54,
14017 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
14019 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
14020 Free Software Foundation, Inc.
14021 This config.status script is free software; the Free Software Foundation
14022 gives unlimited permission to copy, distribute and modify it."
14023 srcdir=$srcdir
14024 INSTALL="$INSTALL"
14025 _ACEOF
14027 cat >>$CONFIG_STATUS <<\_ACEOF
14028 # If no file are specified by the user, then we need to provide default
14029 # value. By we need to know if files were specified by the user.
14030 ac_need_defaults=:
14031 while test $# != 0
14033 case $1 in
14034 --*=*)
14035 ac_option=`expr "x$1" : 'x\([^=]*\)='`
14036 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
14037 ac_shift=:
14040 ac_option=$1
14041 ac_optarg=$2
14042 ac_shift=shift
14044 *) # This is not an option, so the user has probably given explicit
14045 # arguments.
14046 ac_option=$1
14047 ac_need_defaults=false;;
14048 esac
14050 case $ac_option in
14051 # Handling of the options.
14052 _ACEOF
14053 cat >>$CONFIG_STATUS <<_ACEOF
14054 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14055 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
14056 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
14057 _ACEOF
14058 cat >>$CONFIG_STATUS <<\_ACEOF
14059 --version | --vers* | -V )
14060 echo "$ac_cs_version"; exit 0 ;;
14061 --he | --h)
14062 # Conflict between --help and --header
14063 { { echo "$as_me:$LINENO: error: ambiguous option: $1
14064 Try \`$0 --help' for more information." >&5
14065 echo "$as_me: error: ambiguous option: $1
14066 Try \`$0 --help' for more information." >&2;}
14067 { (exit 1); exit 1; }; };;
14068 --help | --hel | -h )
14069 echo "$ac_cs_usage"; exit 0 ;;
14070 --debug | --d* | -d )
14071 debug=: ;;
14072 --file | --fil | --fi | --f )
14073 $ac_shift
14074 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
14075 ac_need_defaults=false;;
14076 --header | --heade | --head | --hea )
14077 $ac_shift
14078 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
14079 ac_need_defaults=false;;
14081 # This is an error.
14082 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
14083 Try \`$0 --help' for more information." >&5
14084 echo "$as_me: error: unrecognized option: $1
14085 Try \`$0 --help' for more information." >&2;}
14086 { (exit 1); exit 1; }; } ;;
14088 *) ac_config_targets="$ac_config_targets $1" ;;
14090 esac
14091 shift
14092 done
14094 _ACEOF
14100 cat >>$CONFIG_STATUS <<\_ACEOF
14101 for ac_config_target in $ac_config_targets
14103 case "$ac_config_target" in
14104 # Handling of arguments.
14105 "Make.rules" ) CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
14106 "dlls/Makedll.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
14107 "dlls/Maketest.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
14108 "programs/Makeprog.rules" ) CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
14109 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14110 "dlls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
14111 "dlls/advapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
14112 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
14113 "dlls/avicap32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
14114 "dlls/avifil32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
14115 "dlls/comcat/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
14116 "dlls/comctl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
14117 "dlls/commdlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/commdlg/Makefile" ;;
14118 "dlls/crtdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
14119 "dlls/crypt32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
14120 "dlls/d3d8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
14121 "dlls/dciman32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
14122 "dlls/ddraw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
14123 "dlls/devenum/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
14124 "dlls/dinput/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
14125 "dlls/dinput8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
14126 "dlls/dplay/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
14127 "dlls/dplayx/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
14128 "dlls/dsound/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
14129 "dlls/gdi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/Makefile" ;;
14130 "dlls/gdi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
14131 "dlls/glu32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
14132 "dlls/icmp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
14133 "dlls/imagehlp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
14134 "dlls/imm32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
14135 "dlls/kernel/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/Makefile" ;;
14136 "dlls/kernel/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
14137 "dlls/lzexpand/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
14138 "dlls/mapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
14139 "dlls/mpr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
14140 "dlls/msacm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/Makefile" ;;
14141 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
14142 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
14143 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
14144 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
14145 "dlls/msdmo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
14146 "dlls/msimg32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
14147 "dlls/msisys/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msisys/Makefile" ;;
14148 "dlls/msnet32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
14149 "dlls/msvcrt/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
14150 "dlls/msvcrt20/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
14151 "dlls/msvideo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvideo/Makefile" ;;
14152 "dlls/msvideo/msrle32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvideo/msrle32/Makefile" ;;
14153 "dlls/netapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
14154 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
14155 "dlls/ntdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
14156 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
14157 "dlls/odbc32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
14158 "dlls/ole32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
14159 "dlls/oleaut32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
14160 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
14161 "dlls/olecli/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olecli/Makefile" ;;
14162 "dlls/oledlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
14163 "dlls/olepro32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
14164 "dlls/olesvr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olesvr/Makefile" ;;
14165 "dlls/opengl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
14166 "dlls/psapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
14167 "dlls/qcap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
14168 "dlls/quartz/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
14169 "dlls/rasapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
14170 "dlls/richedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/richedit/Makefile" ;;
14171 "dlls/rpcrt4/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
14172 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
14173 "dlls/serialui/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
14174 "dlls/setupapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
14175 "dlls/shdocvw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
14176 "dlls/shell32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
14177 "dlls/shell32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
14178 "dlls/shfolder/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
14179 "dlls/shlwapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
14180 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
14181 "dlls/snmpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
14182 "dlls/sti/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
14183 "dlls/tapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
14184 "dlls/ttydrv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
14185 "dlls/twain/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/twain/Makefile" ;;
14186 "dlls/url/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
14187 "dlls/urlmon/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
14188 "dlls/user/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/Makefile" ;;
14189 "dlls/user/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/tests/Makefile" ;;
14190 "dlls/version/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
14191 "dlls/win32s/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/win32s/Makefile" ;;
14192 "dlls/winaspi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winaspi/Makefile" ;;
14193 "dlls/winedos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
14194 "dlls/wineps/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wineps/Makefile" ;;
14195 "dlls/wininet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
14196 "dlls/wininet/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
14197 "dlls/winmm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
14198 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
14199 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
14200 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
14201 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
14202 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
14203 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
14204 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
14205 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
14206 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
14207 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
14208 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
14209 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
14210 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
14211 "dlls/winnls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winnls/Makefile" ;;
14212 "dlls/winsock/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/Makefile" ;;
14213 "dlls/winsock/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/tests/Makefile" ;;
14214 "dlls/winspool/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/Makefile" ;;
14215 "dlls/wintrust/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
14216 "dlls/wow32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
14217 "dlls/wsock32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
14218 "dlls/x11drv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/x11drv/Makefile" ;;
14219 "documentation/Makefile" ) CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
14220 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
14221 "library/Makefile" ) CONFIG_FILES="$CONFIG_FILES library/Makefile" ;;
14222 "miscemu/Makefile" ) CONFIG_FILES="$CONFIG_FILES miscemu/Makefile" ;;
14223 "ole/Makefile" ) CONFIG_FILES="$CONFIG_FILES ole/Makefile" ;;
14224 "programs/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
14225 "programs/avitools/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/avitools/Makefile" ;;
14226 "programs/clock/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
14227 "programs/cmdlgtst/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
14228 "programs/control/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
14229 "programs/expand/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
14230 "programs/notepad/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
14231 "programs/osversioncheck/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/osversioncheck/Makefile" ;;
14232 "programs/progman/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
14233 "programs/regapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regapi/Makefile" ;;
14234 "programs/regedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
14235 "programs/regsvr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
14236 "programs/regtest/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regtest/Makefile" ;;
14237 "programs/uninstaller/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
14238 "programs/view/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
14239 "programs/wcmd/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wcmd/Makefile" ;;
14240 "programs/wineconsole/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
14241 "programs/winedbg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
14242 "programs/winefile/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
14243 "programs/winemine/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
14244 "programs/winepath/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
14245 "programs/winetest/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
14246 "programs/winhelp/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
14247 "programs/winver/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
14248 "server/Makefile" ) CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
14249 "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
14250 "tools/widl/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
14251 "tools/winapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winapi/Makefile" ;;
14252 "tools/winebuild/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
14253 "tools/winedump/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
14254 "tools/wmc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
14255 "tools/wpp/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wpp/Makefile" ;;
14256 "tools/wrc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
14257 "unicode/Makefile" ) CONFIG_FILES="$CONFIG_FILES unicode/Makefile" ;;
14258 "controls" ) CONFIG_COMMANDS="$CONFIG_COMMANDS controls" ;;
14259 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
14260 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
14261 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
14262 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
14263 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
14264 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
14265 "dlls/dinput/joystick" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/dinput/joystick" ;;
14266 "dlls/dinput/keyboard" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/dinput/keyboard" ;;
14267 "dlls/dinput/mouse" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/dinput/mouse" ;;
14268 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
14269 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
14270 "dlls/gdi/win16drv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/win16drv" ;;
14271 "dlls/kernel/messages" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel/messages" ;;
14272 "dlls/user/dde" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/dde" ;;
14273 "dlls/user/resources" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/resources" ;;
14274 "dlls/wineps/data" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps/data" ;;
14275 "files" ) CONFIG_COMMANDS="$CONFIG_COMMANDS files" ;;
14276 "graphics" ) CONFIG_COMMANDS="$CONFIG_COMMANDS graphics" ;;
14277 "graphics/x11drv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS graphics/x11drv" ;;
14278 "if1632" ) CONFIG_COMMANDS="$CONFIG_COMMANDS if1632" ;;
14279 "include/wine" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
14280 "loader" ) CONFIG_COMMANDS="$CONFIG_COMMANDS loader" ;;
14281 "loader/ne" ) CONFIG_COMMANDS="$CONFIG_COMMANDS loader/ne" ;;
14282 "memory" ) CONFIG_COMMANDS="$CONFIG_COMMANDS memory" ;;
14283 "misc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS misc" ;;
14284 "msdos" ) CONFIG_COMMANDS="$CONFIG_COMMANDS msdos" ;;
14285 "objects" ) CONFIG_COMMANDS="$CONFIG_COMMANDS objects" ;;
14286 "programs/regapi/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS programs/regapi/tests" ;;
14287 "programs/regedit/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS programs/regedit/tests" ;;
14288 "programs/winetest/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS programs/winetest/tests" ;;
14289 "relay32" ) CONFIG_COMMANDS="$CONFIG_COMMANDS relay32" ;;
14290 "scheduler" ) CONFIG_COMMANDS="$CONFIG_COMMANDS scheduler" ;;
14291 "win32" ) CONFIG_COMMANDS="$CONFIG_COMMANDS win32" ;;
14292 "windows" ) CONFIG_COMMANDS="$CONFIG_COMMANDS windows" ;;
14293 "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
14294 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14295 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14296 { (exit 1); exit 1; }; };;
14297 esac
14298 done
14300 # If the user did not use the arguments to specify the items to instantiate,
14301 # then the envvar interface is used. Set only those that are not.
14302 # We use the long form for the default assignment because of an extremely
14303 # bizarre bug on SunOS 4.1.3.
14304 if $ac_need_defaults; then
14305 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14306 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14307 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14310 # Create a temporary directory, and hook for its removal unless debugging.
14311 $debug ||
14313 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
14314 trap '{ (exit 1); exit 1; }' 1 2 13 15
14317 # Create a (secure) tmp directory for tmp files.
14318 : ${TMPDIR=/tmp}
14320 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
14321 test -n "$tmp" && test -d "$tmp"
14322 } ||
14324 tmp=$TMPDIR/cs$$-$RANDOM
14325 (umask 077 && mkdir $tmp)
14326 } ||
14328 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
14329 { (exit 1); exit 1; }
14332 _ACEOF
14334 cat >>$CONFIG_STATUS <<_ACEOF
14337 # CONFIG_FILES section.
14340 # No need to generate the scripts if there are no CONFIG_FILES.
14341 # This happens for instance when ./config.status config.h
14342 if test -n "\$CONFIG_FILES"; then
14343 # Protect against being on the right side of a sed subst in config.status.
14344 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
14345 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
14346 s,@SHELL@,$SHELL,;t t
14347 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
14348 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
14349 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
14350 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
14351 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
14352 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
14353 s,@exec_prefix@,$exec_prefix,;t t
14354 s,@prefix@,$prefix,;t t
14355 s,@program_transform_name@,$program_transform_name,;t t
14356 s,@bindir@,$bindir,;t t
14357 s,@sbindir@,$sbindir,;t t
14358 s,@libexecdir@,$libexecdir,;t t
14359 s,@datadir@,$datadir,;t t
14360 s,@sysconfdir@,$sysconfdir,;t t
14361 s,@sharedstatedir@,$sharedstatedir,;t t
14362 s,@localstatedir@,$localstatedir,;t t
14363 s,@libdir@,$libdir,;t t
14364 s,@includedir@,$includedir,;t t
14365 s,@oldincludedir@,$oldincludedir,;t t
14366 s,@infodir@,$infodir,;t t
14367 s,@mandir@,$mandir,;t t
14368 s,@build_alias@,$build_alias,;t t
14369 s,@host_alias@,$host_alias,;t t
14370 s,@target_alias@,$target_alias,;t t
14371 s,@DEFS@,$DEFS,;t t
14372 s,@ECHO_C@,$ECHO_C,;t t
14373 s,@ECHO_N@,$ECHO_N,;t t
14374 s,@ECHO_T@,$ECHO_T,;t t
14375 s,@LIBS@,$LIBS,;t t
14376 s,@LIBEXT@,$LIBEXT,;t t
14377 s,@OPTIONS@,$OPTIONS,;t t
14378 s,@WIN16_FILES@,$WIN16_FILES,;t t
14379 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
14380 s,@build@,$build,;t t
14381 s,@build_cpu@,$build_cpu,;t t
14382 s,@build_vendor@,$build_vendor,;t t
14383 s,@build_os@,$build_os,;t t
14384 s,@host@,$host,;t t
14385 s,@host_cpu@,$host_cpu,;t t
14386 s,@host_vendor@,$host_vendor,;t t
14387 s,@host_os@,$host_os,;t t
14388 s,@SET_MAKE@,$SET_MAKE,;t t
14389 s,@CC@,$CC,;t t
14390 s,@CFLAGS@,$CFLAGS,;t t
14391 s,@LDFLAGS@,$LDFLAGS,;t t
14392 s,@CPPFLAGS@,$CPPFLAGS,;t t
14393 s,@ac_ct_CC@,$ac_ct_CC,;t t
14394 s,@EXEEXT@,$EXEEXT,;t t
14395 s,@OBJEXT@,$OBJEXT,;t t
14396 s,@CPP@,$CPP,;t t
14397 s,@TOOLSDIR@,$TOOLSDIR,;t t
14398 s,@X_CFLAGS@,$X_CFLAGS,;t t
14399 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
14400 s,@X_LIBS@,$X_LIBS,;t t
14401 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
14402 s,@YACC@,$YACC,;t t
14403 s,@LEX@,$LEX,;t t
14404 s,@LEXLIB@,$LEXLIB,;t t
14405 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
14406 s,@XYACC@,$XYACC,;t t
14407 s,@XLEX@,$XLEX,;t t
14408 s,@LD@,$LD,;t t
14409 s,@ac_ct_LD@,$ac_ct_LD,;t t
14410 s,@AR@,$AR,;t t
14411 s,@ac_ct_AR@,$ac_ct_AR,;t t
14412 s,@RANLIB@,$RANLIB,;t t
14413 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
14414 s,@STRIP@,$STRIP,;t t
14415 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
14416 s,@WINDRES@,$WINDRES,;t t
14417 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
14418 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
14419 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
14420 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
14421 s,@LN_S@,$LN_S,;t t
14422 s,@LN@,$LN,;t t
14423 s,@C2MAN@,$C2MAN,;t t
14424 s,@LDCONFIG@,$LDCONFIG,;t t
14425 s,@LINT@,$LINT,;t t
14426 s,@LINTFLAGS@,$LINTFLAGS,;t t
14427 s,@JPEGLIB@,$JPEGLIB,;t t
14428 s,@EGREP@,$EGREP,;t t
14429 s,@XLIB@,$XLIB,;t t
14430 s,@XFILES@,$XFILES,;t t
14431 s,@OPENGLFILES@,$OPENGLFILES,;t t
14432 s,@GLU32FILES@,$GLU32FILES,;t t
14433 s,@NASLIBS@,$NASLIBS,;t t
14434 s,@CURSESLIBS@,$CURSESLIBS,;t t
14435 s,@CUPSLIBS@,$CUPSLIBS,;t t
14436 s,@sane_devel@,$sane_devel,;t t
14437 s,@SANELIBS@,$SANELIBS,;t t
14438 s,@SANEINCL@,$SANEINCL,;t t
14439 s,@ft_devel@,$ft_devel,;t t
14440 s,@ft_devel2@,$ft_devel2,;t t
14441 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
14442 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
14443 s,@ARTSLIBS@,$ARTSLIBS,;t t
14444 s,@ARTSINCL@,$ARTSINCL,;t t
14445 s,@ALSALIBS@,$ALSALIBS,;t t
14446 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
14447 s,@DLLEXT@,$DLLEXT,;t t
14448 s,@DLLFLAGS@,$DLLFLAGS,;t t
14449 s,@DLLIBS@,$DLLIBS,;t t
14450 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
14451 s,@LDSHARED@,$LDSHARED,;t t
14452 s,@DLLWRAP@,$DLLWRAP,;t t
14453 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
14454 s,@CROSSTEST@,$CROSSTEST,;t t
14455 s,@CROSSCC@,$CROSSCC,;t t
14456 s,@DLLTOOL@,$DLLTOOL,;t t
14457 s,@LDPATH@,$LDPATH,;t t
14458 s,@CRTLIBS@,$CRTLIBS,;t t
14459 s,@LDD@,$LDD,;t t
14460 s,@ALLOCA@,$ALLOCA,;t t
14461 s,@LIBOBJS@,$LIBOBJS,;t t
14462 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
14463 /@MAKE_RULES@/r $MAKE_RULES
14464 s,@MAKE_RULES@,,;t t
14465 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
14466 s,@MAKE_DLL_RULES@,,;t t
14467 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
14468 s,@MAKE_TEST_RULES@,,;t t
14469 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
14470 s,@MAKE_PROG_RULES@,,;t t
14471 CEOF
14473 _ACEOF
14475 cat >>$CONFIG_STATUS <<\_ACEOF
14476 # Split the substitutions into bite-sized pieces for seds with
14477 # small command number limits, like on Digital OSF/1 and HP-UX.
14478 ac_max_sed_lines=48
14479 ac_sed_frag=1 # Number of current file.
14480 ac_beg=1 # First line for current file.
14481 ac_end=$ac_max_sed_lines # Line after last line for current file.
14482 ac_more_lines=:
14483 ac_sed_cmds=
14484 while $ac_more_lines; do
14485 if test $ac_beg -gt 1; then
14486 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
14487 else
14488 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
14490 if test ! -s $tmp/subs.frag; then
14491 ac_more_lines=false
14492 else
14493 # The purpose of the label and of the branching condition is to
14494 # speed up the sed processing (if there are no `@' at all, there
14495 # is no need to browse any of the substitutions).
14496 # These are the two extra sed commands mentioned above.
14497 (echo ':t
14498 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
14499 if test -z "$ac_sed_cmds"; then
14500 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
14501 else
14502 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
14504 ac_sed_frag=`expr $ac_sed_frag + 1`
14505 ac_beg=$ac_end
14506 ac_end=`expr $ac_end + $ac_max_sed_lines`
14508 done
14509 if test -z "$ac_sed_cmds"; then
14510 ac_sed_cmds=cat
14512 fi # test -n "$CONFIG_FILES"
14514 _ACEOF
14515 cat >>$CONFIG_STATUS <<\_ACEOF
14516 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
14517 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14518 case $ac_file in
14519 - | *:- | *:-:* ) # input from stdin
14520 cat >$tmp/stdin
14521 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
14522 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
14523 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
14524 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
14525 * ) ac_file_in=$ac_file.in ;;
14526 esac
14528 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
14529 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
14530 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14531 X"$ac_file" : 'X\(//\)[^/]' \| \
14532 X"$ac_file" : 'X\(//\)$' \| \
14533 X"$ac_file" : 'X\(/\)' \| \
14534 . : '\(.\)' 2>/dev/null ||
14535 echo X"$ac_file" |
14536 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14537 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14538 /^X\(\/\/\)$/{ s//\1/; q; }
14539 /^X\(\/\).*/{ s//\1/; q; }
14540 s/.*/./; q'`
14541 { if $as_mkdir_p; then
14542 mkdir -p "$ac_dir"
14543 else
14544 as_dir="$ac_dir"
14545 as_dirs=
14546 while test ! -d "$as_dir"; do
14547 as_dirs="$as_dir $as_dirs"
14548 as_dir=`(dirname "$as_dir") 2>/dev/null ||
14549 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14550 X"$as_dir" : 'X\(//\)[^/]' \| \
14551 X"$as_dir" : 'X\(//\)$' \| \
14552 X"$as_dir" : 'X\(/\)' \| \
14553 . : '\(.\)' 2>/dev/null ||
14554 echo X"$as_dir" |
14555 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14556 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14557 /^X\(\/\/\)$/{ s//\1/; q; }
14558 /^X\(\/\).*/{ s//\1/; q; }
14559 s/.*/./; q'`
14560 done
14561 test ! -n "$as_dirs" || mkdir $as_dirs
14562 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14563 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14564 { (exit 1); exit 1; }; }; }
14566 ac_builddir=.
14568 if test "$ac_dir" != .; then
14569 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14570 # A "../" for each directory in $ac_dir_suffix.
14571 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
14572 else
14573 ac_dir_suffix= ac_top_builddir=
14576 case $srcdir in
14577 .) # No --srcdir option. We are building in place.
14578 ac_srcdir=.
14579 if test -z "$ac_top_builddir"; then
14580 ac_top_srcdir=.
14581 else
14582 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
14583 fi ;;
14584 [\\/]* | ?:[\\/]* ) # Absolute path.
14585 ac_srcdir=$srcdir$ac_dir_suffix;
14586 ac_top_srcdir=$srcdir ;;
14587 *) # Relative path.
14588 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
14589 ac_top_srcdir=$ac_top_builddir$srcdir ;;
14590 esac
14591 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
14592 # absolute.
14593 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
14594 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
14595 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
14596 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
14599 case $INSTALL in
14600 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14601 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
14602 esac
14604 if test x"$ac_file" != x-; then
14605 { echo "$as_me:$LINENO: creating $ac_file" >&5
14606 echo "$as_me: creating $ac_file" >&6;}
14607 rm -f "$ac_file"
14609 # Let's still pretend it is `configure' which instantiates (i.e., don't
14610 # use $as_me), people would be surprised to read:
14611 # /* config.h. Generated by config.status. */
14612 if test x"$ac_file" = x-; then
14613 configure_input=
14614 else
14615 configure_input="$ac_file. "
14617 configure_input=$configure_input"Generated from `echo $ac_file_in |
14618 sed 's,.*/,,'` by configure."
14620 # First look for the input files in the build tree, otherwise in the
14621 # src tree.
14622 ac_file_inputs=`IFS=:
14623 for f in $ac_file_in; do
14624 case $f in
14625 -) echo $tmp/stdin ;;
14626 [\\/$]*)
14627 # Absolute (can't be DOS-style, as IFS=:)
14628 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14629 echo "$as_me: error: cannot find input file: $f" >&2;}
14630 { (exit 1); exit 1; }; }
14631 echo $f;;
14632 *) # Relative
14633 if test -f "$f"; then
14634 # Build tree
14635 echo $f
14636 elif test -f "$srcdir/$f"; then
14637 # Source tree
14638 echo $srcdir/$f
14639 else
14640 # /dev/null tree
14641 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14642 echo "$as_me: error: cannot find input file: $f" >&2;}
14643 { (exit 1); exit 1; }; }
14644 fi;;
14645 esac
14646 done` || { (exit 1); exit 1; }
14647 _ACEOF
14648 cat >>$CONFIG_STATUS <<_ACEOF
14649 sed "$ac_vpsub
14650 $extrasub
14651 _ACEOF
14652 cat >>$CONFIG_STATUS <<\_ACEOF
14654 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14655 s,@configure_input@,$configure_input,;t t
14656 s,@srcdir@,$ac_srcdir,;t t
14657 s,@abs_srcdir@,$ac_abs_srcdir,;t t
14658 s,@top_srcdir@,$ac_top_srcdir,;t t
14659 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
14660 s,@builddir@,$ac_builddir,;t t
14661 s,@abs_builddir@,$ac_abs_builddir,;t t
14662 s,@top_builddir@,$ac_top_builddir,;t t
14663 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
14664 s,@INSTALL@,$ac_INSTALL,;t t
14665 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
14666 rm -f $tmp/stdin
14667 if test x"$ac_file" != x-; then
14668 mv $tmp/out $ac_file
14669 else
14670 cat $tmp/out
14671 rm -f $tmp/out
14674 done
14675 _ACEOF
14676 cat >>$CONFIG_STATUS <<\_ACEOF
14679 # CONFIG_HEADER section.
14682 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
14683 # NAME is the cpp macro being defined and VALUE is the value it is being given.
14685 # ac_d sets the value in "#define NAME VALUE" lines.
14686 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
14687 ac_dB='[ ].*$,\1#\2'
14688 ac_dC=' '
14689 ac_dD=',;t'
14690 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
14691 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
14692 ac_uB='$,\1#\2define\3'
14693 ac_uC=' '
14694 ac_uD=',;t'
14696 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
14697 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14698 case $ac_file in
14699 - | *:- | *:-:* ) # input from stdin
14700 cat >$tmp/stdin
14701 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
14702 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
14703 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
14704 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
14705 * ) ac_file_in=$ac_file.in ;;
14706 esac
14708 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
14709 echo "$as_me: creating $ac_file" >&6;}
14711 # First look for the input files in the build tree, otherwise in the
14712 # src tree.
14713 ac_file_inputs=`IFS=:
14714 for f in $ac_file_in; do
14715 case $f in
14716 -) echo $tmp/stdin ;;
14717 [\\/$]*)
14718 # Absolute (can't be DOS-style, as IFS=:)
14719 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14720 echo "$as_me: error: cannot find input file: $f" >&2;}
14721 { (exit 1); exit 1; }; }
14722 echo $f;;
14723 *) # Relative
14724 if test -f "$f"; then
14725 # Build tree
14726 echo $f
14727 elif test -f "$srcdir/$f"; then
14728 # Source tree
14729 echo $srcdir/$f
14730 else
14731 # /dev/null tree
14732 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14733 echo "$as_me: error: cannot find input file: $f" >&2;}
14734 { (exit 1); exit 1; }; }
14735 fi;;
14736 esac
14737 done` || { (exit 1); exit 1; }
14738 # Remove the trailing spaces.
14739 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
14741 _ACEOF
14743 # Transform confdefs.h into two sed scripts, `conftest.defines' and
14744 # `conftest.undefs', that substitutes the proper values into
14745 # config.h.in to produce config.h. The first handles `#define'
14746 # templates, and the second `#undef' templates.
14747 # And first: Protect against being on the right side of a sed subst in
14748 # config.status. Protect against being in an unquoted here document
14749 # in config.status.
14750 rm -f conftest.defines conftest.undefs
14751 # Using a here document instead of a string reduces the quoting nightmare.
14752 # Putting comments in sed scripts is not portable.
14754 # `end' is used to avoid that the second main sed command (meant for
14755 # 0-ary CPP macros) applies to n-ary macro definitions.
14756 # See the Autoconf documentation for `clear'.
14757 cat >confdef2sed.sed <<\_ACEOF
14758 s/[\\&,]/\\&/g
14759 s,[\\$`],\\&,g
14760 t clear
14761 : clear
14762 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
14763 t end
14764 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
14765 : end
14766 _ACEOF
14767 # If some macros were called several times there might be several times
14768 # the same #defines, which is useless. Nevertheless, we may not want to
14769 # sort them, since we want the *last* AC-DEFINE to be honored.
14770 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
14771 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
14772 rm -f confdef2sed.sed
14774 # This sed command replaces #undef with comments. This is necessary, for
14775 # example, in the case of _POSIX_SOURCE, which is predefined and required
14776 # on some systems where configure will not decide to define it.
14777 cat >>conftest.undefs <<\_ACEOF
14778 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
14779 _ACEOF
14781 # Break up conftest.defines because some shells have a limit on the size
14782 # of here documents, and old seds have small limits too (100 cmds).
14783 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
14784 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
14785 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
14786 echo ' :' >>$CONFIG_STATUS
14787 rm -f conftest.tail
14788 while grep . conftest.defines >/dev/null
14790 # Write a limited-size here document to $tmp/defines.sed.
14791 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
14792 # Speed up: don't consider the non `#define' lines.
14793 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
14794 # Work around the forget-to-reset-the-flag bug.
14795 echo 't clr' >>$CONFIG_STATUS
14796 echo ': clr' >>$CONFIG_STATUS
14797 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
14798 echo 'CEOF
14799 sed -f $tmp/defines.sed $tmp/in >$tmp/out
14800 rm -f $tmp/in
14801 mv $tmp/out $tmp/in
14802 ' >>$CONFIG_STATUS
14803 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
14804 rm -f conftest.defines
14805 mv conftest.tail conftest.defines
14806 done
14807 rm -f conftest.defines
14808 echo ' fi # grep' >>$CONFIG_STATUS
14809 echo >>$CONFIG_STATUS
14811 # Break up conftest.undefs because some shells have a limit on the size
14812 # of here documents, and old seds have small limits too (100 cmds).
14813 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
14814 rm -f conftest.tail
14815 while grep . conftest.undefs >/dev/null
14817 # Write a limited-size here document to $tmp/undefs.sed.
14818 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
14819 # Speed up: don't consider the non `#undef'
14820 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
14821 # Work around the forget-to-reset-the-flag bug.
14822 echo 't clr' >>$CONFIG_STATUS
14823 echo ': clr' >>$CONFIG_STATUS
14824 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
14825 echo 'CEOF
14826 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
14827 rm -f $tmp/in
14828 mv $tmp/out $tmp/in
14829 ' >>$CONFIG_STATUS
14830 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
14831 rm -f conftest.undefs
14832 mv conftest.tail conftest.undefs
14833 done
14834 rm -f conftest.undefs
14836 cat >>$CONFIG_STATUS <<\_ACEOF
14837 # Let's still pretend it is `configure' which instantiates (i.e., don't
14838 # use $as_me), people would be surprised to read:
14839 # /* config.h. Generated by config.status. */
14840 if test x"$ac_file" = x-; then
14841 echo "/* Generated by configure. */" >$tmp/config.h
14842 else
14843 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
14845 cat $tmp/in >>$tmp/config.h
14846 rm -f $tmp/in
14847 if test x"$ac_file" != x-; then
14848 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
14849 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14850 echo "$as_me: $ac_file is unchanged" >&6;}
14851 else
14852 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
14853 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14854 X"$ac_file" : 'X\(//\)[^/]' \| \
14855 X"$ac_file" : 'X\(//\)$' \| \
14856 X"$ac_file" : 'X\(/\)' \| \
14857 . : '\(.\)' 2>/dev/null ||
14858 echo X"$ac_file" |
14859 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14860 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14861 /^X\(\/\/\)$/{ s//\1/; q; }
14862 /^X\(\/\).*/{ s//\1/; q; }
14863 s/.*/./; q'`
14864 { if $as_mkdir_p; then
14865 mkdir -p "$ac_dir"
14866 else
14867 as_dir="$ac_dir"
14868 as_dirs=
14869 while test ! -d "$as_dir"; do
14870 as_dirs="$as_dir $as_dirs"
14871 as_dir=`(dirname "$as_dir") 2>/dev/null ||
14872 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14873 X"$as_dir" : 'X\(//\)[^/]' \| \
14874 X"$as_dir" : 'X\(//\)$' \| \
14875 X"$as_dir" : 'X\(/\)' \| \
14876 . : '\(.\)' 2>/dev/null ||
14877 echo X"$as_dir" |
14878 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14879 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14880 /^X\(\/\/\)$/{ s//\1/; q; }
14881 /^X\(\/\).*/{ s//\1/; q; }
14882 s/.*/./; q'`
14883 done
14884 test ! -n "$as_dirs" || mkdir $as_dirs
14885 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14886 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14887 { (exit 1); exit 1; }; }; }
14889 rm -f $ac_file
14890 mv $tmp/config.h $ac_file
14892 else
14893 cat $tmp/config.h
14894 rm -f $tmp/config.h
14896 done
14897 _ACEOF
14898 cat >>$CONFIG_STATUS <<\_ACEOF
14901 # CONFIG_COMMANDS section.
14903 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
14904 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
14905 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
14906 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
14907 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14908 X"$ac_dest" : 'X\(//\)[^/]' \| \
14909 X"$ac_dest" : 'X\(//\)$' \| \
14910 X"$ac_dest" : 'X\(/\)' \| \
14911 . : '\(.\)' 2>/dev/null ||
14912 echo X"$ac_dest" |
14913 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14914 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14915 /^X\(\/\/\)$/{ s//\1/; q; }
14916 /^X\(\/\).*/{ s//\1/; q; }
14917 s/.*/./; q'`
14918 ac_builddir=.
14920 if test "$ac_dir" != .; then
14921 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14922 # A "../" for each directory in $ac_dir_suffix.
14923 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
14924 else
14925 ac_dir_suffix= ac_top_builddir=
14928 case $srcdir in
14929 .) # No --srcdir option. We are building in place.
14930 ac_srcdir=.
14931 if test -z "$ac_top_builddir"; then
14932 ac_top_srcdir=.
14933 else
14934 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
14935 fi ;;
14936 [\\/]* | ?:[\\/]* ) # Absolute path.
14937 ac_srcdir=$srcdir$ac_dir_suffix;
14938 ac_top_srcdir=$srcdir ;;
14939 *) # Relative path.
14940 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
14941 ac_top_srcdir=$ac_top_builddir$srcdir ;;
14942 esac
14943 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
14944 # absolute.
14945 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
14946 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
14947 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
14948 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
14951 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
14952 echo "$as_me: executing $ac_dest commands" >&6;}
14953 case $ac_dest in
14954 controls ) test -d "controls" || ({ echo "$as_me:$LINENO: creating controls" >&5
14955 echo "$as_me: creating controls" >&6;} && mkdir "controls") ;;
14956 dlls/ddraw/d3ddevice ) test -d "dlls/ddraw/d3ddevice" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/d3ddevice" >&5
14957 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir "dlls/ddraw/d3ddevice") ;;
14958 dlls/ddraw/dclipper ) test -d "dlls/ddraw/dclipper" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dclipper" >&5
14959 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir "dlls/ddraw/dclipper") ;;
14960 dlls/ddraw/ddraw ) test -d "dlls/ddraw/ddraw" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/ddraw" >&5
14961 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir "dlls/ddraw/ddraw") ;;
14962 dlls/ddraw/direct3d ) test -d "dlls/ddraw/direct3d" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/direct3d" >&5
14963 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir "dlls/ddraw/direct3d") ;;
14964 dlls/ddraw/dpalette ) test -d "dlls/ddraw/dpalette" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dpalette" >&5
14965 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir "dlls/ddraw/dpalette") ;;
14966 dlls/ddraw/dsurface ) test -d "dlls/ddraw/dsurface" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dsurface" >&5
14967 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir "dlls/ddraw/dsurface") ;;
14968 dlls/dinput/joystick ) test -d "dlls/dinput/joystick" || ({ echo "$as_me:$LINENO: creating dlls/dinput/joystick" >&5
14969 echo "$as_me: creating dlls/dinput/joystick" >&6;} && mkdir "dlls/dinput/joystick") ;;
14970 dlls/dinput/keyboard ) test -d "dlls/dinput/keyboard" || ({ echo "$as_me:$LINENO: creating dlls/dinput/keyboard" >&5
14971 echo "$as_me: creating dlls/dinput/keyboard" >&6;} && mkdir "dlls/dinput/keyboard") ;;
14972 dlls/dinput/mouse ) test -d "dlls/dinput/mouse" || ({ echo "$as_me:$LINENO: creating dlls/dinput/mouse" >&5
14973 echo "$as_me: creating dlls/dinput/mouse" >&6;} && mkdir "dlls/dinput/mouse") ;;
14974 dlls/gdi/enhmfdrv ) test -d "dlls/gdi/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
14975 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir "dlls/gdi/enhmfdrv") ;;
14976 dlls/gdi/mfdrv ) test -d "dlls/gdi/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
14977 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir "dlls/gdi/mfdrv") ;;
14978 dlls/gdi/win16drv ) test -d "dlls/gdi/win16drv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/win16drv" >&5
14979 echo "$as_me: creating dlls/gdi/win16drv" >&6;} && mkdir "dlls/gdi/win16drv") ;;
14980 dlls/kernel/messages ) test -d "dlls/kernel/messages" || ({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
14981 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir "dlls/kernel/messages") ;;
14982 dlls/user/dde ) test -d "dlls/user/dde" || ({ echo "$as_me:$LINENO: creating dlls/user/dde" >&5
14983 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir "dlls/user/dde") ;;
14984 dlls/user/resources ) test -d "dlls/user/resources" || ({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
14985 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir "dlls/user/resources") ;;
14986 dlls/wineps/data ) test -d "dlls/wineps/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
14987 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir "dlls/wineps/data") ;;
14988 files ) test -d "files" || ({ echo "$as_me:$LINENO: creating files" >&5
14989 echo "$as_me: creating files" >&6;} && mkdir "files") ;;
14990 graphics ) test -d "graphics" || ({ echo "$as_me:$LINENO: creating graphics" >&5
14991 echo "$as_me: creating graphics" >&6;} && mkdir "graphics") ;;
14992 graphics/x11drv ) test -d "graphics/x11drv" || ({ echo "$as_me:$LINENO: creating graphics/x11drv" >&5
14993 echo "$as_me: creating graphics/x11drv" >&6;} && mkdir "graphics/x11drv") ;;
14994 if1632 ) test -d "if1632" || ({ echo "$as_me:$LINENO: creating if1632" >&5
14995 echo "$as_me: creating if1632" >&6;} && mkdir "if1632") ;;
14996 include/wine ) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
14997 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
14998 loader ) test -d "loader" || ({ echo "$as_me:$LINENO: creating loader" >&5
14999 echo "$as_me: creating loader" >&6;} && mkdir "loader") ;;
15000 loader/ne ) test -d "loader/ne" || ({ echo "$as_me:$LINENO: creating loader/ne" >&5
15001 echo "$as_me: creating loader/ne" >&6;} && mkdir "loader/ne") ;;
15002 memory ) test -d "memory" || ({ echo "$as_me:$LINENO: creating memory" >&5
15003 echo "$as_me: creating memory" >&6;} && mkdir "memory") ;;
15004 misc ) test -d "misc" || ({ echo "$as_me:$LINENO: creating misc" >&5
15005 echo "$as_me: creating misc" >&6;} && mkdir "misc") ;;
15006 msdos ) test -d "msdos" || ({ echo "$as_me:$LINENO: creating msdos" >&5
15007 echo "$as_me: creating msdos" >&6;} && mkdir "msdos") ;;
15008 objects ) test -d "objects" || ({ echo "$as_me:$LINENO: creating objects" >&5
15009 echo "$as_me: creating objects" >&6;} && mkdir "objects") ;;
15010 programs/regapi/tests ) test -d "programs/regapi/tests" || ({ echo "$as_me:$LINENO: creating programs/regapi/tests" >&5
15011 echo "$as_me: creating programs/regapi/tests" >&6;} && mkdir "programs/regapi/tests") ;;
15012 programs/regedit/tests ) test -d "programs/regedit/tests" || ({ echo "$as_me:$LINENO: creating programs/regedit/tests" >&5
15013 echo "$as_me: creating programs/regedit/tests" >&6;} && mkdir "programs/regedit/tests") ;;
15014 programs/winetest/tests ) test -d "programs/winetest/tests" || ({ echo "$as_me:$LINENO: creating programs/winetest/tests" >&5
15015 echo "$as_me: creating programs/winetest/tests" >&6;} && mkdir "programs/winetest/tests") ;;
15016 relay32 ) test -d "relay32" || ({ echo "$as_me:$LINENO: creating relay32" >&5
15017 echo "$as_me: creating relay32" >&6;} && mkdir "relay32") ;;
15018 scheduler ) test -d "scheduler" || ({ echo "$as_me:$LINENO: creating scheduler" >&5
15019 echo "$as_me: creating scheduler" >&6;} && mkdir "scheduler") ;;
15020 win32 ) test -d "win32" || ({ echo "$as_me:$LINENO: creating win32" >&5
15021 echo "$as_me: creating win32" >&6;} && mkdir "win32") ;;
15022 windows ) test -d "windows" || ({ echo "$as_me:$LINENO: creating windows" >&5
15023 echo "$as_me: creating windows" >&6;} && mkdir "windows") ;;
15024 esac
15025 done
15026 _ACEOF
15028 cat >>$CONFIG_STATUS <<\_ACEOF
15030 { (exit 0); exit 0; }
15031 _ACEOF
15032 chmod +x $CONFIG_STATUS
15033 ac_clean_files=$ac_clean_files_save
15036 # configure is writing to config.log, and then calls config.status.
15037 # config.status does its own redirection, appending to config.log.
15038 # Unfortunately, on DOS this fails, as config.log is still kept open
15039 # by configure, so config.status won't be able to write to it; its
15040 # output is simply discarded. So we exec the FD to /dev/null,
15041 # effectively closing config.log, so it can be properly (re)opened and
15042 # appended to by config.status. When coming back to configure, we
15043 # need to make the FD available again.
15044 if test "$no_create" != yes; then
15045 ac_cs_success=:
15046 exec 5>/dev/null
15047 $SHELL $CONFIG_STATUS || ac_cs_success=false
15048 exec 5>>config.log
15049 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15050 # would make configure fail if this is the last instruction.
15051 $ac_cs_success || { (exit 1); exit 1; }
15055 if test "$have_x" = "no"
15056 then
15057 echo
15058 echo "*** Warning: X development files not found. Wine will be built without"
15059 echo "*** X support, which currently does not work, and would probably not be"
15060 echo "*** what you want anyway. You will need to install devel packages of"
15061 echo "*** Xlib/Xfree86 at the very least."
15064 if test "$ac_cv_lib_ncurses_resizeterm" = "no" -a "$ac_cv_lib_ncurses_waddch" = "yes"
15065 then
15066 echo
15067 echo "*** Warning: resizeterm not found in ncurses. Wine will be built without"
15068 echo "*** terminal resize support. Consider upgrading ncurses."
15071 if test "$wine_cv_libc_reentrant" = "no"
15072 then
15073 echo
15074 echo "*** Warning: non-reentrant libc detected. Wine will be built without"
15075 echo "*** threading support. Consider upgrading libc to a more recent"
15076 echo "*** reentrant version of libc."
15079 if test "$have_x" = "yes" -a "$wine_cv_x_reentrant" != "yes"
15080 then
15081 echo
15082 echo "*** Warning: non-reentrant X11 library detected. Multi-threaded"
15083 echo "*** applications won't work properly. You should upgrade your X11 library."
15086 if test "$wine_cv_opengl_version_OK" = "no"
15087 then
15088 echo
15089 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
15090 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
15093 if test "$wine_cv_opengl_version_threadsafe" = "yes" -a "x$enable_opengl" = "x"
15094 then
15095 echo
15096 echo "*** Warning: the OpenGL version you have installed relies on libpthread for"
15097 echo "*** thread-safety. To prevent crashes, OpenGL support has been disabled."
15098 echo "*** A fix for glibc 2.1.3 that seems to work is included in this version of Wine,"
15099 echo "*** start configure with '--enable-opengl' to force OpenGL support."
15102 if test "$wine_cv_opengl_version_threadsafe" = "yes" -a "x$enable_opengl" = "xyes"
15103 then
15104 echo
15105 echo "*** Warning: you explicitly linked in a thread-safe OpenGL version. If you"
15106 echo "*** experience unusual crashes on DirectDraw games, try first to disable OpenGL"
15107 echo "*** support before reporting bugs."
15110 if test "$wine_cv_warn_cups_h" = "yes"
15111 then
15112 echo
15113 echo "*** Note: You have cups runtime libraries, but no development"
15114 echo "*** libraries. Install the cups-devel package or whichever package"
15115 echo "*** contains cups.h to enable CUPS support in Wine."
15118 if test "$wine_cv_msg_freetype" = "yes"
15119 then
15120 echo
15121 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
15122 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
15123 echo "*** freetype-devel package (or its equivalent on your distribution) to"
15124 echo "*** enable Wine to use TrueType fonts."
15127 echo
15128 echo "Configure finished. Do 'make depend && make' to compile Wine."
15129 echo