Indentation fixes.
[wine.git] / configure
blobef4fdcd0c975a6f478609eaa8294834e891063fc
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57 for Wine 20030408.
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 \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
44 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
49 done
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
96 rm -f conf$$.sh
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152 done
154 esac
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
165 sed '
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 as_mkdir_p=false
224 as_executable_p="test -f"
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
233 # IFS
234 # We need space, tab and new line, in precisely that order.
235 as_nl='
237 IFS=" $as_nl"
239 # CDPATH.
240 $as_unset CDPATH
243 # Name of the host.
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245 # so uname gets run too.
246 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248 exec 6>&1
251 # Initializations.
253 ac_default_prefix=/usr/local
254 ac_config_libobj_dir=.
255 cross_compiling=no
256 subdirs=
257 MFLAGS=
258 MAKEFLAGS=
259 SHELL=${CONFIG_SHELL-/bin/sh}
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete. It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
266 # Identity of this package.
267 PACKAGE_NAME='Wine'
268 PACKAGE_TARNAME='wine'
269 PACKAGE_VERSION='20030408'
270 PACKAGE_STRING='Wine 20030408'
271 PACKAGE_BUGREPORT=''
273 ac_unique_file="server/atom.c"
274 # Factoring default headers for most tests.
275 ac_includes_default="\
276 #include <stdio.h>
277 #if HAVE_SYS_TYPES_H
278 # include <sys/types.h>
279 #endif
280 #if HAVE_SYS_STAT_H
281 # include <sys/stat.h>
282 #endif
283 #if STDC_HEADERS
284 # include <stdlib.h>
285 # include <stddef.h>
286 #else
287 # if HAVE_STDLIB_H
288 # include <stdlib.h>
289 # endif
290 #endif
291 #if HAVE_STRING_H
292 # if !STDC_HEADERS && HAVE_MEMORY_H
293 # include <memory.h>
294 # endif
295 # include <string.h>
296 #endif
297 #if HAVE_STRINGS_H
298 # include <strings.h>
299 #endif
300 #if HAVE_INTTYPES_H
301 # include <inttypes.h>
302 #else
303 # if HAVE_STDINT_H
304 # include <stdint.h>
305 # endif
306 #endif
307 #if HAVE_UNISTD_H
308 # include <unistd.h>
309 #endif"
311 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS WIN16_FILES WIN16_INSTALL LIBPTHREAD 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 AS ac_ct_AS LD ac_ct_LD AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES LN_S LN C2MAN LDCONFIG INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LINT LINTFLAGS DB2HTML DB2PDF DB2PS JPEGLIB EGREP GIFLIB XLIB XFILES OPENGLFILES GLU32FILES OPENGL_LIBS NASLIBS CURSESLIBS sane_devel SANELIBS SANEINCL ft_devel ft_devel2 FREETYPEINCL ARTSCCONFIG ARTSLIBS ARTSINCL ALSALIBS AUDIOIOLIBS EXTRACFLAGS DLLEXT DLLFLAGS DLLIBS LDDLLFLAGS LDSHARED LIBEXT IMPLIBEXT DLLTOOL ac_ct_DLLTOOL DLLWRAP ac_ct_DLLWRAP LDEXECFLAGS CROSSTEST CROSSCC CROSSWINDRES LDPATH CRTLIBS LDD ALLOCA LIBOBJS LTLIBOBJS'
312 ac_subst_files='MAKE_RULES MAKE_DLL_RULES MAKE_TEST_RULES MAKE_PROG_RULES'
314 # Initialize some variables set by options.
315 ac_init_help=
316 ac_init_version=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
319 cache_file=/dev/null
320 exec_prefix=NONE
321 no_create=
322 no_recursion=
323 prefix=NONE
324 program_prefix=NONE
325 program_suffix=NONE
326 program_transform_name=s,x,x,
327 silent=
328 site=
329 srcdir=
330 verbose=
331 x_includes=NONE
332 x_libraries=NONE
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir='${exec_prefix}/bin'
340 sbindir='${exec_prefix}/sbin'
341 libexecdir='${exec_prefix}/libexec'
342 datadir='${prefix}/share'
343 sysconfdir='${prefix}/etc'
344 sharedstatedir='${prefix}/com'
345 localstatedir='${prefix}/var'
346 libdir='${exec_prefix}/lib'
347 includedir='${prefix}/include'
348 oldincludedir='/usr/include'
349 infodir='${prefix}/info'
350 mandir='${prefix}/man'
352 ac_prev=
353 for ac_option
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
358 ac_prev=
359 continue
362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364 # Accept the important Cygnus configure options, so we can diagnose typos.
366 case $ac_option in
368 -bindir | --bindir | --bindi | --bind | --bin | --bi)
369 ac_prev=bindir ;;
370 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
371 bindir=$ac_optarg ;;
373 -build | --build | --buil | --bui | --bu)
374 ac_prev=build_alias ;;
375 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
376 build_alias=$ac_optarg ;;
378 -cache-file | --cache-file | --cache-fil | --cache-fi \
379 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
380 ac_prev=cache_file ;;
381 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
382 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
383 cache_file=$ac_optarg ;;
385 --config-cache | -C)
386 cache_file=config.cache ;;
388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
389 ac_prev=datadir ;;
390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
391 | --da=*)
392 datadir=$ac_optarg ;;
394 -disable-* | --disable-*)
395 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396 # Reject names that are not valid shell variable names.
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399 { (exit 1); exit 1; }; }
400 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
403 -enable-* | --enable-*)
404 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405 # Reject names that are not valid shell variable names.
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
410 case $ac_option in
411 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
412 *) ac_optarg=yes ;;
413 esac
414 eval "enable_$ac_feature='$ac_optarg'" ;;
416 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
417 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
418 | --exec | --exe | --ex)
419 ac_prev=exec_prefix ;;
420 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
421 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
422 | --exec=* | --exe=* | --ex=*)
423 exec_prefix=$ac_optarg ;;
425 -gas | --gas | --ga | --g)
426 # Obsolete; use --with-gas.
427 with_gas=yes ;;
429 -help | --help | --hel | --he | -h)
430 ac_init_help=long ;;
431 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
432 ac_init_help=recursive ;;
433 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
434 ac_init_help=short ;;
436 -host | --host | --hos | --ho)
437 ac_prev=host_alias ;;
438 -host=* | --host=* | --hos=* | --ho=*)
439 host_alias=$ac_optarg ;;
441 -includedir | --includedir | --includedi | --included | --include \
442 | --includ | --inclu | --incl | --inc)
443 ac_prev=includedir ;;
444 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
445 | --includ=* | --inclu=* | --incl=* | --inc=*)
446 includedir=$ac_optarg ;;
448 -infodir | --infodir | --infodi | --infod | --info | --inf)
449 ac_prev=infodir ;;
450 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
451 infodir=$ac_optarg ;;
453 -libdir | --libdir | --libdi | --libd)
454 ac_prev=libdir ;;
455 -libdir=* | --libdir=* | --libdi=* | --libd=*)
456 libdir=$ac_optarg ;;
458 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
459 | --libexe | --libex | --libe)
460 ac_prev=libexecdir ;;
461 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
462 | --libexe=* | --libex=* | --libe=*)
463 libexecdir=$ac_optarg ;;
465 -localstatedir | --localstatedir | --localstatedi | --localstated \
466 | --localstate | --localstat | --localsta | --localst \
467 | --locals | --local | --loca | --loc | --lo)
468 ac_prev=localstatedir ;;
469 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
470 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
471 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
472 localstatedir=$ac_optarg ;;
474 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
475 ac_prev=mandir ;;
476 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
477 mandir=$ac_optarg ;;
479 -nfp | --nfp | --nf)
480 # Obsolete; use --without-fp.
481 with_fp=no ;;
483 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484 | --no-cr | --no-c | -n)
485 no_create=yes ;;
487 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
488 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
489 no_recursion=yes ;;
491 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
492 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
493 | --oldin | --oldi | --old | --ol | --o)
494 ac_prev=oldincludedir ;;
495 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
496 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
497 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
498 oldincludedir=$ac_optarg ;;
500 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
501 ac_prev=prefix ;;
502 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
503 prefix=$ac_optarg ;;
505 -program-prefix | --program-prefix | --program-prefi | --program-pref \
506 | --program-pre | --program-pr | --program-p)
507 ac_prev=program_prefix ;;
508 -program-prefix=* | --program-prefix=* | --program-prefi=* \
509 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
510 program_prefix=$ac_optarg ;;
512 -program-suffix | --program-suffix | --program-suffi | --program-suff \
513 | --program-suf | --program-su | --program-s)
514 ac_prev=program_suffix ;;
515 -program-suffix=* | --program-suffix=* | --program-suffi=* \
516 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
517 program_suffix=$ac_optarg ;;
519 -program-transform-name | --program-transform-name \
520 | --program-transform-nam | --program-transform-na \
521 | --program-transform-n | --program-transform- \
522 | --program-transform | --program-transfor \
523 | --program-transfo | --program-transf \
524 | --program-trans | --program-tran \
525 | --progr-tra | --program-tr | --program-t)
526 ac_prev=program_transform_name ;;
527 -program-transform-name=* | --program-transform-name=* \
528 | --program-transform-nam=* | --program-transform-na=* \
529 | --program-transform-n=* | --program-transform-=* \
530 | --program-transform=* | --program-transfor=* \
531 | --program-transfo=* | --program-transf=* \
532 | --program-trans=* | --program-tran=* \
533 | --progr-tra=* | --program-tr=* | --program-t=*)
534 program_transform_name=$ac_optarg ;;
536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
537 | -silent | --silent | --silen | --sile | --sil)
538 silent=yes ;;
540 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
541 ac_prev=sbindir ;;
542 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
543 | --sbi=* | --sb=*)
544 sbindir=$ac_optarg ;;
546 -sharedstatedir | --sharedstatedir | --sharedstatedi \
547 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
548 | --sharedst | --shareds | --shared | --share | --shar \
549 | --sha | --sh)
550 ac_prev=sharedstatedir ;;
551 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
552 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
553 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
554 | --sha=* | --sh=*)
555 sharedstatedir=$ac_optarg ;;
557 -site | --site | --sit)
558 ac_prev=site ;;
559 -site=* | --site=* | --sit=*)
560 site=$ac_optarg ;;
562 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
563 ac_prev=srcdir ;;
564 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
565 srcdir=$ac_optarg ;;
567 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
568 | --syscon | --sysco | --sysc | --sys | --sy)
569 ac_prev=sysconfdir ;;
570 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
571 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
572 sysconfdir=$ac_optarg ;;
574 -target | --target | --targe | --targ | --tar | --ta | --t)
575 ac_prev=target_alias ;;
576 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
577 target_alias=$ac_optarg ;;
579 -v | -verbose | --verbose | --verbos | --verbo | --verb)
580 verbose=yes ;;
582 -version | --version | --versio | --versi | --vers | -V)
583 ac_init_version=: ;;
585 -with-* | --with-*)
586 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package=`echo $ac_package| sed 's/-/_/g'`
592 case $ac_option in
593 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
594 *) ac_optarg=yes ;;
595 esac
596 eval "with_$ac_package='$ac_optarg'" ;;
598 -without-* | --without-*)
599 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600 # Reject names that are not valid shell variable names.
601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
602 { echo "$as_me: error: invalid package name: $ac_package" >&2
603 { (exit 1); exit 1; }; }
604 ac_package=`echo $ac_package | sed 's/-/_/g'`
605 eval "with_$ac_package=no" ;;
607 --x)
608 # Obsolete; use --with-x.
609 with_x=yes ;;
611 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
612 | --x-incl | --x-inc | --x-in | --x-i)
613 ac_prev=x_includes ;;
614 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
615 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
616 x_includes=$ac_optarg ;;
618 -x-libraries | --x-libraries | --x-librarie | --x-librari \
619 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
620 ac_prev=x_libraries ;;
621 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
622 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
623 x_libraries=$ac_optarg ;;
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
630 *=*)
631 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
632 # Reject names that are not valid shell variable names.
633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635 { (exit 1); exit 1; }; }
636 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637 eval "$ac_envvar='$ac_optarg'"
638 export $ac_envvar ;;
641 # FIXME: should be removed in autoconf 3.0.
642 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
648 esac
649 done
651 if test -n "$ac_prev"; then
652 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
653 { echo "$as_me: error: missing argument to $ac_option" >&2
654 { (exit 1); exit 1; }; }
657 # Be sure to have absolute paths.
658 for ac_var in exec_prefix prefix
660 eval ac_val=$`echo $ac_var`
661 case $ac_val in
662 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
665 esac
666 done
668 # Be sure to have absolute paths.
669 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
672 eval ac_val=$`echo $ac_var`
673 case $ac_val in
674 [\\/$]* | ?:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
677 esac
678 done
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
683 build=$build_alias
684 host=$host_alias
685 target=$target_alias
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x; then
689 if test "x$build_alias" = x; then
690 cross_compiling=maybe
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692 If a cross compiler is detected then cross compile mode will be used." >&2
693 elif test "x$build_alias" != "x$host_alias"; then
694 cross_compiling=yes
698 ac_tool_prefix=
699 test -n "$host_alias" && ac_tool_prefix=$host_alias-
701 test "$silent" = yes && exec 6>/dev/null
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706 ac_srcdir_defaulted=yes
707 # Try the directory containing this script, then its parent.
708 ac_confdir=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
714 echo X"$0" |
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
719 s/.*/./; q'`
720 srcdir=$ac_confdir
721 if test ! -r $srcdir/$ac_unique_file; then
722 srcdir=..
724 else
725 ac_srcdir_defaulted=no
727 if test ! -r $srcdir/$ac_unique_file; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730 { (exit 1); exit 1; }; }
731 else
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
736 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set=${build_alias+set}
741 ac_env_build_alias_value=$build_alias
742 ac_cv_env_build_alias_set=${build_alias+set}
743 ac_cv_env_build_alias_value=$build_alias
744 ac_env_host_alias_set=${host_alias+set}
745 ac_env_host_alias_value=$host_alias
746 ac_cv_env_host_alias_set=${host_alias+set}
747 ac_cv_env_host_alias_value=$host_alias
748 ac_env_target_alias_set=${target_alias+set}
749 ac_env_target_alias_value=$target_alias
750 ac_cv_env_target_alias_set=${target_alias+set}
751 ac_cv_env_target_alias_value=$target_alias
752 ac_env_CC_set=${CC+set}
753 ac_env_CC_value=$CC
754 ac_cv_env_CC_set=${CC+set}
755 ac_cv_env_CC_value=$CC
756 ac_env_CFLAGS_set=${CFLAGS+set}
757 ac_env_CFLAGS_value=$CFLAGS
758 ac_cv_env_CFLAGS_set=${CFLAGS+set}
759 ac_cv_env_CFLAGS_value=$CFLAGS
760 ac_env_LDFLAGS_set=${LDFLAGS+set}
761 ac_env_LDFLAGS_value=$LDFLAGS
762 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
763 ac_cv_env_LDFLAGS_value=$LDFLAGS
764 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
765 ac_env_CPPFLAGS_value=$CPPFLAGS
766 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
767 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
768 ac_env_CPP_set=${CPP+set}
769 ac_env_CPP_value=$CPP
770 ac_cv_env_CPP_set=${CPP+set}
771 ac_cv_env_CPP_value=$CPP
774 # Report the --help message.
776 if test "$ac_init_help" = "long"; then
777 # Omit some internal or obsolete options to make the list less imposing.
778 # This message is too long to be a string in the A/UX 3.1 sh.
779 cat <<_ACEOF
780 \`configure' configures Wine 20030408 to adapt to many kinds of systems.
782 Usage: $0 [OPTION]... [VAR=VALUE]...
784 To assign environment variables (e.g., CC, CFLAGS...), specify them as
785 VAR=VALUE. See below for descriptions of some of the useful variables.
787 Defaults for the options are specified in brackets.
789 Configuration:
790 -h, --help display this help and exit
791 --help=short display options specific to this package
792 --help=recursive display the short help of all the included packages
793 -V, --version display version information and exit
794 -q, --quiet, --silent do not print \`checking...' messages
795 --cache-file=FILE cache test results in FILE [disabled]
796 -C, --config-cache alias for \`--cache-file=config.cache'
797 -n, --no-create do not create output files
798 --srcdir=DIR find the sources in DIR [configure dir or \`..']
800 _ACEOF
802 cat <<_ACEOF
803 Installation directories:
804 --prefix=PREFIX install architecture-independent files in PREFIX
805 [$ac_default_prefix]
806 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
807 [PREFIX]
809 By default, \`make install' will install all the files in
810 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
811 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
812 for instance \`--prefix=\$HOME'.
814 For better control, use the options below.
816 Fine tuning of the installation directories:
817 --bindir=DIR user executables [EPREFIX/bin]
818 --sbindir=DIR system admin executables [EPREFIX/sbin]
819 --libexecdir=DIR program executables [EPREFIX/libexec]
820 --datadir=DIR read-only architecture-independent data [PREFIX/share]
821 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
822 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
823 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
824 --libdir=DIR object code libraries [EPREFIX/lib]
825 --includedir=DIR C header files [PREFIX/include]
826 --oldincludedir=DIR C header files for non-gcc [/usr/include]
827 --infodir=DIR info documentation [PREFIX/info]
828 --mandir=DIR man documentation [PREFIX/man]
829 _ACEOF
831 cat <<\_ACEOF
833 X features:
834 --x-includes=DIR X include files are in DIR
835 --x-libraries=DIR X library files are in DIR
837 System types:
838 --build=BUILD configure for building on BUILD [guessed]
839 --host=HOST cross-compile to build programs to run on HOST [BUILD]
840 _ACEOF
843 if test -n "$ac_init_help"; then
844 case $ac_init_help in
845 short | recursive ) echo "Configuration of Wine 20030408:";;
846 esac
847 cat <<\_ACEOF
849 Optional Features:
850 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
851 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
852 --disable-win16 do not include Win16 support
853 --disable-debug compile out all debugging messages
854 --disable-trace compile out TRACE messages
856 Optional Packages:
857 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
858 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
859 --without-opengl do not use OpenGL
860 --without-curses do not use curses
861 --with-nptl use glibc NPTL threading support
862 --with-wine-tools=<dir> use Wine tools from directory <dir>
863 --with-x use the X Window System
865 Some influential environment variables:
866 CC C compiler command
867 CFLAGS C compiler flags
868 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
869 nonstandard directory <lib dir>
870 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
871 headers in a nonstandard directory <include dir>
872 CPP C preprocessor
874 Use these variables to override the choices made by `configure' or to help
875 it to find libraries and programs with nonstandard names/locations.
877 _ACEOF
880 if test "$ac_init_help" = "recursive"; then
881 # If there are subdirs, report their specific --help.
882 ac_popdir=`pwd`
883 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
884 test -d $ac_dir || continue
885 ac_builddir=.
887 if test "$ac_dir" != .; then
888 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
889 # A "../" for each directory in $ac_dir_suffix.
890 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
891 else
892 ac_dir_suffix= ac_top_builddir=
895 case $srcdir in
896 .) # No --srcdir option. We are building in place.
897 ac_srcdir=.
898 if test -z "$ac_top_builddir"; then
899 ac_top_srcdir=.
900 else
901 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
902 fi ;;
903 [\\/]* | ?:[\\/]* ) # Absolute path.
904 ac_srcdir=$srcdir$ac_dir_suffix;
905 ac_top_srcdir=$srcdir ;;
906 *) # Relative path.
907 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
908 ac_top_srcdir=$ac_top_builddir$srcdir ;;
909 esac
910 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
911 # absolute.
912 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
913 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
914 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
915 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
917 cd $ac_dir
918 # Check for guested configure; otherwise get Cygnus style configure.
919 if test -f $ac_srcdir/configure.gnu; then
920 echo
921 $SHELL $ac_srcdir/configure.gnu --help=recursive
922 elif test -f $ac_srcdir/configure; then
923 echo
924 $SHELL $ac_srcdir/configure --help=recursive
925 elif test -f $ac_srcdir/configure.ac ||
926 test -f $ac_srcdir/configure.in; then
927 echo
928 $ac_configure --help
929 else
930 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
932 cd $ac_popdir
933 done
936 test -n "$ac_init_help" && exit 0
937 if $ac_init_version; then
938 cat <<\_ACEOF
939 Wine configure 20030408
940 generated by GNU Autoconf 2.57
942 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
943 Free Software Foundation, Inc.
944 This configure script is free software; the Free Software Foundation
945 gives unlimited permission to copy, distribute and modify it.
946 _ACEOF
947 exit 0
949 exec 5>config.log
950 cat >&5 <<_ACEOF
951 This file contains any messages produced by compilers while
952 running configure, to aid debugging if configure makes a mistake.
954 It was created by Wine $as_me 20030408, which was
955 generated by GNU Autoconf 2.57. Invocation command line was
957 $ $0 $@
959 _ACEOF
961 cat <<_ASUNAME
962 ## --------- ##
963 ## Platform. ##
964 ## --------- ##
966 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
967 uname -m = `(uname -m) 2>/dev/null || echo unknown`
968 uname -r = `(uname -r) 2>/dev/null || echo unknown`
969 uname -s = `(uname -s) 2>/dev/null || echo unknown`
970 uname -v = `(uname -v) 2>/dev/null || echo unknown`
972 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
973 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
975 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
976 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
977 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
978 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
979 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
980 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
981 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
983 _ASUNAME
985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
986 for as_dir in $PATH
988 IFS=$as_save_IFS
989 test -z "$as_dir" && as_dir=.
990 echo "PATH: $as_dir"
991 done
993 } >&5
995 cat >&5 <<_ACEOF
998 ## ----------- ##
999 ## Core tests. ##
1000 ## ----------- ##
1002 _ACEOF
1005 # Keep a trace of the command line.
1006 # Strip out --no-create and --no-recursion so they do not pile up.
1007 # Strip out --silent because we don't want to record it for future runs.
1008 # Also quote any args containing shell meta-characters.
1009 # Make two passes to allow for proper duplicate-argument suppression.
1010 ac_configure_args=
1011 ac_configure_args0=
1012 ac_configure_args1=
1013 ac_sep=
1014 ac_must_keep_next=false
1015 for ac_pass in 1 2
1017 for ac_arg
1019 case $ac_arg in
1020 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1021 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1022 | -silent | --silent | --silen | --sile | --sil)
1023 continue ;;
1024 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1025 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1026 esac
1027 case $ac_pass in
1028 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1030 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1031 if test $ac_must_keep_next = true; then
1032 ac_must_keep_next=false # Got value, back to normal.
1033 else
1034 case $ac_arg in
1035 *=* | --config-cache | -C | -disable-* | --disable-* \
1036 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1037 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1038 | -with-* | --with-* | -without-* | --without-* | --x)
1039 case "$ac_configure_args0 " in
1040 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1041 esac
1043 -* ) ac_must_keep_next=true ;;
1044 esac
1046 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1047 # Get rid of the leading space.
1048 ac_sep=" "
1050 esac
1051 done
1052 done
1053 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1054 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1056 # When interrupted or exit'd, cleanup temporary files, and complete
1057 # config.log. We remove comments because anyway the quotes in there
1058 # would cause problems or look ugly.
1059 # WARNING: Be sure not to use single quotes in there, as some shells,
1060 # such as our DU 5.0 friend, will then `close' the trap.
1061 trap 'exit_status=$?
1062 # Save into config.log some information that might help in debugging.
1064 echo
1066 cat <<\_ASBOX
1067 ## ---------------- ##
1068 ## Cache variables. ##
1069 ## ---------------- ##
1070 _ASBOX
1071 echo
1072 # The following way of writing the cache mishandles newlines in values,
1074 (set) 2>&1 |
1075 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1076 *ac_space=\ *)
1077 sed -n \
1078 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1079 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1082 sed -n \
1083 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1085 esac;
1087 echo
1089 cat <<\_ASBOX
1090 ## ----------------- ##
1091 ## Output variables. ##
1092 ## ----------------- ##
1093 _ASBOX
1094 echo
1095 for ac_var in $ac_subst_vars
1097 eval ac_val=$`echo $ac_var`
1098 echo "$ac_var='"'"'$ac_val'"'"'"
1099 done | sort
1100 echo
1102 if test -n "$ac_subst_files"; then
1103 cat <<\_ASBOX
1104 ## ------------- ##
1105 ## Output files. ##
1106 ## ------------- ##
1107 _ASBOX
1108 echo
1109 for ac_var in $ac_subst_files
1111 eval ac_val=$`echo $ac_var`
1112 echo "$ac_var='"'"'$ac_val'"'"'"
1113 done | sort
1114 echo
1117 if test -s confdefs.h; then
1118 cat <<\_ASBOX
1119 ## ----------- ##
1120 ## confdefs.h. ##
1121 ## ----------- ##
1122 _ASBOX
1123 echo
1124 sed "/^$/d" confdefs.h | sort
1125 echo
1127 test "$ac_signal" != 0 &&
1128 echo "$as_me: caught signal $ac_signal"
1129 echo "$as_me: exit $exit_status"
1130 } >&5
1131 rm -f core core.* *.core &&
1132 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1133 exit $exit_status
1135 for ac_signal in 1 2 13 15; do
1136 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1137 done
1138 ac_signal=0
1140 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1141 rm -rf conftest* confdefs.h
1142 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1143 echo >confdefs.h
1145 # Predefined preprocessor variables.
1147 cat >>confdefs.h <<_ACEOF
1148 #define PACKAGE_NAME "$PACKAGE_NAME"
1149 _ACEOF
1152 cat >>confdefs.h <<_ACEOF
1153 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1154 _ACEOF
1157 cat >>confdefs.h <<_ACEOF
1158 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1159 _ACEOF
1162 cat >>confdefs.h <<_ACEOF
1163 #define PACKAGE_STRING "$PACKAGE_STRING"
1164 _ACEOF
1167 cat >>confdefs.h <<_ACEOF
1168 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1169 _ACEOF
1172 # Let the site file select an alternate cache file if it wants to.
1173 # Prefer explicitly selected file to automatically selected ones.
1174 if test -z "$CONFIG_SITE"; then
1175 if test "x$prefix" != xNONE; then
1176 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1177 else
1178 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1181 for ac_site_file in $CONFIG_SITE; do
1182 if test -r "$ac_site_file"; then
1183 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1184 echo "$as_me: loading site script $ac_site_file" >&6;}
1185 sed 's/^/| /' "$ac_site_file" >&5
1186 . "$ac_site_file"
1188 done
1190 if test -r "$cache_file"; then
1191 # Some versions of bash will fail to source /dev/null (special
1192 # files actually), so we avoid doing that.
1193 if test -f "$cache_file"; then
1194 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1195 echo "$as_me: loading cache $cache_file" >&6;}
1196 case $cache_file in
1197 [\\/]* | ?:[\\/]* ) . $cache_file;;
1198 *) . ./$cache_file;;
1199 esac
1201 else
1202 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1203 echo "$as_me: creating cache $cache_file" >&6;}
1204 >$cache_file
1207 # Check that the precious variables saved in the cache have kept the same
1208 # value.
1209 ac_cache_corrupted=false
1210 for ac_var in `(set) 2>&1 |
1211 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1212 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1213 eval ac_new_set=\$ac_env_${ac_var}_set
1214 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1215 eval ac_new_val="\$ac_env_${ac_var}_value"
1216 case $ac_old_set,$ac_new_set in
1217 set,)
1218 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1219 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1220 ac_cache_corrupted=: ;;
1221 ,set)
1222 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1223 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1224 ac_cache_corrupted=: ;;
1225 ,);;
1227 if test "x$ac_old_val" != "x$ac_new_val"; then
1228 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1229 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1230 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1231 echo "$as_me: former value: $ac_old_val" >&2;}
1232 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1233 echo "$as_me: current value: $ac_new_val" >&2;}
1234 ac_cache_corrupted=:
1235 fi;;
1236 esac
1237 # Pass precious variables to config.status.
1238 if test "$ac_new_set" = set; then
1239 case $ac_new_val in
1240 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1241 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1242 *) ac_arg=$ac_var=$ac_new_val ;;
1243 esac
1244 case " $ac_configure_args " in
1245 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1246 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1247 esac
1249 done
1250 if $ac_cache_corrupted; then
1251 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1252 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1253 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1254 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1255 { (exit 1); exit 1; }; }
1258 ac_ext=c
1259 ac_cpp='$CPP $CPPFLAGS'
1260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1291 ac_config_headers="$ac_config_headers include/config.h"
1293 ac_aux_dir=
1294 for ac_dir in tools $srcdir/tools; do
1295 if test -f $ac_dir/install-sh; then
1296 ac_aux_dir=$ac_dir
1297 ac_install_sh="$ac_aux_dir/install-sh -c"
1298 break
1299 elif test -f $ac_dir/install.sh; then
1300 ac_aux_dir=$ac_dir
1301 ac_install_sh="$ac_aux_dir/install.sh -c"
1302 break
1303 elif test -f $ac_dir/shtool; then
1304 ac_aux_dir=$ac_dir
1305 ac_install_sh="$ac_aux_dir/shtool install -c"
1306 break
1308 done
1309 if test -z "$ac_aux_dir"; then
1310 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&5
1311 echo "$as_me: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&2;}
1312 { (exit 1); exit 1; }; }
1314 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1315 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1316 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1320 # Check whether --enable-win16 or --disable-win16 was given.
1321 if test "${enable_win16+set}" = set; then
1322 enableval="$enable_win16"
1325 # Check whether --enable-debug or --disable-debug was given.
1326 if test "${enable_debug+set}" = set; then
1327 enableval="$enable_debug"
1330 # Check whether --enable-trace or --disable-trace was given.
1331 if test "${enable_trace+set}" = set; then
1332 enableval="$enable_trace"
1337 # Check whether --with-opengl or --without-opengl was given.
1338 if test "${with_opengl+set}" = set; then
1339 withval="$with_opengl"
1343 # Check whether --with-curses or --without-curses was given.
1344 if test "${with_curses+set}" = set; then
1345 withval="$with_curses"
1349 # Check whether --with-nptl or --without-nptl was given.
1350 if test "${with_nptl+set}" = set; then
1351 withval="$with_nptl"
1355 # Check whether --with-wine-tools or --without-wine-tools was given.
1356 if test "${with_wine_tools+set}" = set; then
1357 withval="$with_wine_tools"
1361 WIN16_FILES="\$(WIN16_FILES)"
1363 WIN16_INSTALL="\$(WIN16_INSTALL)"
1365 if test "x$enable_win16" = "xno"
1366 then
1367 WIN16_FILES=""
1368 WIN16_INSTALL=""
1370 if test "x$enable_debug" = "xno"
1371 then
1373 cat >>confdefs.h <<\_ACEOF
1374 #define NO_DEBUG_MSGS 1
1375 _ACEOF
1378 if test "x$enable_trace" = "xno" -o "x$enable_debug" = "xno"
1379 then
1381 cat >>confdefs.h <<\_ACEOF
1382 #define NO_TRACE_MSGS 1
1383 _ACEOF
1386 if test "x$with_nptl" = "xyes"
1387 then
1389 cat >>confdefs.h <<\_ACEOF
1390 #define HAVE_NPTL 1
1391 _ACEOF
1393 LIBPTHREAD="-lpthread"
1398 # Make sure we can run config.sub.
1399 $ac_config_sub sun4 >/dev/null 2>&1 ||
1400 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1401 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1402 { (exit 1); exit 1; }; }
1404 echo "$as_me:$LINENO: checking build system type" >&5
1405 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1406 if test "${ac_cv_build+set}" = set; then
1407 echo $ECHO_N "(cached) $ECHO_C" >&6
1408 else
1409 ac_cv_build_alias=$build_alias
1410 test -z "$ac_cv_build_alias" &&
1411 ac_cv_build_alias=`$ac_config_guess`
1412 test -z "$ac_cv_build_alias" &&
1413 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1414 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1415 { (exit 1); exit 1; }; }
1416 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1417 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1418 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1419 { (exit 1); exit 1; }; }
1422 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1423 echo "${ECHO_T}$ac_cv_build" >&6
1424 build=$ac_cv_build
1425 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1426 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1427 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1430 echo "$as_me:$LINENO: checking host system type" >&5
1431 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1432 if test "${ac_cv_host+set}" = set; then
1433 echo $ECHO_N "(cached) $ECHO_C" >&6
1434 else
1435 ac_cv_host_alias=$host_alias
1436 test -z "$ac_cv_host_alias" &&
1437 ac_cv_host_alias=$ac_cv_build_alias
1438 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1439 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1440 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1441 { (exit 1); exit 1; }; }
1444 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1445 echo "${ECHO_T}$ac_cv_host" >&6
1446 host=$ac_cv_host
1447 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1448 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1449 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1452 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1453 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1454 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1455 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1456 echo $ECHO_N "(cached) $ECHO_C" >&6
1457 else
1458 cat >conftest.make <<\_ACEOF
1459 all:
1460 @echo 'ac_maketemp="$(MAKE)"'
1461 _ACEOF
1462 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1463 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1464 if test -n "$ac_maketemp"; then
1465 eval ac_cv_prog_make_${ac_make}_set=yes
1466 else
1467 eval ac_cv_prog_make_${ac_make}_set=no
1469 rm -f conftest.make
1471 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1472 echo "$as_me:$LINENO: result: yes" >&5
1473 echo "${ECHO_T}yes" >&6
1474 SET_MAKE=
1475 else
1476 echo "$as_me:$LINENO: result: no" >&5
1477 echo "${ECHO_T}no" >&6
1478 SET_MAKE="MAKE=${MAKE-make}"
1481 ac_ext=c
1482 ac_cpp='$CPP $CPPFLAGS'
1483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1486 if test -n "$ac_tool_prefix"; then
1487 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1488 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1489 echo "$as_me:$LINENO: checking for $ac_word" >&5
1490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1491 if test "${ac_cv_prog_CC+set}" = set; then
1492 echo $ECHO_N "(cached) $ECHO_C" >&6
1493 else
1494 if test -n "$CC"; then
1495 ac_cv_prog_CC="$CC" # Let the user override the test.
1496 else
1497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1498 for as_dir in $PATH
1500 IFS=$as_save_IFS
1501 test -z "$as_dir" && as_dir=.
1502 for ac_exec_ext in '' $ac_executable_extensions; do
1503 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1504 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1506 break 2
1508 done
1509 done
1513 CC=$ac_cv_prog_CC
1514 if test -n "$CC"; then
1515 echo "$as_me:$LINENO: result: $CC" >&5
1516 echo "${ECHO_T}$CC" >&6
1517 else
1518 echo "$as_me:$LINENO: result: no" >&5
1519 echo "${ECHO_T}no" >&6
1523 if test -z "$ac_cv_prog_CC"; then
1524 ac_ct_CC=$CC
1525 # Extract the first word of "gcc", so it can be a program name with args.
1526 set dummy gcc; ac_word=$2
1527 echo "$as_me:$LINENO: checking for $ac_word" >&5
1528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1529 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1530 echo $ECHO_N "(cached) $ECHO_C" >&6
1531 else
1532 if test -n "$ac_ct_CC"; then
1533 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1534 else
1535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1536 for as_dir in $PATH
1538 IFS=$as_save_IFS
1539 test -z "$as_dir" && as_dir=.
1540 for ac_exec_ext in '' $ac_executable_extensions; do
1541 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1542 ac_cv_prog_ac_ct_CC="gcc"
1543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1544 break 2
1546 done
1547 done
1551 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1552 if test -n "$ac_ct_CC"; then
1553 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1554 echo "${ECHO_T}$ac_ct_CC" >&6
1555 else
1556 echo "$as_me:$LINENO: result: no" >&5
1557 echo "${ECHO_T}no" >&6
1560 CC=$ac_ct_CC
1561 else
1562 CC="$ac_cv_prog_CC"
1565 if test -z "$CC"; then
1566 if test -n "$ac_tool_prefix"; then
1567 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1568 set dummy ${ac_tool_prefix}cc; ac_word=$2
1569 echo "$as_me:$LINENO: checking for $ac_word" >&5
1570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1571 if test "${ac_cv_prog_CC+set}" = set; then
1572 echo $ECHO_N "(cached) $ECHO_C" >&6
1573 else
1574 if test -n "$CC"; then
1575 ac_cv_prog_CC="$CC" # Let the user override the test.
1576 else
1577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1578 for as_dir in $PATH
1580 IFS=$as_save_IFS
1581 test -z "$as_dir" && as_dir=.
1582 for ac_exec_ext in '' $ac_executable_extensions; do
1583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1584 ac_cv_prog_CC="${ac_tool_prefix}cc"
1585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1586 break 2
1588 done
1589 done
1593 CC=$ac_cv_prog_CC
1594 if test -n "$CC"; then
1595 echo "$as_me:$LINENO: result: $CC" >&5
1596 echo "${ECHO_T}$CC" >&6
1597 else
1598 echo "$as_me:$LINENO: result: no" >&5
1599 echo "${ECHO_T}no" >&6
1603 if test -z "$ac_cv_prog_CC"; then
1604 ac_ct_CC=$CC
1605 # Extract the first word of "cc", so it can be a program name with args.
1606 set dummy cc; ac_word=$2
1607 echo "$as_me:$LINENO: checking for $ac_word" >&5
1608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1609 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1610 echo $ECHO_N "(cached) $ECHO_C" >&6
1611 else
1612 if test -n "$ac_ct_CC"; then
1613 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1614 else
1615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1616 for as_dir in $PATH
1618 IFS=$as_save_IFS
1619 test -z "$as_dir" && as_dir=.
1620 for ac_exec_ext in '' $ac_executable_extensions; do
1621 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1622 ac_cv_prog_ac_ct_CC="cc"
1623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1624 break 2
1626 done
1627 done
1631 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1632 if test -n "$ac_ct_CC"; then
1633 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1634 echo "${ECHO_T}$ac_ct_CC" >&6
1635 else
1636 echo "$as_me:$LINENO: result: no" >&5
1637 echo "${ECHO_T}no" >&6
1640 CC=$ac_ct_CC
1641 else
1642 CC="$ac_cv_prog_CC"
1646 if test -z "$CC"; then
1647 # Extract the first word of "cc", so it can be a program name with args.
1648 set dummy cc; ac_word=$2
1649 echo "$as_me:$LINENO: checking for $ac_word" >&5
1650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1651 if test "${ac_cv_prog_CC+set}" = set; then
1652 echo $ECHO_N "(cached) $ECHO_C" >&6
1653 else
1654 if test -n "$CC"; then
1655 ac_cv_prog_CC="$CC" # Let the user override the test.
1656 else
1657 ac_prog_rejected=no
1658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1659 for as_dir in $PATH
1661 IFS=$as_save_IFS
1662 test -z "$as_dir" && as_dir=.
1663 for ac_exec_ext in '' $ac_executable_extensions; do
1664 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1665 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1666 ac_prog_rejected=yes
1667 continue
1669 ac_cv_prog_CC="cc"
1670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1671 break 2
1673 done
1674 done
1676 if test $ac_prog_rejected = yes; then
1677 # We found a bogon in the path, so make sure we never use it.
1678 set dummy $ac_cv_prog_CC
1679 shift
1680 if test $# != 0; then
1681 # We chose a different compiler from the bogus one.
1682 # However, it has the same basename, so the bogon will be chosen
1683 # first if we set CC to just the basename; use the full file name.
1684 shift
1685 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1690 CC=$ac_cv_prog_CC
1691 if test -n "$CC"; then
1692 echo "$as_me:$LINENO: result: $CC" >&5
1693 echo "${ECHO_T}$CC" >&6
1694 else
1695 echo "$as_me:$LINENO: result: no" >&5
1696 echo "${ECHO_T}no" >&6
1700 if test -z "$CC"; then
1701 if test -n "$ac_tool_prefix"; then
1702 for ac_prog in cl
1704 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1705 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1706 echo "$as_me:$LINENO: checking for $ac_word" >&5
1707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1708 if test "${ac_cv_prog_CC+set}" = set; then
1709 echo $ECHO_N "(cached) $ECHO_C" >&6
1710 else
1711 if test -n "$CC"; then
1712 ac_cv_prog_CC="$CC" # Let the user override the test.
1713 else
1714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1715 for as_dir in $PATH
1717 IFS=$as_save_IFS
1718 test -z "$as_dir" && as_dir=.
1719 for ac_exec_ext in '' $ac_executable_extensions; do
1720 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1721 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1723 break 2
1725 done
1726 done
1730 CC=$ac_cv_prog_CC
1731 if test -n "$CC"; then
1732 echo "$as_me:$LINENO: result: $CC" >&5
1733 echo "${ECHO_T}$CC" >&6
1734 else
1735 echo "$as_me:$LINENO: result: no" >&5
1736 echo "${ECHO_T}no" >&6
1739 test -n "$CC" && break
1740 done
1742 if test -z "$CC"; then
1743 ac_ct_CC=$CC
1744 for ac_prog in cl
1746 # Extract the first word of "$ac_prog", so it can be a program name with args.
1747 set dummy $ac_prog; ac_word=$2
1748 echo "$as_me:$LINENO: checking for $ac_word" >&5
1749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1750 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1751 echo $ECHO_N "(cached) $ECHO_C" >&6
1752 else
1753 if test -n "$ac_ct_CC"; then
1754 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1755 else
1756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1757 for as_dir in $PATH
1759 IFS=$as_save_IFS
1760 test -z "$as_dir" && as_dir=.
1761 for ac_exec_ext in '' $ac_executable_extensions; do
1762 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1763 ac_cv_prog_ac_ct_CC="$ac_prog"
1764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1765 break 2
1767 done
1768 done
1772 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1773 if test -n "$ac_ct_CC"; then
1774 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1775 echo "${ECHO_T}$ac_ct_CC" >&6
1776 else
1777 echo "$as_me:$LINENO: result: no" >&5
1778 echo "${ECHO_T}no" >&6
1781 test -n "$ac_ct_CC" && break
1782 done
1784 CC=$ac_ct_CC
1790 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1791 See \`config.log' for more details." >&5
1792 echo "$as_me: error: no acceptable C compiler found in \$PATH
1793 See \`config.log' for more details." >&2;}
1794 { (exit 1); exit 1; }; }
1796 # Provide some information about the compiler.
1797 echo "$as_me:$LINENO:" \
1798 "checking for C compiler version" >&5
1799 ac_compiler=`set X $ac_compile; echo $2`
1800 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1801 (eval $ac_compiler --version </dev/null >&5) 2>&5
1802 ac_status=$?
1803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1804 (exit $ac_status); }
1805 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1806 (eval $ac_compiler -v </dev/null >&5) 2>&5
1807 ac_status=$?
1808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1809 (exit $ac_status); }
1810 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1811 (eval $ac_compiler -V </dev/null >&5) 2>&5
1812 ac_status=$?
1813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1814 (exit $ac_status); }
1816 cat >conftest.$ac_ext <<_ACEOF
1817 #line $LINENO "configure"
1818 /* confdefs.h. */
1819 _ACEOF
1820 cat confdefs.h >>conftest.$ac_ext
1821 cat >>conftest.$ac_ext <<_ACEOF
1822 /* end confdefs.h. */
1825 main ()
1829 return 0;
1831 _ACEOF
1832 ac_clean_files_save=$ac_clean_files
1833 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1834 # Try to create an executable without -o first, disregard a.out.
1835 # It will help us diagnose broken compilers, and finding out an intuition
1836 # of exeext.
1837 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1838 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1839 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1840 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1841 (eval $ac_link_default) 2>&5
1842 ac_status=$?
1843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1844 (exit $ac_status); }; then
1845 # Find the output, starting from the most likely. This scheme is
1846 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1847 # resort.
1849 # Be careful to initialize this variable, since it used to be cached.
1850 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1851 ac_cv_exeext=
1852 # b.out is created by i960 compilers.
1853 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1855 test -f "$ac_file" || continue
1856 case $ac_file in
1857 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1859 conftest.$ac_ext )
1860 # This is the source file.
1862 [ab].out )
1863 # We found the default executable, but exeext='' is most
1864 # certainly right.
1865 break;;
1866 *.* )
1867 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1868 # FIXME: I believe we export ac_cv_exeext for Libtool,
1869 # but it would be cool to find out if it's true. Does anybody
1870 # maintain Libtool? --akim.
1871 export ac_cv_exeext
1872 break;;
1874 break;;
1875 esac
1876 done
1877 else
1878 echo "$as_me: failed program was:" >&5
1879 sed 's/^/| /' conftest.$ac_ext >&5
1881 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1882 See \`config.log' for more details." >&5
1883 echo "$as_me: error: C compiler cannot create executables
1884 See \`config.log' for more details." >&2;}
1885 { (exit 77); exit 77; }; }
1888 ac_exeext=$ac_cv_exeext
1889 echo "$as_me:$LINENO: result: $ac_file" >&5
1890 echo "${ECHO_T}$ac_file" >&6
1892 # Check the compiler produces executables we can run. If not, either
1893 # the compiler is broken, or we cross compile.
1894 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1895 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1896 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1897 # If not cross compiling, check that we can run a simple program.
1898 if test "$cross_compiling" != yes; then
1899 if { ac_try='./$ac_file'
1900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1901 (eval $ac_try) 2>&5
1902 ac_status=$?
1903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1904 (exit $ac_status); }; }; then
1905 cross_compiling=no
1906 else
1907 if test "$cross_compiling" = maybe; then
1908 cross_compiling=yes
1909 else
1910 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1911 If you meant to cross compile, use \`--host'.
1912 See \`config.log' for more details." >&5
1913 echo "$as_me: error: cannot run C compiled programs.
1914 If you meant to cross compile, use \`--host'.
1915 See \`config.log' for more details." >&2;}
1916 { (exit 1); exit 1; }; }
1920 echo "$as_me:$LINENO: result: yes" >&5
1921 echo "${ECHO_T}yes" >&6
1923 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1924 ac_clean_files=$ac_clean_files_save
1925 # Check the compiler produces executables we can run. If not, either
1926 # the compiler is broken, or we cross compile.
1927 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1928 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1929 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1930 echo "${ECHO_T}$cross_compiling" >&6
1932 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1933 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1935 (eval $ac_link) 2>&5
1936 ac_status=$?
1937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1938 (exit $ac_status); }; then
1939 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1940 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1941 # work properly (i.e., refer to `conftest.exe'), while it won't with
1942 # `rm'.
1943 for ac_file in conftest.exe conftest conftest.*; do
1944 test -f "$ac_file" || continue
1945 case $ac_file in
1946 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1947 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1948 export ac_cv_exeext
1949 break;;
1950 * ) break;;
1951 esac
1952 done
1953 else
1954 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1955 See \`config.log' for more details." >&5
1956 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1957 See \`config.log' for more details." >&2;}
1958 { (exit 1); exit 1; }; }
1961 rm -f conftest$ac_cv_exeext
1962 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1963 echo "${ECHO_T}$ac_cv_exeext" >&6
1965 rm -f conftest.$ac_ext
1966 EXEEXT=$ac_cv_exeext
1967 ac_exeext=$EXEEXT
1968 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1969 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1970 if test "${ac_cv_objext+set}" = set; then
1971 echo $ECHO_N "(cached) $ECHO_C" >&6
1972 else
1973 cat >conftest.$ac_ext <<_ACEOF
1974 #line $LINENO "configure"
1975 /* confdefs.h. */
1976 _ACEOF
1977 cat confdefs.h >>conftest.$ac_ext
1978 cat >>conftest.$ac_ext <<_ACEOF
1979 /* end confdefs.h. */
1982 main ()
1986 return 0;
1988 _ACEOF
1989 rm -f conftest.o conftest.obj
1990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1991 (eval $ac_compile) 2>&5
1992 ac_status=$?
1993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1994 (exit $ac_status); }; then
1995 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1996 case $ac_file in
1997 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1998 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1999 break;;
2000 esac
2001 done
2002 else
2003 echo "$as_me: failed program was:" >&5
2004 sed 's/^/| /' conftest.$ac_ext >&5
2006 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2007 See \`config.log' for more details." >&5
2008 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2009 See \`config.log' for more details." >&2;}
2010 { (exit 1); exit 1; }; }
2013 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2015 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2016 echo "${ECHO_T}$ac_cv_objext" >&6
2017 OBJEXT=$ac_cv_objext
2018 ac_objext=$OBJEXT
2019 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2020 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2021 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2022 echo $ECHO_N "(cached) $ECHO_C" >&6
2023 else
2024 cat >conftest.$ac_ext <<_ACEOF
2025 #line $LINENO "configure"
2026 /* confdefs.h. */
2027 _ACEOF
2028 cat confdefs.h >>conftest.$ac_ext
2029 cat >>conftest.$ac_ext <<_ACEOF
2030 /* end confdefs.h. */
2033 main ()
2035 #ifndef __GNUC__
2036 choke me
2037 #endif
2040 return 0;
2042 _ACEOF
2043 rm -f conftest.$ac_objext
2044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2045 (eval $ac_compile) 2>&5
2046 ac_status=$?
2047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2048 (exit $ac_status); } &&
2049 { ac_try='test -s conftest.$ac_objext'
2050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2051 (eval $ac_try) 2>&5
2052 ac_status=$?
2053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2054 (exit $ac_status); }; }; then
2055 ac_compiler_gnu=yes
2056 else
2057 echo "$as_me: failed program was:" >&5
2058 sed 's/^/| /' conftest.$ac_ext >&5
2060 ac_compiler_gnu=no
2062 rm -f conftest.$ac_objext conftest.$ac_ext
2063 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2066 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2067 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2068 GCC=`test $ac_compiler_gnu = yes && echo yes`
2069 ac_test_CFLAGS=${CFLAGS+set}
2070 ac_save_CFLAGS=$CFLAGS
2071 CFLAGS="-g"
2072 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2073 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2074 if test "${ac_cv_prog_cc_g+set}" = set; then
2075 echo $ECHO_N "(cached) $ECHO_C" >&6
2076 else
2077 cat >conftest.$ac_ext <<_ACEOF
2078 #line $LINENO "configure"
2079 /* confdefs.h. */
2080 _ACEOF
2081 cat confdefs.h >>conftest.$ac_ext
2082 cat >>conftest.$ac_ext <<_ACEOF
2083 /* end confdefs.h. */
2086 main ()
2090 return 0;
2092 _ACEOF
2093 rm -f conftest.$ac_objext
2094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2095 (eval $ac_compile) 2>&5
2096 ac_status=$?
2097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2098 (exit $ac_status); } &&
2099 { ac_try='test -s conftest.$ac_objext'
2100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2101 (eval $ac_try) 2>&5
2102 ac_status=$?
2103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2104 (exit $ac_status); }; }; then
2105 ac_cv_prog_cc_g=yes
2106 else
2107 echo "$as_me: failed program was:" >&5
2108 sed 's/^/| /' conftest.$ac_ext >&5
2110 ac_cv_prog_cc_g=no
2112 rm -f conftest.$ac_objext conftest.$ac_ext
2114 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2115 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2116 if test "$ac_test_CFLAGS" = set; then
2117 CFLAGS=$ac_save_CFLAGS
2118 elif test $ac_cv_prog_cc_g = yes; then
2119 if test "$GCC" = yes; then
2120 CFLAGS="-g -O2"
2121 else
2122 CFLAGS="-g"
2124 else
2125 if test "$GCC" = yes; then
2126 CFLAGS="-O2"
2127 else
2128 CFLAGS=
2131 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2132 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2133 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2134 echo $ECHO_N "(cached) $ECHO_C" >&6
2135 else
2136 ac_cv_prog_cc_stdc=no
2137 ac_save_CC=$CC
2138 cat >conftest.$ac_ext <<_ACEOF
2139 #line $LINENO "configure"
2140 /* confdefs.h. */
2141 _ACEOF
2142 cat confdefs.h >>conftest.$ac_ext
2143 cat >>conftest.$ac_ext <<_ACEOF
2144 /* end confdefs.h. */
2145 #include <stdarg.h>
2146 #include <stdio.h>
2147 #include <sys/types.h>
2148 #include <sys/stat.h>
2149 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2150 struct buf { int x; };
2151 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2152 static char *e (p, i)
2153 char **p;
2154 int i;
2156 return p[i];
2158 static char *f (char * (*g) (char **, int), char **p, ...)
2160 char *s;
2161 va_list v;
2162 va_start (v,p);
2163 s = g (p, va_arg (v,int));
2164 va_end (v);
2165 return s;
2167 int test (int i, double x);
2168 struct s1 {int (*f) (int a);};
2169 struct s2 {int (*f) (double a);};
2170 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2171 int argc;
2172 char **argv;
2174 main ()
2176 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2178 return 0;
2180 _ACEOF
2181 # Don't try gcc -ansi; that turns off useful extensions and
2182 # breaks some systems' header files.
2183 # AIX -qlanglvl=ansi
2184 # Ultrix and OSF/1 -std1
2185 # HP-UX 10.20 and later -Ae
2186 # HP-UX older versions -Aa -D_HPUX_SOURCE
2187 # SVR4 -Xc -D__EXTENSIONS__
2188 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2190 CC="$ac_save_CC $ac_arg"
2191 rm -f conftest.$ac_objext
2192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2193 (eval $ac_compile) 2>&5
2194 ac_status=$?
2195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2196 (exit $ac_status); } &&
2197 { ac_try='test -s conftest.$ac_objext'
2198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2199 (eval $ac_try) 2>&5
2200 ac_status=$?
2201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2202 (exit $ac_status); }; }; then
2203 ac_cv_prog_cc_stdc=$ac_arg
2204 break
2205 else
2206 echo "$as_me: failed program was:" >&5
2207 sed 's/^/| /' conftest.$ac_ext >&5
2210 rm -f conftest.$ac_objext
2211 done
2212 rm -f conftest.$ac_ext conftest.$ac_objext
2213 CC=$ac_save_CC
2217 case "x$ac_cv_prog_cc_stdc" in
2218 x|xno)
2219 echo "$as_me:$LINENO: result: none needed" >&5
2220 echo "${ECHO_T}none needed" >&6 ;;
2222 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2223 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2224 CC="$CC $ac_cv_prog_cc_stdc" ;;
2225 esac
2227 # Some people use a C++ compiler to compile C. Since we use `exit',
2228 # in C++ we need to declare it. In case someone uses the same compiler
2229 # for both compiling C and C++ we need to have the C++ compiler decide
2230 # the declaration of exit, since it's the most demanding environment.
2231 cat >conftest.$ac_ext <<_ACEOF
2232 #ifndef __cplusplus
2233 choke me
2234 #endif
2235 _ACEOF
2236 rm -f conftest.$ac_objext
2237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2238 (eval $ac_compile) 2>&5
2239 ac_status=$?
2240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2241 (exit $ac_status); } &&
2242 { ac_try='test -s conftest.$ac_objext'
2243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2244 (eval $ac_try) 2>&5
2245 ac_status=$?
2246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2247 (exit $ac_status); }; }; then
2248 for ac_declaration in \
2250 '#include <stdlib.h>' \
2251 'extern "C" void std::exit (int) throw (); using std::exit;' \
2252 'extern "C" void std::exit (int); using std::exit;' \
2253 'extern "C" void exit (int) throw ();' \
2254 'extern "C" void exit (int);' \
2255 'void exit (int);'
2257 cat >conftest.$ac_ext <<_ACEOF
2258 #line $LINENO "configure"
2259 /* confdefs.h. */
2260 _ACEOF
2261 cat confdefs.h >>conftest.$ac_ext
2262 cat >>conftest.$ac_ext <<_ACEOF
2263 /* end confdefs.h. */
2264 #include <stdlib.h>
2265 $ac_declaration
2267 main ()
2269 exit (42);
2271 return 0;
2273 _ACEOF
2274 rm -f conftest.$ac_objext
2275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2276 (eval $ac_compile) 2>&5
2277 ac_status=$?
2278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2279 (exit $ac_status); } &&
2280 { ac_try='test -s conftest.$ac_objext'
2281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2282 (eval $ac_try) 2>&5
2283 ac_status=$?
2284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2285 (exit $ac_status); }; }; then
2287 else
2288 echo "$as_me: failed program was:" >&5
2289 sed 's/^/| /' conftest.$ac_ext >&5
2291 continue
2293 rm -f conftest.$ac_objext conftest.$ac_ext
2294 cat >conftest.$ac_ext <<_ACEOF
2295 #line $LINENO "configure"
2296 /* confdefs.h. */
2297 _ACEOF
2298 cat confdefs.h >>conftest.$ac_ext
2299 cat >>conftest.$ac_ext <<_ACEOF
2300 /* end confdefs.h. */
2301 $ac_declaration
2303 main ()
2305 exit (42);
2307 return 0;
2309 _ACEOF
2310 rm -f conftest.$ac_objext
2311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2312 (eval $ac_compile) 2>&5
2313 ac_status=$?
2314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2315 (exit $ac_status); } &&
2316 { ac_try='test -s conftest.$ac_objext'
2317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2318 (eval $ac_try) 2>&5
2319 ac_status=$?
2320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2321 (exit $ac_status); }; }; then
2322 break
2323 else
2324 echo "$as_me: failed program was:" >&5
2325 sed 's/^/| /' conftest.$ac_ext >&5
2328 rm -f conftest.$ac_objext conftest.$ac_ext
2329 done
2330 rm -f conftest*
2331 if test -n "$ac_declaration"; then
2332 echo '#ifdef __cplusplus' >>confdefs.h
2333 echo $ac_declaration >>confdefs.h
2334 echo '#endif' >>confdefs.h
2337 else
2338 echo "$as_me: failed program was:" >&5
2339 sed 's/^/| /' conftest.$ac_ext >&5
2342 rm -f conftest.$ac_objext conftest.$ac_ext
2343 ac_ext=c
2344 ac_cpp='$CPP $CPPFLAGS'
2345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2349 ac_ext=c
2350 ac_cpp='$CPP $CPPFLAGS'
2351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2354 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2355 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2356 # On Suns, sometimes $CPP names a directory.
2357 if test -n "$CPP" && test -d "$CPP"; then
2358 CPP=
2360 if test -z "$CPP"; then
2361 if test "${ac_cv_prog_CPP+set}" = set; then
2362 echo $ECHO_N "(cached) $ECHO_C" >&6
2363 else
2364 # Double quotes because CPP needs to be expanded
2365 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2367 ac_preproc_ok=false
2368 for ac_c_preproc_warn_flag in '' yes
2370 # Use a header file that comes with gcc, so configuring glibc
2371 # with a fresh cross-compiler works.
2372 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2373 # <limits.h> exists even on freestanding compilers.
2374 # On the NeXT, cc -E runs the code through the compiler's parser,
2375 # not just through cpp. "Syntax error" is here to catch this case.
2376 cat >conftest.$ac_ext <<_ACEOF
2377 #line $LINENO "configure"
2378 /* confdefs.h. */
2379 _ACEOF
2380 cat confdefs.h >>conftest.$ac_ext
2381 cat >>conftest.$ac_ext <<_ACEOF
2382 /* end confdefs.h. */
2383 #ifdef __STDC__
2384 # include <limits.h>
2385 #else
2386 # include <assert.h>
2387 #endif
2388 Syntax error
2389 _ACEOF
2390 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2391 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2392 ac_status=$?
2393 grep -v '^ *+' conftest.er1 >conftest.err
2394 rm -f conftest.er1
2395 cat conftest.err >&5
2396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2397 (exit $ac_status); } >/dev/null; then
2398 if test -s conftest.err; then
2399 ac_cpp_err=$ac_c_preproc_warn_flag
2400 else
2401 ac_cpp_err=
2403 else
2404 ac_cpp_err=yes
2406 if test -z "$ac_cpp_err"; then
2408 else
2409 echo "$as_me: failed program was:" >&5
2410 sed 's/^/| /' conftest.$ac_ext >&5
2412 # Broken: fails on valid input.
2413 continue
2415 rm -f conftest.err conftest.$ac_ext
2417 # OK, works on sane cases. Now check whether non-existent headers
2418 # can be detected and how.
2419 cat >conftest.$ac_ext <<_ACEOF
2420 #line $LINENO "configure"
2421 /* confdefs.h. */
2422 _ACEOF
2423 cat confdefs.h >>conftest.$ac_ext
2424 cat >>conftest.$ac_ext <<_ACEOF
2425 /* end confdefs.h. */
2426 #include <ac_nonexistent.h>
2427 _ACEOF
2428 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2429 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2430 ac_status=$?
2431 grep -v '^ *+' conftest.er1 >conftest.err
2432 rm -f conftest.er1
2433 cat conftest.err >&5
2434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2435 (exit $ac_status); } >/dev/null; then
2436 if test -s conftest.err; then
2437 ac_cpp_err=$ac_c_preproc_warn_flag
2438 else
2439 ac_cpp_err=
2441 else
2442 ac_cpp_err=yes
2444 if test -z "$ac_cpp_err"; then
2445 # Broken: success on invalid input.
2446 continue
2447 else
2448 echo "$as_me: failed program was:" >&5
2449 sed 's/^/| /' conftest.$ac_ext >&5
2451 # Passes both tests.
2452 ac_preproc_ok=:
2453 break
2455 rm -f conftest.err conftest.$ac_ext
2457 done
2458 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2459 rm -f conftest.err conftest.$ac_ext
2460 if $ac_preproc_ok; then
2461 break
2464 done
2465 ac_cv_prog_CPP=$CPP
2468 CPP=$ac_cv_prog_CPP
2469 else
2470 ac_cv_prog_CPP=$CPP
2472 echo "$as_me:$LINENO: result: $CPP" >&5
2473 echo "${ECHO_T}$CPP" >&6
2474 ac_preproc_ok=false
2475 for ac_c_preproc_warn_flag in '' yes
2477 # Use a header file that comes with gcc, so configuring glibc
2478 # with a fresh cross-compiler works.
2479 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2480 # <limits.h> exists even on freestanding compilers.
2481 # On the NeXT, cc -E runs the code through the compiler's parser,
2482 # not just through cpp. "Syntax error" is here to catch this case.
2483 cat >conftest.$ac_ext <<_ACEOF
2484 #line $LINENO "configure"
2485 /* confdefs.h. */
2486 _ACEOF
2487 cat confdefs.h >>conftest.$ac_ext
2488 cat >>conftest.$ac_ext <<_ACEOF
2489 /* end confdefs.h. */
2490 #ifdef __STDC__
2491 # include <limits.h>
2492 #else
2493 # include <assert.h>
2494 #endif
2495 Syntax error
2496 _ACEOF
2497 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2498 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2499 ac_status=$?
2500 grep -v '^ *+' conftest.er1 >conftest.err
2501 rm -f conftest.er1
2502 cat conftest.err >&5
2503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2504 (exit $ac_status); } >/dev/null; then
2505 if test -s conftest.err; then
2506 ac_cpp_err=$ac_c_preproc_warn_flag
2507 else
2508 ac_cpp_err=
2510 else
2511 ac_cpp_err=yes
2513 if test -z "$ac_cpp_err"; then
2515 else
2516 echo "$as_me: failed program was:" >&5
2517 sed 's/^/| /' conftest.$ac_ext >&5
2519 # Broken: fails on valid input.
2520 continue
2522 rm -f conftest.err conftest.$ac_ext
2524 # OK, works on sane cases. Now check whether non-existent headers
2525 # can be detected and how.
2526 cat >conftest.$ac_ext <<_ACEOF
2527 #line $LINENO "configure"
2528 /* confdefs.h. */
2529 _ACEOF
2530 cat confdefs.h >>conftest.$ac_ext
2531 cat >>conftest.$ac_ext <<_ACEOF
2532 /* end confdefs.h. */
2533 #include <ac_nonexistent.h>
2534 _ACEOF
2535 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2536 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2537 ac_status=$?
2538 grep -v '^ *+' conftest.er1 >conftest.err
2539 rm -f conftest.er1
2540 cat conftest.err >&5
2541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2542 (exit $ac_status); } >/dev/null; then
2543 if test -s conftest.err; then
2544 ac_cpp_err=$ac_c_preproc_warn_flag
2545 else
2546 ac_cpp_err=
2548 else
2549 ac_cpp_err=yes
2551 if test -z "$ac_cpp_err"; then
2552 # Broken: success on invalid input.
2553 continue
2554 else
2555 echo "$as_me: failed program was:" >&5
2556 sed 's/^/| /' conftest.$ac_ext >&5
2558 # Passes both tests.
2559 ac_preproc_ok=:
2560 break
2562 rm -f conftest.err conftest.$ac_ext
2564 done
2565 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2566 rm -f conftest.err conftest.$ac_ext
2567 if $ac_preproc_ok; then
2569 else
2570 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2571 See \`config.log' for more details." >&5
2572 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2573 See \`config.log' for more details." >&2;}
2574 { (exit 1); exit 1; }; }
2577 ac_ext=c
2578 ac_cpp='$CPP $CPPFLAGS'
2579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2584 echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
2585 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6
2586 if test "${wine_cv_toolsdir+set}" = set; then
2587 echo $ECHO_N "(cached) $ECHO_C" >&6
2588 else
2589 if test -z "$with_wine_tools"; then
2590 if test "$cross_compiling" = "yes"; then
2591 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
2592 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
2593 { (exit 1); exit 1; }; }
2594 else
2595 wine_cv_toolsdir="\$(TOPOBJDIR)"
2597 elif test -d "$with_wine_tools/tools/winebuild"; then
2598 case $with_wine_tools in
2599 /*) wine_cv_toolsdir="$with_wine_tools" ;;
2600 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
2601 esac
2602 else
2603 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
2604 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
2605 { (exit 1); exit 1; }; }
2608 echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
2609 echo "${ECHO_T}$wine_cv_toolsdir" >&6
2610 TOOLSDIR=$wine_cv_toolsdir
2615 echo "$as_me:$LINENO: checking for X" >&5
2616 echo $ECHO_N "checking for X... $ECHO_C" >&6
2619 # Check whether --with-x or --without-x was given.
2620 if test "${with_x+set}" = set; then
2621 withval="$with_x"
2624 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
2625 if test "x$with_x" = xno; then
2626 # The user explicitly disabled X.
2627 have_x=disabled
2628 else
2629 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
2630 # Both variables are already set.
2631 have_x=yes
2632 else
2633 if test "${ac_cv_have_x+set}" = set; then
2634 echo $ECHO_N "(cached) $ECHO_C" >&6
2635 else
2636 # One or both of the vars are not set, and there is no cached value.
2637 ac_x_includes=no ac_x_libraries=no
2638 rm -fr conftest.dir
2639 if mkdir conftest.dir; then
2640 cd conftest.dir
2641 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
2642 cat >Imakefile <<'_ACEOF'
2643 acfindx:
2644 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
2645 _ACEOF
2646 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
2647 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2648 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
2649 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
2650 for ac_extension in a so sl; do
2651 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
2652 test -f $ac_im_libdir/libX11.$ac_extension; then
2653 ac_im_usrlibdir=$ac_im_libdir; break
2655 done
2656 # Screen out bogus values from the imake configuration. They are
2657 # bogus both because they are the default anyway, and because
2658 # using them would break gcc on systems where it needs fixed includes.
2659 case $ac_im_incroot in
2660 /usr/include) ;;
2661 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
2662 esac
2663 case $ac_im_usrlibdir in
2664 /usr/lib | /lib) ;;
2665 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
2666 esac
2668 cd ..
2669 rm -fr conftest.dir
2672 # Standard set of common directories for X headers.
2673 # Check X11 before X11Rn because it is often a symlink to the current release.
2674 ac_x_header_dirs='
2675 /usr/X11/include
2676 /usr/X11R6/include
2677 /usr/X11R5/include
2678 /usr/X11R4/include
2680 /usr/include/X11
2681 /usr/include/X11R6
2682 /usr/include/X11R5
2683 /usr/include/X11R4
2685 /usr/local/X11/include
2686 /usr/local/X11R6/include
2687 /usr/local/X11R5/include
2688 /usr/local/X11R4/include
2690 /usr/local/include/X11
2691 /usr/local/include/X11R6
2692 /usr/local/include/X11R5
2693 /usr/local/include/X11R4
2695 /usr/X386/include
2696 /usr/x386/include
2697 /usr/XFree86/include/X11
2699 /usr/include
2700 /usr/local/include
2701 /usr/unsupported/include
2702 /usr/athena/include
2703 /usr/local/x11r5/include
2704 /usr/lpp/Xamples/include
2706 /usr/openwin/include
2707 /usr/openwin/share/include'
2709 if test "$ac_x_includes" = no; then
2710 # Guess where to find include files, by looking for Intrinsic.h.
2711 # First, try using that file with no special directory specified.
2712 cat >conftest.$ac_ext <<_ACEOF
2713 #line $LINENO "configure"
2714 /* confdefs.h. */
2715 _ACEOF
2716 cat confdefs.h >>conftest.$ac_ext
2717 cat >>conftest.$ac_ext <<_ACEOF
2718 /* end confdefs.h. */
2719 #include <X11/Intrinsic.h>
2720 _ACEOF
2721 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2722 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2723 ac_status=$?
2724 grep -v '^ *+' conftest.er1 >conftest.err
2725 rm -f conftest.er1
2726 cat conftest.err >&5
2727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2728 (exit $ac_status); } >/dev/null; then
2729 if test -s conftest.err; then
2730 ac_cpp_err=$ac_c_preproc_warn_flag
2731 else
2732 ac_cpp_err=
2734 else
2735 ac_cpp_err=yes
2737 if test -z "$ac_cpp_err"; then
2738 # We can compile using X headers with no special include directory.
2739 ac_x_includes=
2740 else
2741 echo "$as_me: failed program was:" >&5
2742 sed 's/^/| /' conftest.$ac_ext >&5
2744 for ac_dir in $ac_x_header_dirs; do
2745 if test -r "$ac_dir/X11/Intrinsic.h"; then
2746 ac_x_includes=$ac_dir
2747 break
2749 done
2751 rm -f conftest.err conftest.$ac_ext
2752 fi # $ac_x_includes = no
2754 if test "$ac_x_libraries" = no; then
2755 # Check for the libraries.
2756 # See if we find them without any special options.
2757 # Don't add to $LIBS permanently.
2758 ac_save_LIBS=$LIBS
2759 LIBS="-lXt $LIBS"
2760 cat >conftest.$ac_ext <<_ACEOF
2761 #line $LINENO "configure"
2762 /* confdefs.h. */
2763 _ACEOF
2764 cat confdefs.h >>conftest.$ac_ext
2765 cat >>conftest.$ac_ext <<_ACEOF
2766 /* end confdefs.h. */
2767 #include <X11/Intrinsic.h>
2769 main ()
2771 XtMalloc (0)
2773 return 0;
2775 _ACEOF
2776 rm -f conftest.$ac_objext conftest$ac_exeext
2777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2778 (eval $ac_link) 2>&5
2779 ac_status=$?
2780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2781 (exit $ac_status); } &&
2782 { ac_try='test -s conftest$ac_exeext'
2783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2784 (eval $ac_try) 2>&5
2785 ac_status=$?
2786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2787 (exit $ac_status); }; }; then
2788 LIBS=$ac_save_LIBS
2789 # We can link X programs with no special library path.
2790 ac_x_libraries=
2791 else
2792 echo "$as_me: failed program was:" >&5
2793 sed 's/^/| /' conftest.$ac_ext >&5
2795 LIBS=$ac_save_LIBS
2796 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
2798 # Don't even attempt the hair of trying to link an X program!
2799 for ac_extension in a so sl; do
2800 if test -r $ac_dir/libXt.$ac_extension; then
2801 ac_x_libraries=$ac_dir
2802 break 2
2804 done
2805 done
2807 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2808 fi # $ac_x_libraries = no
2810 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
2811 # Didn't find X anywhere. Cache the known absence of X.
2812 ac_cv_have_x="have_x=no"
2813 else
2814 # Record where we found X for the cache.
2815 ac_cv_have_x="have_x=yes \
2816 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
2821 eval "$ac_cv_have_x"
2822 fi # $with_x != no
2824 if test "$have_x" != yes; then
2825 echo "$as_me:$LINENO: result: $have_x" >&5
2826 echo "${ECHO_T}$have_x" >&6
2827 no_x=yes
2828 else
2829 # If each of the values was on the command line, it overrides each guess.
2830 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
2831 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
2832 # Update the cache value to reflect the command line values.
2833 ac_cv_have_x="have_x=yes \
2834 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
2835 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
2836 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
2839 if test "$no_x" = yes; then
2840 # Not all programs may use this symbol, but it does not hurt to define it.
2842 cat >>confdefs.h <<\_ACEOF
2843 #define X_DISPLAY_MISSING 1
2844 _ACEOF
2846 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
2847 else
2848 if test -n "$x_includes"; then
2849 X_CFLAGS="$X_CFLAGS -I$x_includes"
2852 # It would also be nice to do this for all -L options, not just this one.
2853 if test -n "$x_libraries"; then
2854 X_LIBS="$X_LIBS -L$x_libraries"
2855 # For Solaris; some versions of Sun CC require a space after -R and
2856 # others require no space. Words are not sufficient . . . .
2857 case `(uname -sr) 2>/dev/null` in
2858 "SunOS 5"*)
2859 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
2860 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
2861 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
2862 cat >conftest.$ac_ext <<_ACEOF
2863 #line $LINENO "configure"
2864 /* confdefs.h. */
2865 _ACEOF
2866 cat confdefs.h >>conftest.$ac_ext
2867 cat >>conftest.$ac_ext <<_ACEOF
2868 /* end confdefs.h. */
2871 main ()
2875 return 0;
2877 _ACEOF
2878 rm -f conftest.$ac_objext conftest$ac_exeext
2879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2880 (eval $ac_link) 2>&5
2881 ac_status=$?
2882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2883 (exit $ac_status); } &&
2884 { ac_try='test -s conftest$ac_exeext'
2885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2886 (eval $ac_try) 2>&5
2887 ac_status=$?
2888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2889 (exit $ac_status); }; }; then
2890 ac_R_nospace=yes
2891 else
2892 echo "$as_me: failed program was:" >&5
2893 sed 's/^/| /' conftest.$ac_ext >&5
2895 ac_R_nospace=no
2897 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2898 if test $ac_R_nospace = yes; then
2899 echo "$as_me:$LINENO: result: no" >&5
2900 echo "${ECHO_T}no" >&6
2901 X_LIBS="$X_LIBS -R$x_libraries"
2902 else
2903 LIBS="$ac_xsave_LIBS -R $x_libraries"
2904 cat >conftest.$ac_ext <<_ACEOF
2905 #line $LINENO "configure"
2906 /* confdefs.h. */
2907 _ACEOF
2908 cat confdefs.h >>conftest.$ac_ext
2909 cat >>conftest.$ac_ext <<_ACEOF
2910 /* end confdefs.h. */
2913 main ()
2917 return 0;
2919 _ACEOF
2920 rm -f conftest.$ac_objext conftest$ac_exeext
2921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2922 (eval $ac_link) 2>&5
2923 ac_status=$?
2924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2925 (exit $ac_status); } &&
2926 { ac_try='test -s conftest$ac_exeext'
2927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2928 (eval $ac_try) 2>&5
2929 ac_status=$?
2930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2931 (exit $ac_status); }; }; then
2932 ac_R_space=yes
2933 else
2934 echo "$as_me: failed program was:" >&5
2935 sed 's/^/| /' conftest.$ac_ext >&5
2937 ac_R_space=no
2939 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2940 if test $ac_R_space = yes; then
2941 echo "$as_me:$LINENO: result: yes" >&5
2942 echo "${ECHO_T}yes" >&6
2943 X_LIBS="$X_LIBS -R $x_libraries"
2944 else
2945 echo "$as_me:$LINENO: result: neither works" >&5
2946 echo "${ECHO_T}neither works" >&6
2949 LIBS=$ac_xsave_LIBS
2950 esac
2953 # Check for system-dependent libraries X programs must link with.
2954 # Do this before checking for the system-independent R6 libraries
2955 # (-lICE), since we may need -lsocket or whatever for X linking.
2957 if test "$ISC" = yes; then
2958 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
2959 else
2960 # Martyn Johnson says this is needed for Ultrix, if the X
2961 # libraries were built with DECnet support. And Karl Berry says
2962 # the Alpha needs dnet_stub (dnet does not exist).
2963 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
2964 cat >conftest.$ac_ext <<_ACEOF
2965 #line $LINENO "configure"
2966 /* confdefs.h. */
2967 _ACEOF
2968 cat confdefs.h >>conftest.$ac_ext
2969 cat >>conftest.$ac_ext <<_ACEOF
2970 /* end confdefs.h. */
2972 /* Override any gcc2 internal prototype to avoid an error. */
2973 #ifdef __cplusplus
2974 extern "C"
2975 #endif
2976 /* We use char because int might match the return type of a gcc2
2977 builtin and then its argument prototype would still apply. */
2978 char XOpenDisplay ();
2980 main ()
2982 XOpenDisplay ();
2984 return 0;
2986 _ACEOF
2987 rm -f conftest.$ac_objext conftest$ac_exeext
2988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2989 (eval $ac_link) 2>&5
2990 ac_status=$?
2991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2992 (exit $ac_status); } &&
2993 { ac_try='test -s conftest$ac_exeext'
2994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2995 (eval $ac_try) 2>&5
2996 ac_status=$?
2997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2998 (exit $ac_status); }; }; then
3000 else
3001 echo "$as_me: failed program was:" >&5
3002 sed 's/^/| /' conftest.$ac_ext >&5
3004 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
3005 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
3006 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
3007 echo $ECHO_N "(cached) $ECHO_C" >&6
3008 else
3009 ac_check_lib_save_LIBS=$LIBS
3010 LIBS="-ldnet $LIBS"
3011 cat >conftest.$ac_ext <<_ACEOF
3012 #line $LINENO "configure"
3013 /* confdefs.h. */
3014 _ACEOF
3015 cat confdefs.h >>conftest.$ac_ext
3016 cat >>conftest.$ac_ext <<_ACEOF
3017 /* end confdefs.h. */
3019 /* Override any gcc2 internal prototype to avoid an error. */
3020 #ifdef __cplusplus
3021 extern "C"
3022 #endif
3023 /* We use char because int might match the return type of a gcc2
3024 builtin and then its argument prototype would still apply. */
3025 char dnet_ntoa ();
3027 main ()
3029 dnet_ntoa ();
3031 return 0;
3033 _ACEOF
3034 rm -f conftest.$ac_objext conftest$ac_exeext
3035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3036 (eval $ac_link) 2>&5
3037 ac_status=$?
3038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3039 (exit $ac_status); } &&
3040 { ac_try='test -s conftest$ac_exeext'
3041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3042 (eval $ac_try) 2>&5
3043 ac_status=$?
3044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3045 (exit $ac_status); }; }; then
3046 ac_cv_lib_dnet_dnet_ntoa=yes
3047 else
3048 echo "$as_me: failed program was:" >&5
3049 sed 's/^/| /' conftest.$ac_ext >&5
3051 ac_cv_lib_dnet_dnet_ntoa=no
3053 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3054 LIBS=$ac_check_lib_save_LIBS
3056 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
3057 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
3058 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
3059 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
3062 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
3063 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
3064 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
3065 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
3066 echo $ECHO_N "(cached) $ECHO_C" >&6
3067 else
3068 ac_check_lib_save_LIBS=$LIBS
3069 LIBS="-ldnet_stub $LIBS"
3070 cat >conftest.$ac_ext <<_ACEOF
3071 #line $LINENO "configure"
3072 /* confdefs.h. */
3073 _ACEOF
3074 cat confdefs.h >>conftest.$ac_ext
3075 cat >>conftest.$ac_ext <<_ACEOF
3076 /* end confdefs.h. */
3078 /* Override any gcc2 internal prototype to avoid an error. */
3079 #ifdef __cplusplus
3080 extern "C"
3081 #endif
3082 /* We use char because int might match the return type of a gcc2
3083 builtin and then its argument prototype would still apply. */
3084 char dnet_ntoa ();
3086 main ()
3088 dnet_ntoa ();
3090 return 0;
3092 _ACEOF
3093 rm -f conftest.$ac_objext conftest$ac_exeext
3094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3095 (eval $ac_link) 2>&5
3096 ac_status=$?
3097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3098 (exit $ac_status); } &&
3099 { ac_try='test -s conftest$ac_exeext'
3100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3101 (eval $ac_try) 2>&5
3102 ac_status=$?
3103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3104 (exit $ac_status); }; }; then
3105 ac_cv_lib_dnet_stub_dnet_ntoa=yes
3106 else
3107 echo "$as_me: failed program was:" >&5
3108 sed 's/^/| /' conftest.$ac_ext >&5
3110 ac_cv_lib_dnet_stub_dnet_ntoa=no
3112 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3113 LIBS=$ac_check_lib_save_LIBS
3115 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
3116 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
3117 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
3118 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
3123 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3124 LIBS="$ac_xsave_LIBS"
3126 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
3127 # to get the SysV transport functions.
3128 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
3129 # needs -lnsl.
3130 # The nsl library prevents programs from opening the X display
3131 # on Irix 5.2, according to T.E. Dickey.
3132 # The functions gethostbyname, getservbyname, and inet_addr are
3133 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
3134 echo "$as_me:$LINENO: checking for gethostbyname" >&5
3135 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
3136 if test "${ac_cv_func_gethostbyname+set}" = set; then
3137 echo $ECHO_N "(cached) $ECHO_C" >&6
3138 else
3139 cat >conftest.$ac_ext <<_ACEOF
3140 #line $LINENO "configure"
3141 /* confdefs.h. */
3142 _ACEOF
3143 cat confdefs.h >>conftest.$ac_ext
3144 cat >>conftest.$ac_ext <<_ACEOF
3145 /* end confdefs.h. */
3146 /* System header to define __stub macros and hopefully few prototypes,
3147 which can conflict with char gethostbyname (); below.
3148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3149 <limits.h> exists even on freestanding compilers. */
3150 #ifdef __STDC__
3151 # include <limits.h>
3152 #else
3153 # include <assert.h>
3154 #endif
3155 /* Override any gcc2 internal prototype to avoid an error. */
3156 #ifdef __cplusplus
3157 extern "C"
3159 #endif
3160 /* We use char because int might match the return type of a gcc2
3161 builtin and then its argument prototype would still apply. */
3162 char gethostbyname ();
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_gethostbyname) || defined (__stub___gethostbyname)
3167 choke me
3168 #else
3169 char (*f) () = gethostbyname;
3170 #endif
3171 #ifdef __cplusplus
3173 #endif
3176 main ()
3178 return f != gethostbyname;
3180 return 0;
3182 _ACEOF
3183 rm -f conftest.$ac_objext conftest$ac_exeext
3184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3185 (eval $ac_link) 2>&5
3186 ac_status=$?
3187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3188 (exit $ac_status); } &&
3189 { ac_try='test -s conftest$ac_exeext'
3190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3191 (eval $ac_try) 2>&5
3192 ac_status=$?
3193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3194 (exit $ac_status); }; }; then
3195 ac_cv_func_gethostbyname=yes
3196 else
3197 echo "$as_me: failed program was:" >&5
3198 sed 's/^/| /' conftest.$ac_ext >&5
3200 ac_cv_func_gethostbyname=no
3202 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3204 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3205 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3207 if test $ac_cv_func_gethostbyname = no; then
3208 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3209 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3210 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3211 echo $ECHO_N "(cached) $ECHO_C" >&6
3212 else
3213 ac_check_lib_save_LIBS=$LIBS
3214 LIBS="-lnsl $LIBS"
3215 cat >conftest.$ac_ext <<_ACEOF
3216 #line $LINENO "configure"
3217 /* confdefs.h. */
3218 _ACEOF
3219 cat confdefs.h >>conftest.$ac_ext
3220 cat >>conftest.$ac_ext <<_ACEOF
3221 /* end confdefs.h. */
3223 /* Override any gcc2 internal prototype to avoid an error. */
3224 #ifdef __cplusplus
3225 extern "C"
3226 #endif
3227 /* We use char because int might match the return type of a gcc2
3228 builtin and then its argument prototype would still apply. */
3229 char gethostbyname ();
3231 main ()
3233 gethostbyname ();
3235 return 0;
3237 _ACEOF
3238 rm -f conftest.$ac_objext conftest$ac_exeext
3239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3240 (eval $ac_link) 2>&5
3241 ac_status=$?
3242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3243 (exit $ac_status); } &&
3244 { ac_try='test -s conftest$ac_exeext'
3245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3246 (eval $ac_try) 2>&5
3247 ac_status=$?
3248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3249 (exit $ac_status); }; }; then
3250 ac_cv_lib_nsl_gethostbyname=yes
3251 else
3252 echo "$as_me: failed program was:" >&5
3253 sed 's/^/| /' conftest.$ac_ext >&5
3255 ac_cv_lib_nsl_gethostbyname=no
3257 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3258 LIBS=$ac_check_lib_save_LIBS
3260 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3261 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3262 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3263 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
3266 if test $ac_cv_lib_nsl_gethostbyname = no; then
3267 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3268 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3269 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3270 echo $ECHO_N "(cached) $ECHO_C" >&6
3271 else
3272 ac_check_lib_save_LIBS=$LIBS
3273 LIBS="-lbsd $LIBS"
3274 cat >conftest.$ac_ext <<_ACEOF
3275 #line $LINENO "configure"
3276 /* confdefs.h. */
3277 _ACEOF
3278 cat confdefs.h >>conftest.$ac_ext
3279 cat >>conftest.$ac_ext <<_ACEOF
3280 /* end confdefs.h. */
3282 /* Override any gcc2 internal prototype to avoid an error. */
3283 #ifdef __cplusplus
3284 extern "C"
3285 #endif
3286 /* We use char because int might match the return type of a gcc2
3287 builtin and then its argument prototype would still apply. */
3288 char gethostbyname ();
3290 main ()
3292 gethostbyname ();
3294 return 0;
3296 _ACEOF
3297 rm -f conftest.$ac_objext conftest$ac_exeext
3298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3299 (eval $ac_link) 2>&5
3300 ac_status=$?
3301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3302 (exit $ac_status); } &&
3303 { ac_try='test -s conftest$ac_exeext'
3304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3305 (eval $ac_try) 2>&5
3306 ac_status=$?
3307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3308 (exit $ac_status); }; }; then
3309 ac_cv_lib_bsd_gethostbyname=yes
3310 else
3311 echo "$as_me: failed program was:" >&5
3312 sed 's/^/| /' conftest.$ac_ext >&5
3314 ac_cv_lib_bsd_gethostbyname=no
3316 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3317 LIBS=$ac_check_lib_save_LIBS
3319 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3320 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3321 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3322 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
3328 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3329 # socket/setsockopt and other routines are undefined under SCO ODT
3330 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3331 # on later versions), says Simon Leinen: it contains gethostby*
3332 # variants that don't use the name server (or something). -lsocket
3333 # must be given before -lnsl if both are needed. We assume that
3334 # if connect needs -lnsl, so does gethostbyname.
3335 echo "$as_me:$LINENO: checking for connect" >&5
3336 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3337 if test "${ac_cv_func_connect+set}" = set; then
3338 echo $ECHO_N "(cached) $ECHO_C" >&6
3339 else
3340 cat >conftest.$ac_ext <<_ACEOF
3341 #line $LINENO "configure"
3342 /* confdefs.h. */
3343 _ACEOF
3344 cat confdefs.h >>conftest.$ac_ext
3345 cat >>conftest.$ac_ext <<_ACEOF
3346 /* end confdefs.h. */
3347 /* System header to define __stub macros and hopefully few prototypes,
3348 which can conflict with char connect (); below.
3349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3350 <limits.h> exists even on freestanding compilers. */
3351 #ifdef __STDC__
3352 # include <limits.h>
3353 #else
3354 # include <assert.h>
3355 #endif
3356 /* Override any gcc2 internal prototype to avoid an error. */
3357 #ifdef __cplusplus
3358 extern "C"
3360 #endif
3361 /* We use char because int might match the return type of a gcc2
3362 builtin and then its argument prototype would still apply. */
3363 char connect ();
3364 /* The GNU C library defines this for functions which it implements
3365 to always fail with ENOSYS. Some functions are actually named
3366 something starting with __ and the normal name is an alias. */
3367 #if defined (__stub_connect) || defined (__stub___connect)
3368 choke me
3369 #else
3370 char (*f) () = connect;
3371 #endif
3372 #ifdef __cplusplus
3374 #endif
3377 main ()
3379 return f != connect;
3381 return 0;
3383 _ACEOF
3384 rm -f conftest.$ac_objext conftest$ac_exeext
3385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3386 (eval $ac_link) 2>&5
3387 ac_status=$?
3388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389 (exit $ac_status); } &&
3390 { ac_try='test -s conftest$ac_exeext'
3391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3392 (eval $ac_try) 2>&5
3393 ac_status=$?
3394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3395 (exit $ac_status); }; }; then
3396 ac_cv_func_connect=yes
3397 else
3398 echo "$as_me: failed program was:" >&5
3399 sed 's/^/| /' conftest.$ac_ext >&5
3401 ac_cv_func_connect=no
3403 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3405 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
3406 echo "${ECHO_T}$ac_cv_func_connect" >&6
3408 if test $ac_cv_func_connect = no; then
3409 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
3410 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
3411 if test "${ac_cv_lib_socket_connect+set}" = set; then
3412 echo $ECHO_N "(cached) $ECHO_C" >&6
3413 else
3414 ac_check_lib_save_LIBS=$LIBS
3415 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
3416 cat >conftest.$ac_ext <<_ACEOF
3417 #line $LINENO "configure"
3418 /* confdefs.h. */
3419 _ACEOF
3420 cat confdefs.h >>conftest.$ac_ext
3421 cat >>conftest.$ac_ext <<_ACEOF
3422 /* end confdefs.h. */
3424 /* Override any gcc2 internal prototype to avoid an error. */
3425 #ifdef __cplusplus
3426 extern "C"
3427 #endif
3428 /* We use char because int might match the return type of a gcc2
3429 builtin and then its argument prototype would still apply. */
3430 char connect ();
3432 main ()
3434 connect ();
3436 return 0;
3438 _ACEOF
3439 rm -f conftest.$ac_objext conftest$ac_exeext
3440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3441 (eval $ac_link) 2>&5
3442 ac_status=$?
3443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3444 (exit $ac_status); } &&
3445 { ac_try='test -s conftest$ac_exeext'
3446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3447 (eval $ac_try) 2>&5
3448 ac_status=$?
3449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3450 (exit $ac_status); }; }; then
3451 ac_cv_lib_socket_connect=yes
3452 else
3453 echo "$as_me: failed program was:" >&5
3454 sed 's/^/| /' conftest.$ac_ext >&5
3456 ac_cv_lib_socket_connect=no
3458 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3459 LIBS=$ac_check_lib_save_LIBS
3461 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
3462 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
3463 if test $ac_cv_lib_socket_connect = yes; then
3464 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
3469 # Guillermo Gomez says -lposix is necessary on A/UX.
3470 echo "$as_me:$LINENO: checking for remove" >&5
3471 echo $ECHO_N "checking for remove... $ECHO_C" >&6
3472 if test "${ac_cv_func_remove+set}" = set; then
3473 echo $ECHO_N "(cached) $ECHO_C" >&6
3474 else
3475 cat >conftest.$ac_ext <<_ACEOF
3476 #line $LINENO "configure"
3477 /* confdefs.h. */
3478 _ACEOF
3479 cat confdefs.h >>conftest.$ac_ext
3480 cat >>conftest.$ac_ext <<_ACEOF
3481 /* end confdefs.h. */
3482 /* System header to define __stub macros and hopefully few prototypes,
3483 which can conflict with char remove (); below.
3484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3485 <limits.h> exists even on freestanding compilers. */
3486 #ifdef __STDC__
3487 # include <limits.h>
3488 #else
3489 # include <assert.h>
3490 #endif
3491 /* Override any gcc2 internal prototype to avoid an error. */
3492 #ifdef __cplusplus
3493 extern "C"
3495 #endif
3496 /* We use char because int might match the return type of a gcc2
3497 builtin and then its argument prototype would still apply. */
3498 char remove ();
3499 /* The GNU C library defines this for functions which it implements
3500 to always fail with ENOSYS. Some functions are actually named
3501 something starting with __ and the normal name is an alias. */
3502 #if defined (__stub_remove) || defined (__stub___remove)
3503 choke me
3504 #else
3505 char (*f) () = remove;
3506 #endif
3507 #ifdef __cplusplus
3509 #endif
3512 main ()
3514 return f != remove;
3516 return 0;
3518 _ACEOF
3519 rm -f conftest.$ac_objext conftest$ac_exeext
3520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3521 (eval $ac_link) 2>&5
3522 ac_status=$?
3523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3524 (exit $ac_status); } &&
3525 { ac_try='test -s conftest$ac_exeext'
3526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3527 (eval $ac_try) 2>&5
3528 ac_status=$?
3529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3530 (exit $ac_status); }; }; then
3531 ac_cv_func_remove=yes
3532 else
3533 echo "$as_me: failed program was:" >&5
3534 sed 's/^/| /' conftest.$ac_ext >&5
3536 ac_cv_func_remove=no
3538 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3540 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
3541 echo "${ECHO_T}$ac_cv_func_remove" >&6
3543 if test $ac_cv_func_remove = no; then
3544 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
3545 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
3546 if test "${ac_cv_lib_posix_remove+set}" = set; then
3547 echo $ECHO_N "(cached) $ECHO_C" >&6
3548 else
3549 ac_check_lib_save_LIBS=$LIBS
3550 LIBS="-lposix $LIBS"
3551 cat >conftest.$ac_ext <<_ACEOF
3552 #line $LINENO "configure"
3553 /* confdefs.h. */
3554 _ACEOF
3555 cat confdefs.h >>conftest.$ac_ext
3556 cat >>conftest.$ac_ext <<_ACEOF
3557 /* end confdefs.h. */
3559 /* Override any gcc2 internal prototype to avoid an error. */
3560 #ifdef __cplusplus
3561 extern "C"
3562 #endif
3563 /* We use char because int might match the return type of a gcc2
3564 builtin and then its argument prototype would still apply. */
3565 char remove ();
3567 main ()
3569 remove ();
3571 return 0;
3573 _ACEOF
3574 rm -f conftest.$ac_objext conftest$ac_exeext
3575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3576 (eval $ac_link) 2>&5
3577 ac_status=$?
3578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3579 (exit $ac_status); } &&
3580 { ac_try='test -s conftest$ac_exeext'
3581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3582 (eval $ac_try) 2>&5
3583 ac_status=$?
3584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3585 (exit $ac_status); }; }; then
3586 ac_cv_lib_posix_remove=yes
3587 else
3588 echo "$as_me: failed program was:" >&5
3589 sed 's/^/| /' conftest.$ac_ext >&5
3591 ac_cv_lib_posix_remove=no
3593 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3594 LIBS=$ac_check_lib_save_LIBS
3596 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
3597 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
3598 if test $ac_cv_lib_posix_remove = yes; then
3599 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
3604 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
3605 echo "$as_me:$LINENO: checking for shmat" >&5
3606 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
3607 if test "${ac_cv_func_shmat+set}" = set; then
3608 echo $ECHO_N "(cached) $ECHO_C" >&6
3609 else
3610 cat >conftest.$ac_ext <<_ACEOF
3611 #line $LINENO "configure"
3612 /* confdefs.h. */
3613 _ACEOF
3614 cat confdefs.h >>conftest.$ac_ext
3615 cat >>conftest.$ac_ext <<_ACEOF
3616 /* end confdefs.h. */
3617 /* System header to define __stub macros and hopefully few prototypes,
3618 which can conflict with char shmat (); below.
3619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3620 <limits.h> exists even on freestanding compilers. */
3621 #ifdef __STDC__
3622 # include <limits.h>
3623 #else
3624 # include <assert.h>
3625 #endif
3626 /* Override any gcc2 internal prototype to avoid an error. */
3627 #ifdef __cplusplus
3628 extern "C"
3630 #endif
3631 /* We use char because int might match the return type of a gcc2
3632 builtin and then its argument prototype would still apply. */
3633 char shmat ();
3634 /* The GNU C library defines this for functions which it implements
3635 to always fail with ENOSYS. Some functions are actually named
3636 something starting with __ and the normal name is an alias. */
3637 #if defined (__stub_shmat) || defined (__stub___shmat)
3638 choke me
3639 #else
3640 char (*f) () = shmat;
3641 #endif
3642 #ifdef __cplusplus
3644 #endif
3647 main ()
3649 return f != shmat;
3651 return 0;
3653 _ACEOF
3654 rm -f conftest.$ac_objext conftest$ac_exeext
3655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3656 (eval $ac_link) 2>&5
3657 ac_status=$?
3658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3659 (exit $ac_status); } &&
3660 { ac_try='test -s conftest$ac_exeext'
3661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3662 (eval $ac_try) 2>&5
3663 ac_status=$?
3664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3665 (exit $ac_status); }; }; then
3666 ac_cv_func_shmat=yes
3667 else
3668 echo "$as_me: failed program was:" >&5
3669 sed 's/^/| /' conftest.$ac_ext >&5
3671 ac_cv_func_shmat=no
3673 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3675 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
3676 echo "${ECHO_T}$ac_cv_func_shmat" >&6
3678 if test $ac_cv_func_shmat = no; then
3679 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
3680 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
3681 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
3682 echo $ECHO_N "(cached) $ECHO_C" >&6
3683 else
3684 ac_check_lib_save_LIBS=$LIBS
3685 LIBS="-lipc $LIBS"
3686 cat >conftest.$ac_ext <<_ACEOF
3687 #line $LINENO "configure"
3688 /* confdefs.h. */
3689 _ACEOF
3690 cat confdefs.h >>conftest.$ac_ext
3691 cat >>conftest.$ac_ext <<_ACEOF
3692 /* end confdefs.h. */
3694 /* Override any gcc2 internal prototype to avoid an error. */
3695 #ifdef __cplusplus
3696 extern "C"
3697 #endif
3698 /* We use char because int might match the return type of a gcc2
3699 builtin and then its argument prototype would still apply. */
3700 char shmat ();
3702 main ()
3704 shmat ();
3706 return 0;
3708 _ACEOF
3709 rm -f conftest.$ac_objext conftest$ac_exeext
3710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3711 (eval $ac_link) 2>&5
3712 ac_status=$?
3713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3714 (exit $ac_status); } &&
3715 { ac_try='test -s conftest$ac_exeext'
3716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3717 (eval $ac_try) 2>&5
3718 ac_status=$?
3719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3720 (exit $ac_status); }; }; then
3721 ac_cv_lib_ipc_shmat=yes
3722 else
3723 echo "$as_me: failed program was:" >&5
3724 sed 's/^/| /' conftest.$ac_ext >&5
3726 ac_cv_lib_ipc_shmat=no
3728 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3729 LIBS=$ac_check_lib_save_LIBS
3731 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
3732 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
3733 if test $ac_cv_lib_ipc_shmat = yes; then
3734 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
3740 # Check for libraries that X11R6 Xt/Xaw programs need.
3741 ac_save_LDFLAGS=$LDFLAGS
3742 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
3743 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
3744 # check for ICE first), but we must link in the order -lSM -lICE or
3745 # we get undefined symbols. So assume we have SM if we have ICE.
3746 # These have to be linked with before -lX11, unlike the other
3747 # libraries we check for below, so use a different variable.
3748 # John Interrante, Karl Berry
3749 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
3750 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
3751 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
3752 echo $ECHO_N "(cached) $ECHO_C" >&6
3753 else
3754 ac_check_lib_save_LIBS=$LIBS
3755 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
3756 cat >conftest.$ac_ext <<_ACEOF
3757 #line $LINENO "configure"
3758 /* confdefs.h. */
3759 _ACEOF
3760 cat confdefs.h >>conftest.$ac_ext
3761 cat >>conftest.$ac_ext <<_ACEOF
3762 /* end confdefs.h. */
3764 /* Override any gcc2 internal prototype to avoid an error. */
3765 #ifdef __cplusplus
3766 extern "C"
3767 #endif
3768 /* We use char because int might match the return type of a gcc2
3769 builtin and then its argument prototype would still apply. */
3770 char IceConnectionNumber ();
3772 main ()
3774 IceConnectionNumber ();
3776 return 0;
3778 _ACEOF
3779 rm -f conftest.$ac_objext conftest$ac_exeext
3780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3781 (eval $ac_link) 2>&5
3782 ac_status=$?
3783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3784 (exit $ac_status); } &&
3785 { ac_try='test -s conftest$ac_exeext'
3786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3787 (eval $ac_try) 2>&5
3788 ac_status=$?
3789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3790 (exit $ac_status); }; }; then
3791 ac_cv_lib_ICE_IceConnectionNumber=yes
3792 else
3793 echo "$as_me: failed program was:" >&5
3794 sed 's/^/| /' conftest.$ac_ext >&5
3796 ac_cv_lib_ICE_IceConnectionNumber=no
3798 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3799 LIBS=$ac_check_lib_save_LIBS
3801 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
3802 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
3803 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
3804 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
3807 LDFLAGS=$ac_save_LDFLAGS
3811 for ac_prog in 'bison -y' byacc
3813 # Extract the first word of "$ac_prog", so it can be a program name with args.
3814 set dummy $ac_prog; ac_word=$2
3815 echo "$as_me:$LINENO: checking for $ac_word" >&5
3816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3817 if test "${ac_cv_prog_YACC+set}" = set; then
3818 echo $ECHO_N "(cached) $ECHO_C" >&6
3819 else
3820 if test -n "$YACC"; then
3821 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3822 else
3823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3824 for as_dir in $PATH
3826 IFS=$as_save_IFS
3827 test -z "$as_dir" && as_dir=.
3828 for ac_exec_ext in '' $ac_executable_extensions; do
3829 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3830 ac_cv_prog_YACC="$ac_prog"
3831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3832 break 2
3834 done
3835 done
3839 YACC=$ac_cv_prog_YACC
3840 if test -n "$YACC"; then
3841 echo "$as_me:$LINENO: result: $YACC" >&5
3842 echo "${ECHO_T}$YACC" >&6
3843 else
3844 echo "$as_me:$LINENO: result: no" >&5
3845 echo "${ECHO_T}no" >&6
3848 test -n "$YACC" && break
3849 done
3850 test -n "$YACC" || YACC="yacc"
3852 for ac_prog in flex lex
3854 # Extract the first word of "$ac_prog", so it can be a program name with args.
3855 set dummy $ac_prog; ac_word=$2
3856 echo "$as_me:$LINENO: checking for $ac_word" >&5
3857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3858 if test "${ac_cv_prog_LEX+set}" = set; then
3859 echo $ECHO_N "(cached) $ECHO_C" >&6
3860 else
3861 if test -n "$LEX"; then
3862 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3863 else
3864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3865 for as_dir in $PATH
3867 IFS=$as_save_IFS
3868 test -z "$as_dir" && as_dir=.
3869 for ac_exec_ext in '' $ac_executable_extensions; do
3870 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3871 ac_cv_prog_LEX="$ac_prog"
3872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3873 break 2
3875 done
3876 done
3880 LEX=$ac_cv_prog_LEX
3881 if test -n "$LEX"; then
3882 echo "$as_me:$LINENO: result: $LEX" >&5
3883 echo "${ECHO_T}$LEX" >&6
3884 else
3885 echo "$as_me:$LINENO: result: no" >&5
3886 echo "${ECHO_T}no" >&6
3889 test -n "$LEX" && break
3890 done
3891 test -n "$LEX" || LEX=":"
3893 if test -z "$LEXLIB"
3894 then
3895 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3896 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3897 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3898 echo $ECHO_N "(cached) $ECHO_C" >&6
3899 else
3900 ac_check_lib_save_LIBS=$LIBS
3901 LIBS="-lfl $LIBS"
3902 cat >conftest.$ac_ext <<_ACEOF
3903 #line $LINENO "configure"
3904 /* confdefs.h. */
3905 _ACEOF
3906 cat confdefs.h >>conftest.$ac_ext
3907 cat >>conftest.$ac_ext <<_ACEOF
3908 /* end confdefs.h. */
3910 /* Override any gcc2 internal prototype to avoid an error. */
3911 #ifdef __cplusplus
3912 extern "C"
3913 #endif
3914 /* We use char because int might match the return type of a gcc2
3915 builtin and then its argument prototype would still apply. */
3916 char yywrap ();
3918 main ()
3920 yywrap ();
3922 return 0;
3924 _ACEOF
3925 rm -f conftest.$ac_objext conftest$ac_exeext
3926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3927 (eval $ac_link) 2>&5
3928 ac_status=$?
3929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3930 (exit $ac_status); } &&
3931 { ac_try='test -s conftest$ac_exeext'
3932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3933 (eval $ac_try) 2>&5
3934 ac_status=$?
3935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3936 (exit $ac_status); }; }; then
3937 ac_cv_lib_fl_yywrap=yes
3938 else
3939 echo "$as_me: failed program was:" >&5
3940 sed 's/^/| /' conftest.$ac_ext >&5
3942 ac_cv_lib_fl_yywrap=no
3944 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3945 LIBS=$ac_check_lib_save_LIBS
3947 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3948 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3949 if test $ac_cv_lib_fl_yywrap = yes; then
3950 LEXLIB="-lfl"
3951 else
3952 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3953 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3954 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3955 echo $ECHO_N "(cached) $ECHO_C" >&6
3956 else
3957 ac_check_lib_save_LIBS=$LIBS
3958 LIBS="-ll $LIBS"
3959 cat >conftest.$ac_ext <<_ACEOF
3960 #line $LINENO "configure"
3961 /* confdefs.h. */
3962 _ACEOF
3963 cat confdefs.h >>conftest.$ac_ext
3964 cat >>conftest.$ac_ext <<_ACEOF
3965 /* end confdefs.h. */
3967 /* Override any gcc2 internal prototype to avoid an error. */
3968 #ifdef __cplusplus
3969 extern "C"
3970 #endif
3971 /* We use char because int might match the return type of a gcc2
3972 builtin and then its argument prototype would still apply. */
3973 char yywrap ();
3975 main ()
3977 yywrap ();
3979 return 0;
3981 _ACEOF
3982 rm -f conftest.$ac_objext conftest$ac_exeext
3983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3984 (eval $ac_link) 2>&5
3985 ac_status=$?
3986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3987 (exit $ac_status); } &&
3988 { ac_try='test -s conftest$ac_exeext'
3989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3990 (eval $ac_try) 2>&5
3991 ac_status=$?
3992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3993 (exit $ac_status); }; }; then
3994 ac_cv_lib_l_yywrap=yes
3995 else
3996 echo "$as_me: failed program was:" >&5
3997 sed 's/^/| /' conftest.$ac_ext >&5
3999 ac_cv_lib_l_yywrap=no
4001 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4002 LIBS=$ac_check_lib_save_LIBS
4004 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4005 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4006 if test $ac_cv_lib_l_yywrap = yes; then
4007 LEXLIB="-ll"
4014 if test "x$LEX" != "x:"; then
4015 echo "$as_me:$LINENO: checking lex output file root" >&5
4016 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4017 if test "${ac_cv_prog_lex_root+set}" = set; then
4018 echo $ECHO_N "(cached) $ECHO_C" >&6
4019 else
4020 # The minimal lex program is just a single line: %%. But some broken lexes
4021 # (Solaris, I think it was) want two %% lines, so accommodate them.
4022 cat >conftest.l <<_ACEOF
4025 _ACEOF
4026 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4027 (eval $LEX conftest.l) 2>&5
4028 ac_status=$?
4029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4030 (exit $ac_status); }
4031 if test -f lex.yy.c; then
4032 ac_cv_prog_lex_root=lex.yy
4033 elif test -f lexyy.c; then
4034 ac_cv_prog_lex_root=lexyy
4035 else
4036 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4037 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4038 { (exit 1); exit 1; }; }
4041 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4042 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4043 rm -f conftest.l
4044 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4046 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4047 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4048 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4049 echo $ECHO_N "(cached) $ECHO_C" >&6
4050 else
4051 # POSIX says lex can declare yytext either as a pointer or an array; the
4052 # default is implementation-dependent. Figure out which it is, since
4053 # not all implementations provide the %pointer and %array declarations.
4054 ac_cv_prog_lex_yytext_pointer=no
4055 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4056 ac_save_LIBS=$LIBS
4057 LIBS="$LIBS $LEXLIB"
4058 cat >conftest.$ac_ext <<_ACEOF
4059 `cat $LEX_OUTPUT_ROOT.c`
4060 _ACEOF
4061 rm -f conftest.$ac_objext conftest$ac_exeext
4062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4063 (eval $ac_link) 2>&5
4064 ac_status=$?
4065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4066 (exit $ac_status); } &&
4067 { ac_try='test -s conftest$ac_exeext'
4068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4069 (eval $ac_try) 2>&5
4070 ac_status=$?
4071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4072 (exit $ac_status); }; }; then
4073 ac_cv_prog_lex_yytext_pointer=yes
4074 else
4075 echo "$as_me: failed program was:" >&5
4076 sed 's/^/| /' conftest.$ac_ext >&5
4079 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4080 LIBS=$ac_save_LIBS
4081 rm -f "${LEX_OUTPUT_ROOT}.c"
4084 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4085 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4086 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4088 cat >>confdefs.h <<\_ACEOF
4089 #define YYTEXT_POINTER 1
4090 _ACEOF
4096 for ac_prog in $YACC bison yacc
4098 # Extract the first word of "$ac_prog", so it can be a program name with args.
4099 set dummy $ac_prog; ac_word=$2
4100 echo "$as_me:$LINENO: checking for $ac_word" >&5
4101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4102 if test "${ac_cv_prog_XYACC+set}" = set; then
4103 echo $ECHO_N "(cached) $ECHO_C" >&6
4104 else
4105 if test -n "$XYACC"; then
4106 ac_cv_prog_XYACC="$XYACC" # Let the user override the test.
4107 else
4108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4109 for as_dir in $PATH
4111 IFS=$as_save_IFS
4112 test -z "$as_dir" && as_dir=.
4113 for ac_exec_ext in '' $ac_executable_extensions; do
4114 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4115 ac_cv_prog_XYACC="$ac_prog"
4116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4117 break 2
4119 done
4120 done
4124 XYACC=$ac_cv_prog_XYACC
4125 if test -n "$XYACC"; then
4126 echo "$as_me:$LINENO: result: $XYACC" >&5
4127 echo "${ECHO_T}$XYACC" >&6
4128 else
4129 echo "$as_me:$LINENO: result: no" >&5
4130 echo "${ECHO_T}no" >&6
4133 test -n "$XYACC" && break
4134 done
4135 test -n "$XYACC" || XYACC="none"
4137 if test "$XYACC" = "none"
4138 then
4139 { { echo "$as_me:$LINENO: error: no suitable bison/yacc found. Please install the 'bison' package." >&5
4140 echo "$as_me: error: no suitable bison/yacc found. Please install the 'bison' package." >&2;}
4141 { (exit 1); exit 1; }; }
4143 for ac_prog in $LEX flex lex
4145 # Extract the first word of "$ac_prog", so it can be a program name with args.
4146 set dummy $ac_prog; ac_word=$2
4147 echo "$as_me:$LINENO: checking for $ac_word" >&5
4148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4149 if test "${ac_cv_prog_XLEX+set}" = set; then
4150 echo $ECHO_N "(cached) $ECHO_C" >&6
4151 else
4152 if test -n "$XLEX"; then
4153 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
4154 else
4155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4156 for as_dir in $PATH
4158 IFS=$as_save_IFS
4159 test -z "$as_dir" && as_dir=.
4160 for ac_exec_ext in '' $ac_executable_extensions; do
4161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4162 ac_cv_prog_XLEX="$ac_prog"
4163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4164 break 2
4166 done
4167 done
4171 XLEX=$ac_cv_prog_XLEX
4172 if test -n "$XLEX"; then
4173 echo "$as_me:$LINENO: result: $XLEX" >&5
4174 echo "${ECHO_T}$XLEX" >&6
4175 else
4176 echo "$as_me:$LINENO: result: no" >&5
4177 echo "${ECHO_T}no" >&6
4180 test -n "$XLEX" && break
4181 done
4182 test -n "$XLEX" || XLEX="none"
4184 if test "$XLEX" = "none"
4185 then
4186 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
4187 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
4188 { (exit 1); exit 1; }; }
4191 if test -n "$ac_tool_prefix"; then
4192 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4193 set dummy ${ac_tool_prefix}as; ac_word=$2
4194 echo "$as_me:$LINENO: checking for $ac_word" >&5
4195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4196 if test "${ac_cv_prog_AS+set}" = set; then
4197 echo $ECHO_N "(cached) $ECHO_C" >&6
4198 else
4199 if test -n "$AS"; then
4200 ac_cv_prog_AS="$AS" # Let the user override the test.
4201 else
4202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4203 for as_dir in $PATH
4205 IFS=$as_save_IFS
4206 test -z "$as_dir" && as_dir=.
4207 for ac_exec_ext in '' $ac_executable_extensions; do
4208 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4209 ac_cv_prog_AS="${ac_tool_prefix}as"
4210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4211 break 2
4213 done
4214 done
4218 AS=$ac_cv_prog_AS
4219 if test -n "$AS"; then
4220 echo "$as_me:$LINENO: result: $AS" >&5
4221 echo "${ECHO_T}$AS" >&6
4222 else
4223 echo "$as_me:$LINENO: result: no" >&5
4224 echo "${ECHO_T}no" >&6
4228 if test -z "$ac_cv_prog_AS"; then
4229 ac_ct_AS=$AS
4230 # Extract the first word of "as", so it can be a program name with args.
4231 set dummy as; ac_word=$2
4232 echo "$as_me:$LINENO: checking for $ac_word" >&5
4233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4234 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4235 echo $ECHO_N "(cached) $ECHO_C" >&6
4236 else
4237 if test -n "$ac_ct_AS"; then
4238 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4239 else
4240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4241 for as_dir in $PATH
4243 IFS=$as_save_IFS
4244 test -z "$as_dir" && as_dir=.
4245 for ac_exec_ext in '' $ac_executable_extensions; do
4246 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4247 ac_cv_prog_ac_ct_AS="as"
4248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4249 break 2
4251 done
4252 done
4254 test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="as"
4257 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4258 if test -n "$ac_ct_AS"; then
4259 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4260 echo "${ECHO_T}$ac_ct_AS" >&6
4261 else
4262 echo "$as_me:$LINENO: result: no" >&5
4263 echo "${ECHO_T}no" >&6
4266 AS=$ac_ct_AS
4267 else
4268 AS="$ac_cv_prog_AS"
4271 if test -n "$ac_tool_prefix"; then
4272 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4273 set dummy ${ac_tool_prefix}ld; ac_word=$2
4274 echo "$as_me:$LINENO: checking for $ac_word" >&5
4275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4276 if test "${ac_cv_prog_LD+set}" = set; then
4277 echo $ECHO_N "(cached) $ECHO_C" >&6
4278 else
4279 if test -n "$LD"; then
4280 ac_cv_prog_LD="$LD" # Let the user override the test.
4281 else
4282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4283 for as_dir in $PATH
4285 IFS=$as_save_IFS
4286 test -z "$as_dir" && as_dir=.
4287 for ac_exec_ext in '' $ac_executable_extensions; do
4288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4289 ac_cv_prog_LD="${ac_tool_prefix}ld"
4290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4291 break 2
4293 done
4294 done
4298 LD=$ac_cv_prog_LD
4299 if test -n "$LD"; then
4300 echo "$as_me:$LINENO: result: $LD" >&5
4301 echo "${ECHO_T}$LD" >&6
4302 else
4303 echo "$as_me:$LINENO: result: no" >&5
4304 echo "${ECHO_T}no" >&6
4308 if test -z "$ac_cv_prog_LD"; then
4309 ac_ct_LD=$LD
4310 # Extract the first word of "ld", so it can be a program name with args.
4311 set dummy ld; ac_word=$2
4312 echo "$as_me:$LINENO: checking for $ac_word" >&5
4313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4314 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
4315 echo $ECHO_N "(cached) $ECHO_C" >&6
4316 else
4317 if test -n "$ac_ct_LD"; then
4318 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4319 else
4320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4321 for as_dir in $PATH
4323 IFS=$as_save_IFS
4324 test -z "$as_dir" && as_dir=.
4325 for ac_exec_ext in '' $ac_executable_extensions; do
4326 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4327 ac_cv_prog_ac_ct_LD="ld"
4328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4329 break 2
4331 done
4332 done
4334 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD="ld"
4337 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4338 if test -n "$ac_ct_LD"; then
4339 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
4340 echo "${ECHO_T}$ac_ct_LD" >&6
4341 else
4342 echo "$as_me:$LINENO: result: no" >&5
4343 echo "${ECHO_T}no" >&6
4346 LD=$ac_ct_LD
4347 else
4348 LD="$ac_cv_prog_LD"
4351 if test -n "$ac_tool_prefix"; then
4352 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4353 set dummy ${ac_tool_prefix}ar; ac_word=$2
4354 echo "$as_me:$LINENO: checking for $ac_word" >&5
4355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4356 if test "${ac_cv_prog_AR+set}" = set; then
4357 echo $ECHO_N "(cached) $ECHO_C" >&6
4358 else
4359 if test -n "$AR"; then
4360 ac_cv_prog_AR="$AR" # Let the user override the test.
4361 else
4362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4363 for as_dir in $PATH
4365 IFS=$as_save_IFS
4366 test -z "$as_dir" && as_dir=.
4367 for ac_exec_ext in '' $ac_executable_extensions; do
4368 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4369 ac_cv_prog_AR="${ac_tool_prefix}ar"
4370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4371 break 2
4373 done
4374 done
4378 AR=$ac_cv_prog_AR
4379 if test -n "$AR"; then
4380 echo "$as_me:$LINENO: result: $AR" >&5
4381 echo "${ECHO_T}$AR" >&6
4382 else
4383 echo "$as_me:$LINENO: result: no" >&5
4384 echo "${ECHO_T}no" >&6
4388 if test -z "$ac_cv_prog_AR"; then
4389 ac_ct_AR=$AR
4390 # Extract the first word of "ar", so it can be a program name with args.
4391 set dummy ar; ac_word=$2
4392 echo "$as_me:$LINENO: checking for $ac_word" >&5
4393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4394 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4395 echo $ECHO_N "(cached) $ECHO_C" >&6
4396 else
4397 if test -n "$ac_ct_AR"; then
4398 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4399 else
4400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4401 for as_dir in $PATH
4403 IFS=$as_save_IFS
4404 test -z "$as_dir" && as_dir=.
4405 for ac_exec_ext in '' $ac_executable_extensions; do
4406 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4407 ac_cv_prog_ac_ct_AR="ar"
4408 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4409 break 2
4411 done
4412 done
4414 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
4417 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4418 if test -n "$ac_ct_AR"; then
4419 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4420 echo "${ECHO_T}$ac_ct_AR" >&6
4421 else
4422 echo "$as_me:$LINENO: result: no" >&5
4423 echo "${ECHO_T}no" >&6
4426 AR=$ac_ct_AR
4427 else
4428 AR="$ac_cv_prog_AR"
4431 if test -n "$ac_tool_prefix"; then
4432 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4433 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4434 echo "$as_me:$LINENO: checking for $ac_word" >&5
4435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4436 if test "${ac_cv_prog_RANLIB+set}" = set; then
4437 echo $ECHO_N "(cached) $ECHO_C" >&6
4438 else
4439 if test -n "$RANLIB"; then
4440 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4441 else
4442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4443 for as_dir in $PATH
4445 IFS=$as_save_IFS
4446 test -z "$as_dir" && as_dir=.
4447 for ac_exec_ext in '' $ac_executable_extensions; do
4448 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4449 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4451 break 2
4453 done
4454 done
4458 RANLIB=$ac_cv_prog_RANLIB
4459 if test -n "$RANLIB"; then
4460 echo "$as_me:$LINENO: result: $RANLIB" >&5
4461 echo "${ECHO_T}$RANLIB" >&6
4462 else
4463 echo "$as_me:$LINENO: result: no" >&5
4464 echo "${ECHO_T}no" >&6
4468 if test -z "$ac_cv_prog_RANLIB"; then
4469 ac_ct_RANLIB=$RANLIB
4470 # Extract the first word of "ranlib", so it can be a program name with args.
4471 set dummy ranlib; ac_word=$2
4472 echo "$as_me:$LINENO: checking for $ac_word" >&5
4473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4474 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4475 echo $ECHO_N "(cached) $ECHO_C" >&6
4476 else
4477 if test -n "$ac_ct_RANLIB"; then
4478 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4479 else
4480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4481 for as_dir in $PATH
4483 IFS=$as_save_IFS
4484 test -z "$as_dir" && as_dir=.
4485 for ac_exec_ext in '' $ac_executable_extensions; do
4486 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4487 ac_cv_prog_ac_ct_RANLIB="ranlib"
4488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4489 break 2
4491 done
4492 done
4494 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4497 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4498 if test -n "$ac_ct_RANLIB"; then
4499 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4500 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4501 else
4502 echo "$as_me:$LINENO: result: no" >&5
4503 echo "${ECHO_T}no" >&6
4506 RANLIB=$ac_ct_RANLIB
4507 else
4508 RANLIB="$ac_cv_prog_RANLIB"
4511 if test -n "$ac_tool_prefix"; then
4512 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4513 set dummy ${ac_tool_prefix}strip; ac_word=$2
4514 echo "$as_me:$LINENO: checking for $ac_word" >&5
4515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4516 if test "${ac_cv_prog_STRIP+set}" = set; then
4517 echo $ECHO_N "(cached) $ECHO_C" >&6
4518 else
4519 if test -n "$STRIP"; then
4520 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4521 else
4522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4523 for as_dir in $PATH
4525 IFS=$as_save_IFS
4526 test -z "$as_dir" && as_dir=.
4527 for ac_exec_ext in '' $ac_executable_extensions; do
4528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4529 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4531 break 2
4533 done
4534 done
4538 STRIP=$ac_cv_prog_STRIP
4539 if test -n "$STRIP"; then
4540 echo "$as_me:$LINENO: result: $STRIP" >&5
4541 echo "${ECHO_T}$STRIP" >&6
4542 else
4543 echo "$as_me:$LINENO: result: no" >&5
4544 echo "${ECHO_T}no" >&6
4548 if test -z "$ac_cv_prog_STRIP"; then
4549 ac_ct_STRIP=$STRIP
4550 # Extract the first word of "strip", so it can be a program name with args.
4551 set dummy strip; ac_word=$2
4552 echo "$as_me:$LINENO: checking for $ac_word" >&5
4553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4554 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4555 echo $ECHO_N "(cached) $ECHO_C" >&6
4556 else
4557 if test -n "$ac_ct_STRIP"; then
4558 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4559 else
4560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4561 for as_dir in $PATH
4563 IFS=$as_save_IFS
4564 test -z "$as_dir" && as_dir=.
4565 for ac_exec_ext in '' $ac_executable_extensions; do
4566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4567 ac_cv_prog_ac_ct_STRIP="strip"
4568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4569 break 2
4571 done
4572 done
4574 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="strip"
4577 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4578 if test -n "$ac_ct_STRIP"; then
4579 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4580 echo "${ECHO_T}$ac_ct_STRIP" >&6
4581 else
4582 echo "$as_me:$LINENO: result: no" >&5
4583 echo "${ECHO_T}no" >&6
4586 STRIP=$ac_ct_STRIP
4587 else
4588 STRIP="$ac_cv_prog_STRIP"
4591 if test -n "$ac_tool_prefix"; then
4592 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
4593 set dummy ${ac_tool_prefix}windres; ac_word=$2
4594 echo "$as_me:$LINENO: checking for $ac_word" >&5
4595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4596 if test "${ac_cv_prog_WINDRES+set}" = set; then
4597 echo $ECHO_N "(cached) $ECHO_C" >&6
4598 else
4599 if test -n "$WINDRES"; then
4600 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
4601 else
4602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4603 for as_dir in $PATH
4605 IFS=$as_save_IFS
4606 test -z "$as_dir" && as_dir=.
4607 for ac_exec_ext in '' $ac_executable_extensions; do
4608 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4609 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
4610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4611 break 2
4613 done
4614 done
4618 WINDRES=$ac_cv_prog_WINDRES
4619 if test -n "$WINDRES"; then
4620 echo "$as_me:$LINENO: result: $WINDRES" >&5
4621 echo "${ECHO_T}$WINDRES" >&6
4622 else
4623 echo "$as_me:$LINENO: result: no" >&5
4624 echo "${ECHO_T}no" >&6
4628 if test -z "$ac_cv_prog_WINDRES"; then
4629 ac_ct_WINDRES=$WINDRES
4630 # Extract the first word of "windres", so it can be a program name with args.
4631 set dummy windres; ac_word=$2
4632 echo "$as_me:$LINENO: checking for $ac_word" >&5
4633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4634 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
4635 echo $ECHO_N "(cached) $ECHO_C" >&6
4636 else
4637 if test -n "$ac_ct_WINDRES"; then
4638 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
4639 else
4640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4641 for as_dir in $PATH
4643 IFS=$as_save_IFS
4644 test -z "$as_dir" && as_dir=.
4645 for ac_exec_ext in '' $ac_executable_extensions; do
4646 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4647 ac_cv_prog_ac_ct_WINDRES="windres"
4648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4649 break 2
4651 done
4652 done
4654 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES="false"
4657 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
4658 if test -n "$ac_ct_WINDRES"; then
4659 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
4660 echo "${ECHO_T}$ac_ct_WINDRES" >&6
4661 else
4662 echo "$as_me:$LINENO: result: no" >&5
4663 echo "${ECHO_T}no" >&6
4666 WINDRES=$ac_ct_WINDRES
4667 else
4668 WINDRES="$ac_cv_prog_WINDRES"
4671 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4672 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4673 LN_S=$as_ln_s
4674 if test "$LN_S" = "ln -s"; then
4675 echo "$as_me:$LINENO: result: yes" >&5
4676 echo "${ECHO_T}yes" >&6
4677 else
4678 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4679 echo "${ECHO_T}no, using $LN_S" >&6
4682 echo "$as_me:$LINENO: checking whether ln works" >&5
4683 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
4684 rm -f conf$$ conf$$.file
4685 echo >conf$$.file
4686 if ln conf$$.file conf$$ 2>/dev/null; then
4687 LN=ln
4689 echo "$as_me:$LINENO: result: yes" >&5
4690 echo "${ECHO_T}yes" >&6
4691 else
4692 LN="cp -p"
4694 echo "$as_me:$LINENO: result: no, using $LN" >&5
4695 echo "${ECHO_T}no, using $LN" >&6
4697 rm -f conf$$ conf$$.file
4698 # Extract the first word of "c2man", so it can be a program name with args.
4699 set dummy c2man; ac_word=$2
4700 echo "$as_me:$LINENO: checking for $ac_word" >&5
4701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4702 if test "${ac_cv_prog_C2MAN+set}" = set; then
4703 echo $ECHO_N "(cached) $ECHO_C" >&6
4704 else
4705 if test -n "$C2MAN"; then
4706 ac_cv_prog_C2MAN="$C2MAN" # Let the user override the test.
4707 else
4708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4709 for as_dir in $PATH
4711 IFS=$as_save_IFS
4712 test -z "$as_dir" && as_dir=.
4713 for ac_exec_ext in '' $ac_executable_extensions; do
4714 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4715 ac_cv_prog_C2MAN="c2man"
4716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4717 break 2
4719 done
4720 done
4722 test -z "$ac_cv_prog_C2MAN" && ac_cv_prog_C2MAN="\$(TOPSRCDIR)/tools/c2man.pl"
4725 C2MAN=$ac_cv_prog_C2MAN
4726 if test -n "$C2MAN"; then
4727 echo "$as_me:$LINENO: result: $C2MAN" >&5
4728 echo "${ECHO_T}$C2MAN" >&6
4729 else
4730 echo "$as_me:$LINENO: result: no" >&5
4731 echo "${ECHO_T}no" >&6
4734 # Extract the first word of "ldconfig", so it can be a program name with args.
4735 set dummy ldconfig; ac_word=$2
4736 echo "$as_me:$LINENO: checking for $ac_word" >&5
4737 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4738 if test "${ac_cv_path_LDCONFIG+set}" = set; then
4739 echo $ECHO_N "(cached) $ECHO_C" >&6
4740 else
4741 case $LDCONFIG in
4742 [\\/]* | ?:[\\/]*)
4743 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
4746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4747 for as_dir in /sbin /usr/sbin $PATH
4749 IFS=$as_save_IFS
4750 test -z "$as_dir" && as_dir=.
4751 for ac_exec_ext in '' $ac_executable_extensions; do
4752 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4753 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
4754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4755 break 2
4757 done
4758 done
4760 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
4762 esac
4764 LDCONFIG=$ac_cv_path_LDCONFIG
4766 if test -n "$LDCONFIG"; then
4767 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
4768 echo "${ECHO_T}$LDCONFIG" >&6
4769 else
4770 echo "$as_me:$LINENO: result: no" >&5
4771 echo "${ECHO_T}no" >&6
4774 # Find a good install program. We prefer a C program (faster),
4775 # so one script is as good as another. But avoid the broken or
4776 # incompatible versions:
4777 # SysV /etc/install, /usr/sbin/install
4778 # SunOS /usr/etc/install
4779 # IRIX /sbin/install
4780 # AIX /bin/install
4781 # AmigaOS /C/install, which installs bootblocks on floppy discs
4782 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4783 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4784 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4785 # ./install, which can be erroneously created by make from ./install.sh.
4786 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4787 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4788 if test -z "$INSTALL"; then
4789 if test "${ac_cv_path_install+set}" = set; then
4790 echo $ECHO_N "(cached) $ECHO_C" >&6
4791 else
4792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4793 for as_dir in $PATH
4795 IFS=$as_save_IFS
4796 test -z "$as_dir" && as_dir=.
4797 # Account for people who put trailing slashes in PATH elements.
4798 case $as_dir/ in
4799 ./ | .// | /cC/* | \
4800 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4801 /usr/ucb/* ) ;;
4803 # OSF1 and SCO ODT 3.0 have their own names for install.
4804 # Don't use installbsd from OSF since it installs stuff as root
4805 # by default.
4806 for ac_prog in ginstall scoinst install; do
4807 for ac_exec_ext in '' $ac_executable_extensions; do
4808 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4809 if test $ac_prog = install &&
4810 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4811 # AIX install. It has an incompatible calling convention.
4813 elif test $ac_prog = install &&
4814 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4815 # program-specific install script used by HP pwplus--don't use.
4817 else
4818 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4819 break 3
4822 done
4823 done
4825 esac
4826 done
4830 if test "${ac_cv_path_install+set}" = set; then
4831 INSTALL=$ac_cv_path_install
4832 else
4833 # As a last resort, use the slow shell script. We don't cache a
4834 # path for INSTALL within a source directory, because that will
4835 # break other packages using the cache if that directory is
4836 # removed, or if the path is relative.
4837 INSTALL=$ac_install_sh
4840 echo "$as_me:$LINENO: result: $INSTALL" >&5
4841 echo "${ECHO_T}$INSTALL" >&6
4843 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4844 # It thinks the first close brace ends the variable substitution.
4845 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4847 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4849 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4851 case "$INSTALL" in
4852 [\\/$]* | ?:[\\/]* ) ;;
4853 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
4854 esac
4856 for ac_prog in lclint lint
4858 # Extract the first word of "$ac_prog", so it can be a program name with args.
4859 set dummy $ac_prog; ac_word=$2
4860 echo "$as_me:$LINENO: checking for $ac_word" >&5
4861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4862 if test "${ac_cv_prog_LINT+set}" = set; then
4863 echo $ECHO_N "(cached) $ECHO_C" >&6
4864 else
4865 if test -n "$LINT"; then
4866 ac_cv_prog_LINT="$LINT" # Let the user override the test.
4867 else
4868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4869 for as_dir in $PATH
4871 IFS=$as_save_IFS
4872 test -z "$as_dir" && as_dir=.
4873 for ac_exec_ext in '' $ac_executable_extensions; do
4874 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4875 ac_cv_prog_LINT="$ac_prog"
4876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4877 break 2
4879 done
4880 done
4884 LINT=$ac_cv_prog_LINT
4885 if test -n "$LINT"; then
4886 echo "$as_me:$LINENO: result: $LINT" >&5
4887 echo "${ECHO_T}$LINT" >&6
4888 else
4889 echo "$as_me:$LINENO: result: no" >&5
4890 echo "${ECHO_T}no" >&6
4893 test -n "$LINT" && break
4894 done
4896 if test "$LINT" = "lint"
4897 then
4898 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4903 for ac_prog in docbook2html db2html
4905 # Extract the first word of "$ac_prog", so it can be a program name with args.
4906 set dummy $ac_prog; ac_word=$2
4907 echo "$as_me:$LINENO: checking for $ac_word" >&5
4908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4909 if test "${ac_cv_prog_DB2HTML+set}" = set; then
4910 echo $ECHO_N "(cached) $ECHO_C" >&6
4911 else
4912 if test -n "$DB2HTML"; then
4913 ac_cv_prog_DB2HTML="$DB2HTML" # Let the user override the test.
4914 else
4915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4916 for as_dir in $PATH
4918 IFS=$as_save_IFS
4919 test -z "$as_dir" && as_dir=.
4920 for ac_exec_ext in '' $ac_executable_extensions; do
4921 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4922 ac_cv_prog_DB2HTML="$ac_prog"
4923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4924 break 2
4926 done
4927 done
4931 DB2HTML=$ac_cv_prog_DB2HTML
4932 if test -n "$DB2HTML"; then
4933 echo "$as_me:$LINENO: result: $DB2HTML" >&5
4934 echo "${ECHO_T}$DB2HTML" >&6
4935 else
4936 echo "$as_me:$LINENO: result: no" >&5
4937 echo "${ECHO_T}no" >&6
4940 test -n "$DB2HTML" && break
4941 done
4942 test -n "$DB2HTML" || DB2HTML="false"
4946 for ac_prog in docbook2pdf db2pdf
4948 # Extract the first word of "$ac_prog", so it can be a program name with args.
4949 set dummy $ac_prog; ac_word=$2
4950 echo "$as_me:$LINENO: checking for $ac_word" >&5
4951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4952 if test "${ac_cv_prog_DB2PDF+set}" = set; then
4953 echo $ECHO_N "(cached) $ECHO_C" >&6
4954 else
4955 if test -n "$DB2PDF"; then
4956 ac_cv_prog_DB2PDF="$DB2PDF" # Let the user override the test.
4957 else
4958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4959 for as_dir in $PATH
4961 IFS=$as_save_IFS
4962 test -z "$as_dir" && as_dir=.
4963 for ac_exec_ext in '' $ac_executable_extensions; do
4964 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4965 ac_cv_prog_DB2PDF="$ac_prog"
4966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4967 break 2
4969 done
4970 done
4974 DB2PDF=$ac_cv_prog_DB2PDF
4975 if test -n "$DB2PDF"; then
4976 echo "$as_me:$LINENO: result: $DB2PDF" >&5
4977 echo "${ECHO_T}$DB2PDF" >&6
4978 else
4979 echo "$as_me:$LINENO: result: no" >&5
4980 echo "${ECHO_T}no" >&6
4983 test -n "$DB2PDF" && break
4984 done
4985 test -n "$DB2PDF" || DB2PDF="false"
4989 for ac_prog in docbook2ps db2ps
4991 # Extract the first word of "$ac_prog", so it can be a program name with args.
4992 set dummy $ac_prog; ac_word=$2
4993 echo "$as_me:$LINENO: checking for $ac_word" >&5
4994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4995 if test "${ac_cv_prog_DB2PS+set}" = set; then
4996 echo $ECHO_N "(cached) $ECHO_C" >&6
4997 else
4998 if test -n "$DB2PS"; then
4999 ac_cv_prog_DB2PS="$DB2PS" # Let the user override the test.
5000 else
5001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5002 for as_dir in $PATH
5004 IFS=$as_save_IFS
5005 test -z "$as_dir" && as_dir=.
5006 for ac_exec_ext in '' $ac_executable_extensions; do
5007 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5008 ac_cv_prog_DB2PS="$ac_prog"
5009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5010 break 2
5012 done
5013 done
5017 DB2PS=$ac_cv_prog_DB2PS
5018 if test -n "$DB2PS"; then
5019 echo "$as_me:$LINENO: result: $DB2PS" >&5
5020 echo "${ECHO_T}$DB2PS" >&6
5021 else
5022 echo "$as_me:$LINENO: result: no" >&5
5023 echo "${ECHO_T}no" >&6
5026 test -n "$DB2PS" && break
5027 done
5028 test -n "$DB2PS" || DB2PS="false"
5034 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
5035 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
5036 if test "${ac_cv_lib_m_sqrt+set}" = set; then
5037 echo $ECHO_N "(cached) $ECHO_C" >&6
5038 else
5039 ac_check_lib_save_LIBS=$LIBS
5040 LIBS="-lm $LIBS"
5041 cat >conftest.$ac_ext <<_ACEOF
5042 #line $LINENO "configure"
5043 /* confdefs.h. */
5044 _ACEOF
5045 cat confdefs.h >>conftest.$ac_ext
5046 cat >>conftest.$ac_ext <<_ACEOF
5047 /* end confdefs.h. */
5049 /* Override any gcc2 internal prototype to avoid an error. */
5050 #ifdef __cplusplus
5051 extern "C"
5052 #endif
5053 /* We use char because int might match the return type of a gcc2
5054 builtin and then its argument prototype would still apply. */
5055 char sqrt ();
5057 main ()
5059 sqrt ();
5061 return 0;
5063 _ACEOF
5064 rm -f conftest.$ac_objext conftest$ac_exeext
5065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5066 (eval $ac_link) 2>&5
5067 ac_status=$?
5068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5069 (exit $ac_status); } &&
5070 { ac_try='test -s conftest$ac_exeext'
5071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5072 (eval $ac_try) 2>&5
5073 ac_status=$?
5074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5075 (exit $ac_status); }; }; then
5076 ac_cv_lib_m_sqrt=yes
5077 else
5078 echo "$as_me: failed program was:" >&5
5079 sed 's/^/| /' conftest.$ac_ext >&5
5081 ac_cv_lib_m_sqrt=no
5083 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5084 LIBS=$ac_check_lib_save_LIBS
5086 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
5087 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
5088 if test $ac_cv_lib_m_sqrt = yes; then
5089 cat >>confdefs.h <<_ACEOF
5090 #define HAVE_LIBM 1
5091 _ACEOF
5093 LIBS="-lm $LIBS"
5098 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
5099 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
5100 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
5101 echo $ECHO_N "(cached) $ECHO_C" >&6
5102 else
5103 ac_check_lib_save_LIBS=$LIBS
5104 LIBS="-li386 $LIBS"
5105 cat >conftest.$ac_ext <<_ACEOF
5106 #line $LINENO "configure"
5107 /* confdefs.h. */
5108 _ACEOF
5109 cat confdefs.h >>conftest.$ac_ext
5110 cat >>conftest.$ac_ext <<_ACEOF
5111 /* end confdefs.h. */
5113 /* Override any gcc2 internal prototype to avoid an error. */
5114 #ifdef __cplusplus
5115 extern "C"
5116 #endif
5117 /* We use char because int might match the return type of a gcc2
5118 builtin and then its argument prototype would still apply. */
5119 char i386_set_ldt ();
5121 main ()
5123 i386_set_ldt ();
5125 return 0;
5127 _ACEOF
5128 rm -f conftest.$ac_objext conftest$ac_exeext
5129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5130 (eval $ac_link) 2>&5
5131 ac_status=$?
5132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5133 (exit $ac_status); } &&
5134 { ac_try='test -s conftest$ac_exeext'
5135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5136 (eval $ac_try) 2>&5
5137 ac_status=$?
5138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5139 (exit $ac_status); }; }; then
5140 ac_cv_lib_i386_i386_set_ldt=yes
5141 else
5142 echo "$as_me: failed program was:" >&5
5143 sed 's/^/| /' conftest.$ac_ext >&5
5145 ac_cv_lib_i386_i386_set_ldt=no
5147 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5148 LIBS=$ac_check_lib_save_LIBS
5150 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5151 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
5152 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
5153 cat >>confdefs.h <<_ACEOF
5154 #define HAVE_LIBI386 1
5155 _ACEOF
5157 LIBS="-li386 $LIBS"
5162 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5163 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5164 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5165 echo $ECHO_N "(cached) $ECHO_C" >&6
5166 else
5167 ac_check_lib_save_LIBS=$LIBS
5168 LIBS="-lossaudio $LIBS"
5169 cat >conftest.$ac_ext <<_ACEOF
5170 #line $LINENO "configure"
5171 /* confdefs.h. */
5172 _ACEOF
5173 cat confdefs.h >>conftest.$ac_ext
5174 cat >>conftest.$ac_ext <<_ACEOF
5175 /* end confdefs.h. */
5177 /* Override any gcc2 internal prototype to avoid an error. */
5178 #ifdef __cplusplus
5179 extern "C"
5180 #endif
5181 /* We use char because int might match the return type of a gcc2
5182 builtin and then its argument prototype would still apply. */
5183 char _oss_ioctl ();
5185 main ()
5187 _oss_ioctl ();
5189 return 0;
5191 _ACEOF
5192 rm -f conftest.$ac_objext conftest$ac_exeext
5193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5194 (eval $ac_link) 2>&5
5195 ac_status=$?
5196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5197 (exit $ac_status); } &&
5198 { ac_try='test -s conftest$ac_exeext'
5199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5200 (eval $ac_try) 2>&5
5201 ac_status=$?
5202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5203 (exit $ac_status); }; }; then
5204 ac_cv_lib_ossaudio__oss_ioctl=yes
5205 else
5206 echo "$as_me: failed program was:" >&5
5207 sed 's/^/| /' conftest.$ac_ext >&5
5209 ac_cv_lib_ossaudio__oss_ioctl=no
5211 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5212 LIBS=$ac_check_lib_save_LIBS
5214 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5215 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5216 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5217 cat >>confdefs.h <<_ACEOF
5218 #define HAVE_LIBOSSAUDIO 1
5219 _ACEOF
5221 LIBS="-lossaudio $LIBS"
5226 for ac_func in iswalnum
5228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5229 echo "$as_me:$LINENO: checking for $ac_func" >&5
5230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5231 if eval "test \"\${$as_ac_var+set}\" = set"; then
5232 echo $ECHO_N "(cached) $ECHO_C" >&6
5233 else
5234 cat >conftest.$ac_ext <<_ACEOF
5235 #line $LINENO "configure"
5236 /* confdefs.h. */
5237 _ACEOF
5238 cat confdefs.h >>conftest.$ac_ext
5239 cat >>conftest.$ac_ext <<_ACEOF
5240 /* end confdefs.h. */
5241 /* System header to define __stub macros and hopefully few prototypes,
5242 which can conflict with char $ac_func (); below.
5243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5244 <limits.h> exists even on freestanding compilers. */
5245 #ifdef __STDC__
5246 # include <limits.h>
5247 #else
5248 # include <assert.h>
5249 #endif
5250 /* Override any gcc2 internal prototype to avoid an error. */
5251 #ifdef __cplusplus
5252 extern "C"
5254 #endif
5255 /* We use char because int might match the return type of a gcc2
5256 builtin and then its argument prototype would still apply. */
5257 char $ac_func ();
5258 /* The GNU C library defines this for functions which it implements
5259 to always fail with ENOSYS. Some functions are actually named
5260 something starting with __ and the normal name is an alias. */
5261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5262 choke me
5263 #else
5264 char (*f) () = $ac_func;
5265 #endif
5266 #ifdef __cplusplus
5268 #endif
5271 main ()
5273 return f != $ac_func;
5275 return 0;
5277 _ACEOF
5278 rm -f conftest.$ac_objext conftest$ac_exeext
5279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5280 (eval $ac_link) 2>&5
5281 ac_status=$?
5282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5283 (exit $ac_status); } &&
5284 { ac_try='test -s conftest$ac_exeext'
5285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5286 (eval $ac_try) 2>&5
5287 ac_status=$?
5288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5289 (exit $ac_status); }; }; then
5290 eval "$as_ac_var=yes"
5291 else
5292 echo "$as_me: failed program was:" >&5
5293 sed 's/^/| /' conftest.$ac_ext >&5
5295 eval "$as_ac_var=no"
5297 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5301 if test `eval echo '${'$as_ac_var'}'` = yes; then
5302 cat >>confdefs.h <<_ACEOF
5303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5304 _ACEOF
5306 else
5308 echo "$as_me:$LINENO: checking for iswalnum in -lw" >&5
5309 echo $ECHO_N "checking for iswalnum in -lw... $ECHO_C" >&6
5310 if test "${ac_cv_lib_w_iswalnum+set}" = set; then
5311 echo $ECHO_N "(cached) $ECHO_C" >&6
5312 else
5313 ac_check_lib_save_LIBS=$LIBS
5314 LIBS="-lw $LIBS"
5315 cat >conftest.$ac_ext <<_ACEOF
5316 #line $LINENO "configure"
5317 /* confdefs.h. */
5318 _ACEOF
5319 cat confdefs.h >>conftest.$ac_ext
5320 cat >>conftest.$ac_ext <<_ACEOF
5321 /* end confdefs.h. */
5323 /* Override any gcc2 internal prototype to avoid an error. */
5324 #ifdef __cplusplus
5325 extern "C"
5326 #endif
5327 /* We use char because int might match the return type of a gcc2
5328 builtin and then its argument prototype would still apply. */
5329 char iswalnum ();
5331 main ()
5333 iswalnum ();
5335 return 0;
5337 _ACEOF
5338 rm -f conftest.$ac_objext conftest$ac_exeext
5339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5340 (eval $ac_link) 2>&5
5341 ac_status=$?
5342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5343 (exit $ac_status); } &&
5344 { ac_try='test -s conftest$ac_exeext'
5345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5346 (eval $ac_try) 2>&5
5347 ac_status=$?
5348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5349 (exit $ac_status); }; }; then
5350 ac_cv_lib_w_iswalnum=yes
5351 else
5352 echo "$as_me: failed program was:" >&5
5353 sed 's/^/| /' conftest.$ac_ext >&5
5355 ac_cv_lib_w_iswalnum=no
5357 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5358 LIBS=$ac_check_lib_save_LIBS
5360 echo "$as_me:$LINENO: result: $ac_cv_lib_w_iswalnum" >&5
5361 echo "${ECHO_T}$ac_cv_lib_w_iswalnum" >&6
5362 if test $ac_cv_lib_w_iswalnum = yes; then
5363 cat >>confdefs.h <<_ACEOF
5364 #define HAVE_LIBW 1
5365 _ACEOF
5367 LIBS="-lw $LIBS"
5372 done
5375 for ac_func in gethostbyname
5377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5378 echo "$as_me:$LINENO: checking for $ac_func" >&5
5379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5380 if eval "test \"\${$as_ac_var+set}\" = set"; then
5381 echo $ECHO_N "(cached) $ECHO_C" >&6
5382 else
5383 cat >conftest.$ac_ext <<_ACEOF
5384 #line $LINENO "configure"
5385 /* confdefs.h. */
5386 _ACEOF
5387 cat confdefs.h >>conftest.$ac_ext
5388 cat >>conftest.$ac_ext <<_ACEOF
5389 /* end confdefs.h. */
5390 /* System header to define __stub macros and hopefully few prototypes,
5391 which can conflict with char $ac_func (); below.
5392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5393 <limits.h> exists even on freestanding compilers. */
5394 #ifdef __STDC__
5395 # include <limits.h>
5396 #else
5397 # include <assert.h>
5398 #endif
5399 /* Override any gcc2 internal prototype to avoid an error. */
5400 #ifdef __cplusplus
5401 extern "C"
5403 #endif
5404 /* We use char because int might match the return type of a gcc2
5405 builtin and then its argument prototype would still apply. */
5406 char $ac_func ();
5407 /* The GNU C library defines this for functions which it implements
5408 to always fail with ENOSYS. Some functions are actually named
5409 something starting with __ and the normal name is an alias. */
5410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5411 choke me
5412 #else
5413 char (*f) () = $ac_func;
5414 #endif
5415 #ifdef __cplusplus
5417 #endif
5420 main ()
5422 return f != $ac_func;
5424 return 0;
5426 _ACEOF
5427 rm -f conftest.$ac_objext conftest$ac_exeext
5428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5429 (eval $ac_link) 2>&5
5430 ac_status=$?
5431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5432 (exit $ac_status); } &&
5433 { ac_try='test -s conftest$ac_exeext'
5434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5435 (eval $ac_try) 2>&5
5436 ac_status=$?
5437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5438 (exit $ac_status); }; }; then
5439 eval "$as_ac_var=yes"
5440 else
5441 echo "$as_me: failed program was:" >&5
5442 sed 's/^/| /' conftest.$ac_ext >&5
5444 eval "$as_ac_var=no"
5446 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5450 if test `eval echo '${'$as_ac_var'}'` = yes; then
5451 cat >>confdefs.h <<_ACEOF
5452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5453 _ACEOF
5455 else
5457 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5458 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
5459 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5460 echo $ECHO_N "(cached) $ECHO_C" >&6
5461 else
5462 ac_check_lib_save_LIBS=$LIBS
5463 LIBS="-lnsl $LIBS"
5464 cat >conftest.$ac_ext <<_ACEOF
5465 #line $LINENO "configure"
5466 /* confdefs.h. */
5467 _ACEOF
5468 cat confdefs.h >>conftest.$ac_ext
5469 cat >>conftest.$ac_ext <<_ACEOF
5470 /* end confdefs.h. */
5472 /* Override any gcc2 internal prototype to avoid an error. */
5473 #ifdef __cplusplus
5474 extern "C"
5475 #endif
5476 /* We use char because int might match the return type of a gcc2
5477 builtin and then its argument prototype would still apply. */
5478 char gethostbyname ();
5480 main ()
5482 gethostbyname ();
5484 return 0;
5486 _ACEOF
5487 rm -f conftest.$ac_objext conftest$ac_exeext
5488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5489 (eval $ac_link) 2>&5
5490 ac_status=$?
5491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5492 (exit $ac_status); } &&
5493 { ac_try='test -s conftest$ac_exeext'
5494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5495 (eval $ac_try) 2>&5
5496 ac_status=$?
5497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5498 (exit $ac_status); }; }; then
5499 ac_cv_lib_nsl_gethostbyname=yes
5500 else
5501 echo "$as_me: failed program was:" >&5
5502 sed 's/^/| /' conftest.$ac_ext >&5
5504 ac_cv_lib_nsl_gethostbyname=no
5506 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5507 LIBS=$ac_check_lib_save_LIBS
5509 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5510 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
5511 if test $ac_cv_lib_nsl_gethostbyname = yes; then
5512 cat >>confdefs.h <<_ACEOF
5513 #define HAVE_LIBNSL 1
5514 _ACEOF
5516 LIBS="-lnsl $LIBS"
5521 done
5524 for ac_func in connect
5526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5527 echo "$as_me:$LINENO: checking for $ac_func" >&5
5528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5529 if eval "test \"\${$as_ac_var+set}\" = set"; then
5530 echo $ECHO_N "(cached) $ECHO_C" >&6
5531 else
5532 cat >conftest.$ac_ext <<_ACEOF
5533 #line $LINENO "configure"
5534 /* confdefs.h. */
5535 _ACEOF
5536 cat confdefs.h >>conftest.$ac_ext
5537 cat >>conftest.$ac_ext <<_ACEOF
5538 /* end confdefs.h. */
5539 /* System header to define __stub macros and hopefully few prototypes,
5540 which can conflict with char $ac_func (); below.
5541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5542 <limits.h> exists even on freestanding compilers. */
5543 #ifdef __STDC__
5544 # include <limits.h>
5545 #else
5546 # include <assert.h>
5547 #endif
5548 /* Override any gcc2 internal prototype to avoid an error. */
5549 #ifdef __cplusplus
5550 extern "C"
5552 #endif
5553 /* We use char because int might match the return type of a gcc2
5554 builtin and then its argument prototype would still apply. */
5555 char $ac_func ();
5556 /* The GNU C library defines this for functions which it implements
5557 to always fail with ENOSYS. Some functions are actually named
5558 something starting with __ and the normal name is an alias. */
5559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5560 choke me
5561 #else
5562 char (*f) () = $ac_func;
5563 #endif
5564 #ifdef __cplusplus
5566 #endif
5569 main ()
5571 return f != $ac_func;
5573 return 0;
5575 _ACEOF
5576 rm -f conftest.$ac_objext conftest$ac_exeext
5577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5578 (eval $ac_link) 2>&5
5579 ac_status=$?
5580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5581 (exit $ac_status); } &&
5582 { ac_try='test -s conftest$ac_exeext'
5583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5584 (eval $ac_try) 2>&5
5585 ac_status=$?
5586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5587 (exit $ac_status); }; }; then
5588 eval "$as_ac_var=yes"
5589 else
5590 echo "$as_me: failed program was:" >&5
5591 sed 's/^/| /' conftest.$ac_ext >&5
5593 eval "$as_ac_var=no"
5595 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5598 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5599 if test `eval echo '${'$as_ac_var'}'` = yes; then
5600 cat >>confdefs.h <<_ACEOF
5601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5602 _ACEOF
5604 else
5606 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
5607 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
5608 if test "${ac_cv_lib_socket_connect+set}" = set; then
5609 echo $ECHO_N "(cached) $ECHO_C" >&6
5610 else
5611 ac_check_lib_save_LIBS=$LIBS
5612 LIBS="-lsocket $LIBS"
5613 cat >conftest.$ac_ext <<_ACEOF
5614 #line $LINENO "configure"
5615 /* confdefs.h. */
5616 _ACEOF
5617 cat confdefs.h >>conftest.$ac_ext
5618 cat >>conftest.$ac_ext <<_ACEOF
5619 /* end confdefs.h. */
5621 /* Override any gcc2 internal prototype to avoid an error. */
5622 #ifdef __cplusplus
5623 extern "C"
5624 #endif
5625 /* We use char because int might match the return type of a gcc2
5626 builtin and then its argument prototype would still apply. */
5627 char connect ();
5629 main ()
5631 connect ();
5633 return 0;
5635 _ACEOF
5636 rm -f conftest.$ac_objext conftest$ac_exeext
5637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5638 (eval $ac_link) 2>&5
5639 ac_status=$?
5640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5641 (exit $ac_status); } &&
5642 { ac_try='test -s conftest$ac_exeext'
5643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5644 (eval $ac_try) 2>&5
5645 ac_status=$?
5646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5647 (exit $ac_status); }; }; then
5648 ac_cv_lib_socket_connect=yes
5649 else
5650 echo "$as_me: failed program was:" >&5
5651 sed 's/^/| /' conftest.$ac_ext >&5
5653 ac_cv_lib_socket_connect=no
5655 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5656 LIBS=$ac_check_lib_save_LIBS
5658 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
5659 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
5660 if test $ac_cv_lib_socket_connect = yes; then
5661 cat >>confdefs.h <<_ACEOF
5662 #define HAVE_LIBSOCKET 1
5663 _ACEOF
5665 LIBS="-lsocket $LIBS"
5670 done
5673 for ac_func in inet_aton
5675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5676 echo "$as_me:$LINENO: checking for $ac_func" >&5
5677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5678 if eval "test \"\${$as_ac_var+set}\" = set"; then
5679 echo $ECHO_N "(cached) $ECHO_C" >&6
5680 else
5681 cat >conftest.$ac_ext <<_ACEOF
5682 #line $LINENO "configure"
5683 /* confdefs.h. */
5684 _ACEOF
5685 cat confdefs.h >>conftest.$ac_ext
5686 cat >>conftest.$ac_ext <<_ACEOF
5687 /* end confdefs.h. */
5688 /* System header to define __stub macros and hopefully few prototypes,
5689 which can conflict with char $ac_func (); below.
5690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5691 <limits.h> exists even on freestanding compilers. */
5692 #ifdef __STDC__
5693 # include <limits.h>
5694 #else
5695 # include <assert.h>
5696 #endif
5697 /* Override any gcc2 internal prototype to avoid an error. */
5698 #ifdef __cplusplus
5699 extern "C"
5701 #endif
5702 /* We use char because int might match the return type of a gcc2
5703 builtin and then its argument prototype would still apply. */
5704 char $ac_func ();
5705 /* The GNU C library defines this for functions which it implements
5706 to always fail with ENOSYS. Some functions are actually named
5707 something starting with __ and the normal name is an alias. */
5708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5709 choke me
5710 #else
5711 char (*f) () = $ac_func;
5712 #endif
5713 #ifdef __cplusplus
5715 #endif
5718 main ()
5720 return f != $ac_func;
5722 return 0;
5724 _ACEOF
5725 rm -f conftest.$ac_objext conftest$ac_exeext
5726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5727 (eval $ac_link) 2>&5
5728 ac_status=$?
5729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5730 (exit $ac_status); } &&
5731 { ac_try='test -s conftest$ac_exeext'
5732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5733 (eval $ac_try) 2>&5
5734 ac_status=$?
5735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5736 (exit $ac_status); }; }; then
5737 eval "$as_ac_var=yes"
5738 else
5739 echo "$as_me: failed program was:" >&5
5740 sed 's/^/| /' conftest.$ac_ext >&5
5742 eval "$as_ac_var=no"
5744 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5747 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5748 if test `eval echo '${'$as_ac_var'}'` = yes; then
5749 cat >>confdefs.h <<_ACEOF
5750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5751 _ACEOF
5753 else
5755 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
5756 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
5757 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
5758 echo $ECHO_N "(cached) $ECHO_C" >&6
5759 else
5760 ac_check_lib_save_LIBS=$LIBS
5761 LIBS="-lresolv $LIBS"
5762 cat >conftest.$ac_ext <<_ACEOF
5763 #line $LINENO "configure"
5764 /* confdefs.h. */
5765 _ACEOF
5766 cat confdefs.h >>conftest.$ac_ext
5767 cat >>conftest.$ac_ext <<_ACEOF
5768 /* end confdefs.h. */
5770 /* Override any gcc2 internal prototype to avoid an error. */
5771 #ifdef __cplusplus
5772 extern "C"
5773 #endif
5774 /* We use char because int might match the return type of a gcc2
5775 builtin and then its argument prototype would still apply. */
5776 char inet_aton ();
5778 main ()
5780 inet_aton ();
5782 return 0;
5784 _ACEOF
5785 rm -f conftest.$ac_objext conftest$ac_exeext
5786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5787 (eval $ac_link) 2>&5
5788 ac_status=$?
5789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5790 (exit $ac_status); } &&
5791 { ac_try='test -s conftest$ac_exeext'
5792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5793 (eval $ac_try) 2>&5
5794 ac_status=$?
5795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5796 (exit $ac_status); }; }; then
5797 ac_cv_lib_resolv_inet_aton=yes
5798 else
5799 echo "$as_me: failed program was:" >&5
5800 sed 's/^/| /' conftest.$ac_ext >&5
5802 ac_cv_lib_resolv_inet_aton=no
5804 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5805 LIBS=$ac_check_lib_save_LIBS
5807 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
5808 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
5809 if test $ac_cv_lib_resolv_inet_aton = yes; then
5810 cat >>confdefs.h <<_ACEOF
5811 #define HAVE_LIBRESOLV 1
5812 _ACEOF
5814 LIBS="-lresolv $LIBS"
5819 done
5822 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
5823 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
5824 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
5825 echo $ECHO_N "(cached) $ECHO_C" >&6
5826 else
5827 ac_check_lib_save_LIBS=$LIBS
5828 LIBS="-lxpg4 $LIBS"
5829 cat >conftest.$ac_ext <<_ACEOF
5830 #line $LINENO "configure"
5831 /* confdefs.h. */
5832 _ACEOF
5833 cat confdefs.h >>conftest.$ac_ext
5834 cat >>conftest.$ac_ext <<_ACEOF
5835 /* end confdefs.h. */
5837 /* Override any gcc2 internal prototype to avoid an error. */
5838 #ifdef __cplusplus
5839 extern "C"
5840 #endif
5841 /* We use char because int might match the return type of a gcc2
5842 builtin and then its argument prototype would still apply. */
5843 char _xpg4_setrunelocale ();
5845 main ()
5847 _xpg4_setrunelocale ();
5849 return 0;
5851 _ACEOF
5852 rm -f conftest.$ac_objext conftest$ac_exeext
5853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5854 (eval $ac_link) 2>&5
5855 ac_status=$?
5856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5857 (exit $ac_status); } &&
5858 { ac_try='test -s conftest$ac_exeext'
5859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5860 (eval $ac_try) 2>&5
5861 ac_status=$?
5862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5863 (exit $ac_status); }; }; then
5864 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
5865 else
5866 echo "$as_me: failed program was:" >&5
5867 sed 's/^/| /' conftest.$ac_ext >&5
5869 ac_cv_lib_xpg4__xpg4_setrunelocale=no
5871 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5872 LIBS=$ac_check_lib_save_LIBS
5874 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
5875 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
5876 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
5877 cat >>confdefs.h <<_ACEOF
5878 #define HAVE_LIBXPG4 1
5879 _ACEOF
5881 LIBS="-lxpg4 $LIBS"
5886 echo "$as_me:$LINENO: checking for mmap in -lmmap" >&5
5887 echo $ECHO_N "checking for mmap in -lmmap... $ECHO_C" >&6
5888 if test "${ac_cv_lib_mmap_mmap+set}" = set; then
5889 echo $ECHO_N "(cached) $ECHO_C" >&6
5890 else
5891 ac_check_lib_save_LIBS=$LIBS
5892 LIBS="-lmmap $LIBS"
5893 cat >conftest.$ac_ext <<_ACEOF
5894 #line $LINENO "configure"
5895 /* confdefs.h. */
5896 _ACEOF
5897 cat confdefs.h >>conftest.$ac_ext
5898 cat >>conftest.$ac_ext <<_ACEOF
5899 /* end confdefs.h. */
5901 /* Override any gcc2 internal prototype to avoid an error. */
5902 #ifdef __cplusplus
5903 extern "C"
5904 #endif
5905 /* We use char because int might match the return type of a gcc2
5906 builtin and then its argument prototype would still apply. */
5907 char mmap ();
5909 main ()
5911 mmap ();
5913 return 0;
5915 _ACEOF
5916 rm -f conftest.$ac_objext conftest$ac_exeext
5917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5918 (eval $ac_link) 2>&5
5919 ac_status=$?
5920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5921 (exit $ac_status); } &&
5922 { ac_try='test -s conftest$ac_exeext'
5923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5924 (eval $ac_try) 2>&5
5925 ac_status=$?
5926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5927 (exit $ac_status); }; }; then
5928 ac_cv_lib_mmap_mmap=yes
5929 else
5930 echo "$as_me: failed program was:" >&5
5931 sed 's/^/| /' conftest.$ac_ext >&5
5933 ac_cv_lib_mmap_mmap=no
5935 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5936 LIBS=$ac_check_lib_save_LIBS
5938 echo "$as_me:$LINENO: result: $ac_cv_lib_mmap_mmap" >&5
5939 echo "${ECHO_T}$ac_cv_lib_mmap_mmap" >&6
5940 if test $ac_cv_lib_mmap_mmap = yes; then
5941 cat >>confdefs.h <<_ACEOF
5942 #define HAVE_LIBMMAP 1
5943 _ACEOF
5945 LIBS="-lmmap $LIBS"
5950 JPEGLIB=""
5952 echo "$as_me:$LINENO: checking for egrep" >&5
5953 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5954 if test "${ac_cv_prog_egrep+set}" = set; then
5955 echo $ECHO_N "(cached) $ECHO_C" >&6
5956 else
5957 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5958 then ac_cv_prog_egrep='grep -E'
5959 else ac_cv_prog_egrep='egrep'
5962 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5963 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5964 EGREP=$ac_cv_prog_egrep
5967 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5968 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5969 if test "${ac_cv_header_stdc+set}" = set; then
5970 echo $ECHO_N "(cached) $ECHO_C" >&6
5971 else
5972 cat >conftest.$ac_ext <<_ACEOF
5973 #line $LINENO "configure"
5974 /* confdefs.h. */
5975 _ACEOF
5976 cat confdefs.h >>conftest.$ac_ext
5977 cat >>conftest.$ac_ext <<_ACEOF
5978 /* end confdefs.h. */
5979 #include <stdlib.h>
5980 #include <stdarg.h>
5981 #include <string.h>
5982 #include <float.h>
5985 main ()
5989 return 0;
5991 _ACEOF
5992 rm -f conftest.$ac_objext
5993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5994 (eval $ac_compile) 2>&5
5995 ac_status=$?
5996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5997 (exit $ac_status); } &&
5998 { ac_try='test -s conftest.$ac_objext'
5999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6000 (eval $ac_try) 2>&5
6001 ac_status=$?
6002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6003 (exit $ac_status); }; }; then
6004 ac_cv_header_stdc=yes
6005 else
6006 echo "$as_me: failed program was:" >&5
6007 sed 's/^/| /' conftest.$ac_ext >&5
6009 ac_cv_header_stdc=no
6011 rm -f conftest.$ac_objext conftest.$ac_ext
6013 if test $ac_cv_header_stdc = yes; then
6014 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6015 cat >conftest.$ac_ext <<_ACEOF
6016 #line $LINENO "configure"
6017 /* confdefs.h. */
6018 _ACEOF
6019 cat confdefs.h >>conftest.$ac_ext
6020 cat >>conftest.$ac_ext <<_ACEOF
6021 /* end confdefs.h. */
6022 #include <string.h>
6024 _ACEOF
6025 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6026 $EGREP "memchr" >/dev/null 2>&1; then
6028 else
6029 ac_cv_header_stdc=no
6031 rm -f conftest*
6035 if test $ac_cv_header_stdc = yes; then
6036 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6037 cat >conftest.$ac_ext <<_ACEOF
6038 #line $LINENO "configure"
6039 /* confdefs.h. */
6040 _ACEOF
6041 cat confdefs.h >>conftest.$ac_ext
6042 cat >>conftest.$ac_ext <<_ACEOF
6043 /* end confdefs.h. */
6044 #include <stdlib.h>
6046 _ACEOF
6047 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6048 $EGREP "free" >/dev/null 2>&1; then
6050 else
6051 ac_cv_header_stdc=no
6053 rm -f conftest*
6057 if test $ac_cv_header_stdc = yes; then
6058 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6059 if test "$cross_compiling" = yes; then
6061 else
6062 cat >conftest.$ac_ext <<_ACEOF
6063 #line $LINENO "configure"
6064 /* confdefs.h. */
6065 _ACEOF
6066 cat confdefs.h >>conftest.$ac_ext
6067 cat >>conftest.$ac_ext <<_ACEOF
6068 /* end confdefs.h. */
6069 #include <ctype.h>
6070 #if ((' ' & 0x0FF) == 0x020)
6071 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6072 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6073 #else
6074 # define ISLOWER(c) \
6075 (('a' <= (c) && (c) <= 'i') \
6076 || ('j' <= (c) && (c) <= 'r') \
6077 || ('s' <= (c) && (c) <= 'z'))
6078 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6079 #endif
6081 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6083 main ()
6085 int i;
6086 for (i = 0; i < 256; i++)
6087 if (XOR (islower (i), ISLOWER (i))
6088 || toupper (i) != TOUPPER (i))
6089 exit(2);
6090 exit (0);
6092 _ACEOF
6093 rm -f conftest$ac_exeext
6094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6095 (eval $ac_link) 2>&5
6096 ac_status=$?
6097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6098 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6100 (eval $ac_try) 2>&5
6101 ac_status=$?
6102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6103 (exit $ac_status); }; }; then
6105 else
6106 echo "$as_me: program exited with status $ac_status" >&5
6107 echo "$as_me: failed program was:" >&5
6108 sed 's/^/| /' conftest.$ac_ext >&5
6110 ( exit $ac_status )
6111 ac_cv_header_stdc=no
6113 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6117 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6118 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6119 if test $ac_cv_header_stdc = yes; then
6121 cat >>confdefs.h <<\_ACEOF
6122 #define STDC_HEADERS 1
6123 _ACEOF
6127 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6137 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6138 inttypes.h stdint.h unistd.h
6140 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6141 echo "$as_me:$LINENO: checking for $ac_header" >&5
6142 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6143 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6144 echo $ECHO_N "(cached) $ECHO_C" >&6
6145 else
6146 cat >conftest.$ac_ext <<_ACEOF
6147 #line $LINENO "configure"
6148 /* confdefs.h. */
6149 _ACEOF
6150 cat confdefs.h >>conftest.$ac_ext
6151 cat >>conftest.$ac_ext <<_ACEOF
6152 /* end confdefs.h. */
6153 $ac_includes_default
6155 #include <$ac_header>
6156 _ACEOF
6157 rm -f conftest.$ac_objext
6158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6159 (eval $ac_compile) 2>&5
6160 ac_status=$?
6161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6162 (exit $ac_status); } &&
6163 { ac_try='test -s conftest.$ac_objext'
6164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6165 (eval $ac_try) 2>&5
6166 ac_status=$?
6167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6168 (exit $ac_status); }; }; then
6169 eval "$as_ac_Header=yes"
6170 else
6171 echo "$as_me: failed program was:" >&5
6172 sed 's/^/| /' conftest.$ac_ext >&5
6174 eval "$as_ac_Header=no"
6176 rm -f conftest.$ac_objext conftest.$ac_ext
6178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6179 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6180 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6181 cat >>confdefs.h <<_ACEOF
6182 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6183 _ACEOF
6187 done
6191 for ac_header in jpeglib.h
6193 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6194 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6195 echo "$as_me:$LINENO: checking for $ac_header" >&5
6196 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6197 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6198 echo $ECHO_N "(cached) $ECHO_C" >&6
6200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6201 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6202 else
6203 # Is the header compilable?
6204 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6205 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6206 cat >conftest.$ac_ext <<_ACEOF
6207 #line $LINENO "configure"
6208 /* confdefs.h. */
6209 _ACEOF
6210 cat confdefs.h >>conftest.$ac_ext
6211 cat >>conftest.$ac_ext <<_ACEOF
6212 /* end confdefs.h. */
6213 $ac_includes_default
6214 #include <$ac_header>
6215 _ACEOF
6216 rm -f conftest.$ac_objext
6217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6218 (eval $ac_compile) 2>&5
6219 ac_status=$?
6220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6221 (exit $ac_status); } &&
6222 { ac_try='test -s conftest.$ac_objext'
6223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6224 (eval $ac_try) 2>&5
6225 ac_status=$?
6226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6227 (exit $ac_status); }; }; then
6228 ac_header_compiler=yes
6229 else
6230 echo "$as_me: failed program was:" >&5
6231 sed 's/^/| /' conftest.$ac_ext >&5
6233 ac_header_compiler=no
6235 rm -f conftest.$ac_objext conftest.$ac_ext
6236 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6237 echo "${ECHO_T}$ac_header_compiler" >&6
6239 # Is the header present?
6240 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6241 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6242 cat >conftest.$ac_ext <<_ACEOF
6243 #line $LINENO "configure"
6244 /* confdefs.h. */
6245 _ACEOF
6246 cat confdefs.h >>conftest.$ac_ext
6247 cat >>conftest.$ac_ext <<_ACEOF
6248 /* end confdefs.h. */
6249 #include <$ac_header>
6250 _ACEOF
6251 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6252 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6253 ac_status=$?
6254 grep -v '^ *+' conftest.er1 >conftest.err
6255 rm -f conftest.er1
6256 cat conftest.err >&5
6257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6258 (exit $ac_status); } >/dev/null; then
6259 if test -s conftest.err; then
6260 ac_cpp_err=$ac_c_preproc_warn_flag
6261 else
6262 ac_cpp_err=
6264 else
6265 ac_cpp_err=yes
6267 if test -z "$ac_cpp_err"; then
6268 ac_header_preproc=yes
6269 else
6270 echo "$as_me: failed program was:" >&5
6271 sed 's/^/| /' conftest.$ac_ext >&5
6273 ac_header_preproc=no
6275 rm -f conftest.err conftest.$ac_ext
6276 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6277 echo "${ECHO_T}$ac_header_preproc" >&6
6279 # So? What about this header?
6280 case $ac_header_compiler:$ac_header_preproc in
6281 yes:no )
6282 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6283 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6284 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6285 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6287 cat <<\_ASBOX
6288 ## ------------------------------------ ##
6289 ## Report this to bug-autoconf@gnu.org. ##
6290 ## ------------------------------------ ##
6291 _ASBOX
6293 sed "s/^/$as_me: WARNING: /" >&2
6295 no:yes )
6296 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6297 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6298 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6299 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6300 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6301 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6303 cat <<\_ASBOX
6304 ## ------------------------------------ ##
6305 ## Report this to bug-autoconf@gnu.org. ##
6306 ## ------------------------------------ ##
6307 _ASBOX
6309 sed "s/^/$as_me: WARNING: /" >&2
6311 esac
6312 echo "$as_me:$LINENO: checking for $ac_header" >&5
6313 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6314 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6315 echo $ECHO_N "(cached) $ECHO_C" >&6
6316 else
6317 eval "$as_ac_Header=$ac_header_preproc"
6319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6320 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6323 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6324 cat >>confdefs.h <<_ACEOF
6325 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6326 _ACEOF
6327 echo "$as_me:$LINENO: checking for jpeg_start_decompress in -ljpeg" >&5
6328 echo $ECHO_N "checking for jpeg_start_decompress in -ljpeg... $ECHO_C" >&6
6329 if test "${ac_cv_lib_jpeg_jpeg_start_decompress+set}" = set; then
6330 echo $ECHO_N "(cached) $ECHO_C" >&6
6331 else
6332 ac_check_lib_save_LIBS=$LIBS
6333 LIBS="-ljpeg $LIBS"
6334 cat >conftest.$ac_ext <<_ACEOF
6335 #line $LINENO "configure"
6336 /* confdefs.h. */
6337 _ACEOF
6338 cat confdefs.h >>conftest.$ac_ext
6339 cat >>conftest.$ac_ext <<_ACEOF
6340 /* end confdefs.h. */
6342 /* Override any gcc2 internal prototype to avoid an error. */
6343 #ifdef __cplusplus
6344 extern "C"
6345 #endif
6346 /* We use char because int might match the return type of a gcc2
6347 builtin and then its argument prototype would still apply. */
6348 char jpeg_start_decompress ();
6350 main ()
6352 jpeg_start_decompress ();
6354 return 0;
6356 _ACEOF
6357 rm -f conftest.$ac_objext conftest$ac_exeext
6358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6359 (eval $ac_link) 2>&5
6360 ac_status=$?
6361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6362 (exit $ac_status); } &&
6363 { ac_try='test -s conftest$ac_exeext'
6364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6365 (eval $ac_try) 2>&5
6366 ac_status=$?
6367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6368 (exit $ac_status); }; }; then
6369 ac_cv_lib_jpeg_jpeg_start_decompress=yes
6370 else
6371 echo "$as_me: failed program was:" >&5
6372 sed 's/^/| /' conftest.$ac_ext >&5
6374 ac_cv_lib_jpeg_jpeg_start_decompress=no
6376 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6377 LIBS=$ac_check_lib_save_LIBS
6379 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_start_decompress" >&5
6380 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_start_decompress" >&6
6381 if test $ac_cv_lib_jpeg_jpeg_start_decompress = yes; then
6383 cat >>confdefs.h <<\_ACEOF
6384 #define HAVE_LIBJPEG 1
6385 _ACEOF
6387 JPEGLIB="-ljpeg"
6394 done
6397 GIFLIB=""
6400 for ac_header in gif_lib.h
6402 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6403 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6404 echo "$as_me:$LINENO: checking for $ac_header" >&5
6405 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6406 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6407 echo $ECHO_N "(cached) $ECHO_C" >&6
6409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6410 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6411 else
6412 # Is the header compilable?
6413 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6414 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6415 cat >conftest.$ac_ext <<_ACEOF
6416 #line $LINENO "configure"
6417 /* confdefs.h. */
6418 _ACEOF
6419 cat confdefs.h >>conftest.$ac_ext
6420 cat >>conftest.$ac_ext <<_ACEOF
6421 /* end confdefs.h. */
6422 $ac_includes_default
6423 #include <$ac_header>
6424 _ACEOF
6425 rm -f conftest.$ac_objext
6426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6427 (eval $ac_compile) 2>&5
6428 ac_status=$?
6429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6430 (exit $ac_status); } &&
6431 { ac_try='test -s conftest.$ac_objext'
6432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6433 (eval $ac_try) 2>&5
6434 ac_status=$?
6435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6436 (exit $ac_status); }; }; then
6437 ac_header_compiler=yes
6438 else
6439 echo "$as_me: failed program was:" >&5
6440 sed 's/^/| /' conftest.$ac_ext >&5
6442 ac_header_compiler=no
6444 rm -f conftest.$ac_objext conftest.$ac_ext
6445 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6446 echo "${ECHO_T}$ac_header_compiler" >&6
6448 # Is the header present?
6449 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6450 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6451 cat >conftest.$ac_ext <<_ACEOF
6452 #line $LINENO "configure"
6453 /* confdefs.h. */
6454 _ACEOF
6455 cat confdefs.h >>conftest.$ac_ext
6456 cat >>conftest.$ac_ext <<_ACEOF
6457 /* end confdefs.h. */
6458 #include <$ac_header>
6459 _ACEOF
6460 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6461 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6462 ac_status=$?
6463 grep -v '^ *+' conftest.er1 >conftest.err
6464 rm -f conftest.er1
6465 cat conftest.err >&5
6466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6467 (exit $ac_status); } >/dev/null; then
6468 if test -s conftest.err; then
6469 ac_cpp_err=$ac_c_preproc_warn_flag
6470 else
6471 ac_cpp_err=
6473 else
6474 ac_cpp_err=yes
6476 if test -z "$ac_cpp_err"; then
6477 ac_header_preproc=yes
6478 else
6479 echo "$as_me: failed program was:" >&5
6480 sed 's/^/| /' conftest.$ac_ext >&5
6482 ac_header_preproc=no
6484 rm -f conftest.err conftest.$ac_ext
6485 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6486 echo "${ECHO_T}$ac_header_preproc" >&6
6488 # So? What about this header?
6489 case $ac_header_compiler:$ac_header_preproc in
6490 yes:no )
6491 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6492 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6493 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6494 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6496 cat <<\_ASBOX
6497 ## ------------------------------------ ##
6498 ## Report this to bug-autoconf@gnu.org. ##
6499 ## ------------------------------------ ##
6500 _ASBOX
6502 sed "s/^/$as_me: WARNING: /" >&2
6504 no:yes )
6505 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6506 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6507 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6508 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6509 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6510 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6512 cat <<\_ASBOX
6513 ## ------------------------------------ ##
6514 ## Report this to bug-autoconf@gnu.org. ##
6515 ## ------------------------------------ ##
6516 _ASBOX
6518 sed "s/^/$as_me: WARNING: /" >&2
6520 esac
6521 echo "$as_me:$LINENO: checking for $ac_header" >&5
6522 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6523 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6524 echo $ECHO_N "(cached) $ECHO_C" >&6
6525 else
6526 eval "$as_ac_Header=$ac_header_preproc"
6528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6529 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6532 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6533 cat >>confdefs.h <<_ACEOF
6534 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6535 _ACEOF
6536 echo "$as_me:$LINENO: checking for DGifOpen in -lungif" >&5
6537 echo $ECHO_N "checking for DGifOpen in -lungif... $ECHO_C" >&6
6538 if test "${ac_cv_lib_ungif_DGifOpen+set}" = set; then
6539 echo $ECHO_N "(cached) $ECHO_C" >&6
6540 else
6541 ac_check_lib_save_LIBS=$LIBS
6542 LIBS="-lungif $LIBS"
6543 cat >conftest.$ac_ext <<_ACEOF
6544 #line $LINENO "configure"
6545 /* confdefs.h. */
6546 _ACEOF
6547 cat confdefs.h >>conftest.$ac_ext
6548 cat >>conftest.$ac_ext <<_ACEOF
6549 /* end confdefs.h. */
6551 /* Override any gcc2 internal prototype to avoid an error. */
6552 #ifdef __cplusplus
6553 extern "C"
6554 #endif
6555 /* We use char because int might match the return type of a gcc2
6556 builtin and then its argument prototype would still apply. */
6557 char DGifOpen ();
6559 main ()
6561 DGifOpen ();
6563 return 0;
6565 _ACEOF
6566 rm -f conftest.$ac_objext conftest$ac_exeext
6567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6568 (eval $ac_link) 2>&5
6569 ac_status=$?
6570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6571 (exit $ac_status); } &&
6572 { ac_try='test -s conftest$ac_exeext'
6573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6574 (eval $ac_try) 2>&5
6575 ac_status=$?
6576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6577 (exit $ac_status); }; }; then
6578 ac_cv_lib_ungif_DGifOpen=yes
6579 else
6580 echo "$as_me: failed program was:" >&5
6581 sed 's/^/| /' conftest.$ac_ext >&5
6583 ac_cv_lib_ungif_DGifOpen=no
6585 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6586 LIBS=$ac_check_lib_save_LIBS
6588 echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_DGifOpen" >&5
6589 echo "${ECHO_T}$ac_cv_lib_ungif_DGifOpen" >&6
6590 if test $ac_cv_lib_ungif_DGifOpen = yes; then
6592 cat >>confdefs.h <<\_ACEOF
6593 #define HAVE_LIBGIF 1
6594 _ACEOF
6596 GIFLIB="-lungif"
6597 else
6598 echo "$as_me:$LINENO: checking for DGifOpen in -lgif" >&5
6599 echo $ECHO_N "checking for DGifOpen in -lgif... $ECHO_C" >&6
6600 if test "${ac_cv_lib_gif_DGifOpen+set}" = set; then
6601 echo $ECHO_N "(cached) $ECHO_C" >&6
6602 else
6603 ac_check_lib_save_LIBS=$LIBS
6604 LIBS="-lgif $LIBS"
6605 cat >conftest.$ac_ext <<_ACEOF
6606 #line $LINENO "configure"
6607 /* confdefs.h. */
6608 _ACEOF
6609 cat confdefs.h >>conftest.$ac_ext
6610 cat >>conftest.$ac_ext <<_ACEOF
6611 /* end confdefs.h. */
6613 /* Override any gcc2 internal prototype to avoid an error. */
6614 #ifdef __cplusplus
6615 extern "C"
6616 #endif
6617 /* We use char because int might match the return type of a gcc2
6618 builtin and then its argument prototype would still apply. */
6619 char DGifOpen ();
6621 main ()
6623 DGifOpen ();
6625 return 0;
6627 _ACEOF
6628 rm -f conftest.$ac_objext conftest$ac_exeext
6629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6630 (eval $ac_link) 2>&5
6631 ac_status=$?
6632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6633 (exit $ac_status); } &&
6634 { ac_try='test -s conftest$ac_exeext'
6635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6636 (eval $ac_try) 2>&5
6637 ac_status=$?
6638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6639 (exit $ac_status); }; }; then
6640 ac_cv_lib_gif_DGifOpen=yes
6641 else
6642 echo "$as_me: failed program was:" >&5
6643 sed 's/^/| /' conftest.$ac_ext >&5
6645 ac_cv_lib_gif_DGifOpen=no
6647 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6648 LIBS=$ac_check_lib_save_LIBS
6650 echo "$as_me:$LINENO: result: $ac_cv_lib_gif_DGifOpen" >&5
6651 echo "${ECHO_T}$ac_cv_lib_gif_DGifOpen" >&6
6652 if test $ac_cv_lib_gif_DGifOpen = yes; then
6653 cat >>confdefs.h <<\_ACEOF
6654 #define HAVE_LIBGIF 1
6655 _ACEOF
6657 GIFLIB="-lgif"
6664 done
6670 XFILES=""
6672 OPENGLFILES=""
6674 GLU32FILES=""
6676 OPENGL_LIBS=""
6677 if test "$have_x" = "yes"
6678 then
6679 XLIB="-lXext -lX11"
6680 ac_save_CPPFLAGS="$CPPFLAGS"
6681 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
6684 for ac_header in X11/Xlib.h
6686 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6687 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6688 echo "$as_me:$LINENO: checking for $ac_header" >&5
6689 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6690 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6691 echo $ECHO_N "(cached) $ECHO_C" >&6
6693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6694 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6695 else
6696 # Is the header compilable?
6697 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6698 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6699 cat >conftest.$ac_ext <<_ACEOF
6700 #line $LINENO "configure"
6701 /* confdefs.h. */
6702 _ACEOF
6703 cat confdefs.h >>conftest.$ac_ext
6704 cat >>conftest.$ac_ext <<_ACEOF
6705 /* end confdefs.h. */
6706 $ac_includes_default
6707 #include <$ac_header>
6708 _ACEOF
6709 rm -f conftest.$ac_objext
6710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6711 (eval $ac_compile) 2>&5
6712 ac_status=$?
6713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6714 (exit $ac_status); } &&
6715 { ac_try='test -s conftest.$ac_objext'
6716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6717 (eval $ac_try) 2>&5
6718 ac_status=$?
6719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6720 (exit $ac_status); }; }; then
6721 ac_header_compiler=yes
6722 else
6723 echo "$as_me: failed program was:" >&5
6724 sed 's/^/| /' conftest.$ac_ext >&5
6726 ac_header_compiler=no
6728 rm -f conftest.$ac_objext conftest.$ac_ext
6729 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6730 echo "${ECHO_T}$ac_header_compiler" >&6
6732 # Is the header present?
6733 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6734 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6735 cat >conftest.$ac_ext <<_ACEOF
6736 #line $LINENO "configure"
6737 /* confdefs.h. */
6738 _ACEOF
6739 cat confdefs.h >>conftest.$ac_ext
6740 cat >>conftest.$ac_ext <<_ACEOF
6741 /* end confdefs.h. */
6742 #include <$ac_header>
6743 _ACEOF
6744 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6745 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6746 ac_status=$?
6747 grep -v '^ *+' conftest.er1 >conftest.err
6748 rm -f conftest.er1
6749 cat conftest.err >&5
6750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6751 (exit $ac_status); } >/dev/null; then
6752 if test -s conftest.err; then
6753 ac_cpp_err=$ac_c_preproc_warn_flag
6754 else
6755 ac_cpp_err=
6757 else
6758 ac_cpp_err=yes
6760 if test -z "$ac_cpp_err"; then
6761 ac_header_preproc=yes
6762 else
6763 echo "$as_me: failed program was:" >&5
6764 sed 's/^/| /' conftest.$ac_ext >&5
6766 ac_header_preproc=no
6768 rm -f conftest.err conftest.$ac_ext
6769 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6770 echo "${ECHO_T}$ac_header_preproc" >&6
6772 # So? What about this header?
6773 case $ac_header_compiler:$ac_header_preproc in
6774 yes:no )
6775 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6776 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6777 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6778 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6780 cat <<\_ASBOX
6781 ## ------------------------------------ ##
6782 ## Report this to bug-autoconf@gnu.org. ##
6783 ## ------------------------------------ ##
6784 _ASBOX
6786 sed "s/^/$as_me: WARNING: /" >&2
6788 no:yes )
6789 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6790 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6791 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6792 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6793 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6794 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6796 cat <<\_ASBOX
6797 ## ------------------------------------ ##
6798 ## Report this to bug-autoconf@gnu.org. ##
6799 ## ------------------------------------ ##
6800 _ASBOX
6802 sed "s/^/$as_me: WARNING: /" >&2
6804 esac
6805 echo "$as_me:$LINENO: checking for $ac_header" >&5
6806 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6807 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6808 echo $ECHO_N "(cached) $ECHO_C" >&6
6809 else
6810 eval "$as_ac_Header=$ac_header_preproc"
6812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6813 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6816 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6817 cat >>confdefs.h <<_ACEOF
6818 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6819 _ACEOF
6822 for ac_header in X11/XKBlib.h
6824 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6825 echo "$as_me:$LINENO: checking for $ac_header" >&5
6826 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6827 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6828 echo $ECHO_N "(cached) $ECHO_C" >&6
6829 else
6830 cat >conftest.$ac_ext <<_ACEOF
6831 #line $LINENO "configure"
6832 /* confdefs.h. */
6833 _ACEOF
6834 cat confdefs.h >>conftest.$ac_ext
6835 cat >>conftest.$ac_ext <<_ACEOF
6836 /* end confdefs.h. */
6837 #include <X11/Xlib.h>
6839 #include <$ac_header>
6840 _ACEOF
6841 rm -f conftest.$ac_objext
6842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6843 (eval $ac_compile) 2>&5
6844 ac_status=$?
6845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6846 (exit $ac_status); } &&
6847 { ac_try='test -s conftest.$ac_objext'
6848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6849 (eval $ac_try) 2>&5
6850 ac_status=$?
6851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6852 (exit $ac_status); }; }; then
6853 eval "$as_ac_Header=yes"
6854 else
6855 echo "$as_me: failed program was:" >&5
6856 sed 's/^/| /' conftest.$ac_ext >&5
6858 eval "$as_ac_Header=no"
6860 rm -f conftest.$ac_objext conftest.$ac_ext
6862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6863 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6864 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6865 cat >>confdefs.h <<_ACEOF
6866 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6867 _ACEOF
6868 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
6869 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
6870 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
6871 echo $ECHO_N "(cached) $ECHO_C" >&6
6872 else
6873 ac_check_lib_save_LIBS=$LIBS
6874 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6875 cat >conftest.$ac_ext <<_ACEOF
6876 #line $LINENO "configure"
6877 /* confdefs.h. */
6878 _ACEOF
6879 cat confdefs.h >>conftest.$ac_ext
6880 cat >>conftest.$ac_ext <<_ACEOF
6881 /* end confdefs.h. */
6883 /* Override any gcc2 internal prototype to avoid an error. */
6884 #ifdef __cplusplus
6885 extern "C"
6886 #endif
6887 /* We use char because int might match the return type of a gcc2
6888 builtin and then its argument prototype would still apply. */
6889 char XkbQueryExtension ();
6891 main ()
6893 XkbQueryExtension ();
6895 return 0;
6897 _ACEOF
6898 rm -f conftest.$ac_objext conftest$ac_exeext
6899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6900 (eval $ac_link) 2>&5
6901 ac_status=$?
6902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6903 (exit $ac_status); } &&
6904 { ac_try='test -s conftest$ac_exeext'
6905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6906 (eval $ac_try) 2>&5
6907 ac_status=$?
6908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6909 (exit $ac_status); }; }; then
6910 ac_cv_lib_X11_XkbQueryExtension=yes
6911 else
6912 echo "$as_me: failed program was:" >&5
6913 sed 's/^/| /' conftest.$ac_ext >&5
6915 ac_cv_lib_X11_XkbQueryExtension=no
6917 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6918 LIBS=$ac_check_lib_save_LIBS
6920 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
6921 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
6922 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
6924 cat >>confdefs.h <<\_ACEOF
6925 #define HAVE_XKB 1
6926 _ACEOF
6931 else
6932 { echo "$as_me:$LINENO: WARNING: Xkb extension not found, Wine will be built without it" >&5
6933 echo "$as_me: WARNING: Xkb extension not found, Wine will be built without it" >&2;}
6936 done
6940 for ac_header in X11/extensions/XShm.h
6942 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6943 echo "$as_me:$LINENO: checking for $ac_header" >&5
6944 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6945 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6946 echo $ECHO_N "(cached) $ECHO_C" >&6
6947 else
6948 cat >conftest.$ac_ext <<_ACEOF
6949 #line $LINENO "configure"
6950 /* confdefs.h. */
6951 _ACEOF
6952 cat confdefs.h >>conftest.$ac_ext
6953 cat >>conftest.$ac_ext <<_ACEOF
6954 /* end confdefs.h. */
6955 #include <X11/Xlib.h>
6957 #include <$ac_header>
6958 _ACEOF
6959 rm -f conftest.$ac_objext
6960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6961 (eval $ac_compile) 2>&5
6962 ac_status=$?
6963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6964 (exit $ac_status); } &&
6965 { ac_try='test -s conftest.$ac_objext'
6966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6967 (eval $ac_try) 2>&5
6968 ac_status=$?
6969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6970 (exit $ac_status); }; }; then
6971 eval "$as_ac_Header=yes"
6972 else
6973 echo "$as_me: failed program was:" >&5
6974 sed 's/^/| /' conftest.$ac_ext >&5
6976 eval "$as_ac_Header=no"
6978 rm -f conftest.$ac_objext conftest.$ac_ext
6980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6981 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6982 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6983 cat >>confdefs.h <<_ACEOF
6984 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6985 _ACEOF
6986 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
6987 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
6988 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
6989 echo $ECHO_N "(cached) $ECHO_C" >&6
6990 else
6991 ac_check_lib_save_LIBS=$LIBS
6992 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6993 cat >conftest.$ac_ext <<_ACEOF
6994 #line $LINENO "configure"
6995 /* confdefs.h. */
6996 _ACEOF
6997 cat confdefs.h >>conftest.$ac_ext
6998 cat >>conftest.$ac_ext <<_ACEOF
6999 /* end confdefs.h. */
7001 /* Override any gcc2 internal prototype to avoid an error. */
7002 #ifdef __cplusplus
7003 extern "C"
7004 #endif
7005 /* We use char because int might match the return type of a gcc2
7006 builtin and then its argument prototype would still apply. */
7007 char XShmQueryExtension ();
7009 main ()
7011 XShmQueryExtension ();
7013 return 0;
7015 _ACEOF
7016 rm -f conftest.$ac_objext conftest$ac_exeext
7017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7018 (eval $ac_link) 2>&5
7019 ac_status=$?
7020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7021 (exit $ac_status); } &&
7022 { ac_try='test -s conftest$ac_exeext'
7023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7024 (eval $ac_try) 2>&5
7025 ac_status=$?
7026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7027 (exit $ac_status); }; }; then
7028 ac_cv_lib_Xext_XShmQueryExtension=yes
7029 else
7030 echo "$as_me: failed program was:" >&5
7031 sed 's/^/| /' conftest.$ac_ext >&5
7033 ac_cv_lib_Xext_XShmQueryExtension=no
7035 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7036 LIBS=$ac_check_lib_save_LIBS
7038 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7039 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
7040 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7042 cat >>confdefs.h <<\_ACEOF
7043 #define HAVE_LIBXXSHM 1
7044 _ACEOF
7049 else
7050 { echo "$as_me:$LINENO: WARNING: XShm extension not found, Wine will be built without it" >&5
7051 echo "$as_me: WARNING: XShm extension not found, Wine will be built without it" >&2;}
7054 done
7058 for ac_header in X11/Xutil.h
7060 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7061 echo "$as_me:$LINENO: checking for $ac_header" >&5
7062 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7063 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7064 echo $ECHO_N "(cached) $ECHO_C" >&6
7065 else
7066 cat >conftest.$ac_ext <<_ACEOF
7067 #line $LINENO "configure"
7068 /* confdefs.h. */
7069 _ACEOF
7070 cat confdefs.h >>conftest.$ac_ext
7071 cat >>conftest.$ac_ext <<_ACEOF
7072 /* end confdefs.h. */
7073 #include <X11/Xlib.h>
7075 #include <$ac_header>
7076 _ACEOF
7077 rm -f conftest.$ac_objext
7078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7079 (eval $ac_compile) 2>&5
7080 ac_status=$?
7081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7082 (exit $ac_status); } &&
7083 { ac_try='test -s conftest.$ac_objext'
7084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7085 (eval $ac_try) 2>&5
7086 ac_status=$?
7087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7088 (exit $ac_status); }; }; then
7089 eval "$as_ac_Header=yes"
7090 else
7091 echo "$as_me: failed program was:" >&5
7092 sed 's/^/| /' conftest.$ac_ext >&5
7094 eval "$as_ac_Header=no"
7096 rm -f conftest.$ac_objext conftest.$ac_ext
7098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7099 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7100 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7101 cat >>confdefs.h <<_ACEOF
7102 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7103 _ACEOF
7107 done
7111 for ac_header in X11/extensions/shape.h
7113 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7114 echo "$as_me:$LINENO: checking for $ac_header" >&5
7115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7117 echo $ECHO_N "(cached) $ECHO_C" >&6
7118 else
7119 cat >conftest.$ac_ext <<_ACEOF
7120 #line $LINENO "configure"
7121 /* confdefs.h. */
7122 _ACEOF
7123 cat confdefs.h >>conftest.$ac_ext
7124 cat >>conftest.$ac_ext <<_ACEOF
7125 /* end confdefs.h. */
7126 #include <X11/Xlib.h>
7127 #ifdef HAVE_X11_XUTIL_H
7128 # include <X11/Xutil.h>
7129 #endif
7131 #include <$ac_header>
7132 _ACEOF
7133 rm -f conftest.$ac_objext
7134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7135 (eval $ac_compile) 2>&5
7136 ac_status=$?
7137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7138 (exit $ac_status); } &&
7139 { ac_try='test -s conftest.$ac_objext'
7140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7141 (eval $ac_try) 2>&5
7142 ac_status=$?
7143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7144 (exit $ac_status); }; }; then
7145 eval "$as_ac_Header=yes"
7146 else
7147 echo "$as_me: failed program was:" >&5
7148 sed 's/^/| /' conftest.$ac_ext >&5
7150 eval "$as_ac_Header=no"
7152 rm -f conftest.$ac_objext conftest.$ac_ext
7154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7155 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7156 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7157 cat >>confdefs.h <<_ACEOF
7158 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7159 _ACEOF
7160 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7161 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
7162 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7163 echo $ECHO_N "(cached) $ECHO_C" >&6
7164 else
7165 ac_check_lib_save_LIBS=$LIBS
7166 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7167 cat >conftest.$ac_ext <<_ACEOF
7168 #line $LINENO "configure"
7169 /* confdefs.h. */
7170 _ACEOF
7171 cat confdefs.h >>conftest.$ac_ext
7172 cat >>conftest.$ac_ext <<_ACEOF
7173 /* end confdefs.h. */
7175 /* Override any gcc2 internal prototype to avoid an error. */
7176 #ifdef __cplusplus
7177 extern "C"
7178 #endif
7179 /* We use char because int might match the return type of a gcc2
7180 builtin and then its argument prototype would still apply. */
7181 char XShapeQueryExtension ();
7183 main ()
7185 XShapeQueryExtension ();
7187 return 0;
7189 _ACEOF
7190 rm -f conftest.$ac_objext conftest$ac_exeext
7191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7192 (eval $ac_link) 2>&5
7193 ac_status=$?
7194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7195 (exit $ac_status); } &&
7196 { ac_try='test -s conftest$ac_exeext'
7197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7198 (eval $ac_try) 2>&5
7199 ac_status=$?
7200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7201 (exit $ac_status); }; }; then
7202 ac_cv_lib_Xext_XShapeQueryExtension=yes
7203 else
7204 echo "$as_me: failed program was:" >&5
7205 sed 's/^/| /' conftest.$ac_ext >&5
7207 ac_cv_lib_Xext_XShapeQueryExtension=no
7209 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7210 LIBS=$ac_check_lib_save_LIBS
7212 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
7213 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
7214 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
7216 cat >>confdefs.h <<\_ACEOF
7217 #define HAVE_LIBXSHAPE 1
7218 _ACEOF
7223 else
7224 { echo "$as_me:$LINENO: WARNING: XShape extension not found, Wine will be built without it" >&5
7225 echo "$as_me: WARNING: XShape extension not found, Wine will be built without it" >&2;}
7228 done
7232 for ac_header in X11/extensions/xf86dga.h
7234 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7235 echo "$as_me:$LINENO: checking for $ac_header" >&5
7236 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7238 echo $ECHO_N "(cached) $ECHO_C" >&6
7239 else
7240 cat >conftest.$ac_ext <<_ACEOF
7241 #line $LINENO "configure"
7242 /* confdefs.h. */
7243 _ACEOF
7244 cat confdefs.h >>conftest.$ac_ext
7245 cat >>conftest.$ac_ext <<_ACEOF
7246 /* end confdefs.h. */
7247 #include <X11/Xlib.h>
7249 #include <$ac_header>
7250 _ACEOF
7251 rm -f conftest.$ac_objext
7252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7253 (eval $ac_compile) 2>&5
7254 ac_status=$?
7255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7256 (exit $ac_status); } &&
7257 { ac_try='test -s conftest.$ac_objext'
7258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7259 (eval $ac_try) 2>&5
7260 ac_status=$?
7261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7262 (exit $ac_status); }; }; then
7263 eval "$as_ac_Header=yes"
7264 else
7265 echo "$as_me: failed program was:" >&5
7266 sed 's/^/| /' conftest.$ac_ext >&5
7268 eval "$as_ac_Header=no"
7270 rm -f conftest.$ac_objext conftest.$ac_ext
7272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7273 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7274 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7275 cat >>confdefs.h <<_ACEOF
7276 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7277 _ACEOF
7278 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
7279 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
7280 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
7281 echo $ECHO_N "(cached) $ECHO_C" >&6
7282 else
7283 ac_check_lib_save_LIBS=$LIBS
7284 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
7285 $LIBS"
7286 cat >conftest.$ac_ext <<_ACEOF
7287 #line $LINENO "configure"
7288 /* confdefs.h. */
7289 _ACEOF
7290 cat confdefs.h >>conftest.$ac_ext
7291 cat >>conftest.$ac_ext <<_ACEOF
7292 /* end confdefs.h. */
7294 /* Override any gcc2 internal prototype to avoid an error. */
7295 #ifdef __cplusplus
7296 extern "C"
7297 #endif
7298 /* We use char because int might match the return type of a gcc2
7299 builtin and then its argument prototype would still apply. */
7300 char XDGAQueryExtension ();
7302 main ()
7304 XDGAQueryExtension ();
7306 return 0;
7308 _ACEOF
7309 rm -f conftest.$ac_objext conftest$ac_exeext
7310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7311 (eval $ac_link) 2>&5
7312 ac_status=$?
7313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7314 (exit $ac_status); } &&
7315 { ac_try='test -s conftest$ac_exeext'
7316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7317 (eval $ac_try) 2>&5
7318 ac_status=$?
7319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7320 (exit $ac_status); }; }; then
7321 ac_cv_lib_Xxf86dga_XDGAQueryExtension=yes
7322 else
7323 echo "$as_me: failed program was:" >&5
7324 sed 's/^/| /' conftest.$ac_ext >&5
7326 ac_cv_lib_Xxf86dga_XDGAQueryExtension=no
7328 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7329 LIBS=$ac_check_lib_save_LIBS
7331 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
7332 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
7333 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
7335 cat >>confdefs.h <<\_ACEOF
7336 #define HAVE_LIBXXF86DGA2 1
7337 _ACEOF
7339 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
7341 else
7342 echo "$as_me:$LINENO: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
7343 echo $ECHO_N "checking for XF86DGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
7344 if test "${ac_cv_lib_Xxf86dga_XF86DGAQueryExtension+set}" = set; then
7345 echo $ECHO_N "(cached) $ECHO_C" >&6
7346 else
7347 ac_check_lib_save_LIBS=$LIBS
7348 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
7349 $LIBS"
7350 cat >conftest.$ac_ext <<_ACEOF
7351 #line $LINENO "configure"
7352 /* confdefs.h. */
7353 _ACEOF
7354 cat confdefs.h >>conftest.$ac_ext
7355 cat >>conftest.$ac_ext <<_ACEOF
7356 /* end confdefs.h. */
7358 /* Override any gcc2 internal prototype to avoid an error. */
7359 #ifdef __cplusplus
7360 extern "C"
7361 #endif
7362 /* We use char because int might match the return type of a gcc2
7363 builtin and then its argument prototype would still apply. */
7364 char XF86DGAQueryExtension ();
7366 main ()
7368 XF86DGAQueryExtension ();
7370 return 0;
7372 _ACEOF
7373 rm -f conftest.$ac_objext conftest$ac_exeext
7374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7375 (eval $ac_link) 2>&5
7376 ac_status=$?
7377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7378 (exit $ac_status); } &&
7379 { ac_try='test -s conftest$ac_exeext'
7380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7381 (eval $ac_try) 2>&5
7382 ac_status=$?
7383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7384 (exit $ac_status); }; }; then
7385 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=yes
7386 else
7387 echo "$as_me: failed program was:" >&5
7388 sed 's/^/| /' conftest.$ac_ext >&5
7390 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=no
7392 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7393 LIBS=$ac_check_lib_save_LIBS
7395 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&5
7396 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&6
7397 if test $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension = yes; then
7399 cat >>confdefs.h <<\_ACEOF
7400 #define HAVE_LIBXXF86DGA 1
7401 _ACEOF
7403 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
7411 else
7412 { echo "$as_me:$LINENO: WARNING: DGA extension not found, Wine will be built without it" >&5
7413 echo "$as_me: WARNING: DGA extension not found, Wine will be built without it" >&2;}
7416 done
7420 for ac_header in X11/extensions/xf86vmode.h
7422 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7423 echo "$as_me:$LINENO: checking for $ac_header" >&5
7424 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7425 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7426 echo $ECHO_N "(cached) $ECHO_C" >&6
7427 else
7428 cat >conftest.$ac_ext <<_ACEOF
7429 #line $LINENO "configure"
7430 /* confdefs.h. */
7431 _ACEOF
7432 cat confdefs.h >>conftest.$ac_ext
7433 cat >>conftest.$ac_ext <<_ACEOF
7434 /* end confdefs.h. */
7435 #include <X11/Xlib.h>
7437 #include <$ac_header>
7438 _ACEOF
7439 rm -f conftest.$ac_objext
7440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7441 (eval $ac_compile) 2>&5
7442 ac_status=$?
7443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7444 (exit $ac_status); } &&
7445 { ac_try='test -s conftest.$ac_objext'
7446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7447 (eval $ac_try) 2>&5
7448 ac_status=$?
7449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7450 (exit $ac_status); }; }; then
7451 eval "$as_ac_Header=yes"
7452 else
7453 echo "$as_me: failed program was:" >&5
7454 sed 's/^/| /' conftest.$ac_ext >&5
7456 eval "$as_ac_Header=no"
7458 rm -f conftest.$ac_objext conftest.$ac_ext
7460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7461 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7462 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7463 cat >>confdefs.h <<_ACEOF
7464 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7465 _ACEOF
7466 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
7467 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
7468 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
7469 echo $ECHO_N "(cached) $ECHO_C" >&6
7470 else
7471 ac_check_lib_save_LIBS=$LIBS
7472 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
7473 $LIBS"
7474 cat >conftest.$ac_ext <<_ACEOF
7475 #line $LINENO "configure"
7476 /* confdefs.h. */
7477 _ACEOF
7478 cat confdefs.h >>conftest.$ac_ext
7479 cat >>conftest.$ac_ext <<_ACEOF
7480 /* end confdefs.h. */
7482 /* Override any gcc2 internal prototype to avoid an error. */
7483 #ifdef __cplusplus
7484 extern "C"
7485 #endif
7486 /* We use char because int might match the return type of a gcc2
7487 builtin and then its argument prototype would still apply. */
7488 char XF86VidModeQueryExtension ();
7490 main ()
7492 XF86VidModeQueryExtension ();
7494 return 0;
7496 _ACEOF
7497 rm -f conftest.$ac_objext conftest$ac_exeext
7498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7499 (eval $ac_link) 2>&5
7500 ac_status=$?
7501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7502 (exit $ac_status); } &&
7503 { ac_try='test -s conftest$ac_exeext'
7504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7505 (eval $ac_try) 2>&5
7506 ac_status=$?
7507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7508 (exit $ac_status); }; }; then
7509 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
7510 else
7511 echo "$as_me: failed program was:" >&5
7512 sed 's/^/| /' conftest.$ac_ext >&5
7514 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
7516 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7517 LIBS=$ac_check_lib_save_LIBS
7519 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
7520 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
7521 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
7523 cat >>confdefs.h <<\_ACEOF
7524 #define HAVE_LIBXXF86VM 1
7525 _ACEOF
7527 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
7532 else
7533 { echo "$as_me:$LINENO: WARNING: XFree86 VMODE extension not found, Wine will be built without it" >&5
7534 echo "$as_me: WARNING: XFree86 VMODE extension not found, Wine will be built without it" >&2;}
7537 done
7541 for ac_header in X11/extensions/Xvlib.h
7543 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7544 echo "$as_me:$LINENO: checking for $ac_header" >&5
7545 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7546 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7547 echo $ECHO_N "(cached) $ECHO_C" >&6
7548 else
7549 cat >conftest.$ac_ext <<_ACEOF
7550 #line $LINENO "configure"
7551 /* confdefs.h. */
7552 _ACEOF
7553 cat confdefs.h >>conftest.$ac_ext
7554 cat >>conftest.$ac_ext <<_ACEOF
7555 /* end confdefs.h. */
7556 #include <X11/Xlib.h>
7558 #include <$ac_header>
7559 _ACEOF
7560 rm -f conftest.$ac_objext
7561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7562 (eval $ac_compile) 2>&5
7563 ac_status=$?
7564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7565 (exit $ac_status); } &&
7566 { ac_try='test -s conftest.$ac_objext'
7567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7568 (eval $ac_try) 2>&5
7569 ac_status=$?
7570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7571 (exit $ac_status); }; }; then
7572 eval "$as_ac_Header=yes"
7573 else
7574 echo "$as_me: failed program was:" >&5
7575 sed 's/^/| /' conftest.$ac_ext >&5
7577 eval "$as_ac_Header=no"
7579 rm -f conftest.$ac_objext conftest.$ac_ext
7581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7582 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7583 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7584 cat >>confdefs.h <<_ACEOF
7585 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7586 _ACEOF
7587 echo "$as_me:$LINENO: checking for XvShmCreateImage in -lXv" >&5
7588 echo $ECHO_N "checking for XvShmCreateImage in -lXv... $ECHO_C" >&6
7589 if test "${ac_cv_lib_Xv_XvShmCreateImage+set}" = set; then
7590 echo $ECHO_N "(cached) $ECHO_C" >&6
7591 else
7592 ac_check_lib_save_LIBS=$LIBS
7593 LIBS="-lXv $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
7594 $LIBS"
7595 cat >conftest.$ac_ext <<_ACEOF
7596 #line $LINENO "configure"
7597 /* confdefs.h. */
7598 _ACEOF
7599 cat confdefs.h >>conftest.$ac_ext
7600 cat >>conftest.$ac_ext <<_ACEOF
7601 /* end confdefs.h. */
7603 /* Override any gcc2 internal prototype to avoid an error. */
7604 #ifdef __cplusplus
7605 extern "C"
7606 #endif
7607 /* We use char because int might match the return type of a gcc2
7608 builtin and then its argument prototype would still apply. */
7609 char XvShmCreateImage ();
7611 main ()
7613 XvShmCreateImage ();
7615 return 0;
7617 _ACEOF
7618 rm -f conftest.$ac_objext conftest$ac_exeext
7619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7620 (eval $ac_link) 2>&5
7621 ac_status=$?
7622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7623 (exit $ac_status); } &&
7624 { ac_try='test -s conftest$ac_exeext'
7625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7626 (eval $ac_try) 2>&5
7627 ac_status=$?
7628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7629 (exit $ac_status); }; }; then
7630 ac_cv_lib_Xv_XvShmCreateImage=yes
7631 else
7632 echo "$as_me: failed program was:" >&5
7633 sed 's/^/| /' conftest.$ac_ext >&5
7635 ac_cv_lib_Xv_XvShmCreateImage=no
7637 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7638 LIBS=$ac_check_lib_save_LIBS
7640 echo "$as_me:$LINENO: result: $ac_cv_lib_Xv_XvShmCreateImage" >&5
7641 echo "${ECHO_T}$ac_cv_lib_Xv_XvShmCreateImage" >&6
7642 if test $ac_cv_lib_Xv_XvShmCreateImage = yes; then
7644 cat >>confdefs.h <<\_ACEOF
7645 #define HAVE_XVIDEO 1
7646 _ACEOF
7648 X_PRE_LIBS="$X_PRE_LIBS -lXv"
7653 else
7654 { echo "$as_me:$LINENO: WARNING: XVideo extension not found, Wine will be built without it" >&5
7655 echo "$as_me: WARNING: XVideo extension not found, Wine will be built without it" >&2;}
7658 done
7662 for ac_header in X11/extensions/Xrender.h
7664 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7665 echo "$as_me:$LINENO: checking for $ac_header" >&5
7666 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7667 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7668 echo $ECHO_N "(cached) $ECHO_C" >&6
7669 else
7670 cat >conftest.$ac_ext <<_ACEOF
7671 #line $LINENO "configure"
7672 /* confdefs.h. */
7673 _ACEOF
7674 cat confdefs.h >>conftest.$ac_ext
7675 cat >>conftest.$ac_ext <<_ACEOF
7676 /* end confdefs.h. */
7677 #include <X11/Xlib.h>
7679 #include <$ac_header>
7680 _ACEOF
7681 rm -f conftest.$ac_objext
7682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7683 (eval $ac_compile) 2>&5
7684 ac_status=$?
7685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7686 (exit $ac_status); } &&
7687 { ac_try='test -s conftest.$ac_objext'
7688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7689 (eval $ac_try) 2>&5
7690 ac_status=$?
7691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7692 (exit $ac_status); }; }; then
7693 eval "$as_ac_Header=yes"
7694 else
7695 echo "$as_me: failed program was:" >&5
7696 sed 's/^/| /' conftest.$ac_ext >&5
7698 eval "$as_ac_Header=no"
7700 rm -f conftest.$ac_objext conftest.$ac_ext
7702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7703 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7704 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7705 cat >>confdefs.h <<_ACEOF
7706 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7707 _ACEOF
7711 done
7717 done
7719 if test "x$with_opengl" != "xno"
7720 then
7721 if test -f /usr/X11R6/lib/libGL.a -a ! -f /usr/X11R6/lib/libGL.so
7722 then
7723 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
7724 This prevents linking to OpenGL. Delete the file and restart configure." >&5
7725 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
7726 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
7727 { (exit 1); exit 1; }; }
7732 for ac_header in GL/gl.h GL/glx.h
7734 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7735 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7736 echo "$as_me:$LINENO: checking for $ac_header" >&5
7737 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7738 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7739 echo $ECHO_N "(cached) $ECHO_C" >&6
7741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7742 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7743 else
7744 # Is the header compilable?
7745 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7746 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7747 cat >conftest.$ac_ext <<_ACEOF
7748 #line $LINENO "configure"
7749 /* confdefs.h. */
7750 _ACEOF
7751 cat confdefs.h >>conftest.$ac_ext
7752 cat >>conftest.$ac_ext <<_ACEOF
7753 /* end confdefs.h. */
7754 $ac_includes_default
7755 #include <$ac_header>
7756 _ACEOF
7757 rm -f conftest.$ac_objext
7758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7759 (eval $ac_compile) 2>&5
7760 ac_status=$?
7761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7762 (exit $ac_status); } &&
7763 { ac_try='test -s conftest.$ac_objext'
7764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7765 (eval $ac_try) 2>&5
7766 ac_status=$?
7767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7768 (exit $ac_status); }; }; then
7769 ac_header_compiler=yes
7770 else
7771 echo "$as_me: failed program was:" >&5
7772 sed 's/^/| /' conftest.$ac_ext >&5
7774 ac_header_compiler=no
7776 rm -f conftest.$ac_objext conftest.$ac_ext
7777 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7778 echo "${ECHO_T}$ac_header_compiler" >&6
7780 # Is the header present?
7781 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7782 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7783 cat >conftest.$ac_ext <<_ACEOF
7784 #line $LINENO "configure"
7785 /* confdefs.h. */
7786 _ACEOF
7787 cat confdefs.h >>conftest.$ac_ext
7788 cat >>conftest.$ac_ext <<_ACEOF
7789 /* end confdefs.h. */
7790 #include <$ac_header>
7791 _ACEOF
7792 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7793 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7794 ac_status=$?
7795 grep -v '^ *+' conftest.er1 >conftest.err
7796 rm -f conftest.er1
7797 cat conftest.err >&5
7798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7799 (exit $ac_status); } >/dev/null; then
7800 if test -s conftest.err; then
7801 ac_cpp_err=$ac_c_preproc_warn_flag
7802 else
7803 ac_cpp_err=
7805 else
7806 ac_cpp_err=yes
7808 if test -z "$ac_cpp_err"; then
7809 ac_header_preproc=yes
7810 else
7811 echo "$as_me: failed program was:" >&5
7812 sed 's/^/| /' conftest.$ac_ext >&5
7814 ac_header_preproc=no
7816 rm -f conftest.err conftest.$ac_ext
7817 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7818 echo "${ECHO_T}$ac_header_preproc" >&6
7820 # So? What about this header?
7821 case $ac_header_compiler:$ac_header_preproc in
7822 yes:no )
7823 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7824 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7825 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7826 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7828 cat <<\_ASBOX
7829 ## ------------------------------------ ##
7830 ## Report this to bug-autoconf@gnu.org. ##
7831 ## ------------------------------------ ##
7832 _ASBOX
7834 sed "s/^/$as_me: WARNING: /" >&2
7836 no:yes )
7837 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7838 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7839 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7840 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7841 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7842 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7844 cat <<\_ASBOX
7845 ## ------------------------------------ ##
7846 ## Report this to bug-autoconf@gnu.org. ##
7847 ## ------------------------------------ ##
7848 _ASBOX
7850 sed "s/^/$as_me: WARNING: /" >&2
7852 esac
7853 echo "$as_me:$LINENO: checking for $ac_header" >&5
7854 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7855 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7856 echo $ECHO_N "(cached) $ECHO_C" >&6
7857 else
7858 eval "$as_ac_Header=$ac_header_preproc"
7860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7861 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7864 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7865 cat >>confdefs.h <<_ACEOF
7866 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7867 _ACEOF
7871 done
7873 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
7874 then
7876 for ac_header in GL/glext.h
7878 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7879 echo "$as_me:$LINENO: checking for $ac_header" >&5
7880 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7881 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7882 echo $ECHO_N "(cached) $ECHO_C" >&6
7883 else
7884 cat >conftest.$ac_ext <<_ACEOF
7885 #line $LINENO "configure"
7886 /* confdefs.h. */
7887 _ACEOF
7888 cat confdefs.h >>conftest.$ac_ext
7889 cat >>conftest.$ac_ext <<_ACEOF
7890 /* end confdefs.h. */
7891 #include <GL/glx.h>
7893 #include <$ac_header>
7894 _ACEOF
7895 rm -f conftest.$ac_objext
7896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7897 (eval $ac_compile) 2>&5
7898 ac_status=$?
7899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7900 (exit $ac_status); } &&
7901 { ac_try='test -s conftest.$ac_objext'
7902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7903 (eval $ac_try) 2>&5
7904 ac_status=$?
7905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7906 (exit $ac_status); }; }; then
7907 eval "$as_ac_Header=yes"
7908 else
7909 echo "$as_me: failed program was:" >&5
7910 sed 's/^/| /' conftest.$ac_ext >&5
7912 eval "$as_ac_Header=no"
7914 rm -f conftest.$ac_objext conftest.$ac_ext
7916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7917 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7918 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7919 cat >>confdefs.h <<_ACEOF
7920 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7921 _ACEOF
7925 done
7927 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
7928 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
7929 if test "${wine_cv_opengl_version_OK+set}" = set; then
7930 echo $ECHO_N "(cached) $ECHO_C" >&6
7931 else
7932 cat >conftest.$ac_ext <<_ACEOF
7933 #line $LINENO "configure"
7934 /* confdefs.h. */
7935 _ACEOF
7936 cat confdefs.h >>conftest.$ac_ext
7937 cat >>conftest.$ac_ext <<_ACEOF
7938 /* end confdefs.h. */
7939 #include <GL/gl.h>
7941 main ()
7943 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
7945 return 0;
7947 _ACEOF
7948 rm -f conftest.$ac_objext
7949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7950 (eval $ac_compile) 2>&5
7951 ac_status=$?
7952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7953 (exit $ac_status); } &&
7954 { ac_try='test -s conftest.$ac_objext'
7955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7956 (eval $ac_try) 2>&5
7957 ac_status=$?
7958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7959 (exit $ac_status); }; }; then
7960 wine_cv_opengl_version_OK="yes"
7961 else
7962 echo "$as_me: failed program was:" >&5
7963 sed 's/^/| /' conftest.$ac_ext >&5
7965 wine_cv_opengl_version_OK="no"
7968 rm -f conftest.$ac_objext conftest.$ac_ext
7971 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
7972 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
7974 if test "$wine_cv_opengl_version_OK" = "yes"
7975 then
7976 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
7977 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
7978 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
7979 echo $ECHO_N "(cached) $ECHO_C" >&6
7980 else
7981 ac_check_lib_save_LIBS=$LIBS
7982 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
7983 cat >conftest.$ac_ext <<_ACEOF
7984 #line $LINENO "configure"
7985 /* confdefs.h. */
7986 _ACEOF
7987 cat confdefs.h >>conftest.$ac_ext
7988 cat >>conftest.$ac_ext <<_ACEOF
7989 /* end confdefs.h. */
7991 /* Override any gcc2 internal prototype to avoid an error. */
7992 #ifdef __cplusplus
7993 extern "C"
7994 #endif
7995 /* We use char because int might match the return type of a gcc2
7996 builtin and then its argument prototype would still apply. */
7997 char glXCreateContext ();
7999 main ()
8001 glXCreateContext ();
8003 return 0;
8005 _ACEOF
8006 rm -f conftest.$ac_objext conftest$ac_exeext
8007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8008 (eval $ac_link) 2>&5
8009 ac_status=$?
8010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8011 (exit $ac_status); } &&
8012 { ac_try='test -s conftest$ac_exeext'
8013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8014 (eval $ac_try) 2>&5
8015 ac_status=$?
8016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8017 (exit $ac_status); }; }; then
8018 ac_cv_lib_GL_glXCreateContext=yes
8019 else
8020 echo "$as_me: failed program was:" >&5
8021 sed 's/^/| /' conftest.$ac_ext >&5
8023 ac_cv_lib_GL_glXCreateContext=no
8025 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8026 LIBS=$ac_check_lib_save_LIBS
8028 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8029 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
8030 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8031 OPENGL_LIBS="-lGL"
8036 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
8037 then
8038 OPENGLFILES='$(OPENGLFILES)'
8040 cat >>confdefs.h <<\_ACEOF
8041 #define HAVE_OPENGL 1
8042 _ACEOF
8045 echo "$as_me:$LINENO: checking for glXGetProcAddressARB in -lGL" >&5
8046 echo $ECHO_N "checking for glXGetProcAddressARB in -lGL... $ECHO_C" >&6
8047 if test "${ac_cv_lib_GL_glXGetProcAddressARB+set}" = set; then
8048 echo $ECHO_N "(cached) $ECHO_C" >&6
8049 else
8050 ac_check_lib_save_LIBS=$LIBS
8051 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8052 cat >conftest.$ac_ext <<_ACEOF
8053 #line $LINENO "configure"
8054 /* confdefs.h. */
8055 _ACEOF
8056 cat confdefs.h >>conftest.$ac_ext
8057 cat >>conftest.$ac_ext <<_ACEOF
8058 /* end confdefs.h. */
8060 /* Override any gcc2 internal prototype to avoid an error. */
8061 #ifdef __cplusplus
8062 extern "C"
8063 #endif
8064 /* We use char because int might match the return type of a gcc2
8065 builtin and then its argument prototype would still apply. */
8066 char glXGetProcAddressARB ();
8068 main ()
8070 glXGetProcAddressARB ();
8072 return 0;
8074 _ACEOF
8075 rm -f conftest.$ac_objext conftest$ac_exeext
8076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8077 (eval $ac_link) 2>&5
8078 ac_status=$?
8079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8080 (exit $ac_status); } &&
8081 { ac_try='test -s conftest$ac_exeext'
8082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8083 (eval $ac_try) 2>&5
8084 ac_status=$?
8085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8086 (exit $ac_status); }; }; then
8087 ac_cv_lib_GL_glXGetProcAddressARB=yes
8088 else
8089 echo "$as_me: failed program was:" >&5
8090 sed 's/^/| /' conftest.$ac_ext >&5
8092 ac_cv_lib_GL_glXGetProcAddressARB=no
8094 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8095 LIBS=$ac_check_lib_save_LIBS
8097 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXGetProcAddressARB" >&5
8098 echo "${ECHO_T}$ac_cv_lib_GL_glXGetProcAddressARB" >&6
8099 if test $ac_cv_lib_GL_glXGetProcAddressARB = yes; then
8101 cat >>confdefs.h <<\_ACEOF
8102 #define HAVE_GLX_GETPROCADDRESS 1
8103 _ACEOF
8108 if test "$ac_cv_lib_GL_glXGetProcAddressARB" = "yes"
8109 then
8110 echo "$as_me:$LINENO: checking for OpenGL extension functions prototypes" >&5
8111 echo $ECHO_N "checking for OpenGL extension functions prototypes... $ECHO_C" >&6
8112 if test "${wine_cv_extension_prototypes+set}" = set; then
8113 echo $ECHO_N "(cached) $ECHO_C" >&6
8114 else
8115 cat >conftest.$ac_ext <<_ACEOF
8116 #line $LINENO "configure"
8117 /* confdefs.h. */
8118 _ACEOF
8119 cat confdefs.h >>conftest.$ac_ext
8120 cat >>conftest.$ac_ext <<_ACEOF
8121 /* end confdefs.h. */
8122 #include <GL/gl.h>
8123 #ifdef HAVE_GL_GLEXT_H
8124 # include <GL/glext.h>
8125 #endif
8128 main ()
8130 PFNGLCOLORTABLEEXTPROC test_proc;
8132 return 0;
8134 _ACEOF
8135 rm -f conftest.$ac_objext
8136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8137 (eval $ac_compile) 2>&5
8138 ac_status=$?
8139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8140 (exit $ac_status); } &&
8141 { ac_try='test -s conftest.$ac_objext'
8142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8143 (eval $ac_try) 2>&5
8144 ac_status=$?
8145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8146 (exit $ac_status); }; }; then
8147 wine_cv_extension_prototypes="yes"
8148 else
8149 echo "$as_me: failed program was:" >&5
8150 sed 's/^/| /' conftest.$ac_ext >&5
8152 wine_cv_extension_prototypes="no"
8155 rm -f conftest.$ac_objext conftest.$ac_ext
8158 echo "$as_me:$LINENO: result: $wine_cv_extension_prototypes" >&5
8159 echo "${ECHO_T}$wine_cv_extension_prototypes" >&6
8160 if test "$wine_cv_extension_prototypes" = "yes"
8161 then
8163 cat >>confdefs.h <<\_ACEOF
8164 #define HAVE_GLEXT_PROTOTYPES 1
8165 _ACEOF
8171 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8172 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
8173 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8174 echo $ECHO_N "(cached) $ECHO_C" >&6
8175 else
8176 ac_check_lib_save_LIBS=$LIBS
8177 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8178 $LIBS"
8179 cat >conftest.$ac_ext <<_ACEOF
8180 #line $LINENO "configure"
8181 /* confdefs.h. */
8182 _ACEOF
8183 cat confdefs.h >>conftest.$ac_ext
8184 cat >>conftest.$ac_ext <<_ACEOF
8185 /* end confdefs.h. */
8187 /* Override any gcc2 internal prototype to avoid an error. */
8188 #ifdef __cplusplus
8189 extern "C"
8190 #endif
8191 /* We use char because int might match the return type of a gcc2
8192 builtin and then its argument prototype would still apply. */
8193 char gluLookAt ();
8195 main ()
8197 gluLookAt ();
8199 return 0;
8201 _ACEOF
8202 rm -f conftest.$ac_objext conftest$ac_exeext
8203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8204 (eval $ac_link) 2>&5
8205 ac_status=$?
8206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8207 (exit $ac_status); } &&
8208 { ac_try='test -s conftest$ac_exeext'
8209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8210 (eval $ac_try) 2>&5
8211 ac_status=$?
8212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8213 (exit $ac_status); }; }; then
8214 ac_cv_lib_GLU_gluLookAt=yes
8215 else
8216 echo "$as_me: failed program was:" >&5
8217 sed 's/^/| /' conftest.$ac_ext >&5
8219 ac_cv_lib_GLU_gluLookAt=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_GLU_gluLookAt" >&5
8225 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
8226 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8227 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
8228 GLU32FILES='$(GLU32FILES)'
8236 NASLIBS=""
8239 for ac_header in audio/audiolib.h
8241 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8242 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8243 echo "$as_me:$LINENO: checking for $ac_header" >&5
8244 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8245 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8246 echo $ECHO_N "(cached) $ECHO_C" >&6
8248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8249 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8250 else
8251 # Is the header compilable?
8252 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8253 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8254 cat >conftest.$ac_ext <<_ACEOF
8255 #line $LINENO "configure"
8256 /* confdefs.h. */
8257 _ACEOF
8258 cat confdefs.h >>conftest.$ac_ext
8259 cat >>conftest.$ac_ext <<_ACEOF
8260 /* end confdefs.h. */
8261 $ac_includes_default
8262 #include <$ac_header>
8263 _ACEOF
8264 rm -f conftest.$ac_objext
8265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8266 (eval $ac_compile) 2>&5
8267 ac_status=$?
8268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8269 (exit $ac_status); } &&
8270 { ac_try='test -s conftest.$ac_objext'
8271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8272 (eval $ac_try) 2>&5
8273 ac_status=$?
8274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8275 (exit $ac_status); }; }; then
8276 ac_header_compiler=yes
8277 else
8278 echo "$as_me: failed program was:" >&5
8279 sed 's/^/| /' conftest.$ac_ext >&5
8281 ac_header_compiler=no
8283 rm -f conftest.$ac_objext conftest.$ac_ext
8284 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8285 echo "${ECHO_T}$ac_header_compiler" >&6
8287 # Is the header present?
8288 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8289 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8290 cat >conftest.$ac_ext <<_ACEOF
8291 #line $LINENO "configure"
8292 /* confdefs.h. */
8293 _ACEOF
8294 cat confdefs.h >>conftest.$ac_ext
8295 cat >>conftest.$ac_ext <<_ACEOF
8296 /* end confdefs.h. */
8297 #include <$ac_header>
8298 _ACEOF
8299 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8300 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8301 ac_status=$?
8302 grep -v '^ *+' conftest.er1 >conftest.err
8303 rm -f conftest.er1
8304 cat conftest.err >&5
8305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8306 (exit $ac_status); } >/dev/null; then
8307 if test -s conftest.err; then
8308 ac_cpp_err=$ac_c_preproc_warn_flag
8309 else
8310 ac_cpp_err=
8312 else
8313 ac_cpp_err=yes
8315 if test -z "$ac_cpp_err"; then
8316 ac_header_preproc=yes
8317 else
8318 echo "$as_me: failed program was:" >&5
8319 sed 's/^/| /' conftest.$ac_ext >&5
8321 ac_header_preproc=no
8323 rm -f conftest.err conftest.$ac_ext
8324 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8325 echo "${ECHO_T}$ac_header_preproc" >&6
8327 # So? What about this header?
8328 case $ac_header_compiler:$ac_header_preproc in
8329 yes:no )
8330 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8331 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8332 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8333 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8335 cat <<\_ASBOX
8336 ## ------------------------------------ ##
8337 ## Report this to bug-autoconf@gnu.org. ##
8338 ## ------------------------------------ ##
8339 _ASBOX
8341 sed "s/^/$as_me: WARNING: /" >&2
8343 no:yes )
8344 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8345 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8346 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8347 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8348 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8349 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8351 cat <<\_ASBOX
8352 ## ------------------------------------ ##
8353 ## Report this to bug-autoconf@gnu.org. ##
8354 ## ------------------------------------ ##
8355 _ASBOX
8357 sed "s/^/$as_me: WARNING: /" >&2
8359 esac
8360 echo "$as_me:$LINENO: checking for $ac_header" >&5
8361 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8362 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8363 echo $ECHO_N "(cached) $ECHO_C" >&6
8364 else
8365 eval "$as_ac_Header=$ac_header_preproc"
8367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8368 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8371 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8372 cat >>confdefs.h <<_ACEOF
8373 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8374 _ACEOF
8376 for ac_header in audio/soundlib.h
8378 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8379 echo "$as_me:$LINENO: checking for $ac_header" >&5
8380 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8381 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8382 echo $ECHO_N "(cached) $ECHO_C" >&6
8383 else
8384 cat >conftest.$ac_ext <<_ACEOF
8385 #line $LINENO "configure"
8386 /* confdefs.h. */
8387 _ACEOF
8388 cat confdefs.h >>conftest.$ac_ext
8389 cat >>conftest.$ac_ext <<_ACEOF
8390 /* end confdefs.h. */
8391 #include <audio/audiolib.h>
8393 #include <$ac_header>
8394 _ACEOF
8395 rm -f conftest.$ac_objext
8396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8397 (eval $ac_compile) 2>&5
8398 ac_status=$?
8399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8400 (exit $ac_status); } &&
8401 { ac_try='test -s conftest.$ac_objext'
8402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8403 (eval $ac_try) 2>&5
8404 ac_status=$?
8405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8406 (exit $ac_status); }; }; then
8407 eval "$as_ac_Header=yes"
8408 else
8409 echo "$as_me: failed program was:" >&5
8410 sed 's/^/| /' conftest.$ac_ext >&5
8412 eval "$as_ac_Header=no"
8414 rm -f conftest.$ac_objext conftest.$ac_ext
8416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8417 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8418 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8419 cat >>confdefs.h <<_ACEOF
8420 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8421 _ACEOF
8425 done
8427 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8428 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
8429 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8430 echo $ECHO_N "(cached) $ECHO_C" >&6
8431 else
8432 ac_check_lib_save_LIBS=$LIBS
8433 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8434 cat >conftest.$ac_ext <<_ACEOF
8435 #line $LINENO "configure"
8436 /* confdefs.h. */
8437 _ACEOF
8438 cat confdefs.h >>conftest.$ac_ext
8439 cat >>conftest.$ac_ext <<_ACEOF
8440 /* end confdefs.h. */
8442 /* Override any gcc2 internal prototype to avoid an error. */
8443 #ifdef __cplusplus
8444 extern "C"
8445 #endif
8446 /* We use char because int might match the return type of a gcc2
8447 builtin and then its argument prototype would still apply. */
8448 char AuCreateFlow ();
8450 main ()
8452 AuCreateFlow ();
8454 return 0;
8456 _ACEOF
8457 rm -f conftest.$ac_objext conftest$ac_exeext
8458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8459 (eval $ac_link) 2>&5
8460 ac_status=$?
8461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8462 (exit $ac_status); } &&
8463 { ac_try='test -s conftest$ac_exeext'
8464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8465 (eval $ac_try) 2>&5
8466 ac_status=$?
8467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8468 (exit $ac_status); }; }; then
8469 ac_cv_lib_audio_AuCreateFlow=yes
8470 else
8471 echo "$as_me: failed program was:" >&5
8472 sed 's/^/| /' conftest.$ac_ext >&5
8474 ac_cv_lib_audio_AuCreateFlow=no
8476 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8477 LIBS=$ac_check_lib_save_LIBS
8479 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8480 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
8481 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8483 cat >>confdefs.h <<\_ACEOF
8484 #define HAVE_NAS 1
8485 _ACEOF
8487 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8492 done
8495 CPPFLAGS="$ac_save_CPPFLAGS"
8496 XFILES='$(XFILES)'
8497 else
8498 XLIB=""
8499 X_CFLAGS=""
8500 X_LIBS=""
8503 CURSESLIBS=""
8504 if test "x$with_curses" != "xno"
8505 then
8507 for ac_header in ncurses.h
8509 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8510 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8511 echo "$as_me:$LINENO: checking for $ac_header" >&5
8512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8514 echo $ECHO_N "(cached) $ECHO_C" >&6
8516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8517 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8518 else
8519 # Is the header compilable?
8520 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8521 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8522 cat >conftest.$ac_ext <<_ACEOF
8523 #line $LINENO "configure"
8524 /* confdefs.h. */
8525 _ACEOF
8526 cat confdefs.h >>conftest.$ac_ext
8527 cat >>conftest.$ac_ext <<_ACEOF
8528 /* end confdefs.h. */
8529 $ac_includes_default
8530 #include <$ac_header>
8531 _ACEOF
8532 rm -f conftest.$ac_objext
8533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8534 (eval $ac_compile) 2>&5
8535 ac_status=$?
8536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8537 (exit $ac_status); } &&
8538 { ac_try='test -s conftest.$ac_objext'
8539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8540 (eval $ac_try) 2>&5
8541 ac_status=$?
8542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8543 (exit $ac_status); }; }; then
8544 ac_header_compiler=yes
8545 else
8546 echo "$as_me: failed program was:" >&5
8547 sed 's/^/| /' conftest.$ac_ext >&5
8549 ac_header_compiler=no
8551 rm -f conftest.$ac_objext conftest.$ac_ext
8552 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8553 echo "${ECHO_T}$ac_header_compiler" >&6
8555 # Is the header present?
8556 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8557 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8558 cat >conftest.$ac_ext <<_ACEOF
8559 #line $LINENO "configure"
8560 /* confdefs.h. */
8561 _ACEOF
8562 cat confdefs.h >>conftest.$ac_ext
8563 cat >>conftest.$ac_ext <<_ACEOF
8564 /* end confdefs.h. */
8565 #include <$ac_header>
8566 _ACEOF
8567 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8568 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8569 ac_status=$?
8570 grep -v '^ *+' conftest.er1 >conftest.err
8571 rm -f conftest.er1
8572 cat conftest.err >&5
8573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8574 (exit $ac_status); } >/dev/null; then
8575 if test -s conftest.err; then
8576 ac_cpp_err=$ac_c_preproc_warn_flag
8577 else
8578 ac_cpp_err=
8580 else
8581 ac_cpp_err=yes
8583 if test -z "$ac_cpp_err"; then
8584 ac_header_preproc=yes
8585 else
8586 echo "$as_me: failed program was:" >&5
8587 sed 's/^/| /' conftest.$ac_ext >&5
8589 ac_header_preproc=no
8591 rm -f conftest.err conftest.$ac_ext
8592 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8593 echo "${ECHO_T}$ac_header_preproc" >&6
8595 # So? What about this header?
8596 case $ac_header_compiler:$ac_header_preproc in
8597 yes:no )
8598 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8599 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8600 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8601 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8603 cat <<\_ASBOX
8604 ## ------------------------------------ ##
8605 ## Report this to bug-autoconf@gnu.org. ##
8606 ## ------------------------------------ ##
8607 _ASBOX
8609 sed "s/^/$as_me: WARNING: /" >&2
8611 no:yes )
8612 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8613 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8614 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8615 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8616 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8617 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8619 cat <<\_ASBOX
8620 ## ------------------------------------ ##
8621 ## Report this to bug-autoconf@gnu.org. ##
8622 ## ------------------------------------ ##
8623 _ASBOX
8625 sed "s/^/$as_me: WARNING: /" >&2
8627 esac
8628 echo "$as_me:$LINENO: checking for $ac_header" >&5
8629 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8630 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8631 echo $ECHO_N "(cached) $ECHO_C" >&6
8632 else
8633 eval "$as_ac_Header=$ac_header_preproc"
8635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8636 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8639 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8640 cat >>confdefs.h <<_ACEOF
8641 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8642 _ACEOF
8643 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
8644 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
8645 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
8646 echo $ECHO_N "(cached) $ECHO_C" >&6
8647 else
8648 ac_check_lib_save_LIBS=$LIBS
8649 LIBS="-lncurses $LIBS"
8650 cat >conftest.$ac_ext <<_ACEOF
8651 #line $LINENO "configure"
8652 /* confdefs.h. */
8653 _ACEOF
8654 cat confdefs.h >>conftest.$ac_ext
8655 cat >>conftest.$ac_ext <<_ACEOF
8656 /* end confdefs.h. */
8658 /* Override any gcc2 internal prototype to avoid an error. */
8659 #ifdef __cplusplus
8660 extern "C"
8661 #endif
8662 /* We use char because int might match the return type of a gcc2
8663 builtin and then its argument prototype would still apply. */
8664 char waddch ();
8666 main ()
8668 waddch ();
8670 return 0;
8672 _ACEOF
8673 rm -f conftest.$ac_objext conftest$ac_exeext
8674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8675 (eval $ac_link) 2>&5
8676 ac_status=$?
8677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8678 (exit $ac_status); } &&
8679 { ac_try='test -s conftest$ac_exeext'
8680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8681 (eval $ac_try) 2>&5
8682 ac_status=$?
8683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8684 (exit $ac_status); }; }; then
8685 ac_cv_lib_ncurses_waddch=yes
8686 else
8687 echo "$as_me: failed program was:" >&5
8688 sed 's/^/| /' conftest.$ac_ext >&5
8690 ac_cv_lib_ncurses_waddch=no
8692 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8693 LIBS=$ac_check_lib_save_LIBS
8695 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
8696 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
8697 if test $ac_cv_lib_ncurses_waddch = yes; then
8699 cat >>confdefs.h <<\_ACEOF
8700 #define HAVE_LIBNCURSES 1
8701 _ACEOF
8703 CURSESLIBS="-lncurses"
8704 else
8706 for ac_header in curses.h
8708 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8709 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8710 echo "$as_me:$LINENO: checking for $ac_header" >&5
8711 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8712 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8713 echo $ECHO_N "(cached) $ECHO_C" >&6
8715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8716 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8717 else
8718 # Is the header compilable?
8719 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8720 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8721 cat >conftest.$ac_ext <<_ACEOF
8722 #line $LINENO "configure"
8723 /* confdefs.h. */
8724 _ACEOF
8725 cat confdefs.h >>conftest.$ac_ext
8726 cat >>conftest.$ac_ext <<_ACEOF
8727 /* end confdefs.h. */
8728 $ac_includes_default
8729 #include <$ac_header>
8730 _ACEOF
8731 rm -f conftest.$ac_objext
8732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8733 (eval $ac_compile) 2>&5
8734 ac_status=$?
8735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8736 (exit $ac_status); } &&
8737 { ac_try='test -s conftest.$ac_objext'
8738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8739 (eval $ac_try) 2>&5
8740 ac_status=$?
8741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8742 (exit $ac_status); }; }; then
8743 ac_header_compiler=yes
8744 else
8745 echo "$as_me: failed program was:" >&5
8746 sed 's/^/| /' conftest.$ac_ext >&5
8748 ac_header_compiler=no
8750 rm -f conftest.$ac_objext conftest.$ac_ext
8751 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8752 echo "${ECHO_T}$ac_header_compiler" >&6
8754 # Is the header present?
8755 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8756 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8757 cat >conftest.$ac_ext <<_ACEOF
8758 #line $LINENO "configure"
8759 /* confdefs.h. */
8760 _ACEOF
8761 cat confdefs.h >>conftest.$ac_ext
8762 cat >>conftest.$ac_ext <<_ACEOF
8763 /* end confdefs.h. */
8764 #include <$ac_header>
8765 _ACEOF
8766 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8767 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8768 ac_status=$?
8769 grep -v '^ *+' conftest.er1 >conftest.err
8770 rm -f conftest.er1
8771 cat conftest.err >&5
8772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8773 (exit $ac_status); } >/dev/null; then
8774 if test -s conftest.err; then
8775 ac_cpp_err=$ac_c_preproc_warn_flag
8776 else
8777 ac_cpp_err=
8779 else
8780 ac_cpp_err=yes
8782 if test -z "$ac_cpp_err"; then
8783 ac_header_preproc=yes
8784 else
8785 echo "$as_me: failed program was:" >&5
8786 sed 's/^/| /' conftest.$ac_ext >&5
8788 ac_header_preproc=no
8790 rm -f conftest.err conftest.$ac_ext
8791 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8792 echo "${ECHO_T}$ac_header_preproc" >&6
8794 # So? What about this header?
8795 case $ac_header_compiler:$ac_header_preproc in
8796 yes:no )
8797 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8798 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8799 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8800 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8802 cat <<\_ASBOX
8803 ## ------------------------------------ ##
8804 ## Report this to bug-autoconf@gnu.org. ##
8805 ## ------------------------------------ ##
8806 _ASBOX
8808 sed "s/^/$as_me: WARNING: /" >&2
8810 no:yes )
8811 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8812 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8813 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8814 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8815 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8816 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8818 cat <<\_ASBOX
8819 ## ------------------------------------ ##
8820 ## Report this to bug-autoconf@gnu.org. ##
8821 ## ------------------------------------ ##
8822 _ASBOX
8824 sed "s/^/$as_me: WARNING: /" >&2
8826 esac
8827 echo "$as_me:$LINENO: checking for $ac_header" >&5
8828 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8829 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8830 echo $ECHO_N "(cached) $ECHO_C" >&6
8831 else
8832 eval "$as_ac_Header=$ac_header_preproc"
8834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8835 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8838 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8839 cat >>confdefs.h <<_ACEOF
8840 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8841 _ACEOF
8842 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
8843 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
8844 if test "${ac_cv_lib_curses_waddch+set}" = set; then
8845 echo $ECHO_N "(cached) $ECHO_C" >&6
8846 else
8847 ac_check_lib_save_LIBS=$LIBS
8848 LIBS="-lcurses $LIBS"
8849 cat >conftest.$ac_ext <<_ACEOF
8850 #line $LINENO "configure"
8851 /* confdefs.h. */
8852 _ACEOF
8853 cat confdefs.h >>conftest.$ac_ext
8854 cat >>conftest.$ac_ext <<_ACEOF
8855 /* end confdefs.h. */
8857 /* Override any gcc2 internal prototype to avoid an error. */
8858 #ifdef __cplusplus
8859 extern "C"
8860 #endif
8861 /* We use char because int might match the return type of a gcc2
8862 builtin and then its argument prototype would still apply. */
8863 char waddch ();
8865 main ()
8867 waddch ();
8869 return 0;
8871 _ACEOF
8872 rm -f conftest.$ac_objext conftest$ac_exeext
8873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8874 (eval $ac_link) 2>&5
8875 ac_status=$?
8876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8877 (exit $ac_status); } &&
8878 { ac_try='test -s conftest$ac_exeext'
8879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8880 (eval $ac_try) 2>&5
8881 ac_status=$?
8882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8883 (exit $ac_status); }; }; then
8884 ac_cv_lib_curses_waddch=yes
8885 else
8886 echo "$as_me: failed program was:" >&5
8887 sed 's/^/| /' conftest.$ac_ext >&5
8889 ac_cv_lib_curses_waddch=no
8891 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8892 LIBS=$ac_check_lib_save_LIBS
8894 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
8895 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
8896 if test $ac_cv_lib_curses_waddch = yes; then
8898 cat >>confdefs.h <<\_ACEOF
8899 #define HAVE_LIBCURSES 1
8900 _ACEOF
8902 CURSESLIBS="-lcurses"
8907 done
8913 done
8915 saved_libs="$LIBS"
8916 LIBS="$CURSESLIBS $LIBS"
8919 for ac_func in getbkgd resizeterm
8921 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8922 echo "$as_me:$LINENO: checking for $ac_func" >&5
8923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8924 if eval "test \"\${$as_ac_var+set}\" = set"; then
8925 echo $ECHO_N "(cached) $ECHO_C" >&6
8926 else
8927 cat >conftest.$ac_ext <<_ACEOF
8928 #line $LINENO "configure"
8929 /* confdefs.h. */
8930 _ACEOF
8931 cat confdefs.h >>conftest.$ac_ext
8932 cat >>conftest.$ac_ext <<_ACEOF
8933 /* end confdefs.h. */
8934 /* System header to define __stub macros and hopefully few prototypes,
8935 which can conflict with char $ac_func (); below.
8936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8937 <limits.h> exists even on freestanding compilers. */
8938 #ifdef __STDC__
8939 # include <limits.h>
8940 #else
8941 # include <assert.h>
8942 #endif
8943 /* Override any gcc2 internal prototype to avoid an error. */
8944 #ifdef __cplusplus
8945 extern "C"
8947 #endif
8948 /* We use char because int might match the return type of a gcc2
8949 builtin and then its argument prototype would still apply. */
8950 char $ac_func ();
8951 /* The GNU C library defines this for functions which it implements
8952 to always fail with ENOSYS. Some functions are actually named
8953 something starting with __ and the normal name is an alias. */
8954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8955 choke me
8956 #else
8957 char (*f) () = $ac_func;
8958 #endif
8959 #ifdef __cplusplus
8961 #endif
8964 main ()
8966 return f != $ac_func;
8968 return 0;
8970 _ACEOF
8971 rm -f conftest.$ac_objext conftest$ac_exeext
8972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8973 (eval $ac_link) 2>&5
8974 ac_status=$?
8975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8976 (exit $ac_status); } &&
8977 { ac_try='test -s conftest$ac_exeext'
8978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8979 (eval $ac_try) 2>&5
8980 ac_status=$?
8981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8982 (exit $ac_status); }; }; then
8983 eval "$as_ac_var=yes"
8984 else
8985 echo "$as_me: failed program was:" >&5
8986 sed 's/^/| /' conftest.$ac_ext >&5
8988 eval "$as_ac_var=no"
8990 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8994 if test `eval echo '${'$as_ac_var'}'` = yes; then
8995 cat >>confdefs.h <<_ACEOF
8996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8997 _ACEOF
9000 done
9002 LIBS="$saved_libs"
9006 # Extract the first word of "sane-config", so it can be a program name with args.
9007 set dummy sane-config; ac_word=$2
9008 echo "$as_me:$LINENO: checking for $ac_word" >&5
9009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9010 if test "${ac_cv_prog_sane_devel+set}" = set; then
9011 echo $ECHO_N "(cached) $ECHO_C" >&6
9012 else
9013 if test -n "$sane_devel"; then
9014 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
9015 else
9016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9017 for as_dir in $PATH
9019 IFS=$as_save_IFS
9020 test -z "$as_dir" && as_dir=.
9021 for ac_exec_ext in '' $ac_executable_extensions; do
9022 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9023 ac_cv_prog_sane_devel="sane-config"
9024 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9025 break 2
9027 done
9028 done
9030 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
9033 sane_devel=$ac_cv_prog_sane_devel
9034 if test -n "$sane_devel"; then
9035 echo "$as_me:$LINENO: result: $sane_devel" >&5
9036 echo "${ECHO_T}$sane_devel" >&6
9037 else
9038 echo "$as_me:$LINENO: result: no" >&5
9039 echo "${ECHO_T}no" >&6
9042 if test "$sane_devel" = "no"
9043 then
9044 SANELIBS=""
9045 SANEINCL=""
9046 else
9047 SANELIBS="`$sane_devel --libs`"
9048 SANEINCL="`$sane_devel --cflags`"
9049 ac_save_CPPFLAGS="$CPPFLAGS"
9050 ac_save_LIBS="$LIBS"
9051 CPPFLAGS="$CPPFLAGS $SANEINCL"
9052 LIBS="$LIBS $SANELIBS"
9053 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9054 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9055 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9056 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9057 echo $ECHO_N "(cached) $ECHO_C" >&6
9059 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9060 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9061 else
9062 # Is the header compilable?
9063 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9064 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
9065 cat >conftest.$ac_ext <<_ACEOF
9066 #line $LINENO "configure"
9067 /* confdefs.h. */
9068 _ACEOF
9069 cat confdefs.h >>conftest.$ac_ext
9070 cat >>conftest.$ac_ext <<_ACEOF
9071 /* end confdefs.h. */
9072 $ac_includes_default
9073 #include <sane/sane.h>
9074 _ACEOF
9075 rm -f conftest.$ac_objext
9076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9077 (eval $ac_compile) 2>&5
9078 ac_status=$?
9079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9080 (exit $ac_status); } &&
9081 { ac_try='test -s conftest.$ac_objext'
9082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9083 (eval $ac_try) 2>&5
9084 ac_status=$?
9085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9086 (exit $ac_status); }; }; then
9087 ac_header_compiler=yes
9088 else
9089 echo "$as_me: failed program was:" >&5
9090 sed 's/^/| /' conftest.$ac_ext >&5
9092 ac_header_compiler=no
9094 rm -f conftest.$ac_objext conftest.$ac_ext
9095 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9096 echo "${ECHO_T}$ac_header_compiler" >&6
9098 # Is the header present?
9099 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9100 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
9101 cat >conftest.$ac_ext <<_ACEOF
9102 #line $LINENO "configure"
9103 /* confdefs.h. */
9104 _ACEOF
9105 cat confdefs.h >>conftest.$ac_ext
9106 cat >>conftest.$ac_ext <<_ACEOF
9107 /* end confdefs.h. */
9108 #include <sane/sane.h>
9109 _ACEOF
9110 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9111 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9112 ac_status=$?
9113 grep -v '^ *+' conftest.er1 >conftest.err
9114 rm -f conftest.er1
9115 cat conftest.err >&5
9116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9117 (exit $ac_status); } >/dev/null; then
9118 if test -s conftest.err; then
9119 ac_cpp_err=$ac_c_preproc_warn_flag
9120 else
9121 ac_cpp_err=
9123 else
9124 ac_cpp_err=yes
9126 if test -z "$ac_cpp_err"; then
9127 ac_header_preproc=yes
9128 else
9129 echo "$as_me: failed program was:" >&5
9130 sed 's/^/| /' conftest.$ac_ext >&5
9132 ac_header_preproc=no
9134 rm -f conftest.err conftest.$ac_ext
9135 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9136 echo "${ECHO_T}$ac_header_preproc" >&6
9138 # So? What about this header?
9139 case $ac_header_compiler:$ac_header_preproc in
9140 yes:no )
9141 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
9142 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9143 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
9144 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
9146 cat <<\_ASBOX
9147 ## ------------------------------------ ##
9148 ## Report this to bug-autoconf@gnu.org. ##
9149 ## ------------------------------------ ##
9150 _ASBOX
9152 sed "s/^/$as_me: WARNING: /" >&2
9154 no:yes )
9155 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
9156 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
9157 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
9158 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
9159 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
9160 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
9162 cat <<\_ASBOX
9163 ## ------------------------------------ ##
9164 ## Report this to bug-autoconf@gnu.org. ##
9165 ## ------------------------------------ ##
9166 _ASBOX
9168 sed "s/^/$as_me: WARNING: /" >&2
9170 esac
9171 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9172 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9173 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9174 echo $ECHO_N "(cached) $ECHO_C" >&6
9175 else
9176 ac_cv_header_sane_sane_h=$ac_header_preproc
9178 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9179 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9182 if test $ac_cv_header_sane_sane_h = yes; then
9183 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
9184 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
9185 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
9186 echo $ECHO_N "(cached) $ECHO_C" >&6
9187 else
9188 ac_check_lib_save_LIBS=$LIBS
9189 LIBS="-lsane $LIBS"
9190 cat >conftest.$ac_ext <<_ACEOF
9191 #line $LINENO "configure"
9192 /* confdefs.h. */
9193 _ACEOF
9194 cat confdefs.h >>conftest.$ac_ext
9195 cat >>conftest.$ac_ext <<_ACEOF
9196 /* end confdefs.h. */
9198 /* Override any gcc2 internal prototype to avoid an error. */
9199 #ifdef __cplusplus
9200 extern "C"
9201 #endif
9202 /* We use char because int might match the return type of a gcc2
9203 builtin and then its argument prototype would still apply. */
9204 char sane_open ();
9206 main ()
9208 sane_open ();
9210 return 0;
9212 _ACEOF
9213 rm -f conftest.$ac_objext conftest$ac_exeext
9214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9215 (eval $ac_link) 2>&5
9216 ac_status=$?
9217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9218 (exit $ac_status); } &&
9219 { ac_try='test -s conftest$ac_exeext'
9220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9221 (eval $ac_try) 2>&5
9222 ac_status=$?
9223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9224 (exit $ac_status); }; }; then
9225 ac_cv_lib_sane_sane_open=yes
9226 else
9227 echo "$as_me: failed program was:" >&5
9228 sed 's/^/| /' conftest.$ac_ext >&5
9230 ac_cv_lib_sane_sane_open=no
9232 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9233 LIBS=$ac_check_lib_save_LIBS
9235 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
9236 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
9237 if test $ac_cv_lib_sane_sane_open = yes; then
9239 cat >>confdefs.h <<\_ACEOF
9240 #define HAVE_SANE 1
9241 _ACEOF
9243 else
9244 SANELIBS=""
9245 SANEINCL=""
9248 else
9249 SANELIBS=""
9250 SANEINCL=""
9254 LIBS="$ac_save_LIBS"
9255 CPPFLAGS="$ac_save_CPPFLAGS"
9260 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
9261 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
9262 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
9263 echo $ECHO_N "(cached) $ECHO_C" >&6
9264 else
9265 ac_check_lib_save_LIBS=$LIBS
9266 LIBS="-lfreetype $X_LIBS $LIBS"
9267 cat >conftest.$ac_ext <<_ACEOF
9268 #line $LINENO "configure"
9269 /* confdefs.h. */
9270 _ACEOF
9271 cat confdefs.h >>conftest.$ac_ext
9272 cat >>conftest.$ac_ext <<_ACEOF
9273 /* end confdefs.h. */
9275 /* Override any gcc2 internal prototype to avoid an error. */
9276 #ifdef __cplusplus
9277 extern "C"
9278 #endif
9279 /* We use char because int might match the return type of a gcc2
9280 builtin and then its argument prototype would still apply. */
9281 char FT_Init_FreeType ();
9283 main ()
9285 FT_Init_FreeType ();
9287 return 0;
9289 _ACEOF
9290 rm -f conftest.$ac_objext conftest$ac_exeext
9291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9292 (eval $ac_link) 2>&5
9293 ac_status=$?
9294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9295 (exit $ac_status); } &&
9296 { ac_try='test -s conftest$ac_exeext'
9297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9298 (eval $ac_try) 2>&5
9299 ac_status=$?
9300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9301 (exit $ac_status); }; }; then
9302 ac_cv_lib_freetype_FT_Init_FreeType=yes
9303 else
9304 echo "$as_me: failed program was:" >&5
9305 sed 's/^/| /' conftest.$ac_ext >&5
9307 ac_cv_lib_freetype_FT_Init_FreeType=no
9309 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9310 LIBS=$ac_check_lib_save_LIBS
9312 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
9313 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
9314 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
9315 ft_lib=yes
9316 else
9317 ft_lib=no
9320 if test "$ft_lib" = "no"
9321 then
9322 FREETYPEINCL=""
9323 wine_cv_msg_freetype=no
9324 else
9325 # Extract the first word of "freetype-config", so it can be a program name with args.
9326 set dummy freetype-config; ac_word=$2
9327 echo "$as_me:$LINENO: checking for $ac_word" >&5
9328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9329 if test "${ac_cv_prog_ft_devel+set}" = set; then
9330 echo $ECHO_N "(cached) $ECHO_C" >&6
9331 else
9332 if test -n "$ft_devel"; then
9333 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
9334 else
9335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9336 for as_dir in $PATH
9338 IFS=$as_save_IFS
9339 test -z "$as_dir" && as_dir=.
9340 for ac_exec_ext in '' $ac_executable_extensions; do
9341 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9342 ac_cv_prog_ft_devel="freetype-config"
9343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9344 break 2
9346 done
9347 done
9349 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
9352 ft_devel=$ac_cv_prog_ft_devel
9353 if test -n "$ft_devel"; then
9354 echo "$as_me:$LINENO: result: $ft_devel" >&5
9355 echo "${ECHO_T}$ft_devel" >&6
9356 else
9357 echo "$as_me:$LINENO: result: no" >&5
9358 echo "${ECHO_T}no" >&6
9361 if test "$ft_devel" = "no"
9362 then
9363 # Extract the first word of "freetype2-config", so it can be a program name with args.
9364 set dummy freetype2-config; ac_word=$2
9365 echo "$as_me:$LINENO: checking for $ac_word" >&5
9366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9367 if test "${ac_cv_prog_ft_devel2+set}" = set; then
9368 echo $ECHO_N "(cached) $ECHO_C" >&6
9369 else
9370 if test -n "$ft_devel2"; then
9371 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
9372 else
9373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9374 for as_dir in $PATH
9376 IFS=$as_save_IFS
9377 test -z "$as_dir" && as_dir=.
9378 for ac_exec_ext in '' $ac_executable_extensions; do
9379 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9380 ac_cv_prog_ft_devel2="freetype2-config"
9381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9382 break 2
9384 done
9385 done
9387 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
9390 ft_devel2=$ac_cv_prog_ft_devel2
9391 if test -n "$ft_devel2"; then
9392 echo "$as_me:$LINENO: result: $ft_devel2" >&5
9393 echo "${ECHO_T}$ft_devel2" >&6
9394 else
9395 echo "$as_me:$LINENO: result: no" >&5
9396 echo "${ECHO_T}no" >&6
9399 if test "$ft_devel2" = "freetype2-config"
9400 then
9401 ft_devel=$ft_devel2
9404 if test "$ft_devel" = "no"
9405 then
9406 FREETYPEINCL=""
9407 wine_cv_msg_freetype=yes
9408 else
9409 FREETYPEINCL=`$ft_devel --cflags`
9410 ac_save_CPPFLAGS="$CPPFLAGS"
9411 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
9420 for ac_header in freetype/freetype.h \
9421 freetype/ftglyph.h \
9422 freetype/tttables.h \
9423 freetype/ftnames.h \
9424 freetype/ftsnames.h \
9425 freetype/ttnameid.h \
9426 freetype/ftoutln.h \
9427 freetype/internal/sfnt.h
9429 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9430 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9431 echo "$as_me:$LINENO: checking for $ac_header" >&5
9432 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9433 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9434 echo $ECHO_N "(cached) $ECHO_C" >&6
9436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9437 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9438 else
9439 # Is the header compilable?
9440 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9441 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9442 cat >conftest.$ac_ext <<_ACEOF
9443 #line $LINENO "configure"
9444 /* confdefs.h. */
9445 _ACEOF
9446 cat confdefs.h >>conftest.$ac_ext
9447 cat >>conftest.$ac_ext <<_ACEOF
9448 /* end confdefs.h. */
9449 $ac_includes_default
9450 #include <$ac_header>
9451 _ACEOF
9452 rm -f conftest.$ac_objext
9453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9454 (eval $ac_compile) 2>&5
9455 ac_status=$?
9456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9457 (exit $ac_status); } &&
9458 { ac_try='test -s conftest.$ac_objext'
9459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9460 (eval $ac_try) 2>&5
9461 ac_status=$?
9462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9463 (exit $ac_status); }; }; then
9464 ac_header_compiler=yes
9465 else
9466 echo "$as_me: failed program was:" >&5
9467 sed 's/^/| /' conftest.$ac_ext >&5
9469 ac_header_compiler=no
9471 rm -f conftest.$ac_objext conftest.$ac_ext
9472 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9473 echo "${ECHO_T}$ac_header_compiler" >&6
9475 # Is the header present?
9476 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9477 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9478 cat >conftest.$ac_ext <<_ACEOF
9479 #line $LINENO "configure"
9480 /* confdefs.h. */
9481 _ACEOF
9482 cat confdefs.h >>conftest.$ac_ext
9483 cat >>conftest.$ac_ext <<_ACEOF
9484 /* end confdefs.h. */
9485 #include <$ac_header>
9486 _ACEOF
9487 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9488 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9489 ac_status=$?
9490 grep -v '^ *+' conftest.er1 >conftest.err
9491 rm -f conftest.er1
9492 cat conftest.err >&5
9493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9494 (exit $ac_status); } >/dev/null; then
9495 if test -s conftest.err; then
9496 ac_cpp_err=$ac_c_preproc_warn_flag
9497 else
9498 ac_cpp_err=
9500 else
9501 ac_cpp_err=yes
9503 if test -z "$ac_cpp_err"; then
9504 ac_header_preproc=yes
9505 else
9506 echo "$as_me: failed program was:" >&5
9507 sed 's/^/| /' conftest.$ac_ext >&5
9509 ac_header_preproc=no
9511 rm -f conftest.err conftest.$ac_ext
9512 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9513 echo "${ECHO_T}$ac_header_preproc" >&6
9515 # So? What about this header?
9516 case $ac_header_compiler:$ac_header_preproc in
9517 yes:no )
9518 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9519 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9520 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9521 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9523 cat <<\_ASBOX
9524 ## ------------------------------------ ##
9525 ## Report this to bug-autoconf@gnu.org. ##
9526 ## ------------------------------------ ##
9527 _ASBOX
9529 sed "s/^/$as_me: WARNING: /" >&2
9531 no:yes )
9532 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9533 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9534 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9535 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9536 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9537 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9539 cat <<\_ASBOX
9540 ## ------------------------------------ ##
9541 ## Report this to bug-autoconf@gnu.org. ##
9542 ## ------------------------------------ ##
9543 _ASBOX
9545 sed "s/^/$as_me: WARNING: /" >&2
9547 esac
9548 echo "$as_me:$LINENO: checking for $ac_header" >&5
9549 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9550 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9551 echo $ECHO_N "(cached) $ECHO_C" >&6
9552 else
9553 eval "$as_ac_Header=$ac_header_preproc"
9555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9556 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9559 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9560 cat >>confdefs.h <<_ACEOF
9561 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9562 _ACEOF
9566 done
9568 cat >conftest.$ac_ext <<_ACEOF
9569 #line $LINENO "configure"
9570 /* confdefs.h. */
9571 _ACEOF
9572 cat confdefs.h >>conftest.$ac_ext
9573 cat >>conftest.$ac_ext <<_ACEOF
9574 /* end confdefs.h. */
9575 #include <ft2build.h>
9576 #include <freetype/fttrigon.h>
9577 _ACEOF
9578 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9579 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9580 ac_status=$?
9581 grep -v '^ *+' conftest.er1 >conftest.err
9582 rm -f conftest.er1
9583 cat conftest.err >&5
9584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9585 (exit $ac_status); } >/dev/null; then
9586 if test -s conftest.err; then
9587 ac_cpp_err=$ac_c_preproc_warn_flag
9588 else
9589 ac_cpp_err=
9591 else
9592 ac_cpp_err=yes
9594 if test -z "$ac_cpp_err"; then
9596 cat >>confdefs.h <<\_ACEOF
9597 #define HAVE_FREETYPE_FTTRIGON_H 1
9598 _ACEOF
9600 wine_cv_fttrigon=yes
9601 else
9602 echo "$as_me: failed program was:" >&5
9603 sed 's/^/| /' conftest.$ac_ext >&5
9605 wine_cv_fttrigon=no
9607 rm -f conftest.err conftest.$ac_ext
9608 CPPFLAGS="$ac_save_CPPFLAGS"
9609 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
9610 then
9612 cat >>confdefs.h <<\_ACEOF
9613 #define HAVE_FREETYPE 1
9614 _ACEOF
9616 wine_cv_msg_freetype=no
9617 else
9618 FREETYPEINCL=""
9619 wine_cv_msg_freetype=yes
9625 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
9626 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
9627 if test "${ac_cv_c_ppdev+set}" = set; then
9628 echo $ECHO_N "(cached) $ECHO_C" >&6
9629 else
9630 cat >conftest.$ac_ext <<_ACEOF
9631 #line $LINENO "configure"
9632 /* confdefs.h. */
9633 _ACEOF
9634 cat confdefs.h >>conftest.$ac_ext
9635 cat >>conftest.$ac_ext <<_ACEOF
9636 /* end confdefs.h. */
9637 #include <linux/ppdev.h>
9639 main ()
9641 ioctl (1,PPCLAIM,0)
9643 return 0;
9645 _ACEOF
9646 rm -f conftest.$ac_objext
9647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9648 (eval $ac_compile) 2>&5
9649 ac_status=$?
9650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9651 (exit $ac_status); } &&
9652 { ac_try='test -s conftest.$ac_objext'
9653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9654 (eval $ac_try) 2>&5
9655 ac_status=$?
9656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9657 (exit $ac_status); }; }; then
9658 ac_cv_c_ppdev="yes"
9659 else
9660 echo "$as_me: failed program was:" >&5
9661 sed 's/^/| /' conftest.$ac_ext >&5
9663 ac_cv_c_ppdev="no"
9665 rm -f conftest.$ac_objext conftest.$ac_ext
9668 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
9669 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
9670 if test "$ac_cv_c_ppdev" = "yes"
9671 then
9673 cat >>confdefs.h <<\_ACEOF
9674 #define HAVE_PPDEV 1
9675 _ACEOF
9679 echo "$as_me:$LINENO: checking for va_copy" >&5
9680 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
9681 if test "${ac_cv_c_va_copy+set}" = set; then
9682 echo $ECHO_N "(cached) $ECHO_C" >&6
9683 else
9684 cat >conftest.$ac_ext <<_ACEOF
9685 #line $LINENO "configure"
9686 /* confdefs.h. */
9687 _ACEOF
9688 cat confdefs.h >>conftest.$ac_ext
9689 cat >>conftest.$ac_ext <<_ACEOF
9690 /* end confdefs.h. */
9691 #include <stdarg.h>
9693 main ()
9695 va_list ap1, ap2;
9696 va_copy(ap1,ap2);
9699 return 0;
9701 _ACEOF
9702 rm -f conftest.$ac_objext conftest$ac_exeext
9703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9704 (eval $ac_link) 2>&5
9705 ac_status=$?
9706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9707 (exit $ac_status); } &&
9708 { ac_try='test -s conftest$ac_exeext'
9709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9710 (eval $ac_try) 2>&5
9711 ac_status=$?
9712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9713 (exit $ac_status); }; }; then
9714 ac_cv_c_va_copy="yes"
9715 else
9716 echo "$as_me: failed program was:" >&5
9717 sed 's/^/| /' conftest.$ac_ext >&5
9719 ac_cv_c_va_copy="no"
9721 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9724 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
9725 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
9726 if test "$ac_cv_c_va_copy" = "yes"
9727 then
9729 cat >>confdefs.h <<\_ACEOF
9730 #define HAVE_VA_COPY 1
9731 _ACEOF
9734 echo "$as_me:$LINENO: checking for __va_copy" >&5
9735 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
9736 if test "${ac_cv_c___va_copy+set}" = set; then
9737 echo $ECHO_N "(cached) $ECHO_C" >&6
9738 else
9739 cat >conftest.$ac_ext <<_ACEOF
9740 #line $LINENO "configure"
9741 /* confdefs.h. */
9742 _ACEOF
9743 cat confdefs.h >>conftest.$ac_ext
9744 cat >>conftest.$ac_ext <<_ACEOF
9745 /* end confdefs.h. */
9746 #include <stdarg.h>
9748 main ()
9750 va_list ap1, ap2;
9751 __va_copy(ap1,ap2);
9754 return 0;
9756 _ACEOF
9757 rm -f conftest.$ac_objext conftest$ac_exeext
9758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9759 (eval $ac_link) 2>&5
9760 ac_status=$?
9761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9762 (exit $ac_status); } &&
9763 { ac_try='test -s conftest$ac_exeext'
9764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9765 (eval $ac_try) 2>&5
9766 ac_status=$?
9767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9768 (exit $ac_status); }; }; then
9769 ac_cv_c___va_copy="yes"
9770 else
9771 echo "$as_me: failed program was:" >&5
9772 sed 's/^/| /' conftest.$ac_ext >&5
9774 ac_cv_c___va_copy="no"
9776 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9779 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
9780 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
9781 if test "$ac_cv_c___va_copy" = "yes"
9782 then
9784 cat >>confdefs.h <<\_ACEOF
9785 #define HAVE___VA_COPY 1
9786 _ACEOF
9793 for ac_header in sys/soundcard.h machine/soundcard.h soundcard.h
9795 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9796 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9797 echo "$as_me:$LINENO: checking for $ac_header" >&5
9798 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9799 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9800 echo $ECHO_N "(cached) $ECHO_C" >&6
9802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9803 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9804 else
9805 # Is the header compilable?
9806 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9807 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9808 cat >conftest.$ac_ext <<_ACEOF
9809 #line $LINENO "configure"
9810 /* confdefs.h. */
9811 _ACEOF
9812 cat confdefs.h >>conftest.$ac_ext
9813 cat >>conftest.$ac_ext <<_ACEOF
9814 /* end confdefs.h. */
9815 $ac_includes_default
9816 #include <$ac_header>
9817 _ACEOF
9818 rm -f conftest.$ac_objext
9819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9820 (eval $ac_compile) 2>&5
9821 ac_status=$?
9822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9823 (exit $ac_status); } &&
9824 { ac_try='test -s conftest.$ac_objext'
9825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9826 (eval $ac_try) 2>&5
9827 ac_status=$?
9828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9829 (exit $ac_status); }; }; then
9830 ac_header_compiler=yes
9831 else
9832 echo "$as_me: failed program was:" >&5
9833 sed 's/^/| /' conftest.$ac_ext >&5
9835 ac_header_compiler=no
9837 rm -f conftest.$ac_objext conftest.$ac_ext
9838 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9839 echo "${ECHO_T}$ac_header_compiler" >&6
9841 # Is the header present?
9842 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9843 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9844 cat >conftest.$ac_ext <<_ACEOF
9845 #line $LINENO "configure"
9846 /* confdefs.h. */
9847 _ACEOF
9848 cat confdefs.h >>conftest.$ac_ext
9849 cat >>conftest.$ac_ext <<_ACEOF
9850 /* end confdefs.h. */
9851 #include <$ac_header>
9852 _ACEOF
9853 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9854 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9855 ac_status=$?
9856 grep -v '^ *+' conftest.er1 >conftest.err
9857 rm -f conftest.er1
9858 cat conftest.err >&5
9859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9860 (exit $ac_status); } >/dev/null; then
9861 if test -s conftest.err; then
9862 ac_cpp_err=$ac_c_preproc_warn_flag
9863 else
9864 ac_cpp_err=
9866 else
9867 ac_cpp_err=yes
9869 if test -z "$ac_cpp_err"; then
9870 ac_header_preproc=yes
9871 else
9872 echo "$as_me: failed program was:" >&5
9873 sed 's/^/| /' conftest.$ac_ext >&5
9875 ac_header_preproc=no
9877 rm -f conftest.err conftest.$ac_ext
9878 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9879 echo "${ECHO_T}$ac_header_preproc" >&6
9881 # So? What about this header?
9882 case $ac_header_compiler:$ac_header_preproc in
9883 yes:no )
9884 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9885 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9886 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9887 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9889 cat <<\_ASBOX
9890 ## ------------------------------------ ##
9891 ## Report this to bug-autoconf@gnu.org. ##
9892 ## ------------------------------------ ##
9893 _ASBOX
9895 sed "s/^/$as_me: WARNING: /" >&2
9897 no:yes )
9898 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9899 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9900 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9901 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9902 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9903 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9905 cat <<\_ASBOX
9906 ## ------------------------------------ ##
9907 ## Report this to bug-autoconf@gnu.org. ##
9908 ## ------------------------------------ ##
9909 _ASBOX
9911 sed "s/^/$as_me: WARNING: /" >&2
9913 esac
9914 echo "$as_me:$LINENO: checking for $ac_header" >&5
9915 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9916 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9917 echo $ECHO_N "(cached) $ECHO_C" >&6
9918 else
9919 eval "$as_ac_Header=$ac_header_preproc"
9921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9922 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9925 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9926 cat >>confdefs.h <<_ACEOF
9927 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9928 _ACEOF
9929 break
9932 done
9935 echo "$as_me:$LINENO: checking for Open Sound System" >&5
9936 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
9937 if test "${ac_cv_c_opensoundsystem+set}" = set; then
9938 echo $ECHO_N "(cached) $ECHO_C" >&6
9939 else
9940 cat >conftest.$ac_ext <<_ACEOF
9941 #line $LINENO "configure"
9942 /* confdefs.h. */
9943 _ACEOF
9944 cat confdefs.h >>conftest.$ac_ext
9945 cat >>conftest.$ac_ext <<_ACEOF
9946 /* end confdefs.h. */
9948 #if defined(HAVE_SYS_SOUNDCARD_H)
9949 #include <sys/soundcard.h>
9950 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
9951 #include <machine/soundcard.h>
9952 #elif defined(HAVE_SOUNDCARD_H)
9953 #include <soundcard.h>
9954 #endif
9957 main ()
9961 /* check for one of the Open Sound System specific SNDCTL_ defines */
9962 #if !defined(SNDCTL_DSP_STEREO)
9963 #error No open sound system
9964 #endif
9967 return 0;
9969 _ACEOF
9970 rm -f conftest.$ac_objext
9971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9972 (eval $ac_compile) 2>&5
9973 ac_status=$?
9974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9975 (exit $ac_status); } &&
9976 { ac_try='test -s conftest.$ac_objext'
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_opensoundsystem="yes"
9983 else
9984 echo "$as_me: failed program was:" >&5
9985 sed 's/^/| /' conftest.$ac_ext >&5
9987 ac_cv_c_opensoundsystem="no"
9989 rm -f conftest.$ac_objext conftest.$ac_ext
9991 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
9992 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
9994 if test "$ac_cv_c_opensoundsystem" = "yes"
9995 then
9997 cat >>confdefs.h <<\_ACEOF
9998 #define HAVE_OSS 1
9999 _ACEOF
10003 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
10004 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
10005 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
10006 echo $ECHO_N "(cached) $ECHO_C" >&6
10007 else
10008 cat >conftest.$ac_ext <<_ACEOF
10009 #line $LINENO "configure"
10010 /* confdefs.h. */
10011 _ACEOF
10012 cat confdefs.h >>conftest.$ac_ext
10013 cat >>conftest.$ac_ext <<_ACEOF
10014 /* end confdefs.h. */
10016 #if defined(HAVE_SYS_SOUNDCARD_H)
10017 #include <sys/soundcard.h>
10018 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
10019 #include <machine/soundcard.h>
10020 #elif defined(HAVE_SOUNDCARD_H)
10021 #include <soundcard.h>
10022 #endif
10025 main ()
10029 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
10030 #if !defined(SNDCTL_SEQ_SYNC)
10031 #error No open sound system MIDI interface
10032 #endif
10035 return 0;
10037 _ACEOF
10038 rm -f conftest.$ac_objext
10039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10040 (eval $ac_compile) 2>&5
10041 ac_status=$?
10042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10043 (exit $ac_status); } &&
10044 { ac_try='test -s conftest.$ac_objext'
10045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10046 (eval $ac_try) 2>&5
10047 ac_status=$?
10048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10049 (exit $ac_status); }; }; then
10050 ac_cv_c_opensoundsystem_midi="yes"
10051 else
10052 echo "$as_me: failed program was:" >&5
10053 sed 's/^/| /' conftest.$ac_ext >&5
10055 ac_cv_c_opensoundsystem_midi="no"
10057 rm -f conftest.$ac_objext conftest.$ac_ext
10059 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
10060 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
10062 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
10063 then
10065 cat >>confdefs.h <<\_ACEOF
10066 #define HAVE_OSS_MIDI 1
10067 _ACEOF
10071 # Extract the first word of "artsc-config", so it can be a program name with args.
10072 set dummy artsc-config; ac_word=$2
10073 echo "$as_me:$LINENO: checking for $ac_word" >&5
10074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10075 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
10076 echo $ECHO_N "(cached) $ECHO_C" >&6
10077 else
10078 case $ARTSCCONFIG in
10079 [\\/]* | ?:[\\/]*)
10080 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
10083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10084 for as_dir in $PATH
10086 IFS=$as_save_IFS
10087 test -z "$as_dir" && as_dir=.
10088 for ac_exec_ext in '' $ac_executable_extensions; do
10089 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10090 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
10091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10092 break 2
10094 done
10095 done
10098 esac
10100 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
10102 if test -n "$ARTSCCONFIG"; then
10103 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
10104 echo "${ECHO_T}$ARTSCCONFIG" >&6
10105 else
10106 echo "$as_me:$LINENO: result: no" >&5
10107 echo "${ECHO_T}no" >&6
10110 echo "$as_me:$LINENO: checking for aRts Sound server" >&5
10111 echo $ECHO_N "checking for aRts Sound server... $ECHO_C" >&6
10112 if test "${ac_cv_c_artsserver+set}" = set; then
10113 echo $ECHO_N "(cached) $ECHO_C" >&6
10114 else
10115 if test x$ARTSCCONFIG = x -o x$ARTSCCONFIG = x'"$ARTSCCONFIG"';
10116 then
10117 ac_cv_c_artsserver=no
10118 else
10119 ARTSC_CFLAGS=`$ARTSCCONFIG --cflags`
10120 ARTSC_LIBS=`$ARTSCCONFIG --libs`
10121 ac_cv_c_artsserver=no
10122 save_CFLAGS="$CFLAGS"
10123 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
10124 cat >conftest.$ac_ext <<_ACEOF
10125 #line $LINENO "configure"
10126 /* confdefs.h. */
10127 _ACEOF
10128 cat confdefs.h >>conftest.$ac_ext
10129 cat >>conftest.$ac_ext <<_ACEOF
10130 /* end confdefs.h. */
10132 #include <artsc.h>
10135 main ()
10138 arts_stream_t stream;
10141 return 0;
10143 _ACEOF
10144 rm -f conftest.$ac_objext
10145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10146 (eval $ac_compile) 2>&5
10147 ac_status=$?
10148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10149 (exit $ac_status); } &&
10150 { ac_try='test -s conftest.$ac_objext'
10151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10152 (eval $ac_try) 2>&5
10153 ac_status=$?
10154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10155 (exit $ac_status); }; }; then
10157 ac_cv_c_artsserver=yes
10159 else
10160 echo "$as_me: failed program was:" >&5
10161 sed 's/^/| /' conftest.$ac_ext >&5
10164 rm -f conftest.$ac_objext conftest.$ac_ext
10165 CFLAGS="$save_CFLAGS"
10168 echo "$as_me:$LINENO: result: $ac_cv_c_artsserver" >&5
10169 echo "${ECHO_T}$ac_cv_c_artsserver" >&6
10171 if test "$ac_cv_c_artsserver" = "yes"
10172 then
10173 ARTSLIBS=$ARTSC_LIBS
10175 ARTSINCL=$ARTSC_CFLAGS
10179 cat >>confdefs.h <<\_ACEOF
10180 #define HAVE_ARTS 1
10181 _ACEOF
10185 ALSALIBS=""
10189 for ac_header in alsa/asoundlib.h sys/asoundlib.h
10191 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10192 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10193 echo "$as_me:$LINENO: checking for $ac_header" >&5
10194 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10195 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10196 echo $ECHO_N "(cached) $ECHO_C" >&6
10198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10199 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10200 else
10201 # Is the header compilable?
10202 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10203 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10204 cat >conftest.$ac_ext <<_ACEOF
10205 #line $LINENO "configure"
10206 /* confdefs.h. */
10207 _ACEOF
10208 cat confdefs.h >>conftest.$ac_ext
10209 cat >>conftest.$ac_ext <<_ACEOF
10210 /* end confdefs.h. */
10211 $ac_includes_default
10212 #include <$ac_header>
10213 _ACEOF
10214 rm -f conftest.$ac_objext
10215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10216 (eval $ac_compile) 2>&5
10217 ac_status=$?
10218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10219 (exit $ac_status); } &&
10220 { ac_try='test -s conftest.$ac_objext'
10221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10222 (eval $ac_try) 2>&5
10223 ac_status=$?
10224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10225 (exit $ac_status); }; }; then
10226 ac_header_compiler=yes
10227 else
10228 echo "$as_me: failed program was:" >&5
10229 sed 's/^/| /' conftest.$ac_ext >&5
10231 ac_header_compiler=no
10233 rm -f conftest.$ac_objext conftest.$ac_ext
10234 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10235 echo "${ECHO_T}$ac_header_compiler" >&6
10237 # Is the header present?
10238 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10239 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10240 cat >conftest.$ac_ext <<_ACEOF
10241 #line $LINENO "configure"
10242 /* confdefs.h. */
10243 _ACEOF
10244 cat confdefs.h >>conftest.$ac_ext
10245 cat >>conftest.$ac_ext <<_ACEOF
10246 /* end confdefs.h. */
10247 #include <$ac_header>
10248 _ACEOF
10249 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10250 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10251 ac_status=$?
10252 grep -v '^ *+' conftest.er1 >conftest.err
10253 rm -f conftest.er1
10254 cat conftest.err >&5
10255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10256 (exit $ac_status); } >/dev/null; then
10257 if test -s conftest.err; then
10258 ac_cpp_err=$ac_c_preproc_warn_flag
10259 else
10260 ac_cpp_err=
10262 else
10263 ac_cpp_err=yes
10265 if test -z "$ac_cpp_err"; then
10266 ac_header_preproc=yes
10267 else
10268 echo "$as_me: failed program was:" >&5
10269 sed 's/^/| /' conftest.$ac_ext >&5
10271 ac_header_preproc=no
10273 rm -f conftest.err conftest.$ac_ext
10274 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10275 echo "${ECHO_T}$ac_header_preproc" >&6
10277 # So? What about this header?
10278 case $ac_header_compiler:$ac_header_preproc in
10279 yes:no )
10280 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10281 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10282 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10283 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10285 cat <<\_ASBOX
10286 ## ------------------------------------ ##
10287 ## Report this to bug-autoconf@gnu.org. ##
10288 ## ------------------------------------ ##
10289 _ASBOX
10291 sed "s/^/$as_me: WARNING: /" >&2
10293 no:yes )
10294 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10295 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10296 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10297 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10298 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10299 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10301 cat <<\_ASBOX
10302 ## ------------------------------------ ##
10303 ## Report this to bug-autoconf@gnu.org. ##
10304 ## ------------------------------------ ##
10305 _ASBOX
10307 sed "s/^/$as_me: WARNING: /" >&2
10309 esac
10310 echo "$as_me:$LINENO: checking for $ac_header" >&5
10311 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10312 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10313 echo $ECHO_N "(cached) $ECHO_C" >&6
10314 else
10315 eval "$as_ac_Header=$ac_header_preproc"
10317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10318 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10321 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10322 cat >>confdefs.h <<_ACEOF
10323 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10324 _ACEOF
10325 break
10328 done
10330 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
10331 then
10332 echo "$as_me:$LINENO: checking for snd_pcm_open in -lasound" >&5
10333 echo $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6
10334 if test "${ac_cv_lib_asound_snd_pcm_open+set}" = set; then
10335 echo $ECHO_N "(cached) $ECHO_C" >&6
10336 else
10337 ac_check_lib_save_LIBS=$LIBS
10338 LIBS="-lasound $LIBS"
10339 cat >conftest.$ac_ext <<_ACEOF
10340 #line $LINENO "configure"
10341 /* confdefs.h. */
10342 _ACEOF
10343 cat confdefs.h >>conftest.$ac_ext
10344 cat >>conftest.$ac_ext <<_ACEOF
10345 /* end confdefs.h. */
10347 /* Override any gcc2 internal prototype to avoid an error. */
10348 #ifdef __cplusplus
10349 extern "C"
10350 #endif
10351 /* We use char because int might match the return type of a gcc2
10352 builtin and then its argument prototype would still apply. */
10353 char snd_pcm_open ();
10355 main ()
10357 snd_pcm_open ();
10359 return 0;
10361 _ACEOF
10362 rm -f conftest.$ac_objext conftest$ac_exeext
10363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10364 (eval $ac_link) 2>&5
10365 ac_status=$?
10366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10367 (exit $ac_status); } &&
10368 { ac_try='test -s conftest$ac_exeext'
10369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10370 (eval $ac_try) 2>&5
10371 ac_status=$?
10372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10373 (exit $ac_status); }; }; then
10374 ac_cv_lib_asound_snd_pcm_open=yes
10375 else
10376 echo "$as_me: failed program was:" >&5
10377 sed 's/^/| /' conftest.$ac_ext >&5
10379 ac_cv_lib_asound_snd_pcm_open=no
10381 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10382 LIBS=$ac_check_lib_save_LIBS
10384 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5
10385 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6
10386 if test $ac_cv_lib_asound_snd_pcm_open = yes; then
10388 cat >>confdefs.h <<\_ACEOF
10389 #define HAVE_ALSA 1
10390 _ACEOF
10392 ALSALIBS="-lasound"
10398 AUDIOIOLIBS=""
10401 for ac_header in libaudioio.h
10403 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10404 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10405 echo "$as_me:$LINENO: checking for $ac_header" >&5
10406 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10407 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10408 echo $ECHO_N "(cached) $ECHO_C" >&6
10410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10411 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10412 else
10413 # Is the header compilable?
10414 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10415 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10416 cat >conftest.$ac_ext <<_ACEOF
10417 #line $LINENO "configure"
10418 /* confdefs.h. */
10419 _ACEOF
10420 cat confdefs.h >>conftest.$ac_ext
10421 cat >>conftest.$ac_ext <<_ACEOF
10422 /* end confdefs.h. */
10423 $ac_includes_default
10424 #include <$ac_header>
10425 _ACEOF
10426 rm -f conftest.$ac_objext
10427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10428 (eval $ac_compile) 2>&5
10429 ac_status=$?
10430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10431 (exit $ac_status); } &&
10432 { ac_try='test -s conftest.$ac_objext'
10433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10434 (eval $ac_try) 2>&5
10435 ac_status=$?
10436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10437 (exit $ac_status); }; }; then
10438 ac_header_compiler=yes
10439 else
10440 echo "$as_me: failed program was:" >&5
10441 sed 's/^/| /' conftest.$ac_ext >&5
10443 ac_header_compiler=no
10445 rm -f conftest.$ac_objext conftest.$ac_ext
10446 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10447 echo "${ECHO_T}$ac_header_compiler" >&6
10449 # Is the header present?
10450 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10451 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10452 cat >conftest.$ac_ext <<_ACEOF
10453 #line $LINENO "configure"
10454 /* confdefs.h. */
10455 _ACEOF
10456 cat confdefs.h >>conftest.$ac_ext
10457 cat >>conftest.$ac_ext <<_ACEOF
10458 /* end confdefs.h. */
10459 #include <$ac_header>
10460 _ACEOF
10461 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10462 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10463 ac_status=$?
10464 grep -v '^ *+' conftest.er1 >conftest.err
10465 rm -f conftest.er1
10466 cat conftest.err >&5
10467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10468 (exit $ac_status); } >/dev/null; then
10469 if test -s conftest.err; then
10470 ac_cpp_err=$ac_c_preproc_warn_flag
10471 else
10472 ac_cpp_err=
10474 else
10475 ac_cpp_err=yes
10477 if test -z "$ac_cpp_err"; then
10478 ac_header_preproc=yes
10479 else
10480 echo "$as_me: failed program was:" >&5
10481 sed 's/^/| /' conftest.$ac_ext >&5
10483 ac_header_preproc=no
10485 rm -f conftest.err conftest.$ac_ext
10486 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10487 echo "${ECHO_T}$ac_header_preproc" >&6
10489 # So? What about this header?
10490 case $ac_header_compiler:$ac_header_preproc in
10491 yes:no )
10492 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10493 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10494 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10495 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10497 cat <<\_ASBOX
10498 ## ------------------------------------ ##
10499 ## Report this to bug-autoconf@gnu.org. ##
10500 ## ------------------------------------ ##
10501 _ASBOX
10503 sed "s/^/$as_me: WARNING: /" >&2
10505 no:yes )
10506 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10507 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10508 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10509 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10510 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10511 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10513 cat <<\_ASBOX
10514 ## ------------------------------------ ##
10515 ## Report this to bug-autoconf@gnu.org. ##
10516 ## ------------------------------------ ##
10517 _ASBOX
10519 sed "s/^/$as_me: WARNING: /" >&2
10521 esac
10522 echo "$as_me:$LINENO: checking for $ac_header" >&5
10523 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10524 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10525 echo $ECHO_N "(cached) $ECHO_C" >&6
10526 else
10527 eval "$as_ac_Header=$ac_header_preproc"
10529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10530 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10533 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10534 cat >>confdefs.h <<_ACEOF
10535 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10536 _ACEOF
10537 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
10538 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
10539 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
10540 echo $ECHO_N "(cached) $ECHO_C" >&6
10541 else
10542 ac_check_lib_save_LIBS=$LIBS
10543 LIBS="-laudioio $LIBS"
10544 cat >conftest.$ac_ext <<_ACEOF
10545 #line $LINENO "configure"
10546 /* confdefs.h. */
10547 _ACEOF
10548 cat confdefs.h >>conftest.$ac_ext
10549 cat >>conftest.$ac_ext <<_ACEOF
10550 /* end confdefs.h. */
10552 /* Override any gcc2 internal prototype to avoid an error. */
10553 #ifdef __cplusplus
10554 extern "C"
10555 #endif
10556 /* We use char because int might match the return type of a gcc2
10557 builtin and then its argument prototype would still apply. */
10558 char AudioIOGetVersion ();
10560 main ()
10562 AudioIOGetVersion ();
10564 return 0;
10566 _ACEOF
10567 rm -f conftest.$ac_objext conftest$ac_exeext
10568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10569 (eval $ac_link) 2>&5
10570 ac_status=$?
10571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10572 (exit $ac_status); } &&
10573 { ac_try='test -s conftest$ac_exeext'
10574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10575 (eval $ac_try) 2>&5
10576 ac_status=$?
10577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10578 (exit $ac_status); }; }; then
10579 ac_cv_lib_audioio_AudioIOGetVersion=yes
10580 else
10581 echo "$as_me: failed program was:" >&5
10582 sed 's/^/| /' conftest.$ac_ext >&5
10584 ac_cv_lib_audioio_AudioIOGetVersion=no
10586 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10587 LIBS=$ac_check_lib_save_LIBS
10589 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
10590 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
10591 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
10592 AUDIOIOLIBS="-laudioio"
10594 cat >>confdefs.h <<\_ACEOF
10595 #define HAVE_LIBAUDIOIO 1
10596 _ACEOF
10602 done
10606 echo "$as_me:$LINENO: checking whether mmap64 works defined as mmap" >&5
10607 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
10608 if test "${ac_cv_mmap64_works+set}" = set; then
10609 echo $ECHO_N "(cached) $ECHO_C" >&6
10610 else
10611 if test "$cross_compiling" = yes; then
10612 ac_cv_mmap64_works="no"
10613 else
10614 cat >conftest.$ac_ext <<_ACEOF
10615 #line $LINENO "configure"
10616 /* confdefs.h. */
10617 _ACEOF
10618 cat confdefs.h >>conftest.$ac_ext
10619 cat >>conftest.$ac_ext <<_ACEOF
10620 /* end confdefs.h. */
10622 #define _FILE_OFFSET_BITS 64
10623 #include <stdio.h>
10624 #include <unistd.h>
10625 #include <fcntl.h>
10626 #include <sys/mman.h>
10627 #include <errno.h>
10629 int main(int argc,char **argv) {
10630 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
10631 if (fd == -1) exit(1);
10633 unlink("conftest.map");
10635 write(fd,"test",4);
10637 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
10638 (errno == EINVAL)
10640 exit(1);
10642 close(fd);
10643 fprintf(stderr,"success!\n");
10644 exit(0);
10648 _ACEOF
10649 rm -f conftest$ac_exeext
10650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10651 (eval $ac_link) 2>&5
10652 ac_status=$?
10653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10654 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10656 (eval $ac_try) 2>&5
10657 ac_status=$?
10658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10659 (exit $ac_status); }; }; then
10660 ac_cv_mmap64_works="yes"
10661 else
10662 echo "$as_me: program exited with status $ac_status" >&5
10663 echo "$as_me: failed program was:" >&5
10664 sed 's/^/| /' conftest.$ac_ext >&5
10666 ( exit $ac_status )
10667 ac_cv_mmap64_works="no"
10669 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10672 echo "$as_me:$LINENO: result: $ac_cv_mmap64_works" >&5
10673 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
10675 if test "$ac_cv_mmap64_works" = "yes"
10676 then
10678 cat >>confdefs.h <<\_ACEOF
10679 #define _FILE_OFFSET_BITS 64
10680 _ACEOF
10685 EXTRACFLAGS=""
10687 if test "x${GCC}" = "xyes"
10688 then
10689 EXTRACFLAGS=-Wall
10691 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
10692 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
10693 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
10694 echo $ECHO_N "(cached) $ECHO_C" >&6
10695 else
10696 if test "$cross_compiling" = yes; then
10697 ac_cv_c_gcc_strength_bug="yes"
10698 else
10699 cat >conftest.$ac_ext <<_ACEOF
10700 #line $LINENO "configure"
10701 /* confdefs.h. */
10702 _ACEOF
10703 cat confdefs.h >>conftest.$ac_ext
10704 cat >>conftest.$ac_ext <<_ACEOF
10705 /* end confdefs.h. */
10707 int L[4] = {0,1,2,3};
10708 int main(void) {
10709 static int Array[3];
10710 unsigned int B = 3;
10711 int i;
10712 for(i=0; i<B; i++) Array[i] = i - 3;
10713 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
10714 L[i] = 4;
10716 exit( Array[1] != -2 || L[2] != 3);
10718 _ACEOF
10719 rm -f conftest$ac_exeext
10720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10721 (eval $ac_link) 2>&5
10722 ac_status=$?
10723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10724 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10726 (eval $ac_try) 2>&5
10727 ac_status=$?
10728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10729 (exit $ac_status); }; }; then
10730 ac_cv_c_gcc_strength_bug="no"
10731 else
10732 echo "$as_me: program exited with status $ac_status" >&5
10733 echo "$as_me: failed program was:" >&5
10734 sed 's/^/| /' conftest.$ac_ext >&5
10736 ( exit $ac_status )
10737 ac_cv_c_gcc_strength_bug="yes"
10739 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10742 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
10743 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
10744 if test "$ac_cv_c_gcc_strength_bug" = "yes"
10745 then
10746 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
10749 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
10750 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
10751 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
10752 echo $ECHO_N "(cached) $ECHO_C" >&6
10753 else
10754 ac_wine_try_cflags_saved=$CFLAGS
10755 CFLAGS="$CFLAGS -mpreferred-stack-boundary=2"
10756 cat >conftest.$ac_ext <<_ACEOF
10757 #line $LINENO "configure"
10758 /* confdefs.h. */
10759 _ACEOF
10760 cat confdefs.h >>conftest.$ac_ext
10761 cat >>conftest.$ac_ext <<_ACEOF
10762 /* end confdefs.h. */
10765 main ()
10769 return 0;
10771 _ACEOF
10772 rm -f conftest.$ac_objext conftest$ac_exeext
10773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10774 (eval $ac_link) 2>&5
10775 ac_status=$?
10776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10777 (exit $ac_status); } &&
10778 { ac_try='test -s conftest$ac_exeext'
10779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10780 (eval $ac_try) 2>&5
10781 ac_status=$?
10782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10783 (exit $ac_status); }; }; then
10784 ac_cv_c_gcc_stack_boundary="yes"
10785 else
10786 echo "$as_me: failed program was:" >&5
10787 sed 's/^/| /' conftest.$ac_ext >&5
10789 ac_cv_c_gcc_stack_boundary="no"
10791 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10792 CFLAGS=$ac_wine_try_cflags_saved
10794 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
10795 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
10796 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
10797 then
10798 EXTRACFLAGS="$EXTRACFLAGS -mpreferred-stack-boundary=2"
10801 echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
10802 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6
10803 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
10804 echo $ECHO_N "(cached) $ECHO_C" >&6
10805 else
10806 ac_wine_try_cflags_saved=$CFLAGS
10807 CFLAGS="$CFLAGS -gstabs+"
10808 cat >conftest.$ac_ext <<_ACEOF
10809 #line $LINENO "configure"
10810 /* confdefs.h. */
10811 _ACEOF
10812 cat confdefs.h >>conftest.$ac_ext
10813 cat >>conftest.$ac_ext <<_ACEOF
10814 /* end confdefs.h. */
10817 main ()
10821 return 0;
10823 _ACEOF
10824 rm -f conftest.$ac_objext conftest$ac_exeext
10825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10826 (eval $ac_link) 2>&5
10827 ac_status=$?
10828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10829 (exit $ac_status); } &&
10830 { ac_try='test -s conftest$ac_exeext'
10831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10832 (eval $ac_try) 2>&5
10833 ac_status=$?
10834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10835 (exit $ac_status); }; }; then
10836 ac_cv_c_gcc_gstabs="yes"
10837 else
10838 echo "$as_me: failed program was:" >&5
10839 sed 's/^/| /' conftest.$ac_ext >&5
10841 ac_cv_c_gcc_gstabs="no"
10843 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10844 CFLAGS=$ac_wine_try_cflags_saved
10846 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
10847 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6
10848 if test "$ac_cv_c_gcc_gstabs" = "yes"
10849 then
10850 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
10853 saved_CFLAGS="$CFLAGS"
10854 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
10855 echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
10856 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6
10857 if test "${ac_cv_c_string_h_warnings+set}" = set; then
10858 echo $ECHO_N "(cached) $ECHO_C" >&6
10859 else
10860 cat >conftest.$ac_ext <<_ACEOF
10861 #line $LINENO "configure"
10862 /* confdefs.h. */
10863 _ACEOF
10864 cat confdefs.h >>conftest.$ac_ext
10865 cat >>conftest.$ac_ext <<_ACEOF
10866 /* end confdefs.h. */
10867 #include <string.h>
10869 main ()
10873 return 0;
10875 _ACEOF
10876 rm -f conftest.$ac_objext
10877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10878 (eval $ac_compile) 2>&5
10879 ac_status=$?
10880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10881 (exit $ac_status); } &&
10882 { ac_try='test -s conftest.$ac_objext'
10883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10884 (eval $ac_try) 2>&5
10885 ac_status=$?
10886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10887 (exit $ac_status); }; }; then
10888 ac_cv_c_string_h_warnings=no
10889 else
10890 echo "$as_me: failed program was:" >&5
10891 sed 's/^/| /' conftest.$ac_ext >&5
10893 ac_cv_c_string_h_warnings=yes
10895 rm -f conftest.$ac_objext conftest.$ac_ext
10897 echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
10898 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6
10899 CFLAGS="$saved_CFLAGS"
10900 if test "$ac_cv_c_string_h_warnings" = "no"
10901 then
10902 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
10907 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
10908 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
10909 if test "${ac_cv_asm_func_def+set}" = set; then
10910 echo $ECHO_N "(cached) $ECHO_C" >&6
10911 else
10912 cat >conftest.$ac_ext <<_ACEOF
10913 #line $LINENO "configure"
10914 /* confdefs.h. */
10915 _ACEOF
10916 cat confdefs.h >>conftest.$ac_ext
10917 cat >>conftest.$ac_ext <<_ACEOF
10918 /* end confdefs.h. */
10919 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"); }
10922 main ()
10926 return 0;
10928 _ACEOF
10929 rm -f conftest.$ac_objext conftest$ac_exeext
10930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10931 (eval $ac_link) 2>&5
10932 ac_status=$?
10933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10934 (exit $ac_status); } &&
10935 { ac_try='test -s conftest$ac_exeext'
10936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10937 (eval $ac_try) 2>&5
10938 ac_status=$?
10939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10940 (exit $ac_status); }; }; then
10941 ac_cv_asm_func_def=".def"
10942 else
10943 echo "$as_me: failed program was:" >&5
10944 sed 's/^/| /' conftest.$ac_ext >&5
10946 cat >conftest.$ac_ext <<_ACEOF
10947 #line $LINENO "configure"
10948 /* confdefs.h. */
10949 _ACEOF
10950 cat confdefs.h >>conftest.$ac_ext
10951 cat >>conftest.$ac_ext <<_ACEOF
10952 /* end confdefs.h. */
10953 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
10956 main ()
10960 return 0;
10962 _ACEOF
10963 rm -f conftest.$ac_objext conftest$ac_exeext
10964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10965 (eval $ac_link) 2>&5
10966 ac_status=$?
10967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10968 (exit $ac_status); } &&
10969 { ac_try='test -s conftest$ac_exeext'
10970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10971 (eval $ac_try) 2>&5
10972 ac_status=$?
10973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10974 (exit $ac_status); }; }; then
10975 ac_cv_asm_func_def=".type @function"
10976 else
10977 echo "$as_me: failed program was:" >&5
10978 sed 's/^/| /' conftest.$ac_ext >&5
10980 cat >conftest.$ac_ext <<_ACEOF
10981 #line $LINENO "configure"
10982 /* confdefs.h. */
10983 _ACEOF
10984 cat confdefs.h >>conftest.$ac_ext
10985 cat >>conftest.$ac_ext <<_ACEOF
10986 /* end confdefs.h. */
10987 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
10990 main ()
10994 return 0;
10996 _ACEOF
10997 rm -f conftest.$ac_objext conftest$ac_exeext
10998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10999 (eval $ac_link) 2>&5
11000 ac_status=$?
11001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11002 (exit $ac_status); } &&
11003 { ac_try='test -s conftest$ac_exeext'
11004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11005 (eval $ac_try) 2>&5
11006 ac_status=$?
11007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11008 (exit $ac_status); }; }; then
11009 ac_cv_asm_func_def=".type 2"
11010 else
11011 echo "$as_me: failed program was:" >&5
11012 sed 's/^/| /' conftest.$ac_ext >&5
11014 ac_cv_asm_func_def="unknown"
11016 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11018 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11020 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11022 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
11023 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
11027 case "$ac_cv_asm_func_def" in
11028 ".def")
11029 cat >>confdefs.h <<\_ACEOF
11030 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
11031 _ACEOF
11033 ".type @function")
11034 cat >>confdefs.h <<\_ACEOF
11035 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
11036 _ACEOF
11038 ".type 2")
11039 cat >>confdefs.h <<\_ACEOF
11040 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
11041 _ACEOF
11044 cat >>confdefs.h <<\_ACEOF
11045 #define __ASM_FUNC(name) ""
11046 _ACEOF
11048 esac
11051 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
11052 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
11053 if test "${ac_cv_c_extern_prefix+set}" = set; then
11054 echo $ECHO_N "(cached) $ECHO_C" >&6
11055 else
11056 cat >conftest.$ac_ext <<_ACEOF
11057 #line $LINENO "configure"
11058 /* confdefs.h. */
11059 _ACEOF
11060 cat confdefs.h >>conftest.$ac_ext
11061 cat >>conftest.$ac_ext <<_ACEOF
11062 /* end confdefs.h. */
11063 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
11064 extern int ac_test;
11066 main ()
11068 if (ac_test) return 1
11070 return 0;
11072 _ACEOF
11073 rm -f conftest.$ac_objext conftest$ac_exeext
11074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11075 (eval $ac_link) 2>&5
11076 ac_status=$?
11077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11078 (exit $ac_status); } &&
11079 { ac_try='test -s conftest$ac_exeext'
11080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11081 (eval $ac_try) 2>&5
11082 ac_status=$?
11083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11084 (exit $ac_status); }; }; then
11085 ac_cv_c_extern_prefix="yes"
11086 else
11087 echo "$as_me: failed program was:" >&5
11088 sed 's/^/| /' conftest.$ac_ext >&5
11090 ac_cv_c_extern_prefix="no"
11092 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11094 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
11095 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
11099 if test "$ac_cv_c_extern_prefix" = "yes"
11100 then
11101 cat >>confdefs.h <<\_ACEOF
11102 #define __ASM_NAME(name) "_" name
11103 _ACEOF
11105 else
11106 cat >>confdefs.h <<\_ACEOF
11107 #define __ASM_NAME(name) name
11108 _ACEOF
11113 echo "$as_me:$LINENO: checking whether assembler accepts .string" >&5
11114 echo $ECHO_N "checking whether assembler accepts .string... $ECHO_C" >&6
11115 if test "${ac_cv_c_asm_string+set}" = set; then
11116 echo $ECHO_N "(cached) $ECHO_C" >&6
11117 else
11118 cat >conftest.$ac_ext <<_ACEOF
11119 #line $LINENO "configure"
11120 /* confdefs.h. */
11121 _ACEOF
11122 cat confdefs.h >>conftest.$ac_ext
11123 cat >>conftest.$ac_ext <<_ACEOF
11124 /* end confdefs.h. */
11125 void ac_asm(void) { asm(".data\n\t.string \"test\"\n\t.text"); }
11128 main ()
11132 return 0;
11134 _ACEOF
11135 rm -f conftest.$ac_objext conftest$ac_exeext
11136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11137 (eval $ac_link) 2>&5
11138 ac_status=$?
11139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11140 (exit $ac_status); } &&
11141 { ac_try='test -s conftest$ac_exeext'
11142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11143 (eval $ac_try) 2>&5
11144 ac_status=$?
11145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11146 (exit $ac_status); }; }; then
11147 ac_cv_c_asm_string="yes"
11148 else
11149 echo "$as_me: failed program was:" >&5
11150 sed 's/^/| /' conftest.$ac_ext >&5
11152 ac_cv_c_asm_string="no"
11154 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11156 echo "$as_me:$LINENO: result: $ac_cv_c_asm_string" >&5
11157 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
11158 if test "$ac_cv_c_asm_string" = "yes"
11159 then
11161 cat >>confdefs.h <<\_ACEOF
11162 #define __ASM_STRING ".string"
11163 _ACEOF
11165 else
11166 echo "$as_me:$LINENO: checking whether assembler accepts .asciz" >&5
11167 echo $ECHO_N "checking whether assembler accepts .asciz... $ECHO_C" >&6
11168 if test "${ac_cv_c_asm_asciz+set}" = set; then
11169 echo $ECHO_N "(cached) $ECHO_C" >&6
11170 else
11171 cat >conftest.$ac_ext <<_ACEOF
11172 #line $LINENO "configure"
11173 /* confdefs.h. */
11174 _ACEOF
11175 cat confdefs.h >>conftest.$ac_ext
11176 cat >>conftest.$ac_ext <<_ACEOF
11177 /* end confdefs.h. */
11178 void ac_asm(void) { asm(".data\n\t.asciz \"test\"\n\t.text"); }
11181 main ()
11185 return 0;
11187 _ACEOF
11188 rm -f conftest.$ac_objext conftest$ac_exeext
11189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11190 (eval $ac_link) 2>&5
11191 ac_status=$?
11192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11193 (exit $ac_status); } &&
11194 { ac_try='test -s conftest$ac_exeext'
11195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11196 (eval $ac_try) 2>&5
11197 ac_status=$?
11198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11199 (exit $ac_status); }; }; then
11200 ac_cv_c_asm_asciz="yes"
11201 else
11202 echo "$as_me: failed program was:" >&5
11203 sed 's/^/| /' conftest.$ac_ext >&5
11205 ac_cv_c_asm_asciz="no"
11207 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11209 echo "$as_me:$LINENO: result: $ac_cv_c_asm_asciz" >&5
11210 echo "${ECHO_T}$ac_cv_c_asm_asciz" >&6
11211 if test "$ac_cv_c_asm_asciz" = "yes"
11212 then
11213 cat >>confdefs.h <<\_ACEOF
11214 #define __ASM_STRING ".asciz"
11215 _ACEOF
11217 else
11218 cat >>confdefs.h <<\_ACEOF
11219 #define __ASM_STRING ".ascii"
11220 _ACEOF
11226 echo "$as_me:$LINENO: checking whether assembler accepts .short" >&5
11227 echo $ECHO_N "checking whether assembler accepts .short... $ECHO_C" >&6
11228 if test "${ac_cv_c_asm_short+set}" = set; then
11229 echo $ECHO_N "(cached) $ECHO_C" >&6
11230 else
11231 cat >conftest.$ac_ext <<_ACEOF
11232 #line $LINENO "configure"
11233 /* confdefs.h. */
11234 _ACEOF
11235 cat confdefs.h >>conftest.$ac_ext
11236 cat >>conftest.$ac_ext <<_ACEOF
11237 /* end confdefs.h. */
11238 void ac_asm(void) { asm(".data\n\t.short 1\n\t.text"); }
11241 main ()
11245 return 0;
11247 _ACEOF
11248 rm -f conftest.$ac_objext conftest$ac_exeext
11249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11250 (eval $ac_link) 2>&5
11251 ac_status=$?
11252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11253 (exit $ac_status); } &&
11254 { ac_try='test -s conftest$ac_exeext'
11255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11256 (eval $ac_try) 2>&5
11257 ac_status=$?
11258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11259 (exit $ac_status); }; }; then
11260 ac_cv_c_asm_short="yes"
11261 else
11262 echo "$as_me: failed program was:" >&5
11263 sed 's/^/| /' conftest.$ac_ext >&5
11265 ac_cv_c_asm_short="no"
11267 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11269 echo "$as_me:$LINENO: result: $ac_cv_c_asm_short" >&5
11270 echo "${ECHO_T}$ac_cv_c_asm_short" >&6
11271 if test "$ac_cv_c_asm_short" = "yes"
11272 then
11274 cat >>confdefs.h <<\_ACEOF
11275 #define __ASM_SHORT ".short"
11276 _ACEOF
11278 else
11279 cat >>confdefs.h <<\_ACEOF
11280 #define __ASM_SHORT ".half"
11281 _ACEOF
11286 DLLEXT=""
11288 DLLFLAGS="-D_REENTRANT"
11290 DLLIBS=""
11292 LDDLLFLAGS=""
11294 LDSHARED=""
11296 LIBEXT="so"
11298 IMPLIBEXT="def"
11301 case $host_os in
11302 cygwin*|mingw32*)
11303 if test -n "$ac_tool_prefix"; then
11304 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
11305 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
11306 echo "$as_me:$LINENO: checking for $ac_word" >&5
11307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11308 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
11309 echo $ECHO_N "(cached) $ECHO_C" >&6
11310 else
11311 if test -n "$DLLTOOL"; then
11312 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
11313 else
11314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11315 for as_dir in $PATH
11317 IFS=$as_save_IFS
11318 test -z "$as_dir" && as_dir=.
11319 for ac_exec_ext in '' $ac_executable_extensions; do
11320 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11321 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
11322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11323 break 2
11325 done
11326 done
11330 DLLTOOL=$ac_cv_prog_DLLTOOL
11331 if test -n "$DLLTOOL"; then
11332 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
11333 echo "${ECHO_T}$DLLTOOL" >&6
11334 else
11335 echo "$as_me:$LINENO: result: no" >&5
11336 echo "${ECHO_T}no" >&6
11340 if test -z "$ac_cv_prog_DLLTOOL"; then
11341 ac_ct_DLLTOOL=$DLLTOOL
11342 # Extract the first word of "dlltool", so it can be a program name with args.
11343 set dummy dlltool; ac_word=$2
11344 echo "$as_me:$LINENO: checking for $ac_word" >&5
11345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11346 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
11347 echo $ECHO_N "(cached) $ECHO_C" >&6
11348 else
11349 if test -n "$ac_ct_DLLTOOL"; then
11350 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
11351 else
11352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11353 for as_dir in $PATH
11355 IFS=$as_save_IFS
11356 test -z "$as_dir" && as_dir=.
11357 for ac_exec_ext in '' $ac_executable_extensions; do
11358 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11359 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
11360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11361 break 2
11363 done
11364 done
11366 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
11369 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
11370 if test -n "$ac_ct_DLLTOOL"; then
11371 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
11372 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
11373 else
11374 echo "$as_me:$LINENO: result: no" >&5
11375 echo "${ECHO_T}no" >&6
11378 DLLTOOL=$ac_ct_DLLTOOL
11379 else
11380 DLLTOOL="$ac_cv_prog_DLLTOOL"
11383 if test -n "$ac_tool_prefix"; then
11384 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
11385 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
11386 echo "$as_me:$LINENO: checking for $ac_word" >&5
11387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11388 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
11389 echo $ECHO_N "(cached) $ECHO_C" >&6
11390 else
11391 if test -n "$DLLWRAP"; then
11392 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
11393 else
11394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11395 for as_dir in $PATH
11397 IFS=$as_save_IFS
11398 test -z "$as_dir" && as_dir=.
11399 for ac_exec_ext in '' $ac_executable_extensions; do
11400 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11401 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
11402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11403 break 2
11405 done
11406 done
11410 DLLWRAP=$ac_cv_prog_DLLWRAP
11411 if test -n "$DLLWRAP"; then
11412 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
11413 echo "${ECHO_T}$DLLWRAP" >&6
11414 else
11415 echo "$as_me:$LINENO: result: no" >&5
11416 echo "${ECHO_T}no" >&6
11420 if test -z "$ac_cv_prog_DLLWRAP"; then
11421 ac_ct_DLLWRAP=$DLLWRAP
11422 # Extract the first word of "dllwrap", so it can be a program name with args.
11423 set dummy dllwrap; ac_word=$2
11424 echo "$as_me:$LINENO: checking for $ac_word" >&5
11425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11426 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
11427 echo $ECHO_N "(cached) $ECHO_C" >&6
11428 else
11429 if test -n "$ac_ct_DLLWRAP"; then
11430 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
11431 else
11432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11433 for as_dir in $PATH
11435 IFS=$as_save_IFS
11436 test -z "$as_dir" && as_dir=.
11437 for ac_exec_ext in '' $ac_executable_extensions; do
11438 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11439 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
11440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11441 break 2
11443 done
11444 done
11446 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP="false"
11449 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
11450 if test -n "$ac_ct_DLLWRAP"; then
11451 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
11452 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
11453 else
11454 echo "$as_me:$LINENO: result: no" >&5
11455 echo "${ECHO_T}no" >&6
11458 DLLWRAP=$ac_ct_DLLWRAP
11459 else
11460 DLLWRAP="$ac_cv_prog_DLLWRAP"
11463 if test "$DLLWRAP" = "false"; then
11464 LIBEXT="a"
11465 else
11466 LIBEXT="dll"
11468 IMPLIBEXT="a"
11472 for ac_header in dlfcn.h
11474 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11475 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11476 echo "$as_me:$LINENO: checking for $ac_header" >&5
11477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11479 echo $ECHO_N "(cached) $ECHO_C" >&6
11481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11482 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11483 else
11484 # Is the header compilable?
11485 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11486 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11487 cat >conftest.$ac_ext <<_ACEOF
11488 #line $LINENO "configure"
11489 /* confdefs.h. */
11490 _ACEOF
11491 cat confdefs.h >>conftest.$ac_ext
11492 cat >>conftest.$ac_ext <<_ACEOF
11493 /* end confdefs.h. */
11494 $ac_includes_default
11495 #include <$ac_header>
11496 _ACEOF
11497 rm -f conftest.$ac_objext
11498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11499 (eval $ac_compile) 2>&5
11500 ac_status=$?
11501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11502 (exit $ac_status); } &&
11503 { ac_try='test -s conftest.$ac_objext'
11504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11505 (eval $ac_try) 2>&5
11506 ac_status=$?
11507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11508 (exit $ac_status); }; }; then
11509 ac_header_compiler=yes
11510 else
11511 echo "$as_me: failed program was:" >&5
11512 sed 's/^/| /' conftest.$ac_ext >&5
11514 ac_header_compiler=no
11516 rm -f conftest.$ac_objext conftest.$ac_ext
11517 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11518 echo "${ECHO_T}$ac_header_compiler" >&6
11520 # Is the header present?
11521 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11522 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11523 cat >conftest.$ac_ext <<_ACEOF
11524 #line $LINENO "configure"
11525 /* confdefs.h. */
11526 _ACEOF
11527 cat confdefs.h >>conftest.$ac_ext
11528 cat >>conftest.$ac_ext <<_ACEOF
11529 /* end confdefs.h. */
11530 #include <$ac_header>
11531 _ACEOF
11532 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11533 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11534 ac_status=$?
11535 grep -v '^ *+' conftest.er1 >conftest.err
11536 rm -f conftest.er1
11537 cat conftest.err >&5
11538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11539 (exit $ac_status); } >/dev/null; then
11540 if test -s conftest.err; then
11541 ac_cpp_err=$ac_c_preproc_warn_flag
11542 else
11543 ac_cpp_err=
11545 else
11546 ac_cpp_err=yes
11548 if test -z "$ac_cpp_err"; then
11549 ac_header_preproc=yes
11550 else
11551 echo "$as_me: failed program was:" >&5
11552 sed 's/^/| /' conftest.$ac_ext >&5
11554 ac_header_preproc=no
11556 rm -f conftest.err conftest.$ac_ext
11557 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11558 echo "${ECHO_T}$ac_header_preproc" >&6
11560 # So? What about this header?
11561 case $ac_header_compiler:$ac_header_preproc in
11562 yes:no )
11563 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11564 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11565 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11566 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11568 cat <<\_ASBOX
11569 ## ------------------------------------ ##
11570 ## Report this to bug-autoconf@gnu.org. ##
11571 ## ------------------------------------ ##
11572 _ASBOX
11574 sed "s/^/$as_me: WARNING: /" >&2
11576 no:yes )
11577 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11578 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11579 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11580 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11581 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11582 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11584 cat <<\_ASBOX
11585 ## ------------------------------------ ##
11586 ## Report this to bug-autoconf@gnu.org. ##
11587 ## ------------------------------------ ##
11588 _ASBOX
11590 sed "s/^/$as_me: WARNING: /" >&2
11592 esac
11593 echo "$as_me:$LINENO: checking for $ac_header" >&5
11594 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11595 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11596 echo $ECHO_N "(cached) $ECHO_C" >&6
11597 else
11598 eval "$as_ac_Header=$ac_header_preproc"
11600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11601 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11604 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11605 cat >>confdefs.h <<_ACEOF
11606 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11607 _ACEOF
11609 for ac_func in dlopen
11611 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11612 echo "$as_me:$LINENO: checking for $ac_func" >&5
11613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11614 if eval "test \"\${$as_ac_var+set}\" = set"; then
11615 echo $ECHO_N "(cached) $ECHO_C" >&6
11616 else
11617 cat >conftest.$ac_ext <<_ACEOF
11618 #line $LINENO "configure"
11619 /* confdefs.h. */
11620 _ACEOF
11621 cat confdefs.h >>conftest.$ac_ext
11622 cat >>conftest.$ac_ext <<_ACEOF
11623 /* end confdefs.h. */
11624 /* System header to define __stub macros and hopefully few prototypes,
11625 which can conflict with char $ac_func (); below.
11626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11627 <limits.h> exists even on freestanding compilers. */
11628 #ifdef __STDC__
11629 # include <limits.h>
11630 #else
11631 # include <assert.h>
11632 #endif
11633 /* Override any gcc2 internal prototype to avoid an error. */
11634 #ifdef __cplusplus
11635 extern "C"
11637 #endif
11638 /* We use char because int might match the return type of a gcc2
11639 builtin and then its argument prototype would still apply. */
11640 char $ac_func ();
11641 /* The GNU C library defines this for functions which it implements
11642 to always fail with ENOSYS. Some functions are actually named
11643 something starting with __ and the normal name is an alias. */
11644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11645 choke me
11646 #else
11647 char (*f) () = $ac_func;
11648 #endif
11649 #ifdef __cplusplus
11651 #endif
11654 main ()
11656 return f != $ac_func;
11658 return 0;
11660 _ACEOF
11661 rm -f conftest.$ac_objext conftest$ac_exeext
11662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11663 (eval $ac_link) 2>&5
11664 ac_status=$?
11665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11666 (exit $ac_status); } &&
11667 { ac_try='test -s conftest$ac_exeext'
11668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11669 (eval $ac_try) 2>&5
11670 ac_status=$?
11671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11672 (exit $ac_status); }; }; then
11673 eval "$as_ac_var=yes"
11674 else
11675 echo "$as_me: failed program was:" >&5
11676 sed 's/^/| /' conftest.$ac_ext >&5
11678 eval "$as_ac_var=no"
11680 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11684 if test `eval echo '${'$as_ac_var'}'` = yes; then
11685 cat >>confdefs.h <<_ACEOF
11686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11687 _ACEOF
11689 else
11690 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11691 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11692 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11693 echo $ECHO_N "(cached) $ECHO_C" >&6
11694 else
11695 ac_check_lib_save_LIBS=$LIBS
11696 LIBS="-ldl $LIBS"
11697 cat >conftest.$ac_ext <<_ACEOF
11698 #line $LINENO "configure"
11699 /* confdefs.h. */
11700 _ACEOF
11701 cat confdefs.h >>conftest.$ac_ext
11702 cat >>conftest.$ac_ext <<_ACEOF
11703 /* end confdefs.h. */
11705 /* Override any gcc2 internal prototype to avoid an error. */
11706 #ifdef __cplusplus
11707 extern "C"
11708 #endif
11709 /* We use char because int might match the return type of a gcc2
11710 builtin and then its argument prototype would still apply. */
11711 char dlopen ();
11713 main ()
11715 dlopen ();
11717 return 0;
11719 _ACEOF
11720 rm -f conftest.$ac_objext conftest$ac_exeext
11721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11722 (eval $ac_link) 2>&5
11723 ac_status=$?
11724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11725 (exit $ac_status); } &&
11726 { ac_try='test -s conftest$ac_exeext'
11727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11728 (eval $ac_try) 2>&5
11729 ac_status=$?
11730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11731 (exit $ac_status); }; }; then
11732 ac_cv_lib_dl_dlopen=yes
11733 else
11734 echo "$as_me: failed program was:" >&5
11735 sed 's/^/| /' conftest.$ac_ext >&5
11737 ac_cv_lib_dl_dlopen=no
11739 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11740 LIBS=$ac_check_lib_save_LIBS
11742 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11743 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11744 if test $ac_cv_lib_dl_dlopen = yes; then
11746 cat >>confdefs.h <<\_ACEOF
11747 #define HAVE_DLOPEN 1
11748 _ACEOF
11750 DLLIBS="-ldl"
11751 else
11752 LIBEXT="a"
11756 done
11758 else
11759 LIBEXT="a"
11762 done
11765 if test "$LIBEXT" = "so"
11766 then
11767 DLLFLAGS="$DLLFLAGS -fPIC"
11768 DLLEXT=".so"
11769 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
11770 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
11771 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
11772 echo $ECHO_N "(cached) $ECHO_C" >&6
11773 else
11774 ac_wine_try_cflags_saved=$CFLAGS
11775 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
11776 cat >conftest.$ac_ext <<_ACEOF
11777 #line $LINENO "configure"
11778 /* confdefs.h. */
11779 _ACEOF
11780 cat confdefs.h >>conftest.$ac_ext
11781 cat >>conftest.$ac_ext <<_ACEOF
11782 /* end confdefs.h. */
11785 main ()
11789 return 0;
11791 _ACEOF
11792 rm -f conftest.$ac_objext conftest$ac_exeext
11793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11794 (eval $ac_link) 2>&5
11795 ac_status=$?
11796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11797 (exit $ac_status); } &&
11798 { ac_try='test -s conftest$ac_exeext'
11799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11800 (eval $ac_try) 2>&5
11801 ac_status=$?
11802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11803 (exit $ac_status); }; }; then
11804 ac_cv_c_dll_gnuelf="yes"
11805 else
11806 echo "$as_me: failed program was:" >&5
11807 sed 's/^/| /' conftest.$ac_ext >&5
11809 ac_cv_c_dll_gnuelf="no"
11811 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11812 CFLAGS=$ac_wine_try_cflags_saved
11814 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
11815 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
11816 if test "$ac_cv_c_dll_gnuelf" = "yes"
11817 then
11818 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
11819 LDDLLFLAGS="-Wl,-Bsymbolic"
11820 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
11821 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
11822 if test "${ac_cv_c_dll_zdefs+set}" = set; then
11823 echo $ECHO_N "(cached) $ECHO_C" >&6
11824 else
11825 ac_wine_try_cflags_saved=$CFLAGS
11826 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
11827 cat >conftest.$ac_ext <<_ACEOF
11828 #line $LINENO "configure"
11829 /* confdefs.h. */
11830 _ACEOF
11831 cat confdefs.h >>conftest.$ac_ext
11832 cat >>conftest.$ac_ext <<_ACEOF
11833 /* end confdefs.h. */
11836 main ()
11840 return 0;
11842 _ACEOF
11843 rm -f conftest.$ac_objext conftest$ac_exeext
11844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11845 (eval $ac_link) 2>&5
11846 ac_status=$?
11847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11848 (exit $ac_status); } &&
11849 { ac_try='test -s conftest$ac_exeext'
11850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11851 (eval $ac_try) 2>&5
11852 ac_status=$?
11853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11854 (exit $ac_status); }; }; then
11855 ac_cv_c_dll_zdefs="yes"
11856 else
11857 echo "$as_me: failed program was:" >&5
11858 sed 's/^/| /' conftest.$ac_ext >&5
11860 ac_cv_c_dll_zdefs="no"
11862 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11863 CFLAGS=$ac_wine_try_cflags_saved
11865 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
11866 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
11867 if test "$ac_cv_c_dll_zdefs" = "yes"
11868 then
11869 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
11871 echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x3c000000" >&5
11872 echo $ECHO_N "checking whether we can relocate the executable to 0x3c000000... $ECHO_C" >&6
11873 if test "${ac_cv_ld_reloc_exec+set}" = set; then
11874 echo $ECHO_N "(cached) $ECHO_C" >&6
11875 else
11876 saved_CFLAGS="$CFLAGS"
11877 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x3c000100"
11878 if test "$cross_compiling" = yes; then
11879 ac_cv_ld_reloc_exec="no"
11880 else
11881 cat >conftest.$ac_ext <<_ACEOF
11882 #line $LINENO "configure"
11883 /* confdefs.h. */
11884 _ACEOF
11885 cat confdefs.h >>conftest.$ac_ext
11886 cat >>conftest.$ac_ext <<_ACEOF
11887 /* end confdefs.h. */
11888 #include <unistd.h>
11889 int main() { return (sbrk(32*1024*1024) == (void *)-1); }
11890 _ACEOF
11891 rm -f conftest$ac_exeext
11892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11893 (eval $ac_link) 2>&5
11894 ac_status=$?
11895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11896 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11898 (eval $ac_try) 2>&5
11899 ac_status=$?
11900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11901 (exit $ac_status); }; }; then
11902 ac_cv_ld_reloc_exec="yes"
11903 else
11904 echo "$as_me: program exited with status $ac_status" >&5
11905 echo "$as_me: failed program was:" >&5
11906 sed 's/^/| /' conftest.$ac_ext >&5
11908 ( exit $ac_status )
11909 ac_cv_ld_reloc_exec="no"
11911 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11913 CFLAGS="$saved_CFLAGS"
11915 echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
11916 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6
11917 if test "$ac_cv_ld_reloc_exec" = "yes"
11918 then
11919 LDEXECFLAGS="-Wl,--section-start,.interp=0x3c000100"
11922 else
11923 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
11924 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
11925 if test "${ac_cv_c_dll_unixware+set}" = set; then
11926 echo $ECHO_N "(cached) $ECHO_C" >&6
11927 else
11928 ac_wine_try_cflags_saved=$CFLAGS
11929 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
11930 cat >conftest.$ac_ext <<_ACEOF
11931 #line $LINENO "configure"
11932 /* confdefs.h. */
11933 _ACEOF
11934 cat confdefs.h >>conftest.$ac_ext
11935 cat >>conftest.$ac_ext <<_ACEOF
11936 /* end confdefs.h. */
11939 main ()
11943 return 0;
11945 _ACEOF
11946 rm -f conftest.$ac_objext conftest$ac_exeext
11947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11948 (eval $ac_link) 2>&5
11949 ac_status=$?
11950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11951 (exit $ac_status); } &&
11952 { ac_try='test -s conftest$ac_exeext'
11953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11954 (eval $ac_try) 2>&5
11955 ac_status=$?
11956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11957 (exit $ac_status); }; }; then
11958 ac_cv_c_dll_unixware="yes"
11959 else
11960 echo "$as_me: failed program was:" >&5
11961 sed 's/^/| /' conftest.$ac_ext >&5
11963 ac_cv_c_dll_unixware="no"
11965 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11966 CFLAGS=$ac_wine_try_cflags_saved
11968 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
11969 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
11970 if test "$ac_cv_c_dll_unixware" = "yes"
11971 then
11972 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
11973 LDDLLFLAGS="-Wl,-B,symbolic"
11978 CROSSTEST=""
11980 if test "$cross_compiling" = "no"
11981 then
11982 for ac_prog in i586-mingw32msvc-gcc i386-mingw32-gcc
11984 # Extract the first word of "$ac_prog", so it can be a program name with args.
11985 set dummy $ac_prog; ac_word=$2
11986 echo "$as_me:$LINENO: checking for $ac_word" >&5
11987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11988 if test "${ac_cv_prog_CROSSCC+set}" = set; then
11989 echo $ECHO_N "(cached) $ECHO_C" >&6
11990 else
11991 if test -n "$CROSSCC"; then
11992 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
11993 else
11994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11995 for as_dir in $PATH
11997 IFS=$as_save_IFS
11998 test -z "$as_dir" && as_dir=.
11999 for ac_exec_ext in '' $ac_executable_extensions; do
12000 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12001 ac_cv_prog_CROSSCC="$ac_prog"
12002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12003 break 2
12005 done
12006 done
12010 CROSSCC=$ac_cv_prog_CROSSCC
12011 if test -n "$CROSSCC"; then
12012 echo "$as_me:$LINENO: result: $CROSSCC" >&5
12013 echo "${ECHO_T}$CROSSCC" >&6
12014 else
12015 echo "$as_me:$LINENO: result: no" >&5
12016 echo "${ECHO_T}no" >&6
12019 test -n "$CROSSCC" && break
12020 done
12021 test -n "$CROSSCC" || CROSSCC="false"
12023 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32-dlltool
12025 # Extract the first word of "$ac_prog", so it can be a program name with args.
12026 set dummy $ac_prog; ac_word=$2
12027 echo "$as_me:$LINENO: checking for $ac_word" >&5
12028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12029 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
12030 echo $ECHO_N "(cached) $ECHO_C" >&6
12031 else
12032 if test -n "$DLLTOOL"; then
12033 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
12034 else
12035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12036 for as_dir in $PATH
12038 IFS=$as_save_IFS
12039 test -z "$as_dir" && as_dir=.
12040 for ac_exec_ext in '' $ac_executable_extensions; do
12041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12042 ac_cv_prog_DLLTOOL="$ac_prog"
12043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12044 break 2
12046 done
12047 done
12051 DLLTOOL=$ac_cv_prog_DLLTOOL
12052 if test -n "$DLLTOOL"; then
12053 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
12054 echo "${ECHO_T}$DLLTOOL" >&6
12055 else
12056 echo "$as_me:$LINENO: result: no" >&5
12057 echo "${ECHO_T}no" >&6
12060 test -n "$DLLTOOL" && break
12061 done
12062 test -n "$DLLTOOL" || DLLTOOL="false"
12064 for ac_prog in i586-mingw32msvc-windres i386-mingw32-windres
12066 # Extract the first word of "$ac_prog", so it can be a program name with args.
12067 set dummy $ac_prog; ac_word=$2
12068 echo "$as_me:$LINENO: checking for $ac_word" >&5
12069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12070 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
12071 echo $ECHO_N "(cached) $ECHO_C" >&6
12072 else
12073 if test -n "$CROSSWINDRES"; then
12074 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
12075 else
12076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12077 for as_dir in $PATH
12079 IFS=$as_save_IFS
12080 test -z "$as_dir" && as_dir=.
12081 for ac_exec_ext in '' $ac_executable_extensions; do
12082 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12083 ac_cv_prog_CROSSWINDRES="$ac_prog"
12084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12085 break 2
12087 done
12088 done
12092 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
12093 if test -n "$CROSSWINDRES"; then
12094 echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
12095 echo "${ECHO_T}$CROSSWINDRES" >&6
12096 else
12097 echo "$as_me:$LINENO: result: no" >&5
12098 echo "${ECHO_T}no" >&6
12101 test -n "$CROSSWINDRES" && break
12102 done
12103 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
12105 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
12108 esac
12110 if test "$LIBEXT" = "a"; then
12111 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
12112 It is currently not possible to build Wine without shared library
12113 (.so) support to allow transparent switch between .so and .dll files.
12114 If you are using Linux, you will need a newer binutils.
12115 " >&5
12116 echo "$as_me: error: could not find a way to build shared libraries.
12117 It is currently not possible to build Wine without shared library
12118 (.so) support to allow transparent switch between .so and .dll files.
12119 If you are using Linux, you will need a newer binutils.
12120 " >&2;}
12121 { (exit 1); exit 1; }; }
12124 case $build_os in
12125 cygwin*|mingw32*)
12126 LDPATH="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
12129 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
12131 esac
12133 CRTLIBS=""
12135 case $host_os in
12136 mingw32*)
12137 CRTLIBS="-lmsvcrt" ;;
12138 esac
12141 if test "$LIBEXT" = "so"
12142 then
12143 # Extract the first word of "ldd", so it can be a program name with args.
12144 set dummy ldd; ac_word=$2
12145 echo "$as_me:$LINENO: checking for $ac_word" >&5
12146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12147 if test "${ac_cv_path_LDD+set}" = set; then
12148 echo $ECHO_N "(cached) $ECHO_C" >&6
12149 else
12150 case $LDD in
12151 [\\/]* | ?:[\\/]*)
12152 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
12155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12156 as_dummy="/sbin:/usr/sbin:$PATH"
12157 for as_dir in $as_dummy
12159 IFS=$as_save_IFS
12160 test -z "$as_dir" && as_dir=.
12161 for ac_exec_ext in '' $ac_executable_extensions; do
12162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12163 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
12164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12165 break 2
12167 done
12168 done
12170 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
12172 esac
12174 LDD=$ac_cv_path_LDD
12176 if test -n "$LDD"; then
12177 echo "$as_me:$LINENO: result: $LDD" >&5
12178 echo "${ECHO_T}$LDD" >&6
12179 else
12180 echo "$as_me:$LINENO: result: no" >&5
12181 echo "${ECHO_T}no" >&6
12185 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
12186 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
12187 if test "${ac_cv_lib_soname_X11+set}" = set; then
12188 echo $ECHO_N "(cached) $ECHO_C" >&6
12189 else
12190 ac_get_soname_save_LIBS=$LIBS
12191 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
12192 cat >conftest.$ac_ext <<_ACEOF
12193 #line $LINENO "configure"
12194 /* confdefs.h. */
12195 _ACEOF
12196 cat confdefs.h >>conftest.$ac_ext
12197 cat >>conftest.$ac_ext <<_ACEOF
12198 /* end confdefs.h. */
12200 /* Override any gcc2 internal prototype to avoid an error. */
12201 #ifdef __cplusplus
12202 extern "C"
12203 #endif
12204 /* We use char because int might match the return type of a gcc2
12205 builtin and then its argument prototype would still apply. */
12206 char XCreateWindow ();
12208 main ()
12210 XCreateWindow ();
12212 return 0;
12214 _ACEOF
12215 rm -f conftest.$ac_objext conftest$ac_exeext
12216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12217 (eval $ac_link) 2>&5
12218 ac_status=$?
12219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12220 (exit $ac_status); } &&
12221 { ac_try='test -s conftest$ac_exeext'
12222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12223 (eval $ac_try) 2>&5
12224 ac_status=$?
12225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12226 (exit $ac_status); }; }; then
12227 ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
12228 if test "x$ac_cv_lib_soname_X11" = "x"
12229 then
12230 ac_cv_lib_soname_X11="libX11.so"
12232 else
12233 echo "$as_me: failed program was:" >&5
12234 sed 's/^/| /' conftest.$ac_ext >&5
12236 ac_cv_lib_soname_X11="libX11.so"
12238 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12239 LIBS=$ac_get_soname_save_LIBS
12241 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
12242 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
12243 if test "x$ac_cv_lib_soname_X11" != xNONE
12244 then
12245 cat >>confdefs.h <<_ACEOF
12246 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
12247 _ACEOF
12250 echo "$as_me:$LINENO: checking for -lXext soname" >&5
12251 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
12252 if test "${ac_cv_lib_soname_Xext+set}" = set; then
12253 echo $ECHO_N "(cached) $ECHO_C" >&6
12254 else
12255 ac_get_soname_save_LIBS=$LIBS
12256 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
12257 cat >conftest.$ac_ext <<_ACEOF
12258 #line $LINENO "configure"
12259 /* confdefs.h. */
12260 _ACEOF
12261 cat confdefs.h >>conftest.$ac_ext
12262 cat >>conftest.$ac_ext <<_ACEOF
12263 /* end confdefs.h. */
12265 /* Override any gcc2 internal prototype to avoid an error. */
12266 #ifdef __cplusplus
12267 extern "C"
12268 #endif
12269 /* We use char because int might match the return type of a gcc2
12270 builtin and then its argument prototype would still apply. */
12271 char XextCreateExtension ();
12273 main ()
12275 XextCreateExtension ();
12277 return 0;
12279 _ACEOF
12280 rm -f conftest.$ac_objext conftest$ac_exeext
12281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12282 (eval $ac_link) 2>&5
12283 ac_status=$?
12284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12285 (exit $ac_status); } &&
12286 { ac_try='test -s conftest$ac_exeext'
12287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12288 (eval $ac_try) 2>&5
12289 ac_status=$?
12290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12291 (exit $ac_status); }; }; then
12292 ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
12293 if test "x$ac_cv_lib_soname_Xext" = "x"
12294 then
12295 ac_cv_lib_soname_Xext="libXext.so"
12297 else
12298 echo "$as_me: failed program was:" >&5
12299 sed 's/^/| /' conftest.$ac_ext >&5
12301 ac_cv_lib_soname_Xext="libXext.so"
12303 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12304 LIBS=$ac_get_soname_save_LIBS
12306 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
12307 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
12308 if test "x$ac_cv_lib_soname_Xext" != xNONE
12309 then
12310 cat >>confdefs.h <<_ACEOF
12311 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
12312 _ACEOF
12315 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
12316 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
12317 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
12318 echo $ECHO_N "(cached) $ECHO_C" >&6
12319 else
12320 ac_get_soname_save_LIBS=$LIBS
12321 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
12322 cat >conftest.$ac_ext <<_ACEOF
12323 #line $LINENO "configure"
12324 /* confdefs.h. */
12325 _ACEOF
12326 cat confdefs.h >>conftest.$ac_ext
12327 cat >>conftest.$ac_ext <<_ACEOF
12328 /* end confdefs.h. */
12330 /* Override any gcc2 internal prototype to avoid an error. */
12331 #ifdef __cplusplus
12332 extern "C"
12333 #endif
12334 /* We use char because int might match the return type of a gcc2
12335 builtin and then its argument prototype would still apply. */
12336 char XRenderQueryExtension ();
12338 main ()
12340 XRenderQueryExtension ();
12342 return 0;
12344 _ACEOF
12345 rm -f conftest.$ac_objext conftest$ac_exeext
12346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12347 (eval $ac_link) 2>&5
12348 ac_status=$?
12349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12350 (exit $ac_status); } &&
12351 { ac_try='test -s conftest$ac_exeext'
12352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12353 (eval $ac_try) 2>&5
12354 ac_status=$?
12355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12356 (exit $ac_status); }; }; then
12357 ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
12358 if test "x$ac_cv_lib_soname_Xrender" = "x"
12359 then
12360 ac_cv_lib_soname_Xrender="libXrender.so"
12362 else
12363 echo "$as_me: failed program was:" >&5
12364 sed 's/^/| /' conftest.$ac_ext >&5
12366 ac_cv_lib_soname_Xrender="libXrender.so"
12368 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12369 LIBS=$ac_get_soname_save_LIBS
12371 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
12372 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
12373 if test "x$ac_cv_lib_soname_Xrender" != xNONE
12374 then
12375 cat >>confdefs.h <<_ACEOF
12376 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12377 _ACEOF
12380 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
12381 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
12382 if test "${ac_cv_lib_soname_freetype+set}" = set; then
12383 echo $ECHO_N "(cached) $ECHO_C" >&6
12384 else
12385 ac_get_soname_save_LIBS=$LIBS
12386 LIBS="-lfreetype $X_LIBS $LIBS"
12387 cat >conftest.$ac_ext <<_ACEOF
12388 #line $LINENO "configure"
12389 /* confdefs.h. */
12390 _ACEOF
12391 cat confdefs.h >>conftest.$ac_ext
12392 cat >>conftest.$ac_ext <<_ACEOF
12393 /* end confdefs.h. */
12395 /* Override any gcc2 internal prototype to avoid an error. */
12396 #ifdef __cplusplus
12397 extern "C"
12398 #endif
12399 /* We use char because int might match the return type of a gcc2
12400 builtin and then its argument prototype would still apply. */
12401 char FT_Init_FreeType ();
12403 main ()
12405 FT_Init_FreeType ();
12407 return 0;
12409 _ACEOF
12410 rm -f conftest.$ac_objext conftest$ac_exeext
12411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12412 (eval $ac_link) 2>&5
12413 ac_status=$?
12414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12415 (exit $ac_status); } &&
12416 { ac_try='test -s conftest$ac_exeext'
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_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
12423 if test "x$ac_cv_lib_soname_freetype" = "x"
12424 then
12425 ac_cv_lib_soname_freetype="libfreetype.so"
12427 else
12428 echo "$as_me: failed program was:" >&5
12429 sed 's/^/| /' conftest.$ac_ext >&5
12431 ac_cv_lib_soname_freetype="libfreetype.so"
12433 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12434 LIBS=$ac_get_soname_save_LIBS
12436 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
12437 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
12438 if test "x$ac_cv_lib_soname_freetype" != xNONE
12439 then
12440 cat >>confdefs.h <<_ACEOF
12441 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12442 _ACEOF
12445 echo "$as_me:$LINENO: checking for -lGL soname" >&5
12446 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
12447 if test "${ac_cv_lib_soname_GL+set}" = set; then
12448 echo $ECHO_N "(cached) $ECHO_C" >&6
12449 else
12450 ac_get_soname_save_LIBS=$LIBS
12451 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
12452 cat >conftest.$ac_ext <<_ACEOF
12453 #line $LINENO "configure"
12454 /* confdefs.h. */
12455 _ACEOF
12456 cat confdefs.h >>conftest.$ac_ext
12457 cat >>conftest.$ac_ext <<_ACEOF
12458 /* end confdefs.h. */
12460 /* Override any gcc2 internal prototype to avoid an error. */
12461 #ifdef __cplusplus
12462 extern "C"
12463 #endif
12464 /* We use char because int might match the return type of a gcc2
12465 builtin and then its argument prototype would still apply. */
12466 char glXQueryExtension ();
12468 main ()
12470 glXQueryExtension ();
12472 return 0;
12474 _ACEOF
12475 rm -f conftest.$ac_objext conftest$ac_exeext
12476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12477 (eval $ac_link) 2>&5
12478 ac_status=$?
12479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12480 (exit $ac_status); } &&
12481 { ac_try='test -s conftest$ac_exeext'
12482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12483 (eval $ac_try) 2>&5
12484 ac_status=$?
12485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12486 (exit $ac_status); }; }; then
12487 ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
12488 if test "x$ac_cv_lib_soname_GL" = "x"
12489 then
12490 ac_cv_lib_soname_GL="libGL.so"
12492 else
12493 echo "$as_me: failed program was:" >&5
12494 sed 's/^/| /' conftest.$ac_ext >&5
12496 ac_cv_lib_soname_GL="libGL.so"
12498 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12499 LIBS=$ac_get_soname_save_LIBS
12501 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
12502 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
12503 if test "x$ac_cv_lib_soname_GL" != xNONE
12504 then
12505 cat >>confdefs.h <<_ACEOF
12506 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12507 _ACEOF
12510 echo "$as_me:$LINENO: checking for -lcups soname" >&5
12511 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
12512 if test "${ac_cv_lib_soname_cups+set}" = set; then
12513 echo $ECHO_N "(cached) $ECHO_C" >&6
12514 else
12515 ac_get_soname_save_LIBS=$LIBS
12516 LIBS="-lcups $LIBS"
12517 cat >conftest.$ac_ext <<_ACEOF
12518 #line $LINENO "configure"
12519 /* confdefs.h. */
12520 _ACEOF
12521 cat confdefs.h >>conftest.$ac_ext
12522 cat >>conftest.$ac_ext <<_ACEOF
12523 /* end confdefs.h. */
12525 /* Override any gcc2 internal prototype to avoid an error. */
12526 #ifdef __cplusplus
12527 extern "C"
12528 #endif
12529 /* We use char because int might match the return type of a gcc2
12530 builtin and then its argument prototype would still apply. */
12531 char cupsGetDefault ();
12533 main ()
12535 cupsGetDefault ();
12537 return 0;
12539 _ACEOF
12540 rm -f conftest.$ac_objext conftest$ac_exeext
12541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12542 (eval $ac_link) 2>&5
12543 ac_status=$?
12544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12545 (exit $ac_status); } &&
12546 { ac_try='test -s conftest$ac_exeext'
12547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12548 (eval $ac_try) 2>&5
12549 ac_status=$?
12550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12551 (exit $ac_status); }; }; then
12552 ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
12553 if test "x$ac_cv_lib_soname_cups" = "x"
12554 then
12555 ac_cv_lib_soname_cups="libcups.so"
12557 else
12558 echo "$as_me: failed program was:" >&5
12559 sed 's/^/| /' conftest.$ac_ext >&5
12561 ac_cv_lib_soname_cups="libcups.so"
12563 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12564 LIBS=$ac_get_soname_save_LIBS
12566 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
12567 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
12568 if test "x$ac_cv_lib_soname_cups" != xNONE
12569 then
12570 cat >>confdefs.h <<_ACEOF
12571 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12572 _ACEOF
12575 echo "$as_me:$LINENO: checking for -ljack soname" >&5
12576 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6
12577 if test "${ac_cv_lib_soname_jack+set}" = set; then
12578 echo $ECHO_N "(cached) $ECHO_C" >&6
12579 else
12580 ac_get_soname_save_LIBS=$LIBS
12581 LIBS="-ljack $LIBS"
12582 cat >conftest.$ac_ext <<_ACEOF
12583 #line $LINENO "configure"
12584 /* confdefs.h. */
12585 _ACEOF
12586 cat confdefs.h >>conftest.$ac_ext
12587 cat >>conftest.$ac_ext <<_ACEOF
12588 /* end confdefs.h. */
12590 /* Override any gcc2 internal prototype to avoid an error. */
12591 #ifdef __cplusplus
12592 extern "C"
12593 #endif
12594 /* We use char because int might match the return type of a gcc2
12595 builtin and then its argument prototype would still apply. */
12596 char jack_client_new ();
12598 main ()
12600 jack_client_new ();
12602 return 0;
12604 _ACEOF
12605 rm -f conftest.$ac_objext conftest$ac_exeext
12606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12607 (eval $ac_link) 2>&5
12608 ac_status=$?
12609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12610 (exit $ac_status); } &&
12611 { ac_try='test -s conftest$ac_exeext'
12612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12613 (eval $ac_try) 2>&5
12614 ac_status=$?
12615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12616 (exit $ac_status); }; }; then
12617 ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
12618 if test "x$ac_cv_lib_soname_jack" = "x"
12619 then
12620 ac_cv_lib_soname_jack="libjack.so"
12622 else
12623 echo "$as_me: failed program was:" >&5
12624 sed 's/^/| /' conftest.$ac_ext >&5
12626 ac_cv_lib_soname_jack="libjack.so"
12628 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12629 LIBS=$ac_get_soname_save_LIBS
12631 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
12632 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6
12633 if test "x$ac_cv_lib_soname_jack" != xNONE
12634 then
12635 cat >>confdefs.h <<_ACEOF
12636 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
12637 _ACEOF
12643 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
12644 # for constant arguments. Useless!
12645 echo "$as_me:$LINENO: checking for working alloca.h" >&5
12646 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
12647 if test "${ac_cv_working_alloca_h+set}" = set; then
12648 echo $ECHO_N "(cached) $ECHO_C" >&6
12649 else
12650 cat >conftest.$ac_ext <<_ACEOF
12651 #line $LINENO "configure"
12652 /* confdefs.h. */
12653 _ACEOF
12654 cat confdefs.h >>conftest.$ac_ext
12655 cat >>conftest.$ac_ext <<_ACEOF
12656 /* end confdefs.h. */
12657 #include <alloca.h>
12659 main ()
12661 char *p = (char *) alloca (2 * sizeof (int));
12663 return 0;
12665 _ACEOF
12666 rm -f conftest.$ac_objext conftest$ac_exeext
12667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12668 (eval $ac_link) 2>&5
12669 ac_status=$?
12670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12671 (exit $ac_status); } &&
12672 { ac_try='test -s conftest$ac_exeext'
12673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12674 (eval $ac_try) 2>&5
12675 ac_status=$?
12676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12677 (exit $ac_status); }; }; then
12678 ac_cv_working_alloca_h=yes
12679 else
12680 echo "$as_me: failed program was:" >&5
12681 sed 's/^/| /' conftest.$ac_ext >&5
12683 ac_cv_working_alloca_h=no
12685 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12687 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
12688 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
12689 if test $ac_cv_working_alloca_h = yes; then
12691 cat >>confdefs.h <<\_ACEOF
12692 #define HAVE_ALLOCA_H 1
12693 _ACEOF
12697 echo "$as_me:$LINENO: checking for alloca" >&5
12698 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
12699 if test "${ac_cv_func_alloca_works+set}" = set; then
12700 echo $ECHO_N "(cached) $ECHO_C" >&6
12701 else
12702 cat >conftest.$ac_ext <<_ACEOF
12703 #line $LINENO "configure"
12704 /* confdefs.h. */
12705 _ACEOF
12706 cat confdefs.h >>conftest.$ac_ext
12707 cat >>conftest.$ac_ext <<_ACEOF
12708 /* end confdefs.h. */
12709 #ifdef __GNUC__
12710 # define alloca __builtin_alloca
12711 #else
12712 # ifdef _MSC_VER
12713 # include <malloc.h>
12714 # define alloca _alloca
12715 # else
12716 # if HAVE_ALLOCA_H
12717 # include <alloca.h>
12718 # else
12719 # ifdef _AIX
12720 #pragma alloca
12721 # else
12722 # ifndef alloca /* predefined by HP cc +Olibcalls */
12723 char *alloca ();
12724 # endif
12725 # endif
12726 # endif
12727 # endif
12728 #endif
12731 main ()
12733 char *p = (char *) alloca (1);
12735 return 0;
12737 _ACEOF
12738 rm -f conftest.$ac_objext conftest$ac_exeext
12739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12740 (eval $ac_link) 2>&5
12741 ac_status=$?
12742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12743 (exit $ac_status); } &&
12744 { ac_try='test -s conftest$ac_exeext'
12745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12746 (eval $ac_try) 2>&5
12747 ac_status=$?
12748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12749 (exit $ac_status); }; }; then
12750 ac_cv_func_alloca_works=yes
12751 else
12752 echo "$as_me: failed program was:" >&5
12753 sed 's/^/| /' conftest.$ac_ext >&5
12755 ac_cv_func_alloca_works=no
12757 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12759 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
12760 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
12762 if test $ac_cv_func_alloca_works = yes; then
12764 cat >>confdefs.h <<\_ACEOF
12765 #define HAVE_ALLOCA 1
12766 _ACEOF
12768 else
12769 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
12770 # that cause trouble. Some versions do not even contain alloca or
12771 # contain a buggy version. If you still want to use their alloca,
12772 # use ar to extract alloca.o from them instead of compiling alloca.c.
12774 ALLOCA=alloca.$ac_objext
12776 cat >>confdefs.h <<\_ACEOF
12777 #define C_ALLOCA 1
12778 _ACEOF
12781 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
12782 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
12783 if test "${ac_cv_os_cray+set}" = set; then
12784 echo $ECHO_N "(cached) $ECHO_C" >&6
12785 else
12786 cat >conftest.$ac_ext <<_ACEOF
12787 #line $LINENO "configure"
12788 /* confdefs.h. */
12789 _ACEOF
12790 cat confdefs.h >>conftest.$ac_ext
12791 cat >>conftest.$ac_ext <<_ACEOF
12792 /* end confdefs.h. */
12793 #if defined(CRAY) && ! defined(CRAY2)
12794 webecray
12795 #else
12796 wenotbecray
12797 #endif
12799 _ACEOF
12800 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12801 $EGREP "webecray" >/dev/null 2>&1; then
12802 ac_cv_os_cray=yes
12803 else
12804 ac_cv_os_cray=no
12806 rm -f conftest*
12809 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
12810 echo "${ECHO_T}$ac_cv_os_cray" >&6
12811 if test $ac_cv_os_cray = yes; then
12812 for ac_func in _getb67 GETB67 getb67; do
12813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12814 echo "$as_me:$LINENO: checking for $ac_func" >&5
12815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12816 if eval "test \"\${$as_ac_var+set}\" = set"; then
12817 echo $ECHO_N "(cached) $ECHO_C" >&6
12818 else
12819 cat >conftest.$ac_ext <<_ACEOF
12820 #line $LINENO "configure"
12821 /* confdefs.h. */
12822 _ACEOF
12823 cat confdefs.h >>conftest.$ac_ext
12824 cat >>conftest.$ac_ext <<_ACEOF
12825 /* end confdefs.h. */
12826 /* System header to define __stub macros and hopefully few prototypes,
12827 which can conflict with char $ac_func (); below.
12828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12829 <limits.h> exists even on freestanding compilers. */
12830 #ifdef __STDC__
12831 # include <limits.h>
12832 #else
12833 # include <assert.h>
12834 #endif
12835 /* Override any gcc2 internal prototype to avoid an error. */
12836 #ifdef __cplusplus
12837 extern "C"
12839 #endif
12840 /* We use char because int might match the return type of a gcc2
12841 builtin and then its argument prototype would still apply. */
12842 char $ac_func ();
12843 /* The GNU C library defines this for functions which it implements
12844 to always fail with ENOSYS. Some functions are actually named
12845 something starting with __ and the normal name is an alias. */
12846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12847 choke me
12848 #else
12849 char (*f) () = $ac_func;
12850 #endif
12851 #ifdef __cplusplus
12853 #endif
12856 main ()
12858 return f != $ac_func;
12860 return 0;
12862 _ACEOF
12863 rm -f conftest.$ac_objext conftest$ac_exeext
12864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12865 (eval $ac_link) 2>&5
12866 ac_status=$?
12867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12868 (exit $ac_status); } &&
12869 { ac_try='test -s conftest$ac_exeext'
12870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12871 (eval $ac_try) 2>&5
12872 ac_status=$?
12873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12874 (exit $ac_status); }; }; then
12875 eval "$as_ac_var=yes"
12876 else
12877 echo "$as_me: failed program was:" >&5
12878 sed 's/^/| /' conftest.$ac_ext >&5
12880 eval "$as_ac_var=no"
12882 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12886 if test `eval echo '${'$as_ac_var'}'` = yes; then
12888 cat >>confdefs.h <<_ACEOF
12889 #define CRAY_STACKSEG_END $ac_func
12890 _ACEOF
12892 break
12895 done
12898 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
12899 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
12900 if test "${ac_cv_c_stack_direction+set}" = set; then
12901 echo $ECHO_N "(cached) $ECHO_C" >&6
12902 else
12903 if test "$cross_compiling" = yes; then
12904 ac_cv_c_stack_direction=0
12905 else
12906 cat >conftest.$ac_ext <<_ACEOF
12907 #line $LINENO "configure"
12908 /* confdefs.h. */
12909 _ACEOF
12910 cat confdefs.h >>conftest.$ac_ext
12911 cat >>conftest.$ac_ext <<_ACEOF
12912 /* end confdefs.h. */
12914 find_stack_direction ()
12916 static char *addr = 0;
12917 auto char dummy;
12918 if (addr == 0)
12920 addr = &dummy;
12921 return find_stack_direction ();
12923 else
12924 return (&dummy > addr) ? 1 : -1;
12928 main ()
12930 exit (find_stack_direction () < 0);
12932 _ACEOF
12933 rm -f conftest$ac_exeext
12934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12935 (eval $ac_link) 2>&5
12936 ac_status=$?
12937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12938 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12940 (eval $ac_try) 2>&5
12941 ac_status=$?
12942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12943 (exit $ac_status); }; }; then
12944 ac_cv_c_stack_direction=1
12945 else
12946 echo "$as_me: program exited with status $ac_status" >&5
12947 echo "$as_me: failed program was:" >&5
12948 sed 's/^/| /' conftest.$ac_ext >&5
12950 ( exit $ac_status )
12951 ac_cv_c_stack_direction=-1
12953 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12956 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
12957 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
12959 cat >>confdefs.h <<_ACEOF
12960 #define STACK_DIRECTION $ac_cv_c_stack_direction
12961 _ACEOF
13021 for ac_func in \
13022 _lwp_create \
13023 _lwp_self \
13024 _pclose \
13025 _popen \
13026 _snprintf \
13027 _spawnvp \
13028 _stricmp \
13029 _strnicmp \
13030 _vsnprintf \
13031 chsize \
13032 clone \
13033 finite \
13034 fpclass \
13035 ftruncate \
13036 ftruncate64 \
13037 getnetbyaddr \
13038 getnetbyname \
13039 getopt_long \
13040 getpagesize \
13041 getprotobyname \
13042 getprotobynumber \
13043 getpwuid \
13044 getservbyport \
13045 gettimeofday \
13046 inet_network \
13047 lseek64 \
13048 lstat \
13049 memmove \
13050 mmap \
13051 pclose \
13052 popen \
13053 pread \
13054 pthread_getspecific \
13055 pthread_key_create \
13056 pthread_mutex_lock \
13057 pthread_mutex_unlock \
13058 pthread_setspecific \
13059 pwrite \
13060 rfork \
13061 select \
13062 sendmsg \
13063 settimeofday \
13064 sigaltstack \
13065 snprintf \
13066 statfs \
13067 strcasecmp \
13068 strerror \
13069 strncasecmp \
13070 tcgetattr \
13071 timegm \
13072 usleep \
13073 vfscanf \
13074 vsnprintf \
13075 wait4 \
13076 waitpid \
13079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13080 echo "$as_me:$LINENO: checking for $ac_func" >&5
13081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13082 if eval "test \"\${$as_ac_var+set}\" = set"; then
13083 echo $ECHO_N "(cached) $ECHO_C" >&6
13084 else
13085 cat >conftest.$ac_ext <<_ACEOF
13086 #line $LINENO "configure"
13087 /* confdefs.h. */
13088 _ACEOF
13089 cat confdefs.h >>conftest.$ac_ext
13090 cat >>conftest.$ac_ext <<_ACEOF
13091 /* end confdefs.h. */
13092 /* System header to define __stub macros and hopefully few prototypes,
13093 which can conflict with char $ac_func (); below.
13094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13095 <limits.h> exists even on freestanding compilers. */
13096 #ifdef __STDC__
13097 # include <limits.h>
13098 #else
13099 # include <assert.h>
13100 #endif
13101 /* Override any gcc2 internal prototype to avoid an error. */
13102 #ifdef __cplusplus
13103 extern "C"
13105 #endif
13106 /* We use char because int might match the return type of a gcc2
13107 builtin and then its argument prototype would still apply. */
13108 char $ac_func ();
13109 /* The GNU C library defines this for functions which it implements
13110 to always fail with ENOSYS. Some functions are actually named
13111 something starting with __ and the normal name is an alias. */
13112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13113 choke me
13114 #else
13115 char (*f) () = $ac_func;
13116 #endif
13117 #ifdef __cplusplus
13119 #endif
13122 main ()
13124 return f != $ac_func;
13126 return 0;
13128 _ACEOF
13129 rm -f conftest.$ac_objext conftest$ac_exeext
13130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13131 (eval $ac_link) 2>&5
13132 ac_status=$?
13133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13134 (exit $ac_status); } &&
13135 { ac_try='test -s conftest$ac_exeext'
13136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13137 (eval $ac_try) 2>&5
13138 ac_status=$?
13139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13140 (exit $ac_status); }; }; then
13141 eval "$as_ac_var=yes"
13142 else
13143 echo "$as_me: failed program was:" >&5
13144 sed 's/^/| /' conftest.$ac_ext >&5
13146 eval "$as_ac_var=no"
13148 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13152 if test `eval echo '${'$as_ac_var'}'` = yes; then
13153 cat >>confdefs.h <<_ACEOF
13154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13155 _ACEOF
13158 done
13233 for ac_header in \
13234 arpa/inet.h \
13235 arpa/nameser.h \
13236 cups/cups.h \
13237 direct.h \
13238 elf.h \
13239 float.h \
13240 getopt.h \
13241 ieeefp.h \
13242 io.h \
13243 jack/jack.h \
13244 libio.h \
13245 libutil.h \
13246 link.h \
13247 linux/cdrom.h \
13248 linux/hdreg.h \
13249 linux/input.h \
13250 linux/joystick.h \
13251 linux/major.h \
13252 linux/param.h \
13253 linux/serial.h \
13254 linux/ucdrom.h \
13255 netdb.h \
13256 netinet/in.h \
13257 netinet/in_systm.h \
13258 netinet/tcp.h \
13259 pty.h \
13260 pwd.h \
13261 regex.h \
13262 sched.h \
13263 scsi/sg.h \
13264 socket.h \
13265 stdint.h \
13266 strings.h \
13267 sys/cdio.h \
13268 sys/errno.h \
13269 sys/file.h \
13270 sys/filio.h \
13271 sys/inttypes.h \
13272 sys/ioctl.h \
13273 sys/ipc.h \
13274 sys/link.h \
13275 sys/lwp.h \
13276 sys/mman.h \
13277 sys/modem.h \
13278 sys/msg.h \
13279 sys/param.h \
13280 sys/poll.h \
13281 sys/ptrace.h \
13282 sys/reg.h \
13283 sys/shm.h \
13284 sys/signal.h \
13285 sys/socket.h \
13286 sys/sockio.h \
13287 sys/statfs.h \
13288 sys/strtio.h \
13289 sys/syscall.h \
13290 sys/sysctl.h \
13291 sys/time.h \
13292 sys/times.h \
13293 sys/uio.h \
13294 sys/un.h \
13295 sys/v86.h \
13296 sys/v86intr.h \
13297 sys/vfs.h \
13298 sys/vm86.h \
13299 sys/wait.h \
13300 syscall.h \
13301 termios.h \
13302 unistd.h \
13303 utime.h \
13304 valgrind/memcheck.h
13307 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13308 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13309 echo "$as_me:$LINENO: checking for $ac_header" >&5
13310 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13311 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13312 echo $ECHO_N "(cached) $ECHO_C" >&6
13314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13315 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13316 else
13317 # Is the header compilable?
13318 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13319 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13320 cat >conftest.$ac_ext <<_ACEOF
13321 #line $LINENO "configure"
13322 /* confdefs.h. */
13323 _ACEOF
13324 cat confdefs.h >>conftest.$ac_ext
13325 cat >>conftest.$ac_ext <<_ACEOF
13326 /* end confdefs.h. */
13327 $ac_includes_default
13328 #include <$ac_header>
13329 _ACEOF
13330 rm -f conftest.$ac_objext
13331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13332 (eval $ac_compile) 2>&5
13333 ac_status=$?
13334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13335 (exit $ac_status); } &&
13336 { ac_try='test -s conftest.$ac_objext'
13337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13338 (eval $ac_try) 2>&5
13339 ac_status=$?
13340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13341 (exit $ac_status); }; }; then
13342 ac_header_compiler=yes
13343 else
13344 echo "$as_me: failed program was:" >&5
13345 sed 's/^/| /' conftest.$ac_ext >&5
13347 ac_header_compiler=no
13349 rm -f conftest.$ac_objext conftest.$ac_ext
13350 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13351 echo "${ECHO_T}$ac_header_compiler" >&6
13353 # Is the header present?
13354 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13355 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13356 cat >conftest.$ac_ext <<_ACEOF
13357 #line $LINENO "configure"
13358 /* confdefs.h. */
13359 _ACEOF
13360 cat confdefs.h >>conftest.$ac_ext
13361 cat >>conftest.$ac_ext <<_ACEOF
13362 /* end confdefs.h. */
13363 #include <$ac_header>
13364 _ACEOF
13365 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13366 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13367 ac_status=$?
13368 grep -v '^ *+' conftest.er1 >conftest.err
13369 rm -f conftest.er1
13370 cat conftest.err >&5
13371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13372 (exit $ac_status); } >/dev/null; then
13373 if test -s conftest.err; then
13374 ac_cpp_err=$ac_c_preproc_warn_flag
13375 else
13376 ac_cpp_err=
13378 else
13379 ac_cpp_err=yes
13381 if test -z "$ac_cpp_err"; then
13382 ac_header_preproc=yes
13383 else
13384 echo "$as_me: failed program was:" >&5
13385 sed 's/^/| /' conftest.$ac_ext >&5
13387 ac_header_preproc=no
13389 rm -f conftest.err conftest.$ac_ext
13390 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13391 echo "${ECHO_T}$ac_header_preproc" >&6
13393 # So? What about this header?
13394 case $ac_header_compiler:$ac_header_preproc in
13395 yes:no )
13396 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13397 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13398 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13399 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13401 cat <<\_ASBOX
13402 ## ------------------------------------ ##
13403 ## Report this to bug-autoconf@gnu.org. ##
13404 ## ------------------------------------ ##
13405 _ASBOX
13407 sed "s/^/$as_me: WARNING: /" >&2
13409 no:yes )
13410 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13411 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13412 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13413 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13414 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13415 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13417 cat <<\_ASBOX
13418 ## ------------------------------------ ##
13419 ## Report this to bug-autoconf@gnu.org. ##
13420 ## ------------------------------------ ##
13421 _ASBOX
13423 sed "s/^/$as_me: WARNING: /" >&2
13425 esac
13426 echo "$as_me:$LINENO: checking for $ac_header" >&5
13427 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13428 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13429 echo $ECHO_N "(cached) $ECHO_C" >&6
13430 else
13431 eval "$as_ac_Header=$ac_header_preproc"
13433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13434 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13437 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13438 cat >>confdefs.h <<_ACEOF
13439 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13440 _ACEOF
13444 done
13446 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
13447 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
13448 if test "${ac_cv_header_stat_broken+set}" = set; then
13449 echo $ECHO_N "(cached) $ECHO_C" >&6
13450 else
13451 cat >conftest.$ac_ext <<_ACEOF
13452 #line $LINENO "configure"
13453 /* confdefs.h. */
13454 _ACEOF
13455 cat confdefs.h >>conftest.$ac_ext
13456 cat >>conftest.$ac_ext <<_ACEOF
13457 /* end confdefs.h. */
13458 #include <sys/types.h>
13459 #include <sys/stat.h>
13461 #if defined(S_ISBLK) && defined(S_IFDIR)
13462 # if S_ISBLK (S_IFDIR)
13463 You lose.
13464 # endif
13465 #endif
13467 #if defined(S_ISBLK) && defined(S_IFCHR)
13468 # if S_ISBLK (S_IFCHR)
13469 You lose.
13470 # endif
13471 #endif
13473 #if defined(S_ISLNK) && defined(S_IFREG)
13474 # if S_ISLNK (S_IFREG)
13475 You lose.
13476 # endif
13477 #endif
13479 #if defined(S_ISSOCK) && defined(S_IFREG)
13480 # if S_ISSOCK (S_IFREG)
13481 You lose.
13482 # endif
13483 #endif
13485 _ACEOF
13486 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13487 $EGREP "You lose" >/dev/null 2>&1; then
13488 ac_cv_header_stat_broken=yes
13489 else
13490 ac_cv_header_stat_broken=no
13492 rm -f conftest*
13495 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
13496 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
13497 if test $ac_cv_header_stat_broken = yes; then
13499 cat >>confdefs.h <<\_ACEOF
13500 #define STAT_MACROS_BROKEN 1
13501 _ACEOF
13509 for ac_header in sys/mount.h sys/user.h
13511 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13512 echo "$as_me:$LINENO: checking for $ac_header" >&5
13513 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13514 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13515 echo $ECHO_N "(cached) $ECHO_C" >&6
13516 else
13517 cat >conftest.$ac_ext <<_ACEOF
13518 #line $LINENO "configure"
13519 /* confdefs.h. */
13520 _ACEOF
13521 cat confdefs.h >>conftest.$ac_ext
13522 cat >>conftest.$ac_ext <<_ACEOF
13523 /* end confdefs.h. */
13524 #include <sys/types.h>
13525 #if HAVE_SYS_PARAM_H
13526 # include <sys/param.h>
13527 #endif
13529 #include <$ac_header>
13530 _ACEOF
13531 rm -f conftest.$ac_objext
13532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13533 (eval $ac_compile) 2>&5
13534 ac_status=$?
13535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13536 (exit $ac_status); } &&
13537 { ac_try='test -s conftest.$ac_objext'
13538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13539 (eval $ac_try) 2>&5
13540 ac_status=$?
13541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13542 (exit $ac_status); }; }; then
13543 eval "$as_ac_Header=yes"
13544 else
13545 echo "$as_me: failed program was:" >&5
13546 sed 's/^/| /' conftest.$ac_ext >&5
13548 eval "$as_ac_Header=no"
13550 rm -f conftest.$ac_objext conftest.$ac_ext
13552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13553 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13554 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13555 cat >>confdefs.h <<_ACEOF
13556 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13557 _ACEOF
13561 done
13565 for ac_header in net/if.h
13567 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13568 echo "$as_me:$LINENO: checking for $ac_header" >&5
13569 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13570 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13571 echo $ECHO_N "(cached) $ECHO_C" >&6
13572 else
13573 cat >conftest.$ac_ext <<_ACEOF
13574 #line $LINENO "configure"
13575 /* confdefs.h. */
13576 _ACEOF
13577 cat confdefs.h >>conftest.$ac_ext
13578 cat >>conftest.$ac_ext <<_ACEOF
13579 /* end confdefs.h. */
13580 #include <sys/types.h>
13581 #if HAVE_SYS_SOCKET_H
13582 # include <sys/socket.h>
13583 #endif
13585 #include <$ac_header>
13586 _ACEOF
13587 rm -f conftest.$ac_objext
13588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13589 (eval $ac_compile) 2>&5
13590 ac_status=$?
13591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13592 (exit $ac_status); } &&
13593 { ac_try='test -s conftest.$ac_objext'
13594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13595 (eval $ac_try) 2>&5
13596 ac_status=$?
13597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13598 (exit $ac_status); }; }; then
13599 eval "$as_ac_Header=yes"
13600 else
13601 echo "$as_me: failed program was:" >&5
13602 sed 's/^/| /' conftest.$ac_ext >&5
13604 eval "$as_ac_Header=no"
13606 rm -f conftest.$ac_objext conftest.$ac_ext
13608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13609 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13610 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13611 cat >>confdefs.h <<_ACEOF
13612 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13613 _ACEOF
13617 done
13621 for ac_header in netinet/ip.h
13623 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13624 echo "$as_me:$LINENO: checking for $ac_header" >&5
13625 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13626 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13627 echo $ECHO_N "(cached) $ECHO_C" >&6
13628 else
13629 cat >conftest.$ac_ext <<_ACEOF
13630 #line $LINENO "configure"
13631 /* confdefs.h. */
13632 _ACEOF
13633 cat confdefs.h >>conftest.$ac_ext
13634 cat >>conftest.$ac_ext <<_ACEOF
13635 /* end confdefs.h. */
13636 #include <sys/types.h>
13637 #if HAVE_SYS_SOCKET_H
13638 # include <sys/socket.h>
13639 #endif
13640 #if HAVE_NETINET_IN_SYSTM_H
13641 # include <netinet/in_systm.h>
13642 #endif
13644 #include <$ac_header>
13645 _ACEOF
13646 rm -f conftest.$ac_objext
13647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13648 (eval $ac_compile) 2>&5
13649 ac_status=$?
13650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13651 (exit $ac_status); } &&
13652 { ac_try='test -s conftest.$ac_objext'
13653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13654 (eval $ac_try) 2>&5
13655 ac_status=$?
13656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13657 (exit $ac_status); }; }; then
13658 eval "$as_ac_Header=yes"
13659 else
13660 echo "$as_me: failed program was:" >&5
13661 sed 's/^/| /' conftest.$ac_ext >&5
13663 eval "$as_ac_Header=no"
13665 rm -f conftest.$ac_objext conftest.$ac_ext
13667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13668 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13669 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13670 cat >>confdefs.h <<_ACEOF
13671 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13672 _ACEOF
13676 done
13680 for ac_header in resolv.h
13682 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13683 echo "$as_me:$LINENO: checking for $ac_header" >&5
13684 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13685 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13686 echo $ECHO_N "(cached) $ECHO_C" >&6
13687 else
13688 cat >conftest.$ac_ext <<_ACEOF
13689 #line $LINENO "configure"
13690 /* confdefs.h. */
13691 _ACEOF
13692 cat confdefs.h >>conftest.$ac_ext
13693 cat >>conftest.$ac_ext <<_ACEOF
13694 /* end confdefs.h. */
13695 #include <sys/types.h>
13696 #if HAVE_SYS_SOCKET_H
13697 # include <sys/socket.h>
13698 #endif
13700 #include <$ac_header>
13701 _ACEOF
13702 rm -f conftest.$ac_objext
13703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13704 (eval $ac_compile) 2>&5
13705 ac_status=$?
13706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13707 (exit $ac_status); } &&
13708 { ac_try='test -s conftest.$ac_objext'
13709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13710 (eval $ac_try) 2>&5
13711 ac_status=$?
13712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13713 (exit $ac_status); }; }; then
13714 eval "$as_ac_Header=yes"
13715 else
13716 echo "$as_me: failed program was:" >&5
13717 sed 's/^/| /' conftest.$ac_ext >&5
13719 eval "$as_ac_Header=no"
13721 rm -f conftest.$ac_objext conftest.$ac_ext
13723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13724 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13725 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13726 cat >>confdefs.h <<_ACEOF
13727 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13728 _ACEOF
13732 done
13736 for ac_header in ucontext.h
13738 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13739 echo "$as_me:$LINENO: checking for $ac_header" >&5
13740 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13741 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13742 echo $ECHO_N "(cached) $ECHO_C" >&6
13743 else
13744 cat >conftest.$ac_ext <<_ACEOF
13745 #line $LINENO "configure"
13746 /* confdefs.h. */
13747 _ACEOF
13748 cat confdefs.h >>conftest.$ac_ext
13749 cat >>conftest.$ac_ext <<_ACEOF
13750 /* end confdefs.h. */
13751 #include <signal.h>
13753 #include <$ac_header>
13754 _ACEOF
13755 rm -f conftest.$ac_objext
13756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13757 (eval $ac_compile) 2>&5
13758 ac_status=$?
13759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13760 (exit $ac_status); } &&
13761 { ac_try='test -s conftest.$ac_objext'
13762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13763 (eval $ac_try) 2>&5
13764 ac_status=$?
13765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13766 (exit $ac_status); }; }; then
13767 eval "$as_ac_Header=yes"
13768 else
13769 echo "$as_me: failed program was:" >&5
13770 sed 's/^/| /' conftest.$ac_ext >&5
13772 eval "$as_ac_Header=no"
13774 rm -f conftest.$ac_objext conftest.$ac_ext
13776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13777 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13778 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13779 cat >>confdefs.h <<_ACEOF
13780 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13781 _ACEOF
13785 done
13789 echo "$as_me:$LINENO: checking for GNU style IPX support" >&5
13790 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
13791 if test "${ac_cv_c_ipx_gnu+set}" = set; then
13792 echo $ECHO_N "(cached) $ECHO_C" >&6
13793 else
13794 cat >conftest.$ac_ext <<_ACEOF
13795 #line $LINENO "configure"
13796 /* confdefs.h. */
13797 _ACEOF
13798 cat confdefs.h >>conftest.$ac_ext
13799 cat >>conftest.$ac_ext <<_ACEOF
13800 /* end confdefs.h. */
13801 #include <sys/types.h>
13802 #ifdef HAVE_SYS_SOCKET_H
13803 # include <sys/socket.h>
13804 #endif
13805 #include <netipx/ipx.h>
13807 main ()
13809 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
13811 return 0;
13813 _ACEOF
13814 rm -f conftest.$ac_objext
13815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13816 (eval $ac_compile) 2>&5
13817 ac_status=$?
13818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13819 (exit $ac_status); } &&
13820 { ac_try='test -s conftest.$ac_objext'
13821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13822 (eval $ac_try) 2>&5
13823 ac_status=$?
13824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13825 (exit $ac_status); }; }; then
13826 ac_cv_c_ipx_gnu="yes"
13827 else
13828 echo "$as_me: failed program was:" >&5
13829 sed 's/^/| /' conftest.$ac_ext >&5
13831 ac_cv_c_ipx_gnu="no"
13833 rm -f conftest.$ac_objext conftest.$ac_ext
13836 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_gnu" >&5
13837 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
13838 if test "$ac_cv_c_ipx_gnu" = "yes"
13839 then
13841 cat >>confdefs.h <<\_ACEOF
13842 #define HAVE_IPX_GNU 1
13843 _ACEOF
13847 if test "$ac_cv_c_ipx_gnu" = "no"
13848 then
13849 echo "$as_me:$LINENO: checking for linux style IPX support" >&5
13850 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
13851 if test "${ac_cv_c_ipx_linux+set}" = set; then
13852 echo $ECHO_N "(cached) $ECHO_C" >&6
13853 else
13854 cat >conftest.$ac_ext <<_ACEOF
13855 #line $LINENO "configure"
13856 /* confdefs.h. */
13857 _ACEOF
13858 cat confdefs.h >>conftest.$ac_ext
13859 cat >>conftest.$ac_ext <<_ACEOF
13860 /* end confdefs.h. */
13861 #include <sys/types.h>
13862 #ifdef HAVE_SYS_SOCKET_H
13863 # include <sys/socket.h>
13864 #endif
13865 #include <asm/types.h>
13866 #include <linux/ipx.h>
13868 main ()
13870 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
13872 return 0;
13874 _ACEOF
13875 rm -f conftest.$ac_objext
13876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13877 (eval $ac_compile) 2>&5
13878 ac_status=$?
13879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13880 (exit $ac_status); } &&
13881 { ac_try='test -s conftest.$ac_objext'
13882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13883 (eval $ac_try) 2>&5
13884 ac_status=$?
13885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13886 (exit $ac_status); }; }; then
13887 ac_cv_c_ipx_linux="yes"
13888 else
13889 echo "$as_me: failed program was:" >&5
13890 sed 's/^/| /' conftest.$ac_ext >&5
13892 ac_cv_c_ipx_linux="no"
13894 rm -f conftest.$ac_objext conftest.$ac_ext
13897 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_linux" >&5
13898 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
13899 if test "$ac_cv_c_ipx_linux" = "yes"
13900 then
13902 cat >>confdefs.h <<\_ACEOF
13903 #define HAVE_IPX_LINUX 1
13904 _ACEOF
13910 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13911 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13912 if test "${ac_cv_c_const+set}" = set; then
13913 echo $ECHO_N "(cached) $ECHO_C" >&6
13914 else
13915 cat >conftest.$ac_ext <<_ACEOF
13916 #line $LINENO "configure"
13917 /* confdefs.h. */
13918 _ACEOF
13919 cat confdefs.h >>conftest.$ac_ext
13920 cat >>conftest.$ac_ext <<_ACEOF
13921 /* end confdefs.h. */
13924 main ()
13926 /* FIXME: Include the comments suggested by Paul. */
13927 #ifndef __cplusplus
13928 /* Ultrix mips cc rejects this. */
13929 typedef int charset[2];
13930 const charset x;
13931 /* SunOS 4.1.1 cc rejects this. */
13932 char const *const *ccp;
13933 char **p;
13934 /* NEC SVR4.0.2 mips cc rejects this. */
13935 struct point {int x, y;};
13936 static struct point const zero = {0,0};
13937 /* AIX XL C 1.02.0.0 rejects this.
13938 It does not let you subtract one const X* pointer from another in
13939 an arm of an if-expression whose if-part is not a constant
13940 expression */
13941 const char *g = "string";
13942 ccp = &g + (g ? g-g : 0);
13943 /* HPUX 7.0 cc rejects these. */
13944 ++ccp;
13945 p = (char**) ccp;
13946 ccp = (char const *const *) p;
13947 { /* SCO 3.2v4 cc rejects this. */
13948 char *t;
13949 char const *s = 0 ? (char *) 0 : (char const *) 0;
13951 *t++ = 0;
13953 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13954 int x[] = {25, 17};
13955 const int *foo = &x[0];
13956 ++foo;
13958 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13959 typedef const int *iptr;
13960 iptr p = 0;
13961 ++p;
13963 { /* AIX XL C 1.02.0.0 rejects this saying
13964 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13965 struct s { int j; const int *ap[3]; };
13966 struct s *b; b->j = 5;
13968 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13969 const int foo = 10;
13971 #endif
13974 return 0;
13976 _ACEOF
13977 rm -f conftest.$ac_objext
13978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13979 (eval $ac_compile) 2>&5
13980 ac_status=$?
13981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13982 (exit $ac_status); } &&
13983 { ac_try='test -s conftest.$ac_objext'
13984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13985 (eval $ac_try) 2>&5
13986 ac_status=$?
13987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13988 (exit $ac_status); }; }; then
13989 ac_cv_c_const=yes
13990 else
13991 echo "$as_me: failed program was:" >&5
13992 sed 's/^/| /' conftest.$ac_ext >&5
13994 ac_cv_c_const=no
13996 rm -f conftest.$ac_objext conftest.$ac_ext
13998 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13999 echo "${ECHO_T}$ac_cv_c_const" >&6
14000 if test $ac_cv_c_const = no; then
14002 cat >>confdefs.h <<\_ACEOF
14003 #define const
14004 _ACEOF
14008 echo "$as_me:$LINENO: checking for inline" >&5
14009 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14010 if test "${ac_cv_c_inline+set}" = set; then
14011 echo $ECHO_N "(cached) $ECHO_C" >&6
14012 else
14013 ac_cv_c_inline=no
14014 for ac_kw in inline __inline__ __inline; do
14015 cat >conftest.$ac_ext <<_ACEOF
14016 #line $LINENO "configure"
14017 /* confdefs.h. */
14018 _ACEOF
14019 cat confdefs.h >>conftest.$ac_ext
14020 cat >>conftest.$ac_ext <<_ACEOF
14021 /* end confdefs.h. */
14022 #ifndef __cplusplus
14023 typedef int foo_t;
14024 static $ac_kw foo_t static_foo () {return 0; }
14025 $ac_kw foo_t foo () {return 0; }
14026 #endif
14028 _ACEOF
14029 rm -f conftest.$ac_objext
14030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14031 (eval $ac_compile) 2>&5
14032 ac_status=$?
14033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14034 (exit $ac_status); } &&
14035 { ac_try='test -s conftest.$ac_objext'
14036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14037 (eval $ac_try) 2>&5
14038 ac_status=$?
14039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14040 (exit $ac_status); }; }; then
14041 ac_cv_c_inline=$ac_kw; break
14042 else
14043 echo "$as_me: failed program was:" >&5
14044 sed 's/^/| /' conftest.$ac_ext >&5
14047 rm -f conftest.$ac_objext conftest.$ac_ext
14048 done
14051 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14052 echo "${ECHO_T}$ac_cv_c_inline" >&6
14053 case $ac_cv_c_inline in
14054 inline | yes) ;;
14056 cat >>confdefs.h <<\_ACEOF
14057 #define inline
14058 _ACEOF
14060 *) cat >>confdefs.h <<_ACEOF
14061 #define inline $ac_cv_c_inline
14062 _ACEOF
14064 esac
14066 echo "$as_me:$LINENO: checking for mode_t" >&5
14067 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
14068 if test "${ac_cv_type_mode_t+set}" = set; then
14069 echo $ECHO_N "(cached) $ECHO_C" >&6
14070 else
14071 cat >conftest.$ac_ext <<_ACEOF
14072 #line $LINENO "configure"
14073 /* confdefs.h. */
14074 _ACEOF
14075 cat confdefs.h >>conftest.$ac_ext
14076 cat >>conftest.$ac_ext <<_ACEOF
14077 /* end confdefs.h. */
14078 $ac_includes_default
14080 main ()
14082 if ((mode_t *) 0)
14083 return 0;
14084 if (sizeof (mode_t))
14085 return 0;
14087 return 0;
14089 _ACEOF
14090 rm -f conftest.$ac_objext
14091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14092 (eval $ac_compile) 2>&5
14093 ac_status=$?
14094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14095 (exit $ac_status); } &&
14096 { ac_try='test -s conftest.$ac_objext'
14097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14098 (eval $ac_try) 2>&5
14099 ac_status=$?
14100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14101 (exit $ac_status); }; }; then
14102 ac_cv_type_mode_t=yes
14103 else
14104 echo "$as_me: failed program was:" >&5
14105 sed 's/^/| /' conftest.$ac_ext >&5
14107 ac_cv_type_mode_t=no
14109 rm -f conftest.$ac_objext conftest.$ac_ext
14111 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
14112 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
14113 if test $ac_cv_type_mode_t = yes; then
14115 cat >>confdefs.h <<_ACEOF
14116 #define HAVE_MODE_T 1
14117 _ACEOF
14121 echo "$as_me:$LINENO: checking for off_t" >&5
14122 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
14123 if test "${ac_cv_type_off_t+set}" = set; then
14124 echo $ECHO_N "(cached) $ECHO_C" >&6
14125 else
14126 cat >conftest.$ac_ext <<_ACEOF
14127 #line $LINENO "configure"
14128 /* confdefs.h. */
14129 _ACEOF
14130 cat confdefs.h >>conftest.$ac_ext
14131 cat >>conftest.$ac_ext <<_ACEOF
14132 /* end confdefs.h. */
14133 $ac_includes_default
14135 main ()
14137 if ((off_t *) 0)
14138 return 0;
14139 if (sizeof (off_t))
14140 return 0;
14142 return 0;
14144 _ACEOF
14145 rm -f conftest.$ac_objext
14146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14147 (eval $ac_compile) 2>&5
14148 ac_status=$?
14149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14150 (exit $ac_status); } &&
14151 { ac_try='test -s conftest.$ac_objext'
14152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14153 (eval $ac_try) 2>&5
14154 ac_status=$?
14155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14156 (exit $ac_status); }; }; then
14157 ac_cv_type_off_t=yes
14158 else
14159 echo "$as_me: failed program was:" >&5
14160 sed 's/^/| /' conftest.$ac_ext >&5
14162 ac_cv_type_off_t=no
14164 rm -f conftest.$ac_objext conftest.$ac_ext
14166 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
14167 echo "${ECHO_T}$ac_cv_type_off_t" >&6
14168 if test $ac_cv_type_off_t = yes; then
14170 cat >>confdefs.h <<_ACEOF
14171 #define HAVE_OFF_T 1
14172 _ACEOF
14176 echo "$as_me:$LINENO: checking for pid_t" >&5
14177 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
14178 if test "${ac_cv_type_pid_t+set}" = set; then
14179 echo $ECHO_N "(cached) $ECHO_C" >&6
14180 else
14181 cat >conftest.$ac_ext <<_ACEOF
14182 #line $LINENO "configure"
14183 /* confdefs.h. */
14184 _ACEOF
14185 cat confdefs.h >>conftest.$ac_ext
14186 cat >>conftest.$ac_ext <<_ACEOF
14187 /* end confdefs.h. */
14188 $ac_includes_default
14190 main ()
14192 if ((pid_t *) 0)
14193 return 0;
14194 if (sizeof (pid_t))
14195 return 0;
14197 return 0;
14199 _ACEOF
14200 rm -f conftest.$ac_objext
14201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14202 (eval $ac_compile) 2>&5
14203 ac_status=$?
14204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14205 (exit $ac_status); } &&
14206 { ac_try='test -s conftest.$ac_objext'
14207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14208 (eval $ac_try) 2>&5
14209 ac_status=$?
14210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14211 (exit $ac_status); }; }; then
14212 ac_cv_type_pid_t=yes
14213 else
14214 echo "$as_me: failed program was:" >&5
14215 sed 's/^/| /' conftest.$ac_ext >&5
14217 ac_cv_type_pid_t=no
14219 rm -f conftest.$ac_objext conftest.$ac_ext
14221 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
14222 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
14223 if test $ac_cv_type_pid_t = yes; then
14225 cat >>confdefs.h <<_ACEOF
14226 #define HAVE_PID_T 1
14227 _ACEOF
14231 echo "$as_me:$LINENO: checking for size_t" >&5
14232 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
14233 if test "${ac_cv_type_size_t+set}" = set; then
14234 echo $ECHO_N "(cached) $ECHO_C" >&6
14235 else
14236 cat >conftest.$ac_ext <<_ACEOF
14237 #line $LINENO "configure"
14238 /* confdefs.h. */
14239 _ACEOF
14240 cat confdefs.h >>conftest.$ac_ext
14241 cat >>conftest.$ac_ext <<_ACEOF
14242 /* end confdefs.h. */
14243 $ac_includes_default
14245 main ()
14247 if ((size_t *) 0)
14248 return 0;
14249 if (sizeof (size_t))
14250 return 0;
14252 return 0;
14254 _ACEOF
14255 rm -f conftest.$ac_objext
14256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14257 (eval $ac_compile) 2>&5
14258 ac_status=$?
14259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14260 (exit $ac_status); } &&
14261 { ac_try='test -s conftest.$ac_objext'
14262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14263 (eval $ac_try) 2>&5
14264 ac_status=$?
14265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14266 (exit $ac_status); }; }; then
14267 ac_cv_type_size_t=yes
14268 else
14269 echo "$as_me: failed program was:" >&5
14270 sed 's/^/| /' conftest.$ac_ext >&5
14272 ac_cv_type_size_t=no
14274 rm -f conftest.$ac_objext conftest.$ac_ext
14276 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
14277 echo "${ECHO_T}$ac_cv_type_size_t" >&6
14278 if test $ac_cv_type_size_t = yes; then
14280 cat >>confdefs.h <<_ACEOF
14281 #define HAVE_SIZE_T 1
14282 _ACEOF
14286 echo "$as_me:$LINENO: checking for ssize_t" >&5
14287 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
14288 if test "${ac_cv_type_ssize_t+set}" = set; then
14289 echo $ECHO_N "(cached) $ECHO_C" >&6
14290 else
14291 cat >conftest.$ac_ext <<_ACEOF
14292 #line $LINENO "configure"
14293 /* confdefs.h. */
14294 _ACEOF
14295 cat confdefs.h >>conftest.$ac_ext
14296 cat >>conftest.$ac_ext <<_ACEOF
14297 /* end confdefs.h. */
14298 $ac_includes_default
14300 main ()
14302 if ((ssize_t *) 0)
14303 return 0;
14304 if (sizeof (ssize_t))
14305 return 0;
14307 return 0;
14309 _ACEOF
14310 rm -f conftest.$ac_objext
14311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14312 (eval $ac_compile) 2>&5
14313 ac_status=$?
14314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14315 (exit $ac_status); } &&
14316 { ac_try='test -s conftest.$ac_objext'
14317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14318 (eval $ac_try) 2>&5
14319 ac_status=$?
14320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14321 (exit $ac_status); }; }; then
14322 ac_cv_type_ssize_t=yes
14323 else
14324 echo "$as_me: failed program was:" >&5
14325 sed 's/^/| /' conftest.$ac_ext >&5
14327 ac_cv_type_ssize_t=no
14329 rm -f conftest.$ac_objext conftest.$ac_ext
14331 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
14332 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
14333 if test $ac_cv_type_ssize_t = yes; then
14335 cat >>confdefs.h <<_ACEOF
14336 #define HAVE_SSIZE_T 1
14337 _ACEOF
14342 echo "$as_me:$LINENO: checking for long long" >&5
14343 echo $ECHO_N "checking for long long... $ECHO_C" >&6
14344 if test "${ac_cv_type_long_long+set}" = set; then
14345 echo $ECHO_N "(cached) $ECHO_C" >&6
14346 else
14347 cat >conftest.$ac_ext <<_ACEOF
14348 #line $LINENO "configure"
14349 /* confdefs.h. */
14350 _ACEOF
14351 cat confdefs.h >>conftest.$ac_ext
14352 cat >>conftest.$ac_ext <<_ACEOF
14353 /* end confdefs.h. */
14354 $ac_includes_default
14356 main ()
14358 if ((long long *) 0)
14359 return 0;
14360 if (sizeof (long long))
14361 return 0;
14363 return 0;
14365 _ACEOF
14366 rm -f conftest.$ac_objext
14367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14368 (eval $ac_compile) 2>&5
14369 ac_status=$?
14370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14371 (exit $ac_status); } &&
14372 { ac_try='test -s conftest.$ac_objext'
14373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14374 (eval $ac_try) 2>&5
14375 ac_status=$?
14376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14377 (exit $ac_status); }; }; then
14378 ac_cv_type_long_long=yes
14379 else
14380 echo "$as_me: failed program was:" >&5
14381 sed 's/^/| /' conftest.$ac_ext >&5
14383 ac_cv_type_long_long=no
14385 rm -f conftest.$ac_objext conftest.$ac_ext
14387 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
14388 echo "${ECHO_T}$ac_cv_type_long_long" >&6
14390 echo "$as_me:$LINENO: checking size of long long" >&5
14391 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
14392 if test "${ac_cv_sizeof_long_long+set}" = set; then
14393 echo $ECHO_N "(cached) $ECHO_C" >&6
14394 else
14395 if test "$ac_cv_type_long_long" = yes; then
14396 # The cast to unsigned long works around a bug in the HP C Compiler
14397 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14398 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14399 # This bug is HP SR number 8606223364.
14400 if test "$cross_compiling" = yes; then
14401 # Depending upon the size, compute the lo and hi bounds.
14402 cat >conftest.$ac_ext <<_ACEOF
14403 #line $LINENO "configure"
14404 /* confdefs.h. */
14405 _ACEOF
14406 cat confdefs.h >>conftest.$ac_ext
14407 cat >>conftest.$ac_ext <<_ACEOF
14408 /* end confdefs.h. */
14409 $ac_includes_default
14411 main ()
14413 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
14414 test_array [0] = 0
14417 return 0;
14419 _ACEOF
14420 rm -f conftest.$ac_objext
14421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14422 (eval $ac_compile) 2>&5
14423 ac_status=$?
14424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14425 (exit $ac_status); } &&
14426 { ac_try='test -s conftest.$ac_objext'
14427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14428 (eval $ac_try) 2>&5
14429 ac_status=$?
14430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14431 (exit $ac_status); }; }; then
14432 ac_lo=0 ac_mid=0
14433 while :; do
14434 cat >conftest.$ac_ext <<_ACEOF
14435 #line $LINENO "configure"
14436 /* confdefs.h. */
14437 _ACEOF
14438 cat confdefs.h >>conftest.$ac_ext
14439 cat >>conftest.$ac_ext <<_ACEOF
14440 /* end confdefs.h. */
14441 $ac_includes_default
14443 main ()
14445 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
14446 test_array [0] = 0
14449 return 0;
14451 _ACEOF
14452 rm -f conftest.$ac_objext
14453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14454 (eval $ac_compile) 2>&5
14455 ac_status=$?
14456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14457 (exit $ac_status); } &&
14458 { ac_try='test -s conftest.$ac_objext'
14459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14460 (eval $ac_try) 2>&5
14461 ac_status=$?
14462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14463 (exit $ac_status); }; }; then
14464 ac_hi=$ac_mid; break
14465 else
14466 echo "$as_me: failed program was:" >&5
14467 sed 's/^/| /' conftest.$ac_ext >&5
14469 ac_lo=`expr $ac_mid + 1`
14470 if test $ac_lo -le $ac_mid; then
14471 ac_lo= ac_hi=
14472 break
14474 ac_mid=`expr 2 '*' $ac_mid + 1`
14476 rm -f conftest.$ac_objext conftest.$ac_ext
14477 done
14478 else
14479 echo "$as_me: failed program was:" >&5
14480 sed 's/^/| /' conftest.$ac_ext >&5
14482 cat >conftest.$ac_ext <<_ACEOF
14483 #line $LINENO "configure"
14484 /* confdefs.h. */
14485 _ACEOF
14486 cat confdefs.h >>conftest.$ac_ext
14487 cat >>conftest.$ac_ext <<_ACEOF
14488 /* end confdefs.h. */
14489 $ac_includes_default
14491 main ()
14493 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
14494 test_array [0] = 0
14497 return 0;
14499 _ACEOF
14500 rm -f conftest.$ac_objext
14501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14502 (eval $ac_compile) 2>&5
14503 ac_status=$?
14504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14505 (exit $ac_status); } &&
14506 { ac_try='test -s conftest.$ac_objext'
14507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14508 (eval $ac_try) 2>&5
14509 ac_status=$?
14510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14511 (exit $ac_status); }; }; then
14512 ac_hi=-1 ac_mid=-1
14513 while :; do
14514 cat >conftest.$ac_ext <<_ACEOF
14515 #line $LINENO "configure"
14516 /* confdefs.h. */
14517 _ACEOF
14518 cat confdefs.h >>conftest.$ac_ext
14519 cat >>conftest.$ac_ext <<_ACEOF
14520 /* end confdefs.h. */
14521 $ac_includes_default
14523 main ()
14525 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
14526 test_array [0] = 0
14529 return 0;
14531 _ACEOF
14532 rm -f conftest.$ac_objext
14533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14534 (eval $ac_compile) 2>&5
14535 ac_status=$?
14536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14537 (exit $ac_status); } &&
14538 { ac_try='test -s conftest.$ac_objext'
14539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14540 (eval $ac_try) 2>&5
14541 ac_status=$?
14542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14543 (exit $ac_status); }; }; then
14544 ac_lo=$ac_mid; break
14545 else
14546 echo "$as_me: failed program was:" >&5
14547 sed 's/^/| /' conftest.$ac_ext >&5
14549 ac_hi=`expr '(' $ac_mid ')' - 1`
14550 if test $ac_mid -le $ac_hi; then
14551 ac_lo= ac_hi=
14552 break
14554 ac_mid=`expr 2 '*' $ac_mid`
14556 rm -f conftest.$ac_objext conftest.$ac_ext
14557 done
14558 else
14559 echo "$as_me: failed program was:" >&5
14560 sed 's/^/| /' conftest.$ac_ext >&5
14562 ac_lo= ac_hi=
14564 rm -f conftest.$ac_objext conftest.$ac_ext
14566 rm -f conftest.$ac_objext conftest.$ac_ext
14567 # Binary search between lo and hi bounds.
14568 while test "x$ac_lo" != "x$ac_hi"; do
14569 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14570 cat >conftest.$ac_ext <<_ACEOF
14571 #line $LINENO "configure"
14572 /* confdefs.h. */
14573 _ACEOF
14574 cat confdefs.h >>conftest.$ac_ext
14575 cat >>conftest.$ac_ext <<_ACEOF
14576 /* end confdefs.h. */
14577 $ac_includes_default
14579 main ()
14581 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
14582 test_array [0] = 0
14585 return 0;
14587 _ACEOF
14588 rm -f conftest.$ac_objext
14589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14590 (eval $ac_compile) 2>&5
14591 ac_status=$?
14592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14593 (exit $ac_status); } &&
14594 { ac_try='test -s conftest.$ac_objext'
14595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14596 (eval $ac_try) 2>&5
14597 ac_status=$?
14598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14599 (exit $ac_status); }; }; then
14600 ac_hi=$ac_mid
14601 else
14602 echo "$as_me: failed program was:" >&5
14603 sed 's/^/| /' conftest.$ac_ext >&5
14605 ac_lo=`expr '(' $ac_mid ')' + 1`
14607 rm -f conftest.$ac_objext conftest.$ac_ext
14608 done
14609 case $ac_lo in
14610 ?*) ac_cv_sizeof_long_long=$ac_lo;;
14611 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
14612 See \`config.log' for more details." >&5
14613 echo "$as_me: error: cannot compute sizeof (long long), 77
14614 See \`config.log' for more details." >&2;}
14615 { (exit 1); exit 1; }; } ;;
14616 esac
14617 else
14618 if test "$cross_compiling" = yes; then
14619 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14620 See \`config.log' for more details." >&5
14621 echo "$as_me: error: cannot run test program while cross compiling
14622 See \`config.log' for more details." >&2;}
14623 { (exit 1); exit 1; }; }
14624 else
14625 cat >conftest.$ac_ext <<_ACEOF
14626 #line $LINENO "configure"
14627 /* confdefs.h. */
14628 _ACEOF
14629 cat confdefs.h >>conftest.$ac_ext
14630 cat >>conftest.$ac_ext <<_ACEOF
14631 /* end confdefs.h. */
14632 $ac_includes_default
14633 long longval () { return (long) (sizeof (long long)); }
14634 unsigned long ulongval () { return (long) (sizeof (long long)); }
14635 #include <stdio.h>
14636 #include <stdlib.h>
14638 main ()
14641 FILE *f = fopen ("conftest.val", "w");
14642 if (! f)
14643 exit (1);
14644 if (((long) (sizeof (long long))) < 0)
14646 long i = longval ();
14647 if (i != ((long) (sizeof (long long))))
14648 exit (1);
14649 fprintf (f, "%ld\n", i);
14651 else
14653 unsigned long i = ulongval ();
14654 if (i != ((long) (sizeof (long long))))
14655 exit (1);
14656 fprintf (f, "%lu\n", i);
14658 exit (ferror (f) || fclose (f) != 0);
14661 return 0;
14663 _ACEOF
14664 rm -f conftest$ac_exeext
14665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14666 (eval $ac_link) 2>&5
14667 ac_status=$?
14668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14669 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14671 (eval $ac_try) 2>&5
14672 ac_status=$?
14673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14674 (exit $ac_status); }; }; then
14675 ac_cv_sizeof_long_long=`cat conftest.val`
14676 else
14677 echo "$as_me: program exited with status $ac_status" >&5
14678 echo "$as_me: failed program was:" >&5
14679 sed 's/^/| /' conftest.$ac_ext >&5
14681 ( exit $ac_status )
14682 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
14683 See \`config.log' for more details." >&5
14684 echo "$as_me: error: cannot compute sizeof (long long), 77
14685 See \`config.log' for more details." >&2;}
14686 { (exit 1); exit 1; }; }
14688 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14691 rm -f conftest.val
14692 else
14693 ac_cv_sizeof_long_long=0
14696 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
14697 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
14698 cat >>confdefs.h <<_ACEOF
14699 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
14700 _ACEOF
14704 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
14705 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
14706 if test "${wine_cv_linux_input_h+set}" = set; then
14707 echo $ECHO_N "(cached) $ECHO_C" >&6
14708 else
14709 cat >conftest.$ac_ext <<_ACEOF
14710 #line $LINENO "configure"
14711 /* confdefs.h. */
14712 _ACEOF
14713 cat confdefs.h >>conftest.$ac_ext
14714 cat >>conftest.$ac_ext <<_ACEOF
14715 /* end confdefs.h. */
14717 #include <linux/input.h>
14720 main ()
14723 int foo = EVIOCGBIT(EV_ABS,42);
14724 int bar = BTN_PINKIE;
14725 int fortytwo = 42;
14728 return 0;
14730 _ACEOF
14731 rm -f conftest.$ac_objext
14732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14733 (eval $ac_compile) 2>&5
14734 ac_status=$?
14735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14736 (exit $ac_status); } &&
14737 { ac_try='test -s conftest.$ac_objext'
14738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14739 (eval $ac_try) 2>&5
14740 ac_status=$?
14741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14742 (exit $ac_status); }; }; then
14743 wine_cv_linux_input_h=yes
14744 else
14745 echo "$as_me: failed program was:" >&5
14746 sed 's/^/| /' conftest.$ac_ext >&5
14748 wine_cv_linux_input_h=no
14750 rm -f conftest.$ac_objext conftest.$ac_ext
14753 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
14754 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
14755 if test "$wine_cv_linux_input_h" = "yes"
14756 then
14758 cat >>confdefs.h <<\_ACEOF
14759 #define HAVE_CORRECT_LINUXINPUT_H 1
14760 _ACEOF
14765 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
14766 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
14767 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
14768 echo $ECHO_N "(cached) $ECHO_C" >&6
14769 else
14770 cat >conftest.$ac_ext <<_ACEOF
14771 #line $LINENO "configure"
14772 /* confdefs.h. */
14773 _ACEOF
14774 cat confdefs.h >>conftest.$ac_ext
14775 cat >>conftest.$ac_ext <<_ACEOF
14776 /* end confdefs.h. */
14778 #include <netdb.h>
14781 main ()
14784 char *name=NULL;
14785 struct hostent he;
14786 struct hostent *result;
14787 char *buf=NULL;
14788 int bufsize=0;
14789 int res,errnr;
14790 char *addr=NULL;
14791 int addrlen=0;
14792 int addrtype=0;
14793 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
14794 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
14797 return 0;
14799 _ACEOF
14800 rm -f conftest.$ac_objext
14801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14802 (eval $ac_compile) 2>&5
14803 ac_status=$?
14804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14805 (exit $ac_status); } &&
14806 { ac_try='test -s conftest.$ac_objext'
14807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14808 (eval $ac_try) 2>&5
14809 ac_status=$?
14810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14811 (exit $ac_status); }; }; then
14812 wine_cv_linux_gethostbyname_r_6=yes
14813 else
14814 echo "$as_me: failed program was:" >&5
14815 sed 's/^/| /' conftest.$ac_ext >&5
14817 wine_cv_linux_gethostbyname_r_6=no
14820 rm -f conftest.$ac_objext conftest.$ac_ext
14823 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
14824 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
14825 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
14826 then
14828 cat >>confdefs.h <<\_ACEOF
14829 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
14830 _ACEOF
14834 if test "$ac_cv_header_linux_joystick_h" = "yes"
14835 then
14836 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
14837 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
14838 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
14839 echo $ECHO_N "(cached) $ECHO_C" >&6
14840 else
14841 cat >conftest.$ac_ext <<_ACEOF
14842 #line $LINENO "configure"
14843 /* confdefs.h. */
14844 _ACEOF
14845 cat confdefs.h >>conftest.$ac_ext
14846 cat >>conftest.$ac_ext <<_ACEOF
14847 /* end confdefs.h. */
14849 #include <sys/ioctl.h>
14850 #include <linux/joystick.h>
14852 struct js_event blub;
14853 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
14854 #error "no 2.2 header"
14855 #endif
14858 main ()
14860 /*empty*/
14862 return 0;
14864 _ACEOF
14865 rm -f conftest.$ac_objext
14866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14867 (eval $ac_compile) 2>&5
14868 ac_status=$?
14869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14870 (exit $ac_status); } &&
14871 { ac_try='test -s conftest.$ac_objext'
14872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14873 (eval $ac_try) 2>&5
14874 ac_status=$?
14875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14876 (exit $ac_status); }; }; then
14877 wine_cv_linux_joystick_22_api=yes
14878 else
14879 echo "$as_me: failed program was:" >&5
14880 sed 's/^/| /' conftest.$ac_ext >&5
14882 wine_cv_linux_joystick_22_api=no
14884 rm -f conftest.$ac_objext conftest.$ac_ext
14887 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
14888 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
14889 if test "$wine_cv_linux_joystick_22_api" = "yes"
14890 then
14892 cat >>confdefs.h <<\_ACEOF
14893 #define HAVE_LINUX_22_JOYSTICK_API 1
14894 _ACEOF
14900 if test "$ac_cv_header_sys_vfs_h" = "yes"
14901 then
14902 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
14903 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
14904 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
14905 echo $ECHO_N "(cached) $ECHO_C" >&6
14906 else
14907 cat >conftest.$ac_ext <<_ACEOF
14908 #line $LINENO "configure"
14909 /* confdefs.h. */
14910 _ACEOF
14911 cat confdefs.h >>conftest.$ac_ext
14912 cat >>conftest.$ac_ext <<_ACEOF
14913 /* end confdefs.h. */
14915 #include <sys/types.h>
14916 #ifdef HAVE_SYS_PARAM_H
14917 # include <sys/param.h>
14918 #endif
14919 #include <sys/vfs.h>
14922 main ()
14925 struct statfs stfs;
14927 memset(&stfs,0,sizeof(stfs));
14930 return 0;
14932 _ACEOF
14933 rm -f conftest.$ac_objext
14934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14935 (eval $ac_compile) 2>&5
14936 ac_status=$?
14937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14938 (exit $ac_status); } &&
14939 { ac_try='test -s conftest.$ac_objext'
14940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14941 (eval $ac_try) 2>&5
14942 ac_status=$?
14943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14944 (exit $ac_status); }; }; then
14945 wine_cv_sys_vfs_has_statfs=yes
14946 else
14947 echo "$as_me: failed program was:" >&5
14948 sed 's/^/| /' conftest.$ac_ext >&5
14950 wine_cv_sys_vfs_has_statfs=no
14953 rm -f conftest.$ac_objext conftest.$ac_ext
14956 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
14957 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
14958 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
14959 then
14961 cat >>confdefs.h <<\_ACEOF
14962 #define STATFS_DEFINED_BY_SYS_VFS 1
14963 _ACEOF
14968 if test "$ac_cv_header_sys_statfs_h" = "yes"
14969 then
14970 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
14971 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
14972 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
14973 echo $ECHO_N "(cached) $ECHO_C" >&6
14974 else
14975 cat >conftest.$ac_ext <<_ACEOF
14976 #line $LINENO "configure"
14977 /* confdefs.h. */
14978 _ACEOF
14979 cat confdefs.h >>conftest.$ac_ext
14980 cat >>conftest.$ac_ext <<_ACEOF
14981 /* end confdefs.h. */
14983 #include <sys/types.h>
14984 #ifdef HAVE_SYS_PARAM_H
14985 # include <sys/param.h>
14986 #endif
14987 #include <sys/statfs.h>
14990 main ()
14993 struct statfs stfs;
14996 return 0;
14998 _ACEOF
14999 rm -f conftest.$ac_objext
15000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15001 (eval $ac_compile) 2>&5
15002 ac_status=$?
15003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15004 (exit $ac_status); } &&
15005 { ac_try='test -s conftest.$ac_objext'
15006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15007 (eval $ac_try) 2>&5
15008 ac_status=$?
15009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15010 (exit $ac_status); }; }; then
15011 wine_cv_sys_statfs_has_statfs=yes
15012 else
15013 echo "$as_me: failed program was:" >&5
15014 sed 's/^/| /' conftest.$ac_ext >&5
15016 wine_cv_sys_statfs_has_statfs=no
15019 rm -f conftest.$ac_objext conftest.$ac_ext
15022 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
15023 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
15024 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
15025 then
15027 cat >>confdefs.h <<\_ACEOF
15028 #define STATFS_DEFINED_BY_SYS_STATFS 1
15029 _ACEOF
15034 if test "$ac_cv_header_sys_mount_h" = "yes"
15035 then
15036 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
15037 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
15038 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
15039 echo $ECHO_N "(cached) $ECHO_C" >&6
15040 else
15041 cat >conftest.$ac_ext <<_ACEOF
15042 #line $LINENO "configure"
15043 /* confdefs.h. */
15044 _ACEOF
15045 cat confdefs.h >>conftest.$ac_ext
15046 cat >>conftest.$ac_ext <<_ACEOF
15047 /* end confdefs.h. */
15049 #include <sys/types.h>
15050 #ifdef HAVE_SYS_PARAM_H
15051 # include <sys/param.h>
15052 #endif
15053 #include <sys/mount.h>
15056 main ()
15059 struct statfs stfs;
15062 return 0;
15064 _ACEOF
15065 rm -f conftest.$ac_objext
15066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15067 (eval $ac_compile) 2>&5
15068 ac_status=$?
15069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15070 (exit $ac_status); } &&
15071 { ac_try='test -s conftest.$ac_objext'
15072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15073 (eval $ac_try) 2>&5
15074 ac_status=$?
15075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15076 (exit $ac_status); }; }; then
15077 wine_cv_sys_mount_has_statfs=yes
15078 else
15079 echo "$as_me: failed program was:" >&5
15080 sed 's/^/| /' conftest.$ac_ext >&5
15082 wine_cv_sys_mount_has_statfs=no
15085 rm -f conftest.$ac_objext conftest.$ac_ext
15088 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
15089 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
15090 if test "$wine_cv_sys_mount_has_statfs" = "yes"
15091 then
15093 cat >>confdefs.h <<\_ACEOF
15094 #define STATFS_DEFINED_BY_SYS_MOUNT 1
15095 _ACEOF
15101 echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
15102 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6
15103 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
15104 echo $ECHO_N "(cached) $ECHO_C" >&6
15105 else
15106 cat >conftest.$ac_ext <<_ACEOF
15107 #line $LINENO "configure"
15108 /* confdefs.h. */
15109 _ACEOF
15110 cat confdefs.h >>conftest.$ac_ext
15111 cat >>conftest.$ac_ext <<_ACEOF
15112 /* end confdefs.h. */
15113 #include <sys/types.h>
15114 #ifdef HAVE_SYS_PARAM_H
15115 # include <sys/param.h>
15116 #endif
15117 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
15118 # include <sys/mount.h>
15119 #else
15120 # ifdef STATFS_DEFINED_BY_SYS_VFS
15121 # include <sys/vfs.h>
15122 # else
15123 # ifdef STATFS_DEFINED_BY_SYS_STATFS
15124 # include <sys/statfs.h>
15125 # endif
15126 # endif
15127 #endif
15130 main ()
15132 static struct statfs ac_aggr;
15133 if (ac_aggr.f_bfree)
15134 return 0;
15136 return 0;
15138 _ACEOF
15139 rm -f conftest.$ac_objext
15140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15141 (eval $ac_compile) 2>&5
15142 ac_status=$?
15143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15144 (exit $ac_status); } &&
15145 { ac_try='test -s conftest.$ac_objext'
15146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15147 (eval $ac_try) 2>&5
15148 ac_status=$?
15149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15150 (exit $ac_status); }; }; then
15151 ac_cv_member_struct_statfs_f_bfree=yes
15152 else
15153 echo "$as_me: failed program was:" >&5
15154 sed 's/^/| /' conftest.$ac_ext >&5
15156 cat >conftest.$ac_ext <<_ACEOF
15157 #line $LINENO "configure"
15158 /* confdefs.h. */
15159 _ACEOF
15160 cat confdefs.h >>conftest.$ac_ext
15161 cat >>conftest.$ac_ext <<_ACEOF
15162 /* end confdefs.h. */
15163 #include <sys/types.h>
15164 #ifdef HAVE_SYS_PARAM_H
15165 # include <sys/param.h>
15166 #endif
15167 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
15168 # include <sys/mount.h>
15169 #else
15170 # ifdef STATFS_DEFINED_BY_SYS_VFS
15171 # include <sys/vfs.h>
15172 # else
15173 # ifdef STATFS_DEFINED_BY_SYS_STATFS
15174 # include <sys/statfs.h>
15175 # endif
15176 # endif
15177 #endif
15180 main ()
15182 static struct statfs ac_aggr;
15183 if (sizeof ac_aggr.f_bfree)
15184 return 0;
15186 return 0;
15188 _ACEOF
15189 rm -f conftest.$ac_objext
15190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15191 (eval $ac_compile) 2>&5
15192 ac_status=$?
15193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15194 (exit $ac_status); } &&
15195 { ac_try='test -s conftest.$ac_objext'
15196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15197 (eval $ac_try) 2>&5
15198 ac_status=$?
15199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15200 (exit $ac_status); }; }; then
15201 ac_cv_member_struct_statfs_f_bfree=yes
15202 else
15203 echo "$as_me: failed program was:" >&5
15204 sed 's/^/| /' conftest.$ac_ext >&5
15206 ac_cv_member_struct_statfs_f_bfree=no
15208 rm -f conftest.$ac_objext conftest.$ac_ext
15210 rm -f conftest.$ac_objext conftest.$ac_ext
15212 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
15213 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6
15214 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
15216 cat >>confdefs.h <<_ACEOF
15217 #define HAVE_STRUCT_STATFS_F_BFREE 1
15218 _ACEOF
15222 echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
15223 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6
15224 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
15225 echo $ECHO_N "(cached) $ECHO_C" >&6
15226 else
15227 cat >conftest.$ac_ext <<_ACEOF
15228 #line $LINENO "configure"
15229 /* confdefs.h. */
15230 _ACEOF
15231 cat confdefs.h >>conftest.$ac_ext
15232 cat >>conftest.$ac_ext <<_ACEOF
15233 /* end confdefs.h. */
15234 #include <sys/types.h>
15235 #ifdef HAVE_SYS_PARAM_H
15236 # include <sys/param.h>
15237 #endif
15238 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
15239 # include <sys/mount.h>
15240 #else
15241 # ifdef STATFS_DEFINED_BY_SYS_VFS
15242 # include <sys/vfs.h>
15243 # else
15244 # ifdef STATFS_DEFINED_BY_SYS_STATFS
15245 # include <sys/statfs.h>
15246 # endif
15247 # endif
15248 #endif
15251 main ()
15253 static struct statfs ac_aggr;
15254 if (ac_aggr.f_bavail)
15255 return 0;
15257 return 0;
15259 _ACEOF
15260 rm -f conftest.$ac_objext
15261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15262 (eval $ac_compile) 2>&5
15263 ac_status=$?
15264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15265 (exit $ac_status); } &&
15266 { ac_try='test -s conftest.$ac_objext'
15267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15268 (eval $ac_try) 2>&5
15269 ac_status=$?
15270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15271 (exit $ac_status); }; }; then
15272 ac_cv_member_struct_statfs_f_bavail=yes
15273 else
15274 echo "$as_me: failed program was:" >&5
15275 sed 's/^/| /' conftest.$ac_ext >&5
15277 cat >conftest.$ac_ext <<_ACEOF
15278 #line $LINENO "configure"
15279 /* confdefs.h. */
15280 _ACEOF
15281 cat confdefs.h >>conftest.$ac_ext
15282 cat >>conftest.$ac_ext <<_ACEOF
15283 /* end confdefs.h. */
15284 #include <sys/types.h>
15285 #ifdef HAVE_SYS_PARAM_H
15286 # include <sys/param.h>
15287 #endif
15288 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
15289 # include <sys/mount.h>
15290 #else
15291 # ifdef STATFS_DEFINED_BY_SYS_VFS
15292 # include <sys/vfs.h>
15293 # else
15294 # ifdef STATFS_DEFINED_BY_SYS_STATFS
15295 # include <sys/statfs.h>
15296 # endif
15297 # endif
15298 #endif
15301 main ()
15303 static struct statfs ac_aggr;
15304 if (sizeof ac_aggr.f_bavail)
15305 return 0;
15307 return 0;
15309 _ACEOF
15310 rm -f conftest.$ac_objext
15311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15312 (eval $ac_compile) 2>&5
15313 ac_status=$?
15314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15315 (exit $ac_status); } &&
15316 { ac_try='test -s conftest.$ac_objext'
15317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15318 (eval $ac_try) 2>&5
15319 ac_status=$?
15320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15321 (exit $ac_status); }; }; then
15322 ac_cv_member_struct_statfs_f_bavail=yes
15323 else
15324 echo "$as_me: failed program was:" >&5
15325 sed 's/^/| /' conftest.$ac_ext >&5
15327 ac_cv_member_struct_statfs_f_bavail=no
15329 rm -f conftest.$ac_objext conftest.$ac_ext
15331 rm -f conftest.$ac_objext conftest.$ac_ext
15333 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
15334 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6
15335 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
15337 cat >>confdefs.h <<_ACEOF
15338 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15339 _ACEOF
15345 echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
15346 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6
15347 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
15348 echo $ECHO_N "(cached) $ECHO_C" >&6
15349 else
15350 cat >conftest.$ac_ext <<_ACEOF
15351 #line $LINENO "configure"
15352 /* confdefs.h. */
15353 _ACEOF
15354 cat confdefs.h >>conftest.$ac_ext
15355 cat >>conftest.$ac_ext <<_ACEOF
15356 /* end confdefs.h. */
15357 #include <sys/types.h>
15358 #ifdef HAVE_SYS_SOCKET_H
15359 # include <sys/socket.h>
15360 #endif
15361 #ifdef HAVE_SYS_UN_H
15362 # include <sys/un.h>
15363 #endif
15366 main ()
15368 static struct msghdr ac_aggr;
15369 if (ac_aggr.msg_accrights)
15370 return 0;
15372 return 0;
15374 _ACEOF
15375 rm -f conftest.$ac_objext
15376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15377 (eval $ac_compile) 2>&5
15378 ac_status=$?
15379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15380 (exit $ac_status); } &&
15381 { ac_try='test -s conftest.$ac_objext'
15382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15383 (eval $ac_try) 2>&5
15384 ac_status=$?
15385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15386 (exit $ac_status); }; }; then
15387 ac_cv_member_struct_msghdr_msg_accrights=yes
15388 else
15389 echo "$as_me: failed program was:" >&5
15390 sed 's/^/| /' conftest.$ac_ext >&5
15392 cat >conftest.$ac_ext <<_ACEOF
15393 #line $LINENO "configure"
15394 /* confdefs.h. */
15395 _ACEOF
15396 cat confdefs.h >>conftest.$ac_ext
15397 cat >>conftest.$ac_ext <<_ACEOF
15398 /* end confdefs.h. */
15399 #include <sys/types.h>
15400 #ifdef HAVE_SYS_SOCKET_H
15401 # include <sys/socket.h>
15402 #endif
15403 #ifdef HAVE_SYS_UN_H
15404 # include <sys/un.h>
15405 #endif
15408 main ()
15410 static struct msghdr ac_aggr;
15411 if (sizeof ac_aggr.msg_accrights)
15412 return 0;
15414 return 0;
15416 _ACEOF
15417 rm -f conftest.$ac_objext
15418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15419 (eval $ac_compile) 2>&5
15420 ac_status=$?
15421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15422 (exit $ac_status); } &&
15423 { ac_try='test -s conftest.$ac_objext'
15424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15425 (eval $ac_try) 2>&5
15426 ac_status=$?
15427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15428 (exit $ac_status); }; }; then
15429 ac_cv_member_struct_msghdr_msg_accrights=yes
15430 else
15431 echo "$as_me: failed program was:" >&5
15432 sed 's/^/| /' conftest.$ac_ext >&5
15434 ac_cv_member_struct_msghdr_msg_accrights=no
15436 rm -f conftest.$ac_objext conftest.$ac_ext
15438 rm -f conftest.$ac_objext conftest.$ac_ext
15440 echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
15441 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6
15442 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
15444 cat >>confdefs.h <<_ACEOF
15445 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15446 _ACEOF
15450 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
15451 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6
15452 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
15453 echo $ECHO_N "(cached) $ECHO_C" >&6
15454 else
15455 cat >conftest.$ac_ext <<_ACEOF
15456 #line $LINENO "configure"
15457 /* confdefs.h. */
15458 _ACEOF
15459 cat confdefs.h >>conftest.$ac_ext
15460 cat >>conftest.$ac_ext <<_ACEOF
15461 /* end confdefs.h. */
15462 #include <sys/types.h>
15463 #ifdef HAVE_SYS_SOCKET_H
15464 # include <sys/socket.h>
15465 #endif
15466 #ifdef HAVE_SYS_UN_H
15467 # include <sys/un.h>
15468 #endif
15471 main ()
15473 static struct sockaddr ac_aggr;
15474 if (ac_aggr.sa_len)
15475 return 0;
15477 return 0;
15479 _ACEOF
15480 rm -f conftest.$ac_objext
15481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15482 (eval $ac_compile) 2>&5
15483 ac_status=$?
15484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15485 (exit $ac_status); } &&
15486 { ac_try='test -s conftest.$ac_objext'
15487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15488 (eval $ac_try) 2>&5
15489 ac_status=$?
15490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15491 (exit $ac_status); }; }; then
15492 ac_cv_member_struct_sockaddr_sa_len=yes
15493 else
15494 echo "$as_me: failed program was:" >&5
15495 sed 's/^/| /' conftest.$ac_ext >&5
15497 cat >conftest.$ac_ext <<_ACEOF
15498 #line $LINENO "configure"
15499 /* confdefs.h. */
15500 _ACEOF
15501 cat confdefs.h >>conftest.$ac_ext
15502 cat >>conftest.$ac_ext <<_ACEOF
15503 /* end confdefs.h. */
15504 #include <sys/types.h>
15505 #ifdef HAVE_SYS_SOCKET_H
15506 # include <sys/socket.h>
15507 #endif
15508 #ifdef HAVE_SYS_UN_H
15509 # include <sys/un.h>
15510 #endif
15513 main ()
15515 static struct sockaddr ac_aggr;
15516 if (sizeof ac_aggr.sa_len)
15517 return 0;
15519 return 0;
15521 _ACEOF
15522 rm -f conftest.$ac_objext
15523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15524 (eval $ac_compile) 2>&5
15525 ac_status=$?
15526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15527 (exit $ac_status); } &&
15528 { ac_try='test -s conftest.$ac_objext'
15529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15530 (eval $ac_try) 2>&5
15531 ac_status=$?
15532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15533 (exit $ac_status); }; }; then
15534 ac_cv_member_struct_sockaddr_sa_len=yes
15535 else
15536 echo "$as_me: failed program was:" >&5
15537 sed 's/^/| /' conftest.$ac_ext >&5
15539 ac_cv_member_struct_sockaddr_sa_len=no
15541 rm -f conftest.$ac_objext conftest.$ac_ext
15543 rm -f conftest.$ac_objext conftest.$ac_ext
15545 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
15546 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6
15547 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
15549 cat >>confdefs.h <<_ACEOF
15550 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15551 _ACEOF
15555 echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
15556 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6
15557 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
15558 echo $ECHO_N "(cached) $ECHO_C" >&6
15559 else
15560 cat >conftest.$ac_ext <<_ACEOF
15561 #line $LINENO "configure"
15562 /* confdefs.h. */
15563 _ACEOF
15564 cat confdefs.h >>conftest.$ac_ext
15565 cat >>conftest.$ac_ext <<_ACEOF
15566 /* end confdefs.h. */
15567 #include <sys/types.h>
15568 #ifdef HAVE_SYS_SOCKET_H
15569 # include <sys/socket.h>
15570 #endif
15571 #ifdef HAVE_SYS_UN_H
15572 # include <sys/un.h>
15573 #endif
15576 main ()
15578 static struct sockaddr_un ac_aggr;
15579 if (ac_aggr.sun_len)
15580 return 0;
15582 return 0;
15584 _ACEOF
15585 rm -f conftest.$ac_objext
15586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15587 (eval $ac_compile) 2>&5
15588 ac_status=$?
15589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15590 (exit $ac_status); } &&
15591 { ac_try='test -s conftest.$ac_objext'
15592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15593 (eval $ac_try) 2>&5
15594 ac_status=$?
15595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15596 (exit $ac_status); }; }; then
15597 ac_cv_member_struct_sockaddr_un_sun_len=yes
15598 else
15599 echo "$as_me: failed program was:" >&5
15600 sed 's/^/| /' conftest.$ac_ext >&5
15602 cat >conftest.$ac_ext <<_ACEOF
15603 #line $LINENO "configure"
15604 /* confdefs.h. */
15605 _ACEOF
15606 cat confdefs.h >>conftest.$ac_ext
15607 cat >>conftest.$ac_ext <<_ACEOF
15608 /* end confdefs.h. */
15609 #include <sys/types.h>
15610 #ifdef HAVE_SYS_SOCKET_H
15611 # include <sys/socket.h>
15612 #endif
15613 #ifdef HAVE_SYS_UN_H
15614 # include <sys/un.h>
15615 #endif
15618 main ()
15620 static struct sockaddr_un ac_aggr;
15621 if (sizeof ac_aggr.sun_len)
15622 return 0;
15624 return 0;
15626 _ACEOF
15627 rm -f conftest.$ac_objext
15628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15629 (eval $ac_compile) 2>&5
15630 ac_status=$?
15631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15632 (exit $ac_status); } &&
15633 { ac_try='test -s conftest.$ac_objext'
15634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15635 (eval $ac_try) 2>&5
15636 ac_status=$?
15637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15638 (exit $ac_status); }; }; then
15639 ac_cv_member_struct_sockaddr_un_sun_len=yes
15640 else
15641 echo "$as_me: failed program was:" >&5
15642 sed 's/^/| /' conftest.$ac_ext >&5
15644 ac_cv_member_struct_sockaddr_un_sun_len=no
15646 rm -f conftest.$ac_objext conftest.$ac_ext
15648 rm -f conftest.$ac_objext conftest.$ac_ext
15650 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
15651 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6
15652 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
15654 cat >>confdefs.h <<_ACEOF
15655 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15656 _ACEOF
15662 echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
15663 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6
15664 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
15665 echo $ECHO_N "(cached) $ECHO_C" >&6
15666 else
15667 cat >conftest.$ac_ext <<_ACEOF
15668 #line $LINENO "configure"
15669 /* confdefs.h. */
15670 _ACEOF
15671 cat confdefs.h >>conftest.$ac_ext
15672 cat >>conftest.$ac_ext <<_ACEOF
15673 /* end confdefs.h. */
15674 #include <signal.h>
15677 main ()
15679 static siginfo_t ac_aggr;
15680 if (ac_aggr.si_fd)
15681 return 0;
15683 return 0;
15685 _ACEOF
15686 rm -f conftest.$ac_objext
15687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15688 (eval $ac_compile) 2>&5
15689 ac_status=$?
15690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691 (exit $ac_status); } &&
15692 { ac_try='test -s conftest.$ac_objext'
15693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15694 (eval $ac_try) 2>&5
15695 ac_status=$?
15696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15697 (exit $ac_status); }; }; then
15698 ac_cv_member_siginfo_t_si_fd=yes
15699 else
15700 echo "$as_me: failed program was:" >&5
15701 sed 's/^/| /' conftest.$ac_ext >&5
15703 cat >conftest.$ac_ext <<_ACEOF
15704 #line $LINENO "configure"
15705 /* confdefs.h. */
15706 _ACEOF
15707 cat confdefs.h >>conftest.$ac_ext
15708 cat >>conftest.$ac_ext <<_ACEOF
15709 /* end confdefs.h. */
15710 #include <signal.h>
15713 main ()
15715 static siginfo_t ac_aggr;
15716 if (sizeof ac_aggr.si_fd)
15717 return 0;
15719 return 0;
15721 _ACEOF
15722 rm -f conftest.$ac_objext
15723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15724 (eval $ac_compile) 2>&5
15725 ac_status=$?
15726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15727 (exit $ac_status); } &&
15728 { ac_try='test -s conftest.$ac_objext'
15729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15730 (eval $ac_try) 2>&5
15731 ac_status=$?
15732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15733 (exit $ac_status); }; }; then
15734 ac_cv_member_siginfo_t_si_fd=yes
15735 else
15736 echo "$as_me: failed program was:" >&5
15737 sed 's/^/| /' conftest.$ac_ext >&5
15739 ac_cv_member_siginfo_t_si_fd=no
15741 rm -f conftest.$ac_objext conftest.$ac_ext
15743 rm -f conftest.$ac_objext conftest.$ac_ext
15745 echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
15746 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6
15747 if test $ac_cv_member_siginfo_t_si_fd = yes; then
15749 cat >>confdefs.h <<_ACEOF
15750 #define HAVE_SIGINFO_T_SI_FD 1
15751 _ACEOF
15757 echo "$as_me:$LINENO: checking for struct option.name" >&5
15758 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6
15759 if test "${ac_cv_member_struct_option_name+set}" = set; then
15760 echo $ECHO_N "(cached) $ECHO_C" >&6
15761 else
15762 cat >conftest.$ac_ext <<_ACEOF
15763 #line $LINENO "configure"
15764 /* confdefs.h. */
15765 _ACEOF
15766 cat confdefs.h >>conftest.$ac_ext
15767 cat >>conftest.$ac_ext <<_ACEOF
15768 /* end confdefs.h. */
15769 #ifdef HAVE_GETOPT_H
15770 #include <getopt.h>
15771 #endif
15774 main ()
15776 static struct option ac_aggr;
15777 if (ac_aggr.name)
15778 return 0;
15780 return 0;
15782 _ACEOF
15783 rm -f conftest.$ac_objext
15784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15785 (eval $ac_compile) 2>&5
15786 ac_status=$?
15787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15788 (exit $ac_status); } &&
15789 { ac_try='test -s conftest.$ac_objext'
15790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15791 (eval $ac_try) 2>&5
15792 ac_status=$?
15793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15794 (exit $ac_status); }; }; then
15795 ac_cv_member_struct_option_name=yes
15796 else
15797 echo "$as_me: failed program was:" >&5
15798 sed 's/^/| /' conftest.$ac_ext >&5
15800 cat >conftest.$ac_ext <<_ACEOF
15801 #line $LINENO "configure"
15802 /* confdefs.h. */
15803 _ACEOF
15804 cat confdefs.h >>conftest.$ac_ext
15805 cat >>conftest.$ac_ext <<_ACEOF
15806 /* end confdefs.h. */
15807 #ifdef HAVE_GETOPT_H
15808 #include <getopt.h>
15809 #endif
15812 main ()
15814 static struct option ac_aggr;
15815 if (sizeof ac_aggr.name)
15816 return 0;
15818 return 0;
15820 _ACEOF
15821 rm -f conftest.$ac_objext
15822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15823 (eval $ac_compile) 2>&5
15824 ac_status=$?
15825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15826 (exit $ac_status); } &&
15827 { ac_try='test -s conftest.$ac_objext'
15828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15829 (eval $ac_try) 2>&5
15830 ac_status=$?
15831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); }; }; then
15833 ac_cv_member_struct_option_name=yes
15834 else
15835 echo "$as_me: failed program was:" >&5
15836 sed 's/^/| /' conftest.$ac_ext >&5
15838 ac_cv_member_struct_option_name=no
15840 rm -f conftest.$ac_objext conftest.$ac_ext
15842 rm -f conftest.$ac_objext conftest.$ac_ext
15844 echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
15845 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6
15846 if test $ac_cv_member_struct_option_name = yes; then
15848 cat >>confdefs.h <<_ACEOF
15849 #define HAVE_STRUCT_OPTION_NAME 1
15850 _ACEOF
15857 case $host_cpu in
15858 *i[3456789]86*) echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
15859 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
15860 if test "${ac_cv_cpp_def___i386__+set}" = set; then
15861 echo $ECHO_N "(cached) $ECHO_C" >&6
15862 else
15863 cat >conftest.$ac_ext <<_ACEOF
15864 #line $LINENO "configure"
15865 /* confdefs.h. */
15866 _ACEOF
15867 cat confdefs.h >>conftest.$ac_ext
15868 cat >>conftest.$ac_ext <<_ACEOF
15869 /* end confdefs.h. */
15870 #ifndef __i386__
15872 #endif
15873 _ACEOF
15874 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15875 $EGREP "yes" >/dev/null 2>&1; then
15876 ac_cv_cpp_def___i386__=yes
15877 else
15878 ac_cv_cpp_def___i386__=no
15880 rm -f conftest*
15883 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
15884 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6
15885 if test $ac_cv_cpp_def___i386__ = yes; then
15886 CFLAGS="$CFLAGS -D__i386__"
15887 LINTFLAGS="$LINTFLAGS -D__i386__"
15890 *alpha*) echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
15891 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6
15892 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
15893 echo $ECHO_N "(cached) $ECHO_C" >&6
15894 else
15895 cat >conftest.$ac_ext <<_ACEOF
15896 #line $LINENO "configure"
15897 /* confdefs.h. */
15898 _ACEOF
15899 cat confdefs.h >>conftest.$ac_ext
15900 cat >>conftest.$ac_ext <<_ACEOF
15901 /* end confdefs.h. */
15902 #ifndef __ALPHA__
15904 #endif
15905 _ACEOF
15906 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15907 $EGREP "yes" >/dev/null 2>&1; then
15908 ac_cv_cpp_def___ALPHA__=yes
15909 else
15910 ac_cv_cpp_def___ALPHA__=no
15912 rm -f conftest*
15915 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
15916 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6
15917 if test $ac_cv_cpp_def___ALPHA__ = yes; then
15918 CFLAGS="$CFLAGS -D__ALPHA__"
15919 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
15922 *sparc*) echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
15923 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
15924 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
15925 echo $ECHO_N "(cached) $ECHO_C" >&6
15926 else
15927 cat >conftest.$ac_ext <<_ACEOF
15928 #line $LINENO "configure"
15929 /* confdefs.h. */
15930 _ACEOF
15931 cat confdefs.h >>conftest.$ac_ext
15932 cat >>conftest.$ac_ext <<_ACEOF
15933 /* end confdefs.h. */
15934 #ifndef __sparc__
15936 #endif
15937 _ACEOF
15938 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15939 $EGREP "yes" >/dev/null 2>&1; then
15940 ac_cv_cpp_def___sparc__=yes
15941 else
15942 ac_cv_cpp_def___sparc__=no
15944 rm -f conftest*
15947 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
15948 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
15949 if test $ac_cv_cpp_def___sparc__ = yes; then
15950 CFLAGS="$CFLAGS -D__sparc__"
15951 LINTFLAGS="$LINTFLAGS -D__sparc__"
15954 esac
15956 case $host_vendor in
15957 *sun*) echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
15958 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
15959 if test "${ac_cv_cpp_def___sun__+set}" = set; then
15960 echo $ECHO_N "(cached) $ECHO_C" >&6
15961 else
15962 cat >conftest.$ac_ext <<_ACEOF
15963 #line $LINENO "configure"
15964 /* confdefs.h. */
15965 _ACEOF
15966 cat confdefs.h >>conftest.$ac_ext
15967 cat >>conftest.$ac_ext <<_ACEOF
15968 /* end confdefs.h. */
15969 #ifndef __sun__
15971 #endif
15972 _ACEOF
15973 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15974 $EGREP "yes" >/dev/null 2>&1; then
15975 ac_cv_cpp_def___sun__=yes
15976 else
15977 ac_cv_cpp_def___sun__=no
15979 rm -f conftest*
15982 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
15983 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6
15984 if test $ac_cv_cpp_def___sun__ = yes; then
15985 CFLAGS="$CFLAGS -D__sun__"
15986 LINTFLAGS="$LINTFLAGS -D__sun__"
15989 esac
15995 ac_config_commands="$ac_config_commands controls"
15997 ac_config_commands="$ac_config_commands dlls/ddraw/d3ddevice"
15999 ac_config_commands="$ac_config_commands dlls/ddraw/dclipper"
16001 ac_config_commands="$ac_config_commands dlls/ddraw/ddraw"
16003 ac_config_commands="$ac_config_commands dlls/ddraw/direct3d"
16005 ac_config_commands="$ac_config_commands dlls/ddraw/dpalette"
16007 ac_config_commands="$ac_config_commands dlls/ddraw/dsurface"
16009 ac_config_commands="$ac_config_commands dlls/dinput/joystick"
16011 ac_config_commands="$ac_config_commands dlls/dinput/keyboard"
16013 ac_config_commands="$ac_config_commands dlls/dinput/mouse"
16015 ac_config_commands="$ac_config_commands dlls/gdi/enhmfdrv"
16017 ac_config_commands="$ac_config_commands dlls/gdi/mfdrv"
16019 ac_config_commands="$ac_config_commands dlls/kernel/messages"
16021 ac_config_commands="$ac_config_commands dlls/user/dde"
16023 ac_config_commands="$ac_config_commands dlls/user/resources"
16025 ac_config_commands="$ac_config_commands dlls/wineps/data"
16027 ac_config_commands="$ac_config_commands files"
16029 ac_config_commands="$ac_config_commands graphics"
16031 ac_config_commands="$ac_config_commands graphics/x11drv"
16033 ac_config_commands="$ac_config_commands if1632"
16035 ac_config_commands="$ac_config_commands include/wine"
16037 ac_config_commands="$ac_config_commands loader"
16039 ac_config_commands="$ac_config_commands loader/ne"
16041 ac_config_commands="$ac_config_commands memory"
16043 ac_config_commands="$ac_config_commands misc"
16045 ac_config_commands="$ac_config_commands msdos"
16047 ac_config_commands="$ac_config_commands objects"
16049 ac_config_commands="$ac_config_commands ole"
16051 ac_config_commands="$ac_config_commands programs/regapi/tests"
16053 ac_config_commands="$ac_config_commands programs/regedit/tests"
16055 ac_config_commands="$ac_config_commands relay32"
16057 ac_config_commands="$ac_config_commands scheduler"
16059 ac_config_commands="$ac_config_commands win32"
16061 ac_config_commands="$ac_config_commands windows"
16064 MAKE_RULES=Make.rules
16067 MAKE_DLL_RULES=dlls/Makedll.rules
16070 MAKE_TEST_RULES=dlls/Maketest.rules
16073 MAKE_PROG_RULES=programs/Makeprog.rules
16076 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/cabinet/Makefile dlls/comcat/Makefile dlls/comctl32/Makefile dlls/commdlg/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/ctl3d/Makefile dlls/d3d8/Makefile dlls/d3dim/Makefile dlls/d3dx8/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/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/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrtd/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/urlmon/tests/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/tests/Makefile dlls/winmm/wavemap/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/winenas/Makefile dlls/winmm/winejack/Makefile dlls/winmm/wineoss/Makefile dlls/winnls/Makefile dlls/winsock/Makefile dlls/winsock/tests/Makefile dlls/winspool/Makefile dlls/winspool/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wow32/Makefile dlls/wsock32/Makefile dlls/x11drv/Makefile documentation/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/unicode/Makefile libs/uuid/Makefile libs/wine/Makefile miscemu/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/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wcmd/Makefile programs/wineboot/Makefile programs/winecfg/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winevdm/Makefile programs/winhelp/Makefile programs/winver/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/wmc/Makefile tools/wpp/Makefile tools/wrc/Makefile"
16079 cat >confcache <<\_ACEOF
16080 # This file is a shell script that caches the results of configure
16081 # tests run on this system so they can be shared between configure
16082 # scripts and configure runs, see configure's option --config-cache.
16083 # It is not useful on other systems. If it contains results you don't
16084 # want to keep, you may remove or edit it.
16086 # config.status only pays attention to the cache file if you give it
16087 # the --recheck option to rerun configure.
16089 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16090 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16091 # following values.
16093 _ACEOF
16095 # The following way of writing the cache mishandles newlines in values,
16096 # but we know of no workaround that is simple, portable, and efficient.
16097 # So, don't put newlines in cache variables' values.
16098 # Ultrix sh set writes to stderr and can't be redirected directly,
16099 # and sets the high bit in the cache file unless we assign to the vars.
16101 (set) 2>&1 |
16102 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16103 *ac_space=\ *)
16104 # `set' does not quote correctly, so add quotes (double-quote
16105 # substitution turns \\\\ into \\, and sed turns \\ into \).
16106 sed -n \
16107 "s/'/'\\\\''/g;
16108 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16111 # `set' quotes correctly as required by POSIX, so do not add quotes.
16112 sed -n \
16113 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
16115 esac;
16117 sed '
16118 t clear
16119 : clear
16120 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16121 t end
16122 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16123 : end' >>confcache
16124 if diff $cache_file confcache >/dev/null 2>&1; then :; else
16125 if test -w $cache_file; then
16126 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
16127 cat confcache >$cache_file
16128 else
16129 echo "not updating unwritable cache $cache_file"
16132 rm -f confcache
16134 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16135 # Let make expand exec_prefix.
16136 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16138 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16139 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16140 # trailing colons and then remove the whole line if VPATH becomes empty
16141 # (actually we leave an empty line to preserve line numbers).
16142 if test "x$srcdir" = x.; then
16143 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16144 s/:*\$(srcdir):*/:/;
16145 s/:*\${srcdir}:*/:/;
16146 s/:*@srcdir@:*/:/;
16147 s/^\([^=]*=[ ]*\):*/\1/;
16148 s/:*$//;
16149 s/^[^=]*=[ ]*$//;
16153 DEFS=-DHAVE_CONFIG_H
16155 ac_libobjs=
16156 ac_ltlibobjs=
16157 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16158 # 1. Remove the extension, and $U if already installed.
16159 ac_i=`echo "$ac_i" |
16160 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
16161 # 2. Add them.
16162 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
16163 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
16164 done
16165 LIBOBJS=$ac_libobjs
16167 LTLIBOBJS=$ac_ltlibobjs
16171 : ${CONFIG_STATUS=./config.status}
16172 ac_clean_files_save=$ac_clean_files
16173 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16174 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
16175 echo "$as_me: creating $CONFIG_STATUS" >&6;}
16176 cat >$CONFIG_STATUS <<_ACEOF
16177 #! $SHELL
16178 # Generated by $as_me.
16179 # Run this file to recreate the current configuration.
16180 # Compiler output produced by configure, useful for debugging
16181 # configure, is in config.log if it exists.
16183 debug=false
16184 ac_cs_recheck=false
16185 ac_cs_silent=false
16186 SHELL=\${CONFIG_SHELL-$SHELL}
16187 _ACEOF
16189 cat >>$CONFIG_STATUS <<\_ACEOF
16190 ## --------------------- ##
16191 ## M4sh Initialization. ##
16192 ## --------------------- ##
16194 # Be Bourne compatible
16195 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16196 emulate sh
16197 NULLCMD=:
16198 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
16199 # is contrary to our usage. Disable this feature.
16200 alias -g '${1+"$@"}'='"$@"'
16201 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
16202 set -o posix
16205 # Support unset when possible.
16206 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
16207 as_unset=unset
16208 else
16209 as_unset=false
16213 # Work around bugs in pre-3.0 UWIN ksh.
16214 $as_unset ENV MAIL MAILPATH
16215 PS1='$ '
16216 PS2='> '
16217 PS4='+ '
16219 # NLS nuisances.
16220 for as_var in \
16221 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
16222 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
16223 LC_TELEPHONE LC_TIME
16225 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
16226 eval $as_var=C; export $as_var
16227 else
16228 $as_unset $as_var
16230 done
16232 # Required to use basename.
16233 if expr a : '\(a\)' >/dev/null 2>&1; then
16234 as_expr=expr
16235 else
16236 as_expr=false
16239 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
16240 as_basename=basename
16241 else
16242 as_basename=false
16246 # Name of the executable.
16247 as_me=`$as_basename "$0" ||
16248 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16249 X"$0" : 'X\(//\)$' \| \
16250 X"$0" : 'X\(/\)$' \| \
16251 . : '\(.\)' 2>/dev/null ||
16252 echo X/"$0" |
16253 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
16254 /^X\/\(\/\/\)$/{ s//\1/; q; }
16255 /^X\/\(\/\).*/{ s//\1/; q; }
16256 s/.*/./; q'`
16259 # PATH needs CR, and LINENO needs CR and PATH.
16260 # Avoid depending upon Character Ranges.
16261 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16262 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16263 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16264 as_cr_digits='0123456789'
16265 as_cr_alnum=$as_cr_Letters$as_cr_digits
16267 # The user is always right.
16268 if test "${PATH_SEPARATOR+set}" != set; then
16269 echo "#! /bin/sh" >conf$$.sh
16270 echo "exit 0" >>conf$$.sh
16271 chmod +x conf$$.sh
16272 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
16273 PATH_SEPARATOR=';'
16274 else
16275 PATH_SEPARATOR=:
16277 rm -f conf$$.sh
16281 as_lineno_1=$LINENO
16282 as_lineno_2=$LINENO
16283 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
16284 test "x$as_lineno_1" != "x$as_lineno_2" &&
16285 test "x$as_lineno_3" = "x$as_lineno_2" || {
16286 # Find who we are. Look in the path if we contain no path at all
16287 # relative or not.
16288 case $0 in
16289 *[\\/]* ) as_myself=$0 ;;
16290 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16291 for as_dir in $PATH
16293 IFS=$as_save_IFS
16294 test -z "$as_dir" && as_dir=.
16295 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16296 done
16299 esac
16300 # We did not find ourselves, most probably we were run as `sh COMMAND'
16301 # in which case we are not to be found in the path.
16302 if test "x$as_myself" = x; then
16303 as_myself=$0
16305 if test ! -f "$as_myself"; then
16306 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
16307 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
16308 { (exit 1); exit 1; }; }
16310 case $CONFIG_SHELL in
16312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16313 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
16315 IFS=$as_save_IFS
16316 test -z "$as_dir" && as_dir=.
16317 for as_base in sh bash ksh sh5; do
16318 case $as_dir in
16320 if ("$as_dir/$as_base" -c '
16321 as_lineno_1=$LINENO
16322 as_lineno_2=$LINENO
16323 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
16324 test "x$as_lineno_1" != "x$as_lineno_2" &&
16325 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
16326 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
16327 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
16328 CONFIG_SHELL=$as_dir/$as_base
16329 export CONFIG_SHELL
16330 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
16331 fi;;
16332 esac
16333 done
16334 done
16336 esac
16338 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
16339 # uniformly replaced by the line number. The first 'sed' inserts a
16340 # line-number line before each line; the second 'sed' does the real
16341 # work. The second script uses 'N' to pair each line-number line
16342 # with the numbered line, and appends trailing '-' during
16343 # substitution so that $LINENO is not a special case at line end.
16344 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
16345 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
16346 sed '=' <$as_myself |
16347 sed '
16349 s,$,-,
16350 : loop
16351 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
16352 t loop
16353 s,-$,,
16354 s,^['$as_cr_digits']*\n,,
16355 ' >$as_me.lineno &&
16356 chmod +x $as_me.lineno ||
16357 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
16358 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
16359 { (exit 1); exit 1; }; }
16361 # Don't try to exec as it changes $[0], causing all sort of problems
16362 # (the dirname of $[0] is not the place where we might find the
16363 # original and so on. Autoconf is especially sensible to this).
16364 . ./$as_me.lineno
16365 # Exit status is that of the last command.
16366 exit
16370 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
16371 *c*,-n*) ECHO_N= ECHO_C='
16372 ' ECHO_T=' ' ;;
16373 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
16374 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
16375 esac
16377 if expr a : '\(a\)' >/dev/null 2>&1; then
16378 as_expr=expr
16379 else
16380 as_expr=false
16383 rm -f conf$$ conf$$.exe conf$$.file
16384 echo >conf$$.file
16385 if ln -s conf$$.file conf$$ 2>/dev/null; then
16386 # We could just check for DJGPP; but this test a) works b) is more generic
16387 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
16388 if test -f conf$$.exe; then
16389 # Don't use ln at all; we don't have any links
16390 as_ln_s='cp -p'
16391 else
16392 as_ln_s='ln -s'
16394 elif ln conf$$.file conf$$ 2>/dev/null; then
16395 as_ln_s=ln
16396 else
16397 as_ln_s='cp -p'
16399 rm -f conf$$ conf$$.exe conf$$.file
16401 if mkdir -p . 2>/dev/null; then
16402 as_mkdir_p=:
16403 else
16404 as_mkdir_p=false
16407 as_executable_p="test -f"
16409 # Sed expression to map a string onto a valid CPP name.
16410 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
16412 # Sed expression to map a string onto a valid variable name.
16413 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
16416 # IFS
16417 # We need space, tab and new line, in precisely that order.
16418 as_nl='
16420 IFS=" $as_nl"
16422 # CDPATH.
16423 $as_unset CDPATH
16425 exec 6>&1
16427 # Open the log real soon, to keep \$[0] and so on meaningful, and to
16428 # report actual input values of CONFIG_FILES etc. instead of their
16429 # values after options handling. Logging --version etc. is OK.
16430 exec 5>>config.log
16432 echo
16433 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16434 ## Running $as_me. ##
16435 _ASBOX
16436 } >&5
16437 cat >&5 <<_CSEOF
16439 This file was extended by Wine $as_me 20030408, which was
16440 generated by GNU Autoconf 2.57. Invocation command line was
16442 CONFIG_FILES = $CONFIG_FILES
16443 CONFIG_HEADERS = $CONFIG_HEADERS
16444 CONFIG_LINKS = $CONFIG_LINKS
16445 CONFIG_COMMANDS = $CONFIG_COMMANDS
16446 $ $0 $@
16448 _CSEOF
16449 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
16450 echo >&5
16451 _ACEOF
16453 # Files that config.status was made for.
16454 if test -n "$ac_config_files"; then
16455 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
16458 if test -n "$ac_config_headers"; then
16459 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
16462 if test -n "$ac_config_links"; then
16463 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
16466 if test -n "$ac_config_commands"; then
16467 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
16470 cat >>$CONFIG_STATUS <<\_ACEOF
16472 ac_cs_usage="\
16473 \`$as_me' instantiates files from templates according to the
16474 current configuration.
16476 Usage: $0 [OPTIONS] [FILE]...
16478 -h, --help print this help, then exit
16479 -V, --version print version number, then exit
16480 -q, --quiet do not print progress messages
16481 -d, --debug don't remove temporary files
16482 --recheck update $as_me by reconfiguring in the same conditions
16483 --file=FILE[:TEMPLATE]
16484 instantiate the configuration file FILE
16485 --header=FILE[:TEMPLATE]
16486 instantiate the configuration header FILE
16488 Configuration files:
16489 $config_files
16491 Configuration headers:
16492 $config_headers
16494 Configuration commands:
16495 $config_commands
16497 Report bugs to <bug-autoconf@gnu.org>."
16498 _ACEOF
16500 cat >>$CONFIG_STATUS <<_ACEOF
16501 ac_cs_version="\\
16502 Wine config.status 20030408
16503 configured by $0, generated by GNU Autoconf 2.57,
16504 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
16506 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
16507 Free Software Foundation, Inc.
16508 This config.status script is free software; the Free Software Foundation
16509 gives unlimited permission to copy, distribute and modify it."
16510 srcdir=$srcdir
16511 INSTALL="$INSTALL"
16512 _ACEOF
16514 cat >>$CONFIG_STATUS <<\_ACEOF
16515 # If no file are specified by the user, then we need to provide default
16516 # value. By we need to know if files were specified by the user.
16517 ac_need_defaults=:
16518 while test $# != 0
16520 case $1 in
16521 --*=*)
16522 ac_option=`expr "x$1" : 'x\([^=]*\)='`
16523 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
16524 ac_shift=:
16527 ac_option=$1
16528 ac_optarg=$2
16529 ac_shift=shift
16531 *) # This is not an option, so the user has probably given explicit
16532 # arguments.
16533 ac_option=$1
16534 ac_need_defaults=false;;
16535 esac
16537 case $ac_option in
16538 # Handling of the options.
16539 _ACEOF
16540 cat >>$CONFIG_STATUS <<\_ACEOF
16541 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16542 ac_cs_recheck=: ;;
16543 --version | --vers* | -V )
16544 echo "$ac_cs_version"; exit 0 ;;
16545 --he | --h)
16546 # Conflict between --help and --header
16547 { { echo "$as_me:$LINENO: error: ambiguous option: $1
16548 Try \`$0 --help' for more information." >&5
16549 echo "$as_me: error: ambiguous option: $1
16550 Try \`$0 --help' for more information." >&2;}
16551 { (exit 1); exit 1; }; };;
16552 --help | --hel | -h )
16553 echo "$ac_cs_usage"; exit 0 ;;
16554 --debug | --d* | -d )
16555 debug=: ;;
16556 --file | --fil | --fi | --f )
16557 $ac_shift
16558 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
16559 ac_need_defaults=false;;
16560 --header | --heade | --head | --hea )
16561 $ac_shift
16562 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
16563 ac_need_defaults=false;;
16564 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16565 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16566 ac_cs_silent=: ;;
16568 # This is an error.
16569 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
16570 Try \`$0 --help' for more information." >&5
16571 echo "$as_me: error: unrecognized option: $1
16572 Try \`$0 --help' for more information." >&2;}
16573 { (exit 1); exit 1; }; } ;;
16575 *) ac_config_targets="$ac_config_targets $1" ;;
16577 esac
16578 shift
16579 done
16581 ac_configure_extra_args=
16583 if $ac_cs_silent; then
16584 exec 6>/dev/null
16585 ac_configure_extra_args="$ac_configure_extra_args --silent"
16588 _ACEOF
16589 cat >>$CONFIG_STATUS <<_ACEOF
16590 if \$ac_cs_recheck; then
16591 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
16592 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16595 _ACEOF
16601 cat >>$CONFIG_STATUS <<\_ACEOF
16602 for ac_config_target in $ac_config_targets
16604 case "$ac_config_target" in
16605 # Handling of arguments.
16606 "Make.rules" ) CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
16607 "dlls/Makedll.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
16608 "dlls/Maketest.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
16609 "programs/Makeprog.rules" ) CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
16610 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16611 "dlls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
16612 "dlls/advapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
16613 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
16614 "dlls/avicap32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
16615 "dlls/avifil32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
16616 "dlls/cabinet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
16617 "dlls/comcat/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
16618 "dlls/comctl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
16619 "dlls/commdlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/commdlg/Makefile" ;;
16620 "dlls/crtdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
16621 "dlls/crypt32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
16622 "dlls/ctl3d/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ctl3d/Makefile" ;;
16623 "dlls/d3d8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
16624 "dlls/d3dim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
16625 "dlls/d3dx8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
16626 "dlls/dciman32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
16627 "dlls/ddraw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
16628 "dlls/devenum/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
16629 "dlls/dinput/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
16630 "dlls/dinput8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
16631 "dlls/dmband/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
16632 "dlls/dmcompos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
16633 "dlls/dmime/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
16634 "dlls/dmloader/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
16635 "dlls/dmscript/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
16636 "dlls/dmstyle/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
16637 "dlls/dmsynth/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
16638 "dlls/dmusic/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
16639 "dlls/dmusic32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
16640 "dlls/dplay/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
16641 "dlls/dplayx/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
16642 "dlls/dpnhpast/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
16643 "dlls/dsound/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
16644 "dlls/dsound/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
16645 "dlls/gdi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/Makefile" ;;
16646 "dlls/gdi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
16647 "dlls/glu32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
16648 "dlls/icmp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
16649 "dlls/imagehlp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
16650 "dlls/imm32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
16651 "dlls/kernel/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/Makefile" ;;
16652 "dlls/kernel/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
16653 "dlls/lzexpand/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
16654 "dlls/mapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
16655 "dlls/mpr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
16656 "dlls/msacm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/Makefile" ;;
16657 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
16658 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
16659 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
16660 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
16661 "dlls/msdmo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
16662 "dlls/msimg32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
16663 "dlls/msisys/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msisys/Makefile" ;;
16664 "dlls/msnet32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
16665 "dlls/msvcrt/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
16666 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
16667 "dlls/msvcrt20/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
16668 "dlls/msvcrtd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
16669 "dlls/msvideo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvideo/Makefile" ;;
16670 "dlls/msvideo/msrle32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvideo/msrle32/Makefile" ;;
16671 "dlls/netapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
16672 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
16673 "dlls/ntdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
16674 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
16675 "dlls/odbc32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
16676 "dlls/ole32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
16677 "dlls/oleaut32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
16678 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
16679 "dlls/olecli/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olecli/Makefile" ;;
16680 "dlls/oledlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
16681 "dlls/olepro32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
16682 "dlls/olesvr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olesvr/Makefile" ;;
16683 "dlls/opengl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
16684 "dlls/psapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
16685 "dlls/qcap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
16686 "dlls/quartz/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
16687 "dlls/rasapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
16688 "dlls/richedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/richedit/Makefile" ;;
16689 "dlls/rpcrt4/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
16690 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
16691 "dlls/serialui/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
16692 "dlls/setupapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
16693 "dlls/shdocvw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
16694 "dlls/shell32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
16695 "dlls/shell32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
16696 "dlls/shfolder/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
16697 "dlls/shlwapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
16698 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
16699 "dlls/snmpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
16700 "dlls/sti/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
16701 "dlls/tapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
16702 "dlls/ttydrv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
16703 "dlls/twain/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/twain/Makefile" ;;
16704 "dlls/url/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
16705 "dlls/urlmon/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
16706 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
16707 "dlls/user/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/Makefile" ;;
16708 "dlls/user/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/tests/Makefile" ;;
16709 "dlls/version/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
16710 "dlls/win32s/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/win32s/Makefile" ;;
16711 "dlls/winaspi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winaspi/Makefile" ;;
16712 "dlls/winedos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
16713 "dlls/wineps/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wineps/Makefile" ;;
16714 "dlls/wininet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
16715 "dlls/wininet/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
16716 "dlls/winmm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
16717 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
16718 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
16719 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
16720 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
16721 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
16722 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
16723 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
16724 "dlls/winmm/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
16725 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
16726 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
16727 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
16728 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
16729 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
16730 "dlls/winmm/winejack/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
16731 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
16732 "dlls/winnls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winnls/Makefile" ;;
16733 "dlls/winsock/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/Makefile" ;;
16734 "dlls/winsock/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/tests/Makefile" ;;
16735 "dlls/winspool/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/Makefile" ;;
16736 "dlls/winspool/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/tests/Makefile" ;;
16737 "dlls/wintab32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
16738 "dlls/wintrust/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
16739 "dlls/wow32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
16740 "dlls/wsock32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
16741 "dlls/x11drv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/x11drv/Makefile" ;;
16742 "documentation/Makefile" ) CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
16743 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
16744 "libs/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
16745 "libs/port/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
16746 "libs/unicode/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/unicode/Makefile" ;;
16747 "libs/uuid/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/uuid/Makefile" ;;
16748 "libs/wine/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
16749 "miscemu/Makefile" ) CONFIG_FILES="$CONFIG_FILES miscemu/Makefile" ;;
16750 "programs/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
16751 "programs/avitools/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/avitools/Makefile" ;;
16752 "programs/clock/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
16753 "programs/cmdlgtst/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
16754 "programs/control/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
16755 "programs/expand/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
16756 "programs/notepad/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
16757 "programs/osversioncheck/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/osversioncheck/Makefile" ;;
16758 "programs/progman/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
16759 "programs/regapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regapi/Makefile" ;;
16760 "programs/regedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
16761 "programs/regsvr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
16762 "programs/regtest/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regtest/Makefile" ;;
16763 "programs/rpcss/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
16764 "programs/rundll32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
16765 "programs/start/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
16766 "programs/uninstaller/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
16767 "programs/view/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
16768 "programs/wcmd/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wcmd/Makefile" ;;
16769 "programs/wineboot/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
16770 "programs/winecfg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
16771 "programs/wineconsole/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
16772 "programs/winedbg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
16773 "programs/winefile/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
16774 "programs/winemine/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
16775 "programs/winepath/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
16776 "programs/winevdm/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
16777 "programs/winhelp/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
16778 "programs/winver/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
16779 "server/Makefile" ) CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
16780 "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
16781 "tools/widl/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
16782 "tools/winapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winapi/Makefile" ;;
16783 "tools/winebuild/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
16784 "tools/winedump/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
16785 "tools/wmc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
16786 "tools/wpp/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wpp/Makefile" ;;
16787 "tools/wrc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
16788 "controls" ) CONFIG_COMMANDS="$CONFIG_COMMANDS controls" ;;
16789 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
16790 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
16791 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
16792 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
16793 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
16794 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
16795 "dlls/dinput/joystick" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/dinput/joystick" ;;
16796 "dlls/dinput/keyboard" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/dinput/keyboard" ;;
16797 "dlls/dinput/mouse" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/dinput/mouse" ;;
16798 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
16799 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
16800 "dlls/kernel/messages" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel/messages" ;;
16801 "dlls/user/dde" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/dde" ;;
16802 "dlls/user/resources" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/resources" ;;
16803 "dlls/wineps/data" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps/data" ;;
16804 "files" ) CONFIG_COMMANDS="$CONFIG_COMMANDS files" ;;
16805 "graphics" ) CONFIG_COMMANDS="$CONFIG_COMMANDS graphics" ;;
16806 "graphics/x11drv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS graphics/x11drv" ;;
16807 "if1632" ) CONFIG_COMMANDS="$CONFIG_COMMANDS if1632" ;;
16808 "include/wine" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
16809 "loader" ) CONFIG_COMMANDS="$CONFIG_COMMANDS loader" ;;
16810 "loader/ne" ) CONFIG_COMMANDS="$CONFIG_COMMANDS loader/ne" ;;
16811 "memory" ) CONFIG_COMMANDS="$CONFIG_COMMANDS memory" ;;
16812 "misc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS misc" ;;
16813 "msdos" ) CONFIG_COMMANDS="$CONFIG_COMMANDS msdos" ;;
16814 "objects" ) CONFIG_COMMANDS="$CONFIG_COMMANDS objects" ;;
16815 "ole" ) CONFIG_COMMANDS="$CONFIG_COMMANDS ole" ;;
16816 "programs/regapi/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS programs/regapi/tests" ;;
16817 "programs/regedit/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS programs/regedit/tests" ;;
16818 "relay32" ) CONFIG_COMMANDS="$CONFIG_COMMANDS relay32" ;;
16819 "scheduler" ) CONFIG_COMMANDS="$CONFIG_COMMANDS scheduler" ;;
16820 "win32" ) CONFIG_COMMANDS="$CONFIG_COMMANDS win32" ;;
16821 "windows" ) CONFIG_COMMANDS="$CONFIG_COMMANDS windows" ;;
16822 "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
16823 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
16824 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
16825 { (exit 1); exit 1; }; };;
16826 esac
16827 done
16829 # If the user did not use the arguments to specify the items to instantiate,
16830 # then the envvar interface is used. Set only those that are not.
16831 # We use the long form for the default assignment because of an extremely
16832 # bizarre bug on SunOS 4.1.3.
16833 if $ac_need_defaults; then
16834 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16835 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16836 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16839 # Have a temporary directory for convenience. Make it in the build tree
16840 # simply because there is no reason to put it here, and in addition,
16841 # creating and moving files from /tmp can sometimes cause problems.
16842 # Create a temporary directory, and hook for its removal unless debugging.
16843 $debug ||
16845 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
16846 trap '{ (exit 1); exit 1; }' 1 2 13 15
16849 # Create a (secure) tmp directory for tmp files.
16852 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
16853 test -n "$tmp" && test -d "$tmp"
16854 } ||
16856 tmp=./confstat$$-$RANDOM
16857 (umask 077 && mkdir $tmp)
16858 } ||
16860 echo "$me: cannot create a temporary directory in ." >&2
16861 { (exit 1); exit 1; }
16864 _ACEOF
16866 cat >>$CONFIG_STATUS <<_ACEOF
16869 # CONFIG_FILES section.
16872 # No need to generate the scripts if there are no CONFIG_FILES.
16873 # This happens for instance when ./config.status config.h
16874 if test -n "\$CONFIG_FILES"; then
16875 # Protect against being on the right side of a sed subst in config.status.
16876 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
16877 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
16878 s,@SHELL@,$SHELL,;t t
16879 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
16880 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
16881 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
16882 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
16883 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
16884 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
16885 s,@exec_prefix@,$exec_prefix,;t t
16886 s,@prefix@,$prefix,;t t
16887 s,@program_transform_name@,$program_transform_name,;t t
16888 s,@bindir@,$bindir,;t t
16889 s,@sbindir@,$sbindir,;t t
16890 s,@libexecdir@,$libexecdir,;t t
16891 s,@datadir@,$datadir,;t t
16892 s,@sysconfdir@,$sysconfdir,;t t
16893 s,@sharedstatedir@,$sharedstatedir,;t t
16894 s,@localstatedir@,$localstatedir,;t t
16895 s,@libdir@,$libdir,;t t
16896 s,@includedir@,$includedir,;t t
16897 s,@oldincludedir@,$oldincludedir,;t t
16898 s,@infodir@,$infodir,;t t
16899 s,@mandir@,$mandir,;t t
16900 s,@build_alias@,$build_alias,;t t
16901 s,@host_alias@,$host_alias,;t t
16902 s,@target_alias@,$target_alias,;t t
16903 s,@DEFS@,$DEFS,;t t
16904 s,@ECHO_C@,$ECHO_C,;t t
16905 s,@ECHO_N@,$ECHO_N,;t t
16906 s,@ECHO_T@,$ECHO_T,;t t
16907 s,@LIBS@,$LIBS,;t t
16908 s,@WIN16_FILES@,$WIN16_FILES,;t t
16909 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
16910 s,@LIBPTHREAD@,$LIBPTHREAD,;t t
16911 s,@build@,$build,;t t
16912 s,@build_cpu@,$build_cpu,;t t
16913 s,@build_vendor@,$build_vendor,;t t
16914 s,@build_os@,$build_os,;t t
16915 s,@host@,$host,;t t
16916 s,@host_cpu@,$host_cpu,;t t
16917 s,@host_vendor@,$host_vendor,;t t
16918 s,@host_os@,$host_os,;t t
16919 s,@SET_MAKE@,$SET_MAKE,;t t
16920 s,@CC@,$CC,;t t
16921 s,@CFLAGS@,$CFLAGS,;t t
16922 s,@LDFLAGS@,$LDFLAGS,;t t
16923 s,@CPPFLAGS@,$CPPFLAGS,;t t
16924 s,@ac_ct_CC@,$ac_ct_CC,;t t
16925 s,@EXEEXT@,$EXEEXT,;t t
16926 s,@OBJEXT@,$OBJEXT,;t t
16927 s,@CPP@,$CPP,;t t
16928 s,@TOOLSDIR@,$TOOLSDIR,;t t
16929 s,@X_CFLAGS@,$X_CFLAGS,;t t
16930 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
16931 s,@X_LIBS@,$X_LIBS,;t t
16932 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
16933 s,@YACC@,$YACC,;t t
16934 s,@LEX@,$LEX,;t t
16935 s,@LEXLIB@,$LEXLIB,;t t
16936 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
16937 s,@XYACC@,$XYACC,;t t
16938 s,@XLEX@,$XLEX,;t t
16939 s,@AS@,$AS,;t t
16940 s,@ac_ct_AS@,$ac_ct_AS,;t t
16941 s,@LD@,$LD,;t t
16942 s,@ac_ct_LD@,$ac_ct_LD,;t t
16943 s,@AR@,$AR,;t t
16944 s,@ac_ct_AR@,$ac_ct_AR,;t t
16945 s,@RANLIB@,$RANLIB,;t t
16946 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
16947 s,@STRIP@,$STRIP,;t t
16948 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
16949 s,@WINDRES@,$WINDRES,;t t
16950 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
16951 s,@LN_S@,$LN_S,;t t
16952 s,@LN@,$LN,;t t
16953 s,@C2MAN@,$C2MAN,;t t
16954 s,@LDCONFIG@,$LDCONFIG,;t t
16955 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
16956 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
16957 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
16958 s,@LINT@,$LINT,;t t
16959 s,@LINTFLAGS@,$LINTFLAGS,;t t
16960 s,@DB2HTML@,$DB2HTML,;t t
16961 s,@DB2PDF@,$DB2PDF,;t t
16962 s,@DB2PS@,$DB2PS,;t t
16963 s,@JPEGLIB@,$JPEGLIB,;t t
16964 s,@EGREP@,$EGREP,;t t
16965 s,@GIFLIB@,$GIFLIB,;t t
16966 s,@XLIB@,$XLIB,;t t
16967 s,@XFILES@,$XFILES,;t t
16968 s,@OPENGLFILES@,$OPENGLFILES,;t t
16969 s,@GLU32FILES@,$GLU32FILES,;t t
16970 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
16971 s,@NASLIBS@,$NASLIBS,;t t
16972 s,@CURSESLIBS@,$CURSESLIBS,;t t
16973 s,@sane_devel@,$sane_devel,;t t
16974 s,@SANELIBS@,$SANELIBS,;t t
16975 s,@SANEINCL@,$SANEINCL,;t t
16976 s,@ft_devel@,$ft_devel,;t t
16977 s,@ft_devel2@,$ft_devel2,;t t
16978 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
16979 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
16980 s,@ARTSLIBS@,$ARTSLIBS,;t t
16981 s,@ARTSINCL@,$ARTSINCL,;t t
16982 s,@ALSALIBS@,$ALSALIBS,;t t
16983 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
16984 s,@EXTRACFLAGS@,$EXTRACFLAGS,;t t
16985 s,@DLLEXT@,$DLLEXT,;t t
16986 s,@DLLFLAGS@,$DLLFLAGS,;t t
16987 s,@DLLIBS@,$DLLIBS,;t t
16988 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
16989 s,@LDSHARED@,$LDSHARED,;t t
16990 s,@LIBEXT@,$LIBEXT,;t t
16991 s,@IMPLIBEXT@,$IMPLIBEXT,;t t
16992 s,@DLLTOOL@,$DLLTOOL,;t t
16993 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
16994 s,@DLLWRAP@,$DLLWRAP,;t t
16995 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
16996 s,@LDEXECFLAGS@,$LDEXECFLAGS,;t t
16997 s,@CROSSTEST@,$CROSSTEST,;t t
16998 s,@CROSSCC@,$CROSSCC,;t t
16999 s,@CROSSWINDRES@,$CROSSWINDRES,;t t
17000 s,@LDPATH@,$LDPATH,;t t
17001 s,@CRTLIBS@,$CRTLIBS,;t t
17002 s,@LDD@,$LDD,;t t
17003 s,@ALLOCA@,$ALLOCA,;t t
17004 s,@LIBOBJS@,$LIBOBJS,;t t
17005 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
17006 /@MAKE_RULES@/r $MAKE_RULES
17007 s,@MAKE_RULES@,,;t t
17008 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
17009 s,@MAKE_DLL_RULES@,,;t t
17010 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
17011 s,@MAKE_TEST_RULES@,,;t t
17012 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
17013 s,@MAKE_PROG_RULES@,,;t t
17014 CEOF
17016 _ACEOF
17018 cat >>$CONFIG_STATUS <<\_ACEOF
17019 # Split the substitutions into bite-sized pieces for seds with
17020 # small command number limits, like on Digital OSF/1 and HP-UX.
17021 ac_max_sed_lines=48
17022 ac_sed_frag=1 # Number of current file.
17023 ac_beg=1 # First line for current file.
17024 ac_end=$ac_max_sed_lines # Line after last line for current file.
17025 ac_more_lines=:
17026 ac_sed_cmds=
17027 while $ac_more_lines; do
17028 if test $ac_beg -gt 1; then
17029 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
17030 else
17031 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
17033 if test ! -s $tmp/subs.frag; then
17034 ac_more_lines=false
17035 else
17036 # The purpose of the label and of the branching condition is to
17037 # speed up the sed processing (if there are no `@' at all, there
17038 # is no need to browse any of the substitutions).
17039 # These are the two extra sed commands mentioned above.
17040 (echo ':t
17041 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
17042 if test -z "$ac_sed_cmds"; then
17043 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
17044 else
17045 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
17047 ac_sed_frag=`expr $ac_sed_frag + 1`
17048 ac_beg=$ac_end
17049 ac_end=`expr $ac_end + $ac_max_sed_lines`
17051 done
17052 if test -z "$ac_sed_cmds"; then
17053 ac_sed_cmds=cat
17055 fi # test -n "$CONFIG_FILES"
17057 _ACEOF
17058 cat >>$CONFIG_STATUS <<\_ACEOF
17059 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
17060 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17061 case $ac_file in
17062 - | *:- | *:-:* ) # input from stdin
17063 cat >$tmp/stdin
17064 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
17065 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
17066 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
17067 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
17068 * ) ac_file_in=$ac_file.in ;;
17069 esac
17071 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
17072 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
17073 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17074 X"$ac_file" : 'X\(//\)[^/]' \| \
17075 X"$ac_file" : 'X\(//\)$' \| \
17076 X"$ac_file" : 'X\(/\)' \| \
17077 . : '\(.\)' 2>/dev/null ||
17078 echo X"$ac_file" |
17079 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17080 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17081 /^X\(\/\/\)$/{ s//\1/; q; }
17082 /^X\(\/\).*/{ s//\1/; q; }
17083 s/.*/./; q'`
17084 { if $as_mkdir_p; then
17085 mkdir -p "$ac_dir"
17086 else
17087 as_dir="$ac_dir"
17088 as_dirs=
17089 while test ! -d "$as_dir"; do
17090 as_dirs="$as_dir $as_dirs"
17091 as_dir=`(dirname "$as_dir") 2>/dev/null ||
17092 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17093 X"$as_dir" : 'X\(//\)[^/]' \| \
17094 X"$as_dir" : 'X\(//\)$' \| \
17095 X"$as_dir" : 'X\(/\)' \| \
17096 . : '\(.\)' 2>/dev/null ||
17097 echo X"$as_dir" |
17098 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17099 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17100 /^X\(\/\/\)$/{ s//\1/; q; }
17101 /^X\(\/\).*/{ s//\1/; q; }
17102 s/.*/./; q'`
17103 done
17104 test ! -n "$as_dirs" || mkdir $as_dirs
17105 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17106 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17107 { (exit 1); exit 1; }; }; }
17109 ac_builddir=.
17111 if test "$ac_dir" != .; then
17112 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
17113 # A "../" for each directory in $ac_dir_suffix.
17114 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17115 else
17116 ac_dir_suffix= ac_top_builddir=
17119 case $srcdir in
17120 .) # No --srcdir option. We are building in place.
17121 ac_srcdir=.
17122 if test -z "$ac_top_builddir"; then
17123 ac_top_srcdir=.
17124 else
17125 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
17126 fi ;;
17127 [\\/]* | ?:[\\/]* ) # Absolute path.
17128 ac_srcdir=$srcdir$ac_dir_suffix;
17129 ac_top_srcdir=$srcdir ;;
17130 *) # Relative path.
17131 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
17132 ac_top_srcdir=$ac_top_builddir$srcdir ;;
17133 esac
17134 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
17135 # absolute.
17136 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
17137 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
17138 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
17139 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
17142 case $INSTALL in
17143 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17144 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
17145 esac
17147 if test x"$ac_file" != x-; then
17148 { echo "$as_me:$LINENO: creating $ac_file" >&5
17149 echo "$as_me: creating $ac_file" >&6;}
17150 rm -f "$ac_file"
17152 # Let's still pretend it is `configure' which instantiates (i.e., don't
17153 # use $as_me), people would be surprised to read:
17154 # /* config.h. Generated by config.status. */
17155 if test x"$ac_file" = x-; then
17156 configure_input=
17157 else
17158 configure_input="$ac_file. "
17160 configure_input=$configure_input"Generated from `echo $ac_file_in |
17161 sed 's,.*/,,'` by configure."
17163 # First look for the input files in the build tree, otherwise in the
17164 # src tree.
17165 ac_file_inputs=`IFS=:
17166 for f in $ac_file_in; do
17167 case $f in
17168 -) echo $tmp/stdin ;;
17169 [\\/$]*)
17170 # Absolute (can't be DOS-style, as IFS=:)
17171 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17172 echo "$as_me: error: cannot find input file: $f" >&2;}
17173 { (exit 1); exit 1; }; }
17174 echo $f;;
17175 *) # Relative
17176 if test -f "$f"; then
17177 # Build tree
17178 echo $f
17179 elif test -f "$srcdir/$f"; then
17180 # Source tree
17181 echo $srcdir/$f
17182 else
17183 # /dev/null tree
17184 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17185 echo "$as_me: error: cannot find input file: $f" >&2;}
17186 { (exit 1); exit 1; }; }
17187 fi;;
17188 esac
17189 done` || { (exit 1); exit 1; }
17190 _ACEOF
17191 cat >>$CONFIG_STATUS <<_ACEOF
17192 sed "$ac_vpsub
17193 $extrasub
17194 _ACEOF
17195 cat >>$CONFIG_STATUS <<\_ACEOF
17197 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17198 s,@configure_input@,$configure_input,;t t
17199 s,@srcdir@,$ac_srcdir,;t t
17200 s,@abs_srcdir@,$ac_abs_srcdir,;t t
17201 s,@top_srcdir@,$ac_top_srcdir,;t t
17202 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
17203 s,@builddir@,$ac_builddir,;t t
17204 s,@abs_builddir@,$ac_abs_builddir,;t t
17205 s,@top_builddir@,$ac_top_builddir,;t t
17206 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
17207 s,@INSTALL@,$ac_INSTALL,;t t
17208 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
17209 rm -f $tmp/stdin
17210 if test x"$ac_file" != x-; then
17211 mv $tmp/out $ac_file
17212 else
17213 cat $tmp/out
17214 rm -f $tmp/out
17217 done
17218 _ACEOF
17219 cat >>$CONFIG_STATUS <<\_ACEOF
17222 # CONFIG_HEADER section.
17225 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
17226 # NAME is the cpp macro being defined and VALUE is the value it is being given.
17228 # ac_d sets the value in "#define NAME VALUE" lines.
17229 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
17230 ac_dB='[ ].*$,\1#\2'
17231 ac_dC=' '
17232 ac_dD=',;t'
17233 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
17234 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17235 ac_uB='$,\1#\2define\3'
17236 ac_uC=' '
17237 ac_uD=',;t'
17239 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
17240 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17241 case $ac_file in
17242 - | *:- | *:-:* ) # input from stdin
17243 cat >$tmp/stdin
17244 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
17245 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
17246 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
17247 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
17248 * ) ac_file_in=$ac_file.in ;;
17249 esac
17251 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
17252 echo "$as_me: creating $ac_file" >&6;}
17254 # First look for the input files in the build tree, otherwise in the
17255 # src tree.
17256 ac_file_inputs=`IFS=:
17257 for f in $ac_file_in; do
17258 case $f in
17259 -) echo $tmp/stdin ;;
17260 [\\/$]*)
17261 # Absolute (can't be DOS-style, as IFS=:)
17262 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17263 echo "$as_me: error: cannot find input file: $f" >&2;}
17264 { (exit 1); exit 1; }; }
17265 echo $f;;
17266 *) # Relative
17267 if test -f "$f"; then
17268 # Build tree
17269 echo $f
17270 elif test -f "$srcdir/$f"; then
17271 # Source tree
17272 echo $srcdir/$f
17273 else
17274 # /dev/null tree
17275 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17276 echo "$as_me: error: cannot find input file: $f" >&2;}
17277 { (exit 1); exit 1; }; }
17278 fi;;
17279 esac
17280 done` || { (exit 1); exit 1; }
17281 # Remove the trailing spaces.
17282 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
17284 _ACEOF
17286 # Transform confdefs.h into two sed scripts, `conftest.defines' and
17287 # `conftest.undefs', that substitutes the proper values into
17288 # config.h.in to produce config.h. The first handles `#define'
17289 # templates, and the second `#undef' templates.
17290 # And first: Protect against being on the right side of a sed subst in
17291 # config.status. Protect against being in an unquoted here document
17292 # in config.status.
17293 rm -f conftest.defines conftest.undefs
17294 # Using a here document instead of a string reduces the quoting nightmare.
17295 # Putting comments in sed scripts is not portable.
17297 # `end' is used to avoid that the second main sed command (meant for
17298 # 0-ary CPP macros) applies to n-ary macro definitions.
17299 # See the Autoconf documentation for `clear'.
17300 cat >confdef2sed.sed <<\_ACEOF
17301 s/[\\&,]/\\&/g
17302 s,[\\$`],\\&,g
17303 t clear
17304 : clear
17305 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
17306 t end
17307 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
17308 : end
17309 _ACEOF
17310 # If some macros were called several times there might be several times
17311 # the same #defines, which is useless. Nevertheless, we may not want to
17312 # sort them, since we want the *last* AC-DEFINE to be honored.
17313 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
17314 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
17315 rm -f confdef2sed.sed
17317 # This sed command replaces #undef with comments. This is necessary, for
17318 # example, in the case of _POSIX_SOURCE, which is predefined and required
17319 # on some systems where configure will not decide to define it.
17320 cat >>conftest.undefs <<\_ACEOF
17321 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
17322 _ACEOF
17324 # Break up conftest.defines because some shells have a limit on the size
17325 # of here documents, and old seds have small limits too (100 cmds).
17326 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
17327 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
17328 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
17329 echo ' :' >>$CONFIG_STATUS
17330 rm -f conftest.tail
17331 while grep . conftest.defines >/dev/null
17333 # Write a limited-size here document to $tmp/defines.sed.
17334 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
17335 # Speed up: don't consider the non `#define' lines.
17336 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
17337 # Work around the forget-to-reset-the-flag bug.
17338 echo 't clr' >>$CONFIG_STATUS
17339 echo ': clr' >>$CONFIG_STATUS
17340 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
17341 echo 'CEOF
17342 sed -f $tmp/defines.sed $tmp/in >$tmp/out
17343 rm -f $tmp/in
17344 mv $tmp/out $tmp/in
17345 ' >>$CONFIG_STATUS
17346 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
17347 rm -f conftest.defines
17348 mv conftest.tail conftest.defines
17349 done
17350 rm -f conftest.defines
17351 echo ' fi # grep' >>$CONFIG_STATUS
17352 echo >>$CONFIG_STATUS
17354 # Break up conftest.undefs because some shells have a limit on the size
17355 # of here documents, and old seds have small limits too (100 cmds).
17356 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
17357 rm -f conftest.tail
17358 while grep . conftest.undefs >/dev/null
17360 # Write a limited-size here document to $tmp/undefs.sed.
17361 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
17362 # Speed up: don't consider the non `#undef'
17363 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
17364 # Work around the forget-to-reset-the-flag bug.
17365 echo 't clr' >>$CONFIG_STATUS
17366 echo ': clr' >>$CONFIG_STATUS
17367 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
17368 echo 'CEOF
17369 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
17370 rm -f $tmp/in
17371 mv $tmp/out $tmp/in
17372 ' >>$CONFIG_STATUS
17373 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
17374 rm -f conftest.undefs
17375 mv conftest.tail conftest.undefs
17376 done
17377 rm -f conftest.undefs
17379 cat >>$CONFIG_STATUS <<\_ACEOF
17380 # Let's still pretend it is `configure' which instantiates (i.e., don't
17381 # use $as_me), people would be surprised to read:
17382 # /* config.h. Generated by config.status. */
17383 if test x"$ac_file" = x-; then
17384 echo "/* Generated by configure. */" >$tmp/config.h
17385 else
17386 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
17388 cat $tmp/in >>$tmp/config.h
17389 rm -f $tmp/in
17390 if test x"$ac_file" != x-; then
17391 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
17392 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
17393 echo "$as_me: $ac_file is unchanged" >&6;}
17394 else
17395 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
17396 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17397 X"$ac_file" : 'X\(//\)[^/]' \| \
17398 X"$ac_file" : 'X\(//\)$' \| \
17399 X"$ac_file" : 'X\(/\)' \| \
17400 . : '\(.\)' 2>/dev/null ||
17401 echo X"$ac_file" |
17402 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17403 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17404 /^X\(\/\/\)$/{ s//\1/; q; }
17405 /^X\(\/\).*/{ s//\1/; q; }
17406 s/.*/./; q'`
17407 { if $as_mkdir_p; then
17408 mkdir -p "$ac_dir"
17409 else
17410 as_dir="$ac_dir"
17411 as_dirs=
17412 while test ! -d "$as_dir"; do
17413 as_dirs="$as_dir $as_dirs"
17414 as_dir=`(dirname "$as_dir") 2>/dev/null ||
17415 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17416 X"$as_dir" : 'X\(//\)[^/]' \| \
17417 X"$as_dir" : 'X\(//\)$' \| \
17418 X"$as_dir" : 'X\(/\)' \| \
17419 . : '\(.\)' 2>/dev/null ||
17420 echo X"$as_dir" |
17421 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17422 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17423 /^X\(\/\/\)$/{ s//\1/; q; }
17424 /^X\(\/\).*/{ s//\1/; q; }
17425 s/.*/./; q'`
17426 done
17427 test ! -n "$as_dirs" || mkdir $as_dirs
17428 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17429 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17430 { (exit 1); exit 1; }; }; }
17432 rm -f $ac_file
17433 mv $tmp/config.h $ac_file
17435 else
17436 cat $tmp/config.h
17437 rm -f $tmp/config.h
17439 done
17440 _ACEOF
17441 cat >>$CONFIG_STATUS <<\_ACEOF
17444 # CONFIG_COMMANDS section.
17446 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
17447 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
17448 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
17449 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
17450 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17451 X"$ac_dest" : 'X\(//\)[^/]' \| \
17452 X"$ac_dest" : 'X\(//\)$' \| \
17453 X"$ac_dest" : 'X\(/\)' \| \
17454 . : '\(.\)' 2>/dev/null ||
17455 echo X"$ac_dest" |
17456 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17457 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17458 /^X\(\/\/\)$/{ s//\1/; q; }
17459 /^X\(\/\).*/{ s//\1/; q; }
17460 s/.*/./; q'`
17461 ac_builddir=.
17463 if test "$ac_dir" != .; then
17464 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
17465 # A "../" for each directory in $ac_dir_suffix.
17466 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17467 else
17468 ac_dir_suffix= ac_top_builddir=
17471 case $srcdir in
17472 .) # No --srcdir option. We are building in place.
17473 ac_srcdir=.
17474 if test -z "$ac_top_builddir"; then
17475 ac_top_srcdir=.
17476 else
17477 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
17478 fi ;;
17479 [\\/]* | ?:[\\/]* ) # Absolute path.
17480 ac_srcdir=$srcdir$ac_dir_suffix;
17481 ac_top_srcdir=$srcdir ;;
17482 *) # Relative path.
17483 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
17484 ac_top_srcdir=$ac_top_builddir$srcdir ;;
17485 esac
17486 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
17487 # absolute.
17488 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
17489 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
17490 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
17491 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
17494 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
17495 echo "$as_me: executing $ac_dest commands" >&6;}
17496 case $ac_dest in
17497 controls ) test -d "controls" || ({ echo "$as_me:$LINENO: creating controls" >&5
17498 echo "$as_me: creating controls" >&6;} && mkdir "controls") ;;
17499 dlls/ddraw/d3ddevice ) test -d "dlls/ddraw/d3ddevice" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/d3ddevice" >&5
17500 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir "dlls/ddraw/d3ddevice") ;;
17501 dlls/ddraw/dclipper ) test -d "dlls/ddraw/dclipper" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dclipper" >&5
17502 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir "dlls/ddraw/dclipper") ;;
17503 dlls/ddraw/ddraw ) test -d "dlls/ddraw/ddraw" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/ddraw" >&5
17504 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir "dlls/ddraw/ddraw") ;;
17505 dlls/ddraw/direct3d ) test -d "dlls/ddraw/direct3d" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/direct3d" >&5
17506 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir "dlls/ddraw/direct3d") ;;
17507 dlls/ddraw/dpalette ) test -d "dlls/ddraw/dpalette" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dpalette" >&5
17508 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir "dlls/ddraw/dpalette") ;;
17509 dlls/ddraw/dsurface ) test -d "dlls/ddraw/dsurface" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dsurface" >&5
17510 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir "dlls/ddraw/dsurface") ;;
17511 dlls/dinput/joystick ) test -d "dlls/dinput/joystick" || ({ echo "$as_me:$LINENO: creating dlls/dinput/joystick" >&5
17512 echo "$as_me: creating dlls/dinput/joystick" >&6;} && mkdir "dlls/dinput/joystick") ;;
17513 dlls/dinput/keyboard ) test -d "dlls/dinput/keyboard" || ({ echo "$as_me:$LINENO: creating dlls/dinput/keyboard" >&5
17514 echo "$as_me: creating dlls/dinput/keyboard" >&6;} && mkdir "dlls/dinput/keyboard") ;;
17515 dlls/dinput/mouse ) test -d "dlls/dinput/mouse" || ({ echo "$as_me:$LINENO: creating dlls/dinput/mouse" >&5
17516 echo "$as_me: creating dlls/dinput/mouse" >&6;} && mkdir "dlls/dinput/mouse") ;;
17517 dlls/gdi/enhmfdrv ) test -d "dlls/gdi/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
17518 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir "dlls/gdi/enhmfdrv") ;;
17519 dlls/gdi/mfdrv ) test -d "dlls/gdi/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
17520 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir "dlls/gdi/mfdrv") ;;
17521 dlls/kernel/messages ) test -d "dlls/kernel/messages" || ({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
17522 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir "dlls/kernel/messages") ;;
17523 dlls/user/dde ) test -d "dlls/user/dde" || ({ echo "$as_me:$LINENO: creating dlls/user/dde" >&5
17524 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir "dlls/user/dde") ;;
17525 dlls/user/resources ) test -d "dlls/user/resources" || ({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
17526 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir "dlls/user/resources") ;;
17527 dlls/wineps/data ) test -d "dlls/wineps/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
17528 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir "dlls/wineps/data") ;;
17529 files ) test -d "files" || ({ echo "$as_me:$LINENO: creating files" >&5
17530 echo "$as_me: creating files" >&6;} && mkdir "files") ;;
17531 graphics ) test -d "graphics" || ({ echo "$as_me:$LINENO: creating graphics" >&5
17532 echo "$as_me: creating graphics" >&6;} && mkdir "graphics") ;;
17533 graphics/x11drv ) test -d "graphics/x11drv" || ({ echo "$as_me:$LINENO: creating graphics/x11drv" >&5
17534 echo "$as_me: creating graphics/x11drv" >&6;} && mkdir "graphics/x11drv") ;;
17535 if1632 ) test -d "if1632" || ({ echo "$as_me:$LINENO: creating if1632" >&5
17536 echo "$as_me: creating if1632" >&6;} && mkdir "if1632") ;;
17537 include/wine ) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
17538 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
17539 loader ) test -d "loader" || ({ echo "$as_me:$LINENO: creating loader" >&5
17540 echo "$as_me: creating loader" >&6;} && mkdir "loader") ;;
17541 loader/ne ) test -d "loader/ne" || ({ echo "$as_me:$LINENO: creating loader/ne" >&5
17542 echo "$as_me: creating loader/ne" >&6;} && mkdir "loader/ne") ;;
17543 memory ) test -d "memory" || ({ echo "$as_me:$LINENO: creating memory" >&5
17544 echo "$as_me: creating memory" >&6;} && mkdir "memory") ;;
17545 misc ) test -d "misc" || ({ echo "$as_me:$LINENO: creating misc" >&5
17546 echo "$as_me: creating misc" >&6;} && mkdir "misc") ;;
17547 msdos ) test -d "msdos" || ({ echo "$as_me:$LINENO: creating msdos" >&5
17548 echo "$as_me: creating msdos" >&6;} && mkdir "msdos") ;;
17549 objects ) test -d "objects" || ({ echo "$as_me:$LINENO: creating objects" >&5
17550 echo "$as_me: creating objects" >&6;} && mkdir "objects") ;;
17551 ole ) test -d "ole" || ({ echo "$as_me:$LINENO: creating ole" >&5
17552 echo "$as_me: creating ole" >&6;} && mkdir "ole") ;;
17553 programs/regapi/tests ) test -d "programs/regapi/tests" || ({ echo "$as_me:$LINENO: creating programs/regapi/tests" >&5
17554 echo "$as_me: creating programs/regapi/tests" >&6;} && mkdir "programs/regapi/tests") ;;
17555 programs/regedit/tests ) test -d "programs/regedit/tests" || ({ echo "$as_me:$LINENO: creating programs/regedit/tests" >&5
17556 echo "$as_me: creating programs/regedit/tests" >&6;} && mkdir "programs/regedit/tests") ;;
17557 relay32 ) test -d "relay32" || ({ echo "$as_me:$LINENO: creating relay32" >&5
17558 echo "$as_me: creating relay32" >&6;} && mkdir "relay32") ;;
17559 scheduler ) test -d "scheduler" || ({ echo "$as_me:$LINENO: creating scheduler" >&5
17560 echo "$as_me: creating scheduler" >&6;} && mkdir "scheduler") ;;
17561 win32 ) test -d "win32" || ({ echo "$as_me:$LINENO: creating win32" >&5
17562 echo "$as_me: creating win32" >&6;} && mkdir "win32") ;;
17563 windows ) test -d "windows" || ({ echo "$as_me:$LINENO: creating windows" >&5
17564 echo "$as_me: creating windows" >&6;} && mkdir "windows") ;;
17565 esac
17566 done
17567 _ACEOF
17569 cat >>$CONFIG_STATUS <<\_ACEOF
17571 { (exit 0); exit 0; }
17572 _ACEOF
17573 chmod +x $CONFIG_STATUS
17574 ac_clean_files=$ac_clean_files_save
17577 # configure is writing to config.log, and then calls config.status.
17578 # config.status does its own redirection, appending to config.log.
17579 # Unfortunately, on DOS this fails, as config.log is still kept open
17580 # by configure, so config.status won't be able to write to it; its
17581 # output is simply discarded. So we exec the FD to /dev/null,
17582 # effectively closing config.log, so it can be properly (re)opened and
17583 # appended to by config.status. When coming back to configure, we
17584 # need to make the FD available again.
17585 if test "$no_create" != yes; then
17586 ac_cs_success=:
17587 ac_config_status_args=
17588 test "$silent" = yes &&
17589 ac_config_status_args="$ac_config_status_args --quiet"
17590 exec 5>/dev/null
17591 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17592 exec 5>>config.log
17593 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17594 # would make configure fail if this is the last instruction.
17595 $ac_cs_success || { (exit 1); exit 1; }
17599 if test "$have_x" = "no"
17600 then
17601 echo
17602 echo "*** Warning: X development files not found. Wine will be built without"
17603 echo "*** X support, which currently does not work, and would probably not be"
17604 echo "*** what you want anyway. You will need to install devel packages of"
17605 echo "*** Xlib/Xfree86 at the very least."
17608 if test "$wine_cv_opengl_version_OK" = "no"
17609 then
17610 echo
17611 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
17612 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
17615 if test "$wine_cv_msg_freetype" = "yes"
17616 then
17617 echo
17618 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
17619 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
17620 echo "*** freetype-devel package (or its equivalent on your distribution) to"
17621 echo "*** enable Wine to use TrueType fonts."
17624 echo
17625 echo "Configure finished. Do 'make depend && make' to compile Wine."
17626 echo