2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.53 for Wine 20021007.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
10 if expr a : '\(a\)' >/dev/null 2>&1; then
17 ## --------------------- ##
18 ## M4sh Initialization. ##
19 ## --------------------- ##
21 # Be Bourne compatible
22 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
25 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
30 # Support unset when possible.
31 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
37 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
38 { $as_unset LANG || test "${LANG+set}" != set; } ||
39 { LANG=C; export LANG; }
40 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
41 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
42 { LC_ALL=C; export LC_ALL; }
43 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
44 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
45 { LC_TIME=C; export LC_TIME; }
46 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
47 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
48 { LC_CTYPE=C; export LC_CTYPE; }
49 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
50 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
51 { LANGUAGE=C; export LANGUAGE; }
52 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
53 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
54 { LC_COLLATE=C; export LC_COLLATE; }
55 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
56 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
57 { LC_NUMERIC=C; export LC_NUMERIC; }
58 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
59 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
60 { LC_MESSAGES=C; export LC_MESSAGES; }
63 # Name of the executable.
64 as_me=`(basename "$0") 2>/dev/null ||
65 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66 X"$0" : 'X\(//\)$' \| \
67 X"$0" : 'X\(/\)$' \| \
68 . : '\(.\)' 2>/dev/null ||
70 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
71 /^X\/\(\/\/\)$/{ s//\1/; q; }
72 /^X\/\(\/\).*/{ s//\1/; q; }
75 # PATH needs CR, and LINENO needs CR and PATH.
76 # Avoid depending upon Character Ranges.
77 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
78 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
79 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80 as_cr_digits='0123456789'
81 as_cr_alnum=$as_cr_Letters$as_cr_digits
83 # The user is always right.
84 if test "${PATH_SEPARATOR+set}" != set; then
85 echo "#! /bin/sh" >conftest.sh
86 echo "exit 0" >>conftest.sh
88 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
99 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
100 test "x$as_lineno_1" != "x$as_lineno_2" &&
101 test "x$as_lineno_3" = "x$as_lineno_2" || {
102 # Find who we are. Look in the path if we contain no path at all
105 *[\\/]* ) as_myself=$0 ;;
106 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 test -z "$as_dir" && as_dir=.
111 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
116 # We did not find ourselves, most probably we were run as `sh COMMAND'
117 # in which case we are not to be found in the path.
118 if test "x$as_myself" = x; then
121 if test ! -f "$as_myself"; then
122 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
123 { (exit 1); exit 1; }; }
125 case $CONFIG_SHELL in
127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
128 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
131 test -z "$as_dir" && as_dir=.
132 for as_base in sh bash ksh sh5; do
135 if ("$as_dir/$as_base" -c '
138 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
139 test "x$as_lineno_1" != "x$as_lineno_2" &&
140 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
141 CONFIG_SHELL=$as_dir/$as_base
143 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
152 # uniformly replaced by the line number. The first 'sed' inserts a
153 # line-number line before each line; the second 'sed' does the real
154 # work. The second script uses 'N' to pair each line-number line
155 # with the numbered line, and appends trailing '-' during
156 # substitution so that $LINENO is not a special case at line end.
157 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
158 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
159 sed '=' <$as_myself |
164 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
167 s,^['$as_cr_digits']*\n,,
169 chmod +x $as_me.lineno ||
170 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
171 { (exit 1); exit 1; }; }
173 # Don't try to exec as it changes $[0], causing all sort of problems
174 # (the dirname of $[0] is not the place where we might find the
175 # original and so on. Autoconf is especially sensible to this).
177 # Exit status is that of the last command.
182 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
183 *c*,-n*) ECHO_N= ECHO_C='
185 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
186 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
189 if expr a : '\(a\)' >/dev/null 2>&1; then
195 rm -f conf$$ conf$$.exe conf$$.file
197 if ln -s conf$$.file conf$$ 2>/dev/null; then
198 # We could just check for DJGPP; but this test a) works b) is more generic
199 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
200 if test -f conf$$.exe; then
201 # Don't use ln at all; we don't have any links
206 elif ln conf$$.file conf$$ 2>/dev/null; then
211 rm -f conf$$ conf$$.exe conf$$.file
213 as_executable_p="test -f"
215 # Sed expression to map a string onto a valid CPP name.
216 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
218 # Sed expression to map a string onto a valid variable name.
219 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
223 # We need space, tab and new line, in precisely that order.
229 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
233 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
234 # so uname gets run too.
235 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
242 ac_default_prefix=/usr/local
247 SHELL=${CONFIG_SHELL-/bin/sh}
249 # Maximum number of lines to put in a shell here document.
250 # This variable seems obsolete. It should probably be removed, and
251 # only ac_max_sed_lines should be used.
252 : ${ac_max_here_lines=38}
254 # Identity of this package.
256 PACKAGE_TARNAME='wine'
257 PACKAGE_VERSION='20021007'
258 PACKAGE_STRING='Wine 20021007'
261 ac_unique_file="server/atom.c"
262 # Factoring default headers for most tests.
263 ac_includes_default="\
266 # include <sys/types.h>
269 # include <sys/stat.h>
280 # if !STDC_HEADERS && HAVE_MEMORY_H
286 # include <strings.h>
289 # include <inttypes.h>
300 # Initialize some variables set by options.
302 ac_init_version=false
303 # The variables have the same names as the options, with
304 # dashes changed to underlines.
312 program_transform_name=s,x,x,
320 # Installation directory options.
321 # These are left unexpanded so users can "make install exec_prefix=/foo"
322 # and all the variables that are supposed to be based on exec_prefix
323 # by default will actually change.
324 # Use braces instead of parens because sh, perl, etc. also accept them.
325 bindir='${exec_prefix}/bin'
326 sbindir='${exec_prefix}/sbin'
327 libexecdir='${exec_prefix}/libexec'
328 datadir='${prefix}/share'
329 sysconfdir='${prefix}/etc'
330 sharedstatedir='${prefix}/com'
331 localstatedir='${prefix}/var'
332 libdir='${exec_prefix}/lib'
333 includedir='${prefix}/include'
334 oldincludedir='/usr/include'
335 infodir='${prefix}/info'
336 mandir='${prefix}/man'
341 # If the previous option needs an argument, assign it.
342 if test -n "$ac_prev"; then
343 eval "$ac_prev=\$ac_option"
348 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
350 # Accept the important Cygnus configure options, so we can diagnose typos.
354 -bindir | --bindir | --bindi | --bind | --bin | --bi)
356 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
359 -build | --build | --buil | --bui | --bu)
360 ac_prev=build_alias ;;
361 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
362 build_alias=$ac_optarg ;;
364 -cache-file | --cache-file | --cache-fil | --cache-fi \
365 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
366 ac_prev=cache_file ;;
367 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
368 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
369 cache_file=$ac_optarg ;;
372 cache_file=config.cache ;;
374 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
376 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
378 datadir=$ac_optarg ;;
380 -disable-* | --disable-*)
381 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
382 # Reject names that are not valid shell variable names.
383 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
384 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
385 { (exit 1); exit 1; }; }
386 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
387 eval "enable_$ac_feature=no" ;;
389 -enable-* | --enable-*)
390 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
391 # Reject names that are not valid shell variable names.
392 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
393 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
394 { (exit 1); exit 1; }; }
395 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
397 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
400 eval "enable_$ac_feature='$ac_optarg'" ;;
402 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
403 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
404 | --exec | --exe | --ex)
405 ac_prev=exec_prefix ;;
406 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
407 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
408 | --exec=* | --exe=* | --ex=*)
409 exec_prefix=$ac_optarg ;;
411 -gas | --gas | --ga | --g)
412 # Obsolete; use --with-gas.
415 -help | --help | --hel | --he | -h)
417 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
418 ac_init_help=recursive ;;
419 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
420 ac_init_help=short ;;
422 -host | --host | --hos | --ho)
423 ac_prev=host_alias ;;
424 -host=* | --host=* | --hos=* | --ho=*)
425 host_alias=$ac_optarg ;;
427 -includedir | --includedir | --includedi | --included | --include \
428 | --includ | --inclu | --incl | --inc)
429 ac_prev=includedir ;;
430 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
431 | --includ=* | --inclu=* | --incl=* | --inc=*)
432 includedir=$ac_optarg ;;
434 -infodir | --infodir | --infodi | --infod | --info | --inf)
436 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
437 infodir=$ac_optarg ;;
439 -libdir | --libdir | --libdi | --libd)
441 -libdir=* | --libdir=* | --libdi=* | --libd=*)
444 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
445 | --libexe | --libex | --libe)
446 ac_prev=libexecdir ;;
447 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
448 | --libexe=* | --libex=* | --libe=*)
449 libexecdir=$ac_optarg ;;
451 -localstatedir | --localstatedir | --localstatedi | --localstated \
452 | --localstate | --localstat | --localsta | --localst \
453 | --locals | --local | --loca | --loc | --lo)
454 ac_prev=localstatedir ;;
455 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
456 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
457 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
458 localstatedir=$ac_optarg ;;
460 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
462 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
466 # Obsolete; use --without-fp.
469 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
470 | --no-cr | --no-c | -n)
473 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
474 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
477 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
478 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
479 | --oldin | --oldi | --old | --ol | --o)
480 ac_prev=oldincludedir ;;
481 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
482 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
483 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
484 oldincludedir=$ac_optarg ;;
486 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
488 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
491 -program-prefix | --program-prefix | --program-prefi | --program-pref \
492 | --program-pre | --program-pr | --program-p)
493 ac_prev=program_prefix ;;
494 -program-prefix=* | --program-prefix=* | --program-prefi=* \
495 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
496 program_prefix=$ac_optarg ;;
498 -program-suffix | --program-suffix | --program-suffi | --program-suff \
499 | --program-suf | --program-su | --program-s)
500 ac_prev=program_suffix ;;
501 -program-suffix=* | --program-suffix=* | --program-suffi=* \
502 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
503 program_suffix=$ac_optarg ;;
505 -program-transform-name | --program-transform-name \
506 | --program-transform-nam | --program-transform-na \
507 | --program-transform-n | --program-transform- \
508 | --program-transform | --program-transfor \
509 | --program-transfo | --program-transf \
510 | --program-trans | --program-tran \
511 | --progr-tra | --program-tr | --program-t)
512 ac_prev=program_transform_name ;;
513 -program-transform-name=* | --program-transform-name=* \
514 | --program-transform-nam=* | --program-transform-na=* \
515 | --program-transform-n=* | --program-transform-=* \
516 | --program-transform=* | --program-transfor=* \
517 | --program-transfo=* | --program-transf=* \
518 | --program-trans=* | --program-tran=* \
519 | --progr-tra=* | --program-tr=* | --program-t=*)
520 program_transform_name=$ac_optarg ;;
522 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
523 | -silent | --silent | --silen | --sile | --sil)
526 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
528 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
530 sbindir=$ac_optarg ;;
532 -sharedstatedir | --sharedstatedir | --sharedstatedi \
533 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
534 | --sharedst | --shareds | --shared | --share | --shar \
536 ac_prev=sharedstatedir ;;
537 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
538 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
539 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
541 sharedstatedir=$ac_optarg ;;
543 -site | --site | --sit)
545 -site=* | --site=* | --sit=*)
548 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
550 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
553 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
554 | --syscon | --sysco | --sysc | --sys | --sy)
555 ac_prev=sysconfdir ;;
556 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
557 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
558 sysconfdir=$ac_optarg ;;
560 -target | --target | --targe | --targ | --tar | --ta | --t)
561 ac_prev=target_alias ;;
562 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
563 target_alias=$ac_optarg ;;
565 -v | -verbose | --verbose | --verbos | --verbo | --verb)
568 -version | --version | --versio | --versi | --vers | -V)
572 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
573 # Reject names that are not valid shell variable names.
574 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
575 { echo "$as_me: error: invalid package name: $ac_package" >&2
576 { (exit 1); exit 1; }; }
577 ac_package=`echo $ac_package| sed 's/-/_/g'`
579 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
582 eval "with_$ac_package='$ac_optarg'" ;;
584 -without-* | --without-*)
585 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
586 # Reject names that are not valid shell variable names.
587 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
588 { echo "$as_me: error: invalid package name: $ac_package" >&2
589 { (exit 1); exit 1; }; }
590 ac_package=`echo $ac_package | sed 's/-/_/g'`
591 eval "with_$ac_package=no" ;;
594 # Obsolete; use --with-x.
597 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
598 | --x-incl | --x-inc | --x-in | --x-i)
599 ac_prev=x_includes ;;
600 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
601 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
602 x_includes=$ac_optarg ;;
604 -x-libraries | --x-libraries | --x-librarie | --x-librari \
605 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
606 ac_prev=x_libraries ;;
607 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
608 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
609 x_libraries=$ac_optarg ;;
611 -*) { echo "$as_me: error: unrecognized option: $ac_option
612 Try \`$0 --help' for more information." >&2
613 { (exit 1); exit 1; }; }
617 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
618 # Reject names that are not valid shell variable names.
619 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
620 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
621 { (exit 1); exit 1; }; }
622 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
623 eval "$ac_envvar='$ac_optarg'"
627 # FIXME: should be removed in autoconf 3.0.
628 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
629 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
630 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
631 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
637 if test -n "$ac_prev"; then
638 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
639 { echo "$as_me: error: missing argument to $ac_option" >&2
640 { (exit 1); exit 1; }; }
643 # Be sure to have absolute paths.
644 for ac_var in exec_prefix prefix
646 eval ac_val=$`echo $ac_var`
648 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
649 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
650 { (exit 1); exit 1; }; };;
654 # Be sure to have absolute paths.
655 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
656 localstatedir libdir includedir oldincludedir infodir mandir
658 eval ac_val=$`echo $ac_var`
660 [\\/$]* | ?:[\\/]* ) ;;
661 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
662 { (exit 1); exit 1; }; };;
666 # There might be people who depend on the old broken behavior: `$host'
667 # used to hold the argument of --host etc.
668 # FIXME: To remove some day.
673 # FIXME: To remove some day.
674 if test "x$host_alias" != x; then
675 if test "x$build_alias" = x; then
676 cross_compiling=maybe
677 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
678 If a cross compiler is detected then cross compile mode will be used." >&2
679 elif test "x$build_alias" != "x$host_alias"; then
685 test -n "$host_alias" && ac_tool_prefix=$host_alias-
687 test "$silent" = yes && exec 6>/dev/null
690 # Find the source files, if location was not specified.
691 if test -z "$srcdir"; then
692 ac_srcdir_defaulted=yes
693 # Try the directory containing this script, then its parent.
694 ac_confdir=`(dirname "$0") 2>/dev/null ||
695 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
696 X"$0" : 'X\(//\)[^/]' \| \
697 X"$0" : 'X\(//\)$' \| \
698 X"$0" : 'X\(/\)' \| \
699 . : '\(.\)' 2>/dev/null ||
701 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
702 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
703 /^X\(\/\/\)$/{ s//\1/; q; }
704 /^X\(\/\).*/{ s//\1/; q; }
707 if test ! -r $srcdir/$ac_unique_file; then
711 ac_srcdir_defaulted=no
713 if test ! -r $srcdir/$ac_unique_file; then
714 if test "$ac_srcdir_defaulted" = yes; then
715 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
716 { (exit 1); exit 1; }; }
718 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
719 { (exit 1); exit 1; }; }
722 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
723 ac_env_build_alias_set=${build_alias+set}
724 ac_env_build_alias_value=$build_alias
725 ac_cv_env_build_alias_set=${build_alias+set}
726 ac_cv_env_build_alias_value=$build_alias
727 ac_env_host_alias_set=${host_alias+set}
728 ac_env_host_alias_value=$host_alias
729 ac_cv_env_host_alias_set=${host_alias+set}
730 ac_cv_env_host_alias_value=$host_alias
731 ac_env_target_alias_set=${target_alias+set}
732 ac_env_target_alias_value=$target_alias
733 ac_cv_env_target_alias_set=${target_alias+set}
734 ac_cv_env_target_alias_value=$target_alias
735 ac_env_CC_set=${CC+set}
737 ac_cv_env_CC_set=${CC+set}
738 ac_cv_env_CC_value=$CC
739 ac_env_CFLAGS_set=${CFLAGS+set}
740 ac_env_CFLAGS_value=$CFLAGS
741 ac_cv_env_CFLAGS_set=${CFLAGS+set}
742 ac_cv_env_CFLAGS_value=$CFLAGS
743 ac_env_LDFLAGS_set=${LDFLAGS+set}
744 ac_env_LDFLAGS_value=$LDFLAGS
745 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
746 ac_cv_env_LDFLAGS_value=$LDFLAGS
747 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
748 ac_env_CPPFLAGS_value=$CPPFLAGS
749 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
750 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
751 ac_env_CPP_set=${CPP+set}
752 ac_env_CPP_value=$CPP
753 ac_cv_env_CPP_set=${CPP+set}
754 ac_cv_env_CPP_value=$CPP
757 # Report the --help message.
759 if test "$ac_init_help" = "long"; then
760 # Omit some internal or obsolete options to make the list less imposing.
761 # This message is too long to be a string in the A/UX 3.1 sh.
763 \`configure' configures Wine 20021007 to adapt to many kinds of systems.
765 Usage: $0 [OPTION]... [VAR=VALUE]...
767 To assign environment variables (e.g., CC, CFLAGS...), specify them as
768 VAR=VALUE. See below for descriptions of some of the useful variables.
770 Defaults for the options are specified in brackets.
773 -h, --help display this help and exit
774 --help=short display options specific to this package
775 --help=recursive display the short help of all the included packages
776 -V, --version display version information and exit
777 -q, --quiet, --silent do not print \`checking...' messages
778 --cache-file=FILE cache test results in FILE [disabled]
779 -C, --config-cache alias for \`--cache-file=config.cache'
780 -n, --no-create do not create output files
781 --srcdir=DIR find the sources in DIR [configure dir or \`..']
786 Installation directories:
787 --prefix=PREFIX install architecture-independent files in PREFIX
789 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
792 By default, \`make install' will install all the files in
793 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
794 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
795 for instance \`--prefix=\$HOME'.
797 For better control, use the options below.
799 Fine tuning of the installation directories:
800 --bindir=DIR user executables [EPREFIX/bin]
801 --sbindir=DIR system admin executables [EPREFIX/sbin]
802 --libexecdir=DIR program executables [EPREFIX/libexec]
803 --datadir=DIR read-only architecture-independent data [PREFIX/share]
804 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
805 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
806 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
807 --libdir=DIR object code libraries [EPREFIX/lib]
808 --includedir=DIR C header files [PREFIX/include]
809 --oldincludedir=DIR C header files for non-gcc [/usr/include]
810 --infodir=DIR info documentation [PREFIX/info]
811 --mandir=DIR man documentation [PREFIX/man]
817 --x-includes=DIR X include files are in DIR
818 --x-libraries=DIR X library files are in DIR
821 --build=BUILD configure for building on BUILD [guessed]
822 --host=HOST cross-compile to build programs to run on HOST [BUILD]
826 if test -n "$ac_init_help"; then
827 case $ac_init_help in
828 short | recursive ) echo "Configuration of Wine 20021007:";;
833 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
834 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
835 --disable-win16 do not include Win16 support
836 --disable-debug compile out all debugging messages
837 --disable-trace compile out TRACE messages
838 --enable-opengl force usage of OpenGL even if the latter is
839 thread-safe via pthread
842 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
843 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
844 --without-curses do not use curses
845 --with-wine-tools=<dir> use Wine tools from directory <dir>
846 --with-x use the X Window System
848 Some influential environment variables:
849 CC C compiler command
850 CFLAGS C compiler flags
851 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
852 nonstandard directory <lib dir>
853 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
854 headers in a nonstandard directory <include dir>
857 Use these variables to override the choices made by `configure' or to help
858 it to find libraries and programs with nonstandard names/locations.
863 if test "$ac_init_help" = "recursive"; then
864 # If there are subdirs, report their specific --help.
866 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
867 test -d $ac_dir || continue
870 if test "$ac_dir" != .; then
871 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
872 # A "../" for each directory in $ac_dir_suffix.
873 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
875 ac_dir_suffix= ac_top_builddir=
879 .) # No --srcdir option. We are building in place.
881 if test -z "$ac_top_builddir"; then
884 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
886 [\\/]* | ?:[\\/]* ) # Absolute path.
887 ac_srcdir=$srcdir$ac_dir_suffix;
888 ac_top_srcdir=$srcdir ;;
890 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
891 ac_top_srcdir=$ac_top_builddir$srcdir ;;
893 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
895 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
896 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
897 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
898 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
901 # Check for guested configure; otherwise get Cygnus style configure.
902 if test -f $ac_srcdir/configure.gnu; then
904 $SHELL $ac_srcdir/configure.gnu --help=recursive
905 elif test -f $ac_srcdir/configure; then
907 $SHELL $ac_srcdir/configure --help=recursive
908 elif test -f $ac_srcdir/configure.ac ||
909 test -f $ac_srcdir/configure.in; then
913 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
919 test -n "$ac_init_help" && exit 0
920 if $ac_init_version; then
922 Wine configure 20021007
923 generated by GNU Autoconf 2.53
925 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
926 Free Software Foundation, Inc.
927 This configure script is free software; the Free Software Foundation
928 gives unlimited permission to copy, distribute and modify it.
934 This file contains any messages produced by compilers while
935 running configure, to aid debugging if configure makes a mistake.
937 It was created by Wine $as_me 20021007, which was
938 generated by GNU Autoconf 2.53. Invocation command line was
949 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
950 uname -m = `(uname -m) 2>/dev/null || echo unknown`
951 uname -r = `(uname -r) 2>/dev/null || echo unknown`
952 uname -s = `(uname -s) 2>/dev/null || echo unknown`
953 uname -v = `(uname -v) 2>/dev/null || echo unknown`
955 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
956 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
958 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
959 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
960 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
961 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
962 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
963 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
964 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
972 test -z "$as_dir" && as_dir=.
988 # Keep a trace of the command line.
989 # Strip out --no-create and --no-recursion so they do not pile up.
990 # Also quote any args containing shell meta-characters.
996 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
997 | --no-cr | --no-c | -n ) continue ;;
998 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
999 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1001 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1002 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1004 case " $ac_configure_args " in
1005 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1006 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1009 # Get rid of the leading space.
1012 # When interrupted or exit'd, cleanup temporary files, and complete
1013 # config.log. We remove comments because anyway the quotes in there
1014 # would cause problems or look ugly.
1015 # WARNING: Be sure not to use single quotes in there, as some shells,
1016 # such as our DU 5.0 friend, will then `close' the trap.
1017 trap 'exit_status=$?
1018 # Save into config.log some information that might help in debugging.
1022 ## ---------------- ##
1023 ## Cache variables. ##
1024 ## ---------------- ##
1027 # The following way of writing the cache mishandles newlines in values,
1030 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1033 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1034 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1038 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1043 if test -s confdefs.h; then
1050 sed "/^$/d" confdefs.h
1053 test "$ac_signal" != 0 &&
1054 echo "$as_me: caught signal $ac_signal"
1055 echo "$as_me: exit $exit_status"
1057 rm -f core core.* *.core &&
1058 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1061 for ac_signal in 1 2 13 15; do
1062 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1066 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1067 rm -rf conftest* confdefs.h
1068 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1071 # Predefined preprocessor variables.
1073 cat >>confdefs.h <<_ACEOF
1074 #define PACKAGE_NAME "$PACKAGE_NAME"
1078 cat >>confdefs.h <<_ACEOF
1079 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1083 cat >>confdefs.h <<_ACEOF
1084 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1088 cat >>confdefs.h <<_ACEOF
1089 #define PACKAGE_STRING "$PACKAGE_STRING"
1093 cat >>confdefs.h <<_ACEOF
1094 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1098 # Let the site file select an alternate cache file if it wants to.
1099 # Prefer explicitly selected file to automatically selected ones.
1100 if test -z "$CONFIG_SITE"; then
1101 if test "x$prefix" != xNONE; then
1102 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1104 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1107 for ac_site_file in $CONFIG_SITE; do
1108 if test -r "$ac_site_file"; then
1109 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1110 echo "$as_me: loading site script $ac_site_file" >&6;}
1111 sed 's/^/| /' "$ac_site_file" >&5
1116 if test -r "$cache_file"; then
1117 # Some versions of bash will fail to source /dev/null (special
1118 # files actually), so we avoid doing that.
1119 if test -f "$cache_file"; then
1120 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1121 echo "$as_me: loading cache $cache_file" >&6;}
1123 [\\/]* | ?:[\\/]* ) . $cache_file;;
1124 *) . ./$cache_file;;
1128 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1129 echo "$as_me: creating cache $cache_file" >&6;}
1133 # Check that the precious variables saved in the cache have kept the same
1135 ac_cache_corrupted=false
1136 for ac_var in `(set) 2>&1 |
1137 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1138 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1139 eval ac_new_set=\$ac_env_${ac_var}_set
1140 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1141 eval ac_new_val="\$ac_env_${ac_var}_value"
1142 case $ac_old_set,$ac_new_set in
1144 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1145 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1146 ac_cache_corrupted=: ;;
1148 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1149 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1150 ac_cache_corrupted=: ;;
1153 if test "x$ac_old_val" != "x$ac_new_val"; then
1154 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1155 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1156 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1157 echo "$as_me: former value: $ac_old_val" >&2;}
1158 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1159 echo "$as_me: current value: $ac_new_val" >&2;}
1160 ac_cache_corrupted=:
1163 # Pass precious variables to config.status.
1164 if test "$ac_new_set" = set; then
1166 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1167 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1168 *) ac_arg=$ac_var=$ac_new_val ;;
1170 case " $ac_configure_args " in
1171 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1172 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1176 if $ac_cache_corrupted; then
1177 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1178 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1179 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1180 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1181 { (exit 1); exit 1; }; }
1185 ac_cpp='$CPP $CPPFLAGS'
1186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1216 ac_config_headers="$ac_config_headers include/config.h"
1219 for ac_dir in tools $srcdir/tools; do
1220 if test -f $ac_dir/install-sh; then
1222 ac_install_sh="$ac_aux_dir/install-sh -c"
1224 elif test -f $ac_dir/install.sh; then
1226 ac_install_sh="$ac_aux_dir/install.sh -c"
1228 elif test -f $ac_dir/shtool; then
1230 ac_install_sh="$ac_aux_dir/shtool install -c"
1234 if test -z "$ac_aux_dir"; then
1235 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&5
1236 echo "$as_me: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&2;}
1237 { (exit 1); exit 1; }; }
1239 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1240 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1241 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1248 # Check whether --enable-win16 or --disable-win16 was given.
1249 if test "${enable_win16+set}" = set; then
1250 enableval="$enable_win16"
1253 # Check whether --enable-debug or --disable-debug was given.
1254 if test "${enable_debug+set}" = set; then
1255 enableval="$enable_debug"
1258 # Check whether --enable-trace or --disable-trace was given.
1259 if test "${enable_trace+set}" = set; then
1260 enableval="$enable_trace"
1263 # Check whether --enable-opengl or --disable-opengl was given.
1264 if test "${enable_opengl+set}" = set; then
1265 enableval="$enable_opengl"
1269 # Check whether --with-curses or --without-curses was given.
1270 if test "${with_curses+set}" = set; then
1271 withval="$with_curses"
1275 # Check whether --with-wine-tools or --without-wine-tools was given.
1276 if test "${with_wine_tools+set}" = set; then
1277 withval="$with_wine_tools"
1282 WIN16_FILES="\$(WIN16_FILES)"
1284 WIN16_INSTALL="\$(WIN16_INSTALL)"
1286 if test "x$enable_win16" = "xno"
1291 if test "x$enable_debug" = "xno"
1294 cat >>confdefs.h <<\_ACEOF
1295 #define NO_DEBUG_MSGS 1
1299 if test "x$enable_trace" = "xno" -o "x$enable_debug" = "xno"
1302 cat >>confdefs.h <<\_ACEOF
1303 #define NO_TRACE_MSGS 1
1309 # Make sure we can run config.sub.
1310 $ac_config_sub sun4 >/dev/null 2>&1 ||
1311 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1312 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1313 { (exit 1); exit 1; }; }
1315 echo "$as_me:$LINENO: checking build system type" >&5
1316 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1317 if test "${ac_cv_build+set}" = set; then
1318 echo $ECHO_N "(cached) $ECHO_C" >&6
1320 ac_cv_build_alias=$build_alias
1321 test -z "$ac_cv_build_alias" &&
1322 ac_cv_build_alias=`$ac_config_guess`
1323 test -z "$ac_cv_build_alias" &&
1324 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1325 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1326 { (exit 1); exit 1; }; }
1327 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1328 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1329 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1330 { (exit 1); exit 1; }; }
1333 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1334 echo "${ECHO_T}$ac_cv_build" >&6
1336 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1337 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1338 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1341 echo "$as_me:$LINENO: checking host system type" >&5
1342 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1343 if test "${ac_cv_host+set}" = set; then
1344 echo $ECHO_N "(cached) $ECHO_C" >&6
1346 ac_cv_host_alias=$host_alias
1347 test -z "$ac_cv_host_alias" &&
1348 ac_cv_host_alias=$ac_cv_build_alias
1349 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1350 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1351 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1352 { (exit 1); exit 1; }; }
1355 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1356 echo "${ECHO_T}$ac_cv_host" >&6
1358 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1359 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1360 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1363 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1364 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1365 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1366 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1367 echo $ECHO_N "(cached) $ECHO_C" >&6
1369 cat >conftest.make <<\_ACEOF
1371 @echo 'ac_maketemp="${MAKE}"'
1373 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1374 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1375 if test -n "$ac_maketemp"; then
1376 eval ac_cv_prog_make_${ac_make}_set=yes
1378 eval ac_cv_prog_make_${ac_make}_set=no
1382 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1383 echo "$as_me:$LINENO: result: yes" >&5
1384 echo "${ECHO_T}yes" >&6
1387 echo "$as_me:$LINENO: result: no" >&5
1388 echo "${ECHO_T}no" >&6
1389 SET_MAKE="MAKE=${MAKE-make}"
1393 ac_cpp='$CPP $CPPFLAGS'
1394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1397 if test -n "$ac_tool_prefix"; then
1398 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1399 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1400 echo "$as_me:$LINENO: checking for $ac_word" >&5
1401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1402 if test "${ac_cv_prog_CC+set}" = set; then
1403 echo $ECHO_N "(cached) $ECHO_C" >&6
1405 if test -n "$CC"; then
1406 ac_cv_prog_CC="$CC" # Let the user override the test.
1408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1412 test -z "$as_dir" && as_dir=.
1413 for ac_exec_ext in '' $ac_executable_extensions; do
1414 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1415 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1425 if test -n "$CC"; then
1426 echo "$as_me:$LINENO: result: $CC" >&5
1427 echo "${ECHO_T}$CC" >&6
1429 echo "$as_me:$LINENO: result: no" >&5
1430 echo "${ECHO_T}no" >&6
1434 if test -z "$ac_cv_prog_CC"; then
1436 # Extract the first word of "gcc", so it can be a program name with args.
1437 set dummy gcc; ac_word=$2
1438 echo "$as_me:$LINENO: checking for $ac_word" >&5
1439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1440 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1441 echo $ECHO_N "(cached) $ECHO_C" >&6
1443 if test -n "$ac_ct_CC"; then
1444 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1450 test -z "$as_dir" && as_dir=.
1451 for ac_exec_ext in '' $ac_executable_extensions; do
1452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1453 ac_cv_prog_ac_ct_CC="gcc"
1454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1462 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1463 if test -n "$ac_ct_CC"; then
1464 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1465 echo "${ECHO_T}$ac_ct_CC" >&6
1467 echo "$as_me:$LINENO: result: no" >&5
1468 echo "${ECHO_T}no" >&6
1476 if test -z "$CC"; then
1477 if test -n "$ac_tool_prefix"; then
1478 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1479 set dummy ${ac_tool_prefix}cc; ac_word=$2
1480 echo "$as_me:$LINENO: checking for $ac_word" >&5
1481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1482 if test "${ac_cv_prog_CC+set}" = set; then
1483 echo $ECHO_N "(cached) $ECHO_C" >&6
1485 if test -n "$CC"; then
1486 ac_cv_prog_CC="$CC" # Let the user override the test.
1488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1492 test -z "$as_dir" && as_dir=.
1493 for ac_exec_ext in '' $ac_executable_extensions; do
1494 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1495 ac_cv_prog_CC="${ac_tool_prefix}cc"
1496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1505 if test -n "$CC"; then
1506 echo "$as_me:$LINENO: result: $CC" >&5
1507 echo "${ECHO_T}$CC" >&6
1509 echo "$as_me:$LINENO: result: no" >&5
1510 echo "${ECHO_T}no" >&6
1514 if test -z "$ac_cv_prog_CC"; then
1516 # Extract the first word of "cc", so it can be a program name with args.
1517 set dummy cc; ac_word=$2
1518 echo "$as_me:$LINENO: checking for $ac_word" >&5
1519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1520 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1521 echo $ECHO_N "(cached) $ECHO_C" >&6
1523 if test -n "$ac_ct_CC"; then
1524 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1530 test -z "$as_dir" && as_dir=.
1531 for ac_exec_ext in '' $ac_executable_extensions; do
1532 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1533 ac_cv_prog_ac_ct_CC="cc"
1534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1542 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1543 if test -n "$ac_ct_CC"; then
1544 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1545 echo "${ECHO_T}$ac_ct_CC" >&6
1547 echo "$as_me:$LINENO: result: no" >&5
1548 echo "${ECHO_T}no" >&6
1557 if test -z "$CC"; then
1558 # Extract the first word of "cc", so it can be a program name with args.
1559 set dummy cc; ac_word=$2
1560 echo "$as_me:$LINENO: checking for $ac_word" >&5
1561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1562 if test "${ac_cv_prog_CC+set}" = set; then
1563 echo $ECHO_N "(cached) $ECHO_C" >&6
1565 if test -n "$CC"; then
1566 ac_cv_prog_CC="$CC" # Let the user override the test.
1569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1573 test -z "$as_dir" && as_dir=.
1574 for ac_exec_ext in '' $ac_executable_extensions; do
1575 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1576 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1577 ac_prog_rejected=yes
1581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1587 if test $ac_prog_rejected = yes; then
1588 # We found a bogon in the path, so make sure we never use it.
1589 set dummy $ac_cv_prog_CC
1591 if test $# != 0; then
1592 # We chose a different compiler from the bogus one.
1593 # However, it has the same basename, so the bogon will be chosen
1594 # first if we set CC to just the basename; use the full file name.
1596 set dummy "$as_dir/$ac_word" ${1+"$@"}
1604 if test -n "$CC"; then
1605 echo "$as_me:$LINENO: result: $CC" >&5
1606 echo "${ECHO_T}$CC" >&6
1608 echo "$as_me:$LINENO: result: no" >&5
1609 echo "${ECHO_T}no" >&6
1613 if test -z "$CC"; then
1614 if test -n "$ac_tool_prefix"; then
1617 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1618 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1619 echo "$as_me:$LINENO: checking for $ac_word" >&5
1620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1621 if test "${ac_cv_prog_CC+set}" = set; then
1622 echo $ECHO_N "(cached) $ECHO_C" >&6
1624 if test -n "$CC"; then
1625 ac_cv_prog_CC="$CC" # Let the user override the test.
1627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1631 test -z "$as_dir" && as_dir=.
1632 for ac_exec_ext in '' $ac_executable_extensions; do
1633 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1634 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1644 if test -n "$CC"; then
1645 echo "$as_me:$LINENO: result: $CC" >&5
1646 echo "${ECHO_T}$CC" >&6
1648 echo "$as_me:$LINENO: result: no" >&5
1649 echo "${ECHO_T}no" >&6
1652 test -n "$CC" && break
1655 if test -z "$CC"; then
1659 # Extract the first word of "$ac_prog", so it can be a program name with args.
1660 set dummy $ac_prog; ac_word=$2
1661 echo "$as_me:$LINENO: checking for $ac_word" >&5
1662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1663 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1664 echo $ECHO_N "(cached) $ECHO_C" >&6
1666 if test -n "$ac_ct_CC"; then
1667 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1673 test -z "$as_dir" && as_dir=.
1674 for ac_exec_ext in '' $ac_executable_extensions; do
1675 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1676 ac_cv_prog_ac_ct_CC="$ac_prog"
1677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1685 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1686 if test -n "$ac_ct_CC"; then
1687 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1688 echo "${ECHO_T}$ac_ct_CC" >&6
1690 echo "$as_me:$LINENO: result: no" >&5
1691 echo "${ECHO_T}no" >&6
1694 test -n "$ac_ct_CC" && break
1703 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1704 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1705 { (exit 1); exit 1; }; }
1707 # Provide some information about the compiler.
1708 echo "$as_me:$LINENO:" \
1709 "checking for C compiler version" >&5
1710 ac_compiler=`set X $ac_compile; echo $2`
1711 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1712 (eval $ac_compiler --version </dev/null >&5) 2>&5
1714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1715 (exit $ac_status); }
1716 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1717 (eval $ac_compiler -v </dev/null >&5) 2>&5
1719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1720 (exit $ac_status); }
1721 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1722 (eval $ac_compiler -V </dev/null >&5) 2>&5
1724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1725 (exit $ac_status); }
1727 cat >conftest.$ac_ext <<_ACEOF
1728 #line $LINENO "configure"
1729 #include "confdefs.h"
1731 #ifdef F77_DUMMY_MAIN
1735 int F77_DUMMY_MAIN() { return 1; }
1745 ac_clean_files_save=$ac_clean_files
1746 ac_clean_files="$ac_clean_files a.out a.exe"
1747 # Try to create an executable without -o first, disregard a.out.
1748 # It will help us diagnose broken compilers, and finding out an intuition
1750 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1751 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1752 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1753 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1754 (eval $ac_link_default) 2>&5
1756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1757 (exit $ac_status); }; then
1758 # Find the output, starting from the most likely. This scheme is
1759 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1762 # Be careful to initialize this variable, since it used to be cached.
1763 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1765 for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
1766 ls a.out conftest 2>/dev/null;
1767 ls a.* conftest.* 2>/dev/null`; do
1769 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
1770 a.out ) # We found the default executable, but exeext='' is most
1773 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1774 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1781 echo "$as_me: failed program was:" >&5
1782 cat conftest.$ac_ext >&5
1783 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
1784 echo "$as_me: error: C compiler cannot create executables" >&2;}
1785 { (exit 77); exit 77; }; }
1788 ac_exeext=$ac_cv_exeext
1789 echo "$as_me:$LINENO: result: $ac_file" >&5
1790 echo "${ECHO_T}$ac_file" >&6
1792 # Check the compiler produces executables we can run. If not, either
1793 # the compiler is broken, or we cross compile.
1794 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1795 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1796 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1797 # If not cross compiling, check that we can run a simple program.
1798 if test "$cross_compiling" != yes; then
1799 if { ac_try='./$ac_file'
1800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1804 (exit $ac_status); }; }; then
1807 if test "$cross_compiling" = maybe; then
1810 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1811 If you meant to cross compile, use \`--host'." >&5
1812 echo "$as_me: error: cannot run C compiled programs.
1813 If you meant to cross compile, use \`--host'." >&2;}
1814 { (exit 1); exit 1; }; }
1818 echo "$as_me:$LINENO: result: yes" >&5
1819 echo "${ECHO_T}yes" >&6
1821 rm -f a.out a.exe conftest$ac_cv_exeext
1822 ac_clean_files=$ac_clean_files_save
1823 # Check the compiler produces executables we can run. If not, either
1824 # the compiler is broken, or we cross compile.
1825 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1826 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1827 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1828 echo "${ECHO_T}$cross_compiling" >&6
1830 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1831 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1833 (eval $ac_link) 2>&5
1835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1836 (exit $ac_status); }; then
1837 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1838 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1839 # work properly (i.e., refer to `conftest.exe'), while it won't with
1841 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1843 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1844 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1851 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
1852 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
1853 { (exit 1); exit 1; }; }
1856 rm -f conftest$ac_cv_exeext
1857 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1858 echo "${ECHO_T}$ac_cv_exeext" >&6
1860 rm -f conftest.$ac_ext
1861 EXEEXT=$ac_cv_exeext
1863 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1864 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1865 if test "${ac_cv_objext+set}" = set; then
1866 echo $ECHO_N "(cached) $ECHO_C" >&6
1868 cat >conftest.$ac_ext <<_ACEOF
1869 #line $LINENO "configure"
1870 #include "confdefs.h"
1872 #ifdef F77_DUMMY_MAIN
1876 int F77_DUMMY_MAIN() { return 1; }
1886 rm -f conftest.o conftest.obj
1887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1888 (eval $ac_compile) 2>&5
1890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1891 (exit $ac_status); }; then
1892 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1894 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1895 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1900 echo "$as_me: failed program was:" >&5
1901 cat conftest.$ac_ext >&5
1902 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
1903 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
1904 { (exit 1); exit 1; }; }
1907 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1909 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1910 echo "${ECHO_T}$ac_cv_objext" >&6
1911 OBJEXT=$ac_cv_objext
1913 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1914 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1915 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1916 echo $ECHO_N "(cached) $ECHO_C" >&6
1918 cat >conftest.$ac_ext <<_ACEOF
1919 #line $LINENO "configure"
1920 #include "confdefs.h"
1922 #ifdef F77_DUMMY_MAIN
1926 int F77_DUMMY_MAIN() { return 1; }
1939 rm -f conftest.$ac_objext
1940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1941 (eval $ac_compile) 2>&5
1943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1944 (exit $ac_status); } &&
1945 { ac_try='test -s conftest.$ac_objext'
1946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1950 (exit $ac_status); }; }; then
1953 echo "$as_me: failed program was:" >&5
1954 cat conftest.$ac_ext >&5
1957 rm -f conftest.$ac_objext conftest.$ac_ext
1958 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1961 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1962 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1963 GCC=`test $ac_compiler_gnu = yes && echo yes`
1964 ac_test_CFLAGS=${CFLAGS+set}
1965 ac_save_CFLAGS=$CFLAGS
1967 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1968 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1969 if test "${ac_cv_prog_cc_g+set}" = set; then
1970 echo $ECHO_N "(cached) $ECHO_C" >&6
1972 cat >conftest.$ac_ext <<_ACEOF
1973 #line $LINENO "configure"
1974 #include "confdefs.h"
1976 #ifdef F77_DUMMY_MAIN
1980 int F77_DUMMY_MAIN() { return 1; }
1990 rm -f conftest.$ac_objext
1991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1992 (eval $ac_compile) 2>&5
1994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1995 (exit $ac_status); } &&
1996 { ac_try='test -s conftest.$ac_objext'
1997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2001 (exit $ac_status); }; }; then
2004 echo "$as_me: failed program was:" >&5
2005 cat conftest.$ac_ext >&5
2008 rm -f conftest.$ac_objext conftest.$ac_ext
2010 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2011 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2012 if test "$ac_test_CFLAGS" = set; then
2013 CFLAGS=$ac_save_CFLAGS
2014 elif test $ac_cv_prog_cc_g = yes; then
2015 if test "$GCC" = yes; then
2021 if test "$GCC" = yes; then
2027 # Some people use a C++ compiler to compile C. Since we use `exit',
2028 # in C++ we need to declare it. In case someone uses the same compiler
2029 # for both compiling C and C++ we need to have the C++ compiler decide
2030 # the declaration of exit, since it's the most demanding environment.
2031 cat >conftest.$ac_ext <<_ACEOF
2036 rm -f conftest.$ac_objext
2037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2038 (eval $ac_compile) 2>&5
2040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2041 (exit $ac_status); } &&
2042 { ac_try='test -s conftest.$ac_objext'
2043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2047 (exit $ac_status); }; }; then
2048 for ac_declaration in \
2050 '#include <stdlib.h>' \
2051 'extern "C" void std::exit (int) throw (); using std::exit;' \
2052 'extern "C" void std::exit (int); using std::exit;' \
2053 'extern "C" void exit (int) throw ();' \
2054 'extern "C" void exit (int);' \
2057 cat >conftest.$ac_ext <<_ACEOF
2058 #line $LINENO "configure"
2059 #include "confdefs.h"
2062 #ifdef F77_DUMMY_MAIN
2066 int F77_DUMMY_MAIN() { return 1; }
2076 rm -f conftest.$ac_objext
2077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2078 (eval $ac_compile) 2>&5
2080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2081 (exit $ac_status); } &&
2082 { ac_try='test -s conftest.$ac_objext'
2083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2087 (exit $ac_status); }; }; then
2090 echo "$as_me: failed program was:" >&5
2091 cat conftest.$ac_ext >&5
2094 rm -f conftest.$ac_objext conftest.$ac_ext
2095 cat >conftest.$ac_ext <<_ACEOF
2096 #line $LINENO "configure"
2097 #include "confdefs.h"
2099 #ifdef F77_DUMMY_MAIN
2103 int F77_DUMMY_MAIN() { return 1; }
2113 rm -f conftest.$ac_objext
2114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2115 (eval $ac_compile) 2>&5
2117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2118 (exit $ac_status); } &&
2119 { ac_try='test -s conftest.$ac_objext'
2120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2124 (exit $ac_status); }; }; then
2127 echo "$as_me: failed program was:" >&5
2128 cat conftest.$ac_ext >&5
2130 rm -f conftest.$ac_objext conftest.$ac_ext
2133 if test -n "$ac_declaration"; then
2134 echo '#ifdef __cplusplus' >>confdefs.h
2135 echo $ac_declaration >>confdefs.h
2136 echo '#endif' >>confdefs.h
2140 echo "$as_me: failed program was:" >&5
2141 cat conftest.$ac_ext >&5
2143 rm -f conftest.$ac_objext conftest.$ac_ext
2145 ac_cpp='$CPP $CPPFLAGS'
2146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2151 ac_cpp='$CPP $CPPFLAGS'
2152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2155 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2156 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2157 # On Suns, sometimes $CPP names a directory.
2158 if test -n "$CPP" && test -d "$CPP"; then
2161 if test -z "$CPP"; then
2162 if test "${ac_cv_prog_CPP+set}" = set; then
2163 echo $ECHO_N "(cached) $ECHO_C" >&6
2165 # Double quotes because CPP needs to be expanded
2166 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2169 for ac_c_preproc_warn_flag in '' yes
2171 # Use a header file that comes with gcc, so configuring glibc
2172 # with a fresh cross-compiler works.
2173 # On the NeXT, cc -E runs the code through the compiler's parser,
2174 # not just through cpp. "Syntax error" is here to catch this case.
2175 cat >conftest.$ac_ext <<_ACEOF
2176 #line $LINENO "configure"
2177 #include "confdefs.h"
2181 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2182 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2184 egrep -v '^ *\+' conftest.er1 >conftest.err
2186 cat conftest.err >&5
2187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2188 (exit $ac_status); } >/dev/null; then
2189 if test -s conftest.err; then
2190 ac_cpp_err=$ac_c_preproc_warn_flag
2197 if test -z "$ac_cpp_err"; then
2200 echo "$as_me: failed program was:" >&5
2201 cat conftest.$ac_ext >&5
2202 # Broken: fails on valid input.
2205 rm -f conftest.err conftest.$ac_ext
2207 # OK, works on sane cases. Now check whether non-existent headers
2208 # can be detected and how.
2209 cat >conftest.$ac_ext <<_ACEOF
2210 #line $LINENO "configure"
2211 #include "confdefs.h"
2212 #include <ac_nonexistent.h>
2214 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2215 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2217 egrep -v '^ *\+' conftest.er1 >conftest.err
2219 cat conftest.err >&5
2220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2221 (exit $ac_status); } >/dev/null; then
2222 if test -s conftest.err; then
2223 ac_cpp_err=$ac_c_preproc_warn_flag
2230 if test -z "$ac_cpp_err"; then
2231 # Broken: success on invalid input.
2234 echo "$as_me: failed program was:" >&5
2235 cat conftest.$ac_ext >&5
2236 # Passes both tests.
2240 rm -f conftest.err conftest.$ac_ext
2243 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2244 rm -f conftest.err conftest.$ac_ext
2245 if $ac_preproc_ok; then
2257 echo "$as_me:$LINENO: result: $CPP" >&5
2258 echo "${ECHO_T}$CPP" >&6
2260 for ac_c_preproc_warn_flag in '' yes
2262 # Use a header file that comes with gcc, so configuring glibc
2263 # with a fresh cross-compiler works.
2264 # On the NeXT, cc -E runs the code through the compiler's parser,
2265 # not just through cpp. "Syntax error" is here to catch this case.
2266 cat >conftest.$ac_ext <<_ACEOF
2267 #line $LINENO "configure"
2268 #include "confdefs.h"
2272 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2273 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2275 egrep -v '^ *\+' conftest.er1 >conftest.err
2277 cat conftest.err >&5
2278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2279 (exit $ac_status); } >/dev/null; then
2280 if test -s conftest.err; then
2281 ac_cpp_err=$ac_c_preproc_warn_flag
2288 if test -z "$ac_cpp_err"; then
2291 echo "$as_me: failed program was:" >&5
2292 cat conftest.$ac_ext >&5
2293 # Broken: fails on valid input.
2296 rm -f conftest.err conftest.$ac_ext
2298 # OK, works on sane cases. Now check whether non-existent headers
2299 # can be detected and how.
2300 cat >conftest.$ac_ext <<_ACEOF
2301 #line $LINENO "configure"
2302 #include "confdefs.h"
2303 #include <ac_nonexistent.h>
2305 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2306 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2308 egrep -v '^ *\+' conftest.er1 >conftest.err
2310 cat conftest.err >&5
2311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2312 (exit $ac_status); } >/dev/null; then
2313 if test -s conftest.err; then
2314 ac_cpp_err=$ac_c_preproc_warn_flag
2321 if test -z "$ac_cpp_err"; then
2322 # Broken: success on invalid input.
2325 echo "$as_me: failed program was:" >&5
2326 cat conftest.$ac_ext >&5
2327 # Passes both tests.
2331 rm -f conftest.err conftest.$ac_ext
2334 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2335 rm -f conftest.err conftest.$ac_ext
2336 if $ac_preproc_ok; then
2339 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2340 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2341 { (exit 1); exit 1; }; }
2345 ac_cpp='$CPP $CPPFLAGS'
2346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2351 echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
2352 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6
2353 if test "${wine_cv_toolsdir+set}" = set; then
2354 echo $ECHO_N "(cached) $ECHO_C" >&6
2356 if test -z "$with_wine_tools"; then
2357 if test "$cross_compiling" = "yes"; then
2358 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
2359 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
2360 { (exit 1); exit 1; }; }
2362 wine_cv_toolsdir="\$(TOPOBJDIR)"
2364 elif test -d "$with_wine_tools/tools/winebuild"; then
2365 case $with_wine_tools in
2366 /*) wine_cv_toolsdir="$with_wine_tools" ;;
2367 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
2370 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
2371 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
2372 { (exit 1); exit 1; }; }
2375 echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
2376 echo "${ECHO_T}$wine_cv_toolsdir" >&6
2377 TOOLSDIR=$wine_cv_toolsdir
2382 echo "$as_me:$LINENO: checking for X" >&5
2383 echo $ECHO_N "checking for X... $ECHO_C" >&6
2386 # Check whether --with-x or --without-x was given.
2387 if test "${with_x+set}" = set; then
2391 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
2392 if test "x$with_x" = xno; then
2393 # The user explicitly disabled X.
2396 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
2397 # Both variables are already set.
2400 if test "${ac_cv_have_x+set}" = set; then
2401 echo $ECHO_N "(cached) $ECHO_C" >&6
2403 # One or both of the vars are not set, and there is no cached value.
2404 ac_x_includes=no ac_x_libraries=no
2406 if mkdir conftest.dir; then
2408 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
2409 cat >Imakefile <<'_ACEOF'
2411 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
2413 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
2414 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2415 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
2416 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
2417 for ac_extension in a so sl; do
2418 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
2419 test -f $ac_im_libdir/libX11.$ac_extension; then
2420 ac_im_usrlibdir=$ac_im_libdir; break
2423 # Screen out bogus values from the imake configuration. They are
2424 # bogus both because they are the default anyway, and because
2425 # using them would break gcc on systems where it needs fixed includes.
2426 case $ac_im_incroot in
2428 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
2430 case $ac_im_usrlibdir in
2432 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
2439 # Standard set of common directories for X headers.
2440 # Check X11 before X11Rn because it is often a symlink to the current release.
2452 /usr/local/X11/include
2453 /usr/local/X11R6/include
2454 /usr/local/X11R5/include
2455 /usr/local/X11R4/include
2457 /usr/local/include/X11
2458 /usr/local/include/X11R6
2459 /usr/local/include/X11R5
2460 /usr/local/include/X11R4
2464 /usr/XFree86/include/X11
2468 /usr/unsupported/include
2470 /usr/local/x11r5/include
2471 /usr/lpp/Xamples/include
2473 /usr/openwin/include
2474 /usr/openwin/share/include'
2476 if test "$ac_x_includes" = no; then
2477 # Guess where to find include files, by looking for Intrinsic.h.
2478 # First, try using that file with no special directory specified.
2479 cat >conftest.$ac_ext <<_ACEOF
2480 #line $LINENO "configure"
2481 #include "confdefs.h"
2482 #include <X11/Intrinsic.h>
2484 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2485 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2487 egrep -v '^ *\+' conftest.er1 >conftest.err
2489 cat conftest.err >&5
2490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2491 (exit $ac_status); } >/dev/null; then
2492 if test -s conftest.err; then
2493 ac_cpp_err=$ac_c_preproc_warn_flag
2500 if test -z "$ac_cpp_err"; then
2501 # We can compile using X headers with no special include directory.
2504 echo "$as_me: failed program was:" >&5
2505 cat conftest.$ac_ext >&5
2506 for ac_dir in $ac_x_header_dirs; do
2507 if test -r "$ac_dir/X11/Intrinsic.h"; then
2508 ac_x_includes=$ac_dir
2513 rm -f conftest.err conftest.$ac_ext
2514 fi # $ac_x_includes = no
2516 if test "$ac_x_libraries" = no; then
2517 # Check for the libraries.
2518 # See if we find them without any special options.
2519 # Don't add to $LIBS permanently.
2522 cat >conftest.$ac_ext <<_ACEOF
2523 #line $LINENO "configure"
2524 #include "confdefs.h"
2525 #include <X11/Intrinsic.h>
2526 #ifdef F77_DUMMY_MAIN
2530 int F77_DUMMY_MAIN() { return 1; }
2540 rm -f conftest.$ac_objext conftest$ac_exeext
2541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2542 (eval $ac_link) 2>&5
2544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2545 (exit $ac_status); } &&
2546 { ac_try='test -s conftest$ac_exeext'
2547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2551 (exit $ac_status); }; }; then
2553 # We can link X programs with no special library path.
2556 echo "$as_me: failed program was:" >&5
2557 cat conftest.$ac_ext >&5
2559 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
2561 # Don't even attempt the hair of trying to link an X program!
2562 for ac_extension in a so sl; do
2563 if test -r $ac_dir/libXt.$ac_extension; then
2564 ac_x_libraries=$ac_dir
2570 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2571 fi # $ac_x_libraries = no
2573 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
2574 # Didn't find X anywhere. Cache the known absence of X.
2575 ac_cv_have_x="have_x=no"
2577 # Record where we found X for the cache.
2578 ac_cv_have_x="have_x=yes \
2579 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
2584 eval "$ac_cv_have_x"
2587 if test "$have_x" != yes; then
2588 echo "$as_me:$LINENO: result: $have_x" >&5
2589 echo "${ECHO_T}$have_x" >&6
2592 # If each of the values was on the command line, it overrides each guess.
2593 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
2594 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
2595 # Update the cache value to reflect the command line values.
2596 ac_cv_have_x="have_x=yes \
2597 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
2598 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
2599 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
2602 if test "$no_x" = yes; then
2603 # Not all programs may use this symbol, but it does not hurt to define it.
2605 cat >>confdefs.h <<\_ACEOF
2606 #define X_DISPLAY_MISSING 1
2609 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
2611 if test -n "$x_includes"; then
2612 X_CFLAGS="$X_CFLAGS -I$x_includes"
2615 # It would also be nice to do this for all -L options, not just this one.
2616 if test -n "$x_libraries"; then
2617 X_LIBS="$X_LIBS -L$x_libraries"
2618 # For Solaris; some versions of Sun CC require a space after -R and
2619 # others require no space. Words are not sufficient . . . .
2620 case `(uname -sr) 2>/dev/null` in
2622 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
2623 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
2624 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
2625 cat >conftest.$ac_ext <<_ACEOF
2626 #line $LINENO "configure"
2627 #include "confdefs.h"
2629 #ifdef F77_DUMMY_MAIN
2633 int F77_DUMMY_MAIN() { return 1; }
2643 rm -f conftest.$ac_objext conftest$ac_exeext
2644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2645 (eval $ac_link) 2>&5
2647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2648 (exit $ac_status); } &&
2649 { ac_try='test -s conftest$ac_exeext'
2650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2654 (exit $ac_status); }; }; then
2657 echo "$as_me: failed program was:" >&5
2658 cat conftest.$ac_ext >&5
2661 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2662 if test $ac_R_nospace = yes; then
2663 echo "$as_me:$LINENO: result: no" >&5
2664 echo "${ECHO_T}no" >&6
2665 X_LIBS="$X_LIBS -R$x_libraries"
2667 LIBS="$ac_xsave_LIBS -R $x_libraries"
2668 cat >conftest.$ac_ext <<_ACEOF
2669 #line $LINENO "configure"
2670 #include "confdefs.h"
2672 #ifdef F77_DUMMY_MAIN
2676 int F77_DUMMY_MAIN() { return 1; }
2686 rm -f conftest.$ac_objext conftest$ac_exeext
2687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2688 (eval $ac_link) 2>&5
2690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2691 (exit $ac_status); } &&
2692 { ac_try='test -s conftest$ac_exeext'
2693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2697 (exit $ac_status); }; }; then
2700 echo "$as_me: failed program was:" >&5
2701 cat conftest.$ac_ext >&5
2704 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2705 if test $ac_R_space = yes; then
2706 echo "$as_me:$LINENO: result: yes" >&5
2707 echo "${ECHO_T}yes" >&6
2708 X_LIBS="$X_LIBS -R $x_libraries"
2710 echo "$as_me:$LINENO: result: neither works" >&5
2711 echo "${ECHO_T}neither works" >&6
2718 # Check for system-dependent libraries X programs must link with.
2719 # Do this before checking for the system-independent R6 libraries
2720 # (-lICE), since we may need -lsocket or whatever for X linking.
2722 if test "$ISC" = yes; then
2723 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
2725 # Martyn Johnson says this is needed for Ultrix, if the X
2726 # libraries were built with DECnet support. And Karl Berry says
2727 # the Alpha needs dnet_stub (dnet does not exist).
2728 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
2729 cat >conftest.$ac_ext <<_ACEOF
2730 #line $LINENO "configure"
2731 #include "confdefs.h"
2733 /* Override any gcc2 internal prototype to avoid an error. */
2737 /* We use char because int might match the return type of a gcc2
2738 builtin and then its argument prototype would still apply. */
2739 char XOpenDisplay ();
2740 #ifdef F77_DUMMY_MAIN
2744 int F77_DUMMY_MAIN() { return 1; }
2754 rm -f conftest.$ac_objext conftest$ac_exeext
2755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2756 (eval $ac_link) 2>&5
2758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759 (exit $ac_status); } &&
2760 { ac_try='test -s conftest$ac_exeext'
2761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2765 (exit $ac_status); }; }; then
2768 echo "$as_me: failed program was:" >&5
2769 cat conftest.$ac_ext >&5
2770 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
2771 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
2772 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
2773 echo $ECHO_N "(cached) $ECHO_C" >&6
2775 ac_check_lib_save_LIBS=$LIBS
2777 cat >conftest.$ac_ext <<_ACEOF
2778 #line $LINENO "configure"
2779 #include "confdefs.h"
2781 /* Override any gcc2 internal prototype to avoid an error. */
2785 /* We use char because int might match the return type of a gcc2
2786 builtin and then its argument prototype would still apply. */
2788 #ifdef F77_DUMMY_MAIN
2792 int F77_DUMMY_MAIN() { return 1; }
2802 rm -f conftest.$ac_objext conftest$ac_exeext
2803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2804 (eval $ac_link) 2>&5
2806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2807 (exit $ac_status); } &&
2808 { ac_try='test -s conftest$ac_exeext'
2809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2813 (exit $ac_status); }; }; then
2814 ac_cv_lib_dnet_dnet_ntoa=yes
2816 echo "$as_me: failed program was:" >&5
2817 cat conftest.$ac_ext >&5
2818 ac_cv_lib_dnet_dnet_ntoa=no
2820 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2821 LIBS=$ac_check_lib_save_LIBS
2823 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
2824 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
2825 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
2826 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
2829 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
2830 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
2831 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
2832 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
2833 echo $ECHO_N "(cached) $ECHO_C" >&6
2835 ac_check_lib_save_LIBS=$LIBS
2836 LIBS="-ldnet_stub $LIBS"
2837 cat >conftest.$ac_ext <<_ACEOF
2838 #line $LINENO "configure"
2839 #include "confdefs.h"
2841 /* Override any gcc2 internal prototype to avoid an error. */
2845 /* We use char because int might match the return type of a gcc2
2846 builtin and then its argument prototype would still apply. */
2848 #ifdef F77_DUMMY_MAIN
2852 int F77_DUMMY_MAIN() { return 1; }
2862 rm -f conftest.$ac_objext conftest$ac_exeext
2863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2864 (eval $ac_link) 2>&5
2866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2867 (exit $ac_status); } &&
2868 { ac_try='test -s conftest$ac_exeext'
2869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2873 (exit $ac_status); }; }; then
2874 ac_cv_lib_dnet_stub_dnet_ntoa=yes
2876 echo "$as_me: failed program was:" >&5
2877 cat conftest.$ac_ext >&5
2878 ac_cv_lib_dnet_stub_dnet_ntoa=no
2880 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2881 LIBS=$ac_check_lib_save_LIBS
2883 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
2884 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
2885 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
2886 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
2891 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2892 LIBS="$ac_xsave_LIBS"
2894 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
2895 # to get the SysV transport functions.
2896 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
2898 # The nsl library prevents programs from opening the X display
2899 # on Irix 5.2, according to T.E. Dickey.
2900 # The functions gethostbyname, getservbyname, and inet_addr are
2901 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
2902 echo "$as_me:$LINENO: checking for gethostbyname" >&5
2903 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
2904 if test "${ac_cv_func_gethostbyname+set}" = set; then
2905 echo $ECHO_N "(cached) $ECHO_C" >&6
2907 cat >conftest.$ac_ext <<_ACEOF
2908 #line $LINENO "configure"
2909 #include "confdefs.h"
2910 /* System header to define __stub macros and hopefully few prototypes,
2911 which can conflict with char gethostbyname (); below. */
2913 /* Override any gcc2 internal prototype to avoid an error. */
2917 /* We use char because int might match the return type of a gcc2
2918 builtin and then its argument prototype would still apply. */
2919 char gethostbyname ();
2922 #ifdef F77_DUMMY_MAIN
2926 int F77_DUMMY_MAIN() { return 1; }
2931 /* The GNU C library defines this for functions which it implements
2932 to always fail with ENOSYS. Some functions are actually named
2933 something starting with __ and the normal name is an alias. */
2934 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
2944 rm -f conftest.$ac_objext conftest$ac_exeext
2945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2946 (eval $ac_link) 2>&5
2948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2949 (exit $ac_status); } &&
2950 { ac_try='test -s conftest$ac_exeext'
2951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955 (exit $ac_status); }; }; then
2956 ac_cv_func_gethostbyname=yes
2958 echo "$as_me: failed program was:" >&5
2959 cat conftest.$ac_ext >&5
2960 ac_cv_func_gethostbyname=no
2962 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2964 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
2965 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
2967 if test $ac_cv_func_gethostbyname = no; then
2968 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
2969 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
2970 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
2971 echo $ECHO_N "(cached) $ECHO_C" >&6
2973 ac_check_lib_save_LIBS=$LIBS
2975 cat >conftest.$ac_ext <<_ACEOF
2976 #line $LINENO "configure"
2977 #include "confdefs.h"
2979 /* Override any gcc2 internal prototype to avoid an error. */
2983 /* We use char because int might match the return type of a gcc2
2984 builtin and then its argument prototype would still apply. */
2985 char gethostbyname ();
2986 #ifdef F77_DUMMY_MAIN
2990 int F77_DUMMY_MAIN() { return 1; }
3000 rm -f conftest.$ac_objext conftest$ac_exeext
3001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3002 (eval $ac_link) 2>&5
3004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3005 (exit $ac_status); } &&
3006 { ac_try='test -s conftest$ac_exeext'
3007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3011 (exit $ac_status); }; }; then
3012 ac_cv_lib_nsl_gethostbyname=yes
3014 echo "$as_me: failed program was:" >&5
3015 cat conftest.$ac_ext >&5
3016 ac_cv_lib_nsl_gethostbyname=no
3018 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3019 LIBS=$ac_check_lib_save_LIBS
3021 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3022 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3023 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3024 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
3027 if test $ac_cv_lib_nsl_gethostbyname = no; then
3028 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3029 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3030 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3031 echo $ECHO_N "(cached) $ECHO_C" >&6
3033 ac_check_lib_save_LIBS=$LIBS
3035 cat >conftest.$ac_ext <<_ACEOF
3036 #line $LINENO "configure"
3037 #include "confdefs.h"
3039 /* Override any gcc2 internal prototype to avoid an error. */
3043 /* We use char because int might match the return type of a gcc2
3044 builtin and then its argument prototype would still apply. */
3045 char gethostbyname ();
3046 #ifdef F77_DUMMY_MAIN
3050 int F77_DUMMY_MAIN() { return 1; }
3060 rm -f conftest.$ac_objext conftest$ac_exeext
3061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3062 (eval $ac_link) 2>&5
3064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3065 (exit $ac_status); } &&
3066 { ac_try='test -s conftest$ac_exeext'
3067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3071 (exit $ac_status); }; }; then
3072 ac_cv_lib_bsd_gethostbyname=yes
3074 echo "$as_me: failed program was:" >&5
3075 cat conftest.$ac_ext >&5
3076 ac_cv_lib_bsd_gethostbyname=no
3078 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3079 LIBS=$ac_check_lib_save_LIBS
3081 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3082 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3083 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3084 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
3090 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3091 # socket/setsockopt and other routines are undefined under SCO ODT
3092 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3093 # on later versions), says Simon Leinen: it contains gethostby*
3094 # variants that don't use the nameserver (or something). -lsocket
3095 # must be given before -lnsl if both are needed. We assume that
3096 # if connect needs -lnsl, so does gethostbyname.
3097 echo "$as_me:$LINENO: checking for connect" >&5
3098 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3099 if test "${ac_cv_func_connect+set}" = set; then
3100 echo $ECHO_N "(cached) $ECHO_C" >&6
3102 cat >conftest.$ac_ext <<_ACEOF
3103 #line $LINENO "configure"
3104 #include "confdefs.h"
3105 /* System header to define __stub macros and hopefully few prototypes,
3106 which can conflict with char connect (); below. */
3108 /* Override any gcc2 internal prototype to avoid an error. */
3112 /* We use char because int might match the return type of a gcc2
3113 builtin and then its argument prototype would still apply. */
3117 #ifdef F77_DUMMY_MAIN
3121 int F77_DUMMY_MAIN() { return 1; }
3126 /* The GNU C library defines this for functions which it implements
3127 to always fail with ENOSYS. Some functions are actually named
3128 something starting with __ and the normal name is an alias. */
3129 #if defined (__stub_connect) || defined (__stub___connect)
3139 rm -f conftest.$ac_objext conftest$ac_exeext
3140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3141 (eval $ac_link) 2>&5
3143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3144 (exit $ac_status); } &&
3145 { ac_try='test -s conftest$ac_exeext'
3146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3150 (exit $ac_status); }; }; then
3151 ac_cv_func_connect=yes
3153 echo "$as_me: failed program was:" >&5
3154 cat conftest.$ac_ext >&5
3155 ac_cv_func_connect=no
3157 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3159 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
3160 echo "${ECHO_T}$ac_cv_func_connect" >&6
3162 if test $ac_cv_func_connect = no; then
3163 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
3164 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
3165 if test "${ac_cv_lib_socket_connect+set}" = set; then
3166 echo $ECHO_N "(cached) $ECHO_C" >&6
3168 ac_check_lib_save_LIBS=$LIBS
3169 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
3170 cat >conftest.$ac_ext <<_ACEOF
3171 #line $LINENO "configure"
3172 #include "confdefs.h"
3174 /* Override any gcc2 internal prototype to avoid an error. */
3178 /* We use char because int might match the return type of a gcc2
3179 builtin and then its argument prototype would still apply. */
3181 #ifdef F77_DUMMY_MAIN
3185 int F77_DUMMY_MAIN() { return 1; }
3195 rm -f conftest.$ac_objext conftest$ac_exeext
3196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3197 (eval $ac_link) 2>&5
3199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3200 (exit $ac_status); } &&
3201 { ac_try='test -s conftest$ac_exeext'
3202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3206 (exit $ac_status); }; }; then
3207 ac_cv_lib_socket_connect=yes
3209 echo "$as_me: failed program was:" >&5
3210 cat conftest.$ac_ext >&5
3211 ac_cv_lib_socket_connect=no
3213 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3214 LIBS=$ac_check_lib_save_LIBS
3216 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
3217 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
3218 if test $ac_cv_lib_socket_connect = yes; then
3219 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
3224 # Guillermo Gomez says -lposix is necessary on A/UX.
3225 echo "$as_me:$LINENO: checking for remove" >&5
3226 echo $ECHO_N "checking for remove... $ECHO_C" >&6
3227 if test "${ac_cv_func_remove+set}" = set; then
3228 echo $ECHO_N "(cached) $ECHO_C" >&6
3230 cat >conftest.$ac_ext <<_ACEOF
3231 #line $LINENO "configure"
3232 #include "confdefs.h"
3233 /* System header to define __stub macros and hopefully few prototypes,
3234 which can conflict with char remove (); below. */
3236 /* Override any gcc2 internal prototype to avoid an error. */
3240 /* We use char because int might match the return type of a gcc2
3241 builtin and then its argument prototype would still apply. */
3245 #ifdef F77_DUMMY_MAIN
3249 int F77_DUMMY_MAIN() { return 1; }
3254 /* The GNU C library defines this for functions which it implements
3255 to always fail with ENOSYS. Some functions are actually named
3256 something starting with __ and the normal name is an alias. */
3257 #if defined (__stub_remove) || defined (__stub___remove)
3267 rm -f conftest.$ac_objext conftest$ac_exeext
3268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3269 (eval $ac_link) 2>&5
3271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3272 (exit $ac_status); } &&
3273 { ac_try='test -s conftest$ac_exeext'
3274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278 (exit $ac_status); }; }; then
3279 ac_cv_func_remove=yes
3281 echo "$as_me: failed program was:" >&5
3282 cat conftest.$ac_ext >&5
3283 ac_cv_func_remove=no
3285 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3287 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
3288 echo "${ECHO_T}$ac_cv_func_remove" >&6
3290 if test $ac_cv_func_remove = no; then
3291 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
3292 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
3293 if test "${ac_cv_lib_posix_remove+set}" = set; then
3294 echo $ECHO_N "(cached) $ECHO_C" >&6
3296 ac_check_lib_save_LIBS=$LIBS
3297 LIBS="-lposix $LIBS"
3298 cat >conftest.$ac_ext <<_ACEOF
3299 #line $LINENO "configure"
3300 #include "confdefs.h"
3302 /* Override any gcc2 internal prototype to avoid an error. */
3306 /* We use char because int might match the return type of a gcc2
3307 builtin and then its argument prototype would still apply. */
3309 #ifdef F77_DUMMY_MAIN
3313 int F77_DUMMY_MAIN() { return 1; }
3323 rm -f conftest.$ac_objext conftest$ac_exeext
3324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3325 (eval $ac_link) 2>&5
3327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3328 (exit $ac_status); } &&
3329 { ac_try='test -s conftest$ac_exeext'
3330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3334 (exit $ac_status); }; }; then
3335 ac_cv_lib_posix_remove=yes
3337 echo "$as_me: failed program was:" >&5
3338 cat conftest.$ac_ext >&5
3339 ac_cv_lib_posix_remove=no
3341 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3342 LIBS=$ac_check_lib_save_LIBS
3344 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
3345 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
3346 if test $ac_cv_lib_posix_remove = yes; then
3347 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
3352 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
3353 echo "$as_me:$LINENO: checking for shmat" >&5
3354 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
3355 if test "${ac_cv_func_shmat+set}" = set; then
3356 echo $ECHO_N "(cached) $ECHO_C" >&6
3358 cat >conftest.$ac_ext <<_ACEOF
3359 #line $LINENO "configure"
3360 #include "confdefs.h"
3361 /* System header to define __stub macros and hopefully few prototypes,
3362 which can conflict with char shmat (); below. */
3364 /* Override any gcc2 internal prototype to avoid an error. */
3368 /* We use char because int might match the return type of a gcc2
3369 builtin and then its argument prototype would still apply. */
3373 #ifdef F77_DUMMY_MAIN
3377 int F77_DUMMY_MAIN() { return 1; }
3382 /* The GNU C library defines this for functions which it implements
3383 to always fail with ENOSYS. Some functions are actually named
3384 something starting with __ and the normal name is an alias. */
3385 #if defined (__stub_shmat) || defined (__stub___shmat)
3395 rm -f conftest.$ac_objext conftest$ac_exeext
3396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3397 (eval $ac_link) 2>&5
3399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3400 (exit $ac_status); } &&
3401 { ac_try='test -s conftest$ac_exeext'
3402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3406 (exit $ac_status); }; }; then
3407 ac_cv_func_shmat=yes
3409 echo "$as_me: failed program was:" >&5
3410 cat conftest.$ac_ext >&5
3413 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3415 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
3416 echo "${ECHO_T}$ac_cv_func_shmat" >&6
3418 if test $ac_cv_func_shmat = no; then
3419 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
3420 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
3421 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
3422 echo $ECHO_N "(cached) $ECHO_C" >&6
3424 ac_check_lib_save_LIBS=$LIBS
3426 cat >conftest.$ac_ext <<_ACEOF
3427 #line $LINENO "configure"
3428 #include "confdefs.h"
3430 /* Override any gcc2 internal prototype to avoid an error. */
3434 /* We use char because int might match the return type of a gcc2
3435 builtin and then its argument prototype would still apply. */
3437 #ifdef F77_DUMMY_MAIN
3441 int F77_DUMMY_MAIN() { return 1; }
3451 rm -f conftest.$ac_objext conftest$ac_exeext
3452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3453 (eval $ac_link) 2>&5
3455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3456 (exit $ac_status); } &&
3457 { ac_try='test -s conftest$ac_exeext'
3458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3462 (exit $ac_status); }; }; then
3463 ac_cv_lib_ipc_shmat=yes
3465 echo "$as_me: failed program was:" >&5
3466 cat conftest.$ac_ext >&5
3467 ac_cv_lib_ipc_shmat=no
3469 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3470 LIBS=$ac_check_lib_save_LIBS
3472 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
3473 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
3474 if test $ac_cv_lib_ipc_shmat = yes; then
3475 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
3481 # Check for libraries that X11R6 Xt/Xaw programs need.
3482 ac_save_LDFLAGS=$LDFLAGS
3483 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
3484 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
3485 # check for ICE first), but we must link in the order -lSM -lICE or
3486 # we get undefined symbols. So assume we have SM if we have ICE.
3487 # These have to be linked with before -lX11, unlike the other
3488 # libraries we check for below, so use a different variable.
3489 # John Interrante, Karl Berry
3490 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
3491 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
3492 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
3493 echo $ECHO_N "(cached) $ECHO_C" >&6
3495 ac_check_lib_save_LIBS=$LIBS
3496 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
3497 cat >conftest.$ac_ext <<_ACEOF
3498 #line $LINENO "configure"
3499 #include "confdefs.h"
3501 /* Override any gcc2 internal prototype to avoid an error. */
3505 /* We use char because int might match the return type of a gcc2
3506 builtin and then its argument prototype would still apply. */
3507 char IceConnectionNumber ();
3508 #ifdef F77_DUMMY_MAIN
3512 int F77_DUMMY_MAIN() { return 1; }
3517 IceConnectionNumber ();
3522 rm -f conftest.$ac_objext conftest$ac_exeext
3523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3524 (eval $ac_link) 2>&5
3526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3527 (exit $ac_status); } &&
3528 { ac_try='test -s conftest$ac_exeext'
3529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3533 (exit $ac_status); }; }; then
3534 ac_cv_lib_ICE_IceConnectionNumber=yes
3536 echo "$as_me: failed program was:" >&5
3537 cat conftest.$ac_ext >&5
3538 ac_cv_lib_ICE_IceConnectionNumber=no
3540 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3541 LIBS=$ac_check_lib_save_LIBS
3543 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
3544 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
3545 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
3546 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
3549 LDFLAGS=$ac_save_LDFLAGS
3553 for ac_prog in 'bison -y' byacc
3555 # Extract the first word of "$ac_prog", so it can be a program name with args.
3556 set dummy $ac_prog; ac_word=$2
3557 echo "$as_me:$LINENO: checking for $ac_word" >&5
3558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3559 if test "${ac_cv_prog_YACC+set}" = set; then
3560 echo $ECHO_N "(cached) $ECHO_C" >&6
3562 if test -n "$YACC"; then
3563 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3569 test -z "$as_dir" && as_dir=.
3570 for ac_exec_ext in '' $ac_executable_extensions; do
3571 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3572 ac_cv_prog_YACC="$ac_prog"
3573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3581 YACC=$ac_cv_prog_YACC
3582 if test -n "$YACC"; then
3583 echo "$as_me:$LINENO: result: $YACC" >&5
3584 echo "${ECHO_T}$YACC" >&6
3586 echo "$as_me:$LINENO: result: no" >&5
3587 echo "${ECHO_T}no" >&6
3590 test -n "$YACC" && break
3592 test -n "$YACC" || YACC="yacc"
3594 for ac_prog in flex lex
3596 # Extract the first word of "$ac_prog", so it can be a program name with args.
3597 set dummy $ac_prog; ac_word=$2
3598 echo "$as_me:$LINENO: checking for $ac_word" >&5
3599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3600 if test "${ac_cv_prog_LEX+set}" = set; then
3601 echo $ECHO_N "(cached) $ECHO_C" >&6
3603 if test -n "$LEX"; then
3604 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3610 test -z "$as_dir" && as_dir=.
3611 for ac_exec_ext in '' $ac_executable_extensions; do
3612 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3613 ac_cv_prog_LEX="$ac_prog"
3614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3623 if test -n "$LEX"; then
3624 echo "$as_me:$LINENO: result: $LEX" >&5
3625 echo "${ECHO_T}$LEX" >&6
3627 echo "$as_me:$LINENO: result: no" >&5
3628 echo "${ECHO_T}no" >&6
3631 test -n "$LEX" && break
3633 test -n "$LEX" || LEX=":"
3635 if test -z "$LEXLIB"
3637 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3638 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3639 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3640 echo $ECHO_N "(cached) $ECHO_C" >&6
3642 ac_check_lib_save_LIBS=$LIBS
3644 cat >conftest.$ac_ext <<_ACEOF
3645 #line $LINENO "configure"
3646 #include "confdefs.h"
3648 /* Override any gcc2 internal prototype to avoid an error. */
3652 /* We use char because int might match the return type of a gcc2
3653 builtin and then its argument prototype would still apply. */
3655 #ifdef F77_DUMMY_MAIN
3659 int F77_DUMMY_MAIN() { return 1; }
3669 rm -f conftest.$ac_objext conftest$ac_exeext
3670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3671 (eval $ac_link) 2>&5
3673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3674 (exit $ac_status); } &&
3675 { ac_try='test -s conftest$ac_exeext'
3676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3680 (exit $ac_status); }; }; then
3681 ac_cv_lib_fl_yywrap=yes
3683 echo "$as_me: failed program was:" >&5
3684 cat conftest.$ac_ext >&5
3685 ac_cv_lib_fl_yywrap=no
3687 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3688 LIBS=$ac_check_lib_save_LIBS
3690 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3691 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3692 if test $ac_cv_lib_fl_yywrap = yes; then
3695 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3696 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3697 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3698 echo $ECHO_N "(cached) $ECHO_C" >&6
3700 ac_check_lib_save_LIBS=$LIBS
3702 cat >conftest.$ac_ext <<_ACEOF
3703 #line $LINENO "configure"
3704 #include "confdefs.h"
3706 /* Override any gcc2 internal prototype to avoid an error. */
3710 /* We use char because int might match the return type of a gcc2
3711 builtin and then its argument prototype would still apply. */
3713 #ifdef F77_DUMMY_MAIN
3717 int F77_DUMMY_MAIN() { return 1; }
3727 rm -f conftest.$ac_objext conftest$ac_exeext
3728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3729 (eval $ac_link) 2>&5
3731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3732 (exit $ac_status); } &&
3733 { ac_try='test -s conftest$ac_exeext'
3734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3738 (exit $ac_status); }; }; then
3739 ac_cv_lib_l_yywrap=yes
3741 echo "$as_me: failed program was:" >&5
3742 cat conftest.$ac_ext >&5
3743 ac_cv_lib_l_yywrap=no
3745 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3746 LIBS=$ac_check_lib_save_LIBS
3748 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3749 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3750 if test $ac_cv_lib_l_yywrap = yes; then
3758 if test "x$LEX" != "x:"; then
3759 echo "$as_me:$LINENO: checking lex output file root" >&5
3760 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3761 if test "${ac_cv_prog_lex_root+set}" = set; then
3762 echo $ECHO_N "(cached) $ECHO_C" >&6
3764 # The minimal lex program is just a single line: %%. But some broken lexes
3765 # (Solaris, I think it was) want two %% lines, so accommodate them.
3766 cat >conftest.l <<_ACEOF
3770 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3771 (eval $LEX conftest.l) 2>&5
3773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3774 (exit $ac_status); }
3775 if test -f lex.yy.c; then
3776 ac_cv_prog_lex_root=lex.yy
3777 elif test -f lexyy.c; then
3778 ac_cv_prog_lex_root=lexyy
3780 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3781 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3782 { (exit 1); exit 1; }; }
3785 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3786 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3788 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3790 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3791 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3792 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3793 echo $ECHO_N "(cached) $ECHO_C" >&6
3795 # POSIX says lex can declare yytext either as a pointer or an array; the
3796 # default is implementation-dependent. Figure out which it is, since
3797 # not all implementations provide the %pointer and %array declarations.
3798 ac_cv_prog_lex_yytext_pointer=no
3799 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3801 LIBS="$LIBS $LEXLIB"
3802 cat >conftest.$ac_ext <<_ACEOF
3803 `cat $LEX_OUTPUT_ROOT.c`
3805 rm -f conftest.$ac_objext conftest$ac_exeext
3806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3807 (eval $ac_link) 2>&5
3809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3810 (exit $ac_status); } &&
3811 { ac_try='test -s conftest$ac_exeext'
3812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3816 (exit $ac_status); }; }; then
3817 ac_cv_prog_lex_yytext_pointer=yes
3819 echo "$as_me: failed program was:" >&5
3820 cat conftest.$ac_ext >&5
3822 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3824 rm -f "${LEX_OUTPUT_ROOT}.c"
3827 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3828 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3829 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3831 cat >>confdefs.h <<\_ACEOF
3832 #define YYTEXT_POINTER 1
3839 for ac_prog in $YACC bison yacc
3841 # Extract the first word of "$ac_prog", so it can be a program name with args.
3842 set dummy $ac_prog; ac_word=$2
3843 echo "$as_me:$LINENO: checking for $ac_word" >&5
3844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3845 if test "${ac_cv_prog_XYACC+set}" = set; then
3846 echo $ECHO_N "(cached) $ECHO_C" >&6
3848 if test -n "$XYACC"; then
3849 ac_cv_prog_XYACC="$XYACC" # Let the user override the test.
3851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3855 test -z "$as_dir" && as_dir=.
3856 for ac_exec_ext in '' $ac_executable_extensions; do
3857 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3858 ac_cv_prog_XYACC="$ac_prog"
3859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3867 XYACC=$ac_cv_prog_XYACC
3868 if test -n "$XYACC"; then
3869 echo "$as_me:$LINENO: result: $XYACC" >&5
3870 echo "${ECHO_T}$XYACC" >&6
3872 echo "$as_me:$LINENO: result: no" >&5
3873 echo "${ECHO_T}no" >&6
3876 test -n "$XYACC" && break
3878 test -n "$XYACC" || XYACC="none"
3880 if test "$XYACC" = "none"
3882 { { echo "$as_me:$LINENO: error: no suitable bison/yacc found. Please install the 'bison' package." >&5
3883 echo "$as_me: error: no suitable bison/yacc found. Please install the 'bison' package." >&2;}
3884 { (exit 1); exit 1; }; }
3886 for ac_prog in $LEX flex lex
3888 # Extract the first word of "$ac_prog", so it can be a program name with args.
3889 set dummy $ac_prog; ac_word=$2
3890 echo "$as_me:$LINENO: checking for $ac_word" >&5
3891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3892 if test "${ac_cv_prog_XLEX+set}" = set; then
3893 echo $ECHO_N "(cached) $ECHO_C" >&6
3895 if test -n "$XLEX"; then
3896 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
3898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3902 test -z "$as_dir" && as_dir=.
3903 for ac_exec_ext in '' $ac_executable_extensions; do
3904 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3905 ac_cv_prog_XLEX="$ac_prog"
3906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3914 XLEX=$ac_cv_prog_XLEX
3915 if test -n "$XLEX"; then
3916 echo "$as_me:$LINENO: result: $XLEX" >&5
3917 echo "${ECHO_T}$XLEX" >&6
3919 echo "$as_me:$LINENO: result: no" >&5
3920 echo "${ECHO_T}no" >&6
3923 test -n "$XLEX" && break
3925 test -n "$XLEX" || XLEX="none"
3927 if test "$XLEX" = "none"
3929 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
3930 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
3931 { (exit 1); exit 1; }; }
3934 if test -n "$ac_tool_prefix"; then
3935 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
3936 set dummy ${ac_tool_prefix}ld; ac_word=$2
3937 echo "$as_me:$LINENO: checking for $ac_word" >&5
3938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3939 if test "${ac_cv_prog_LD+set}" = set; then
3940 echo $ECHO_N "(cached) $ECHO_C" >&6
3942 if test -n "$LD"; then
3943 ac_cv_prog_LD="$LD" # Let the user override the test.
3945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3949 test -z "$as_dir" && as_dir=.
3950 for ac_exec_ext in '' $ac_executable_extensions; do
3951 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3952 ac_cv_prog_LD="${ac_tool_prefix}ld"
3953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3962 if test -n "$LD"; then
3963 echo "$as_me:$LINENO: result: $LD" >&5
3964 echo "${ECHO_T}$LD" >&6
3966 echo "$as_me:$LINENO: result: no" >&5
3967 echo "${ECHO_T}no" >&6
3971 if test -z "$ac_cv_prog_LD"; then
3973 # Extract the first word of "ld", so it can be a program name with args.
3974 set dummy ld; ac_word=$2
3975 echo "$as_me:$LINENO: checking for $ac_word" >&5
3976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3977 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
3978 echo $ECHO_N "(cached) $ECHO_C" >&6
3980 if test -n "$ac_ct_LD"; then
3981 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
3983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3987 test -z "$as_dir" && as_dir=.
3988 for ac_exec_ext in '' $ac_executable_extensions; do
3989 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3990 ac_cv_prog_ac_ct_LD="ld"
3991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3997 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD="ld"
4000 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4001 if test -n "$ac_ct_LD"; then
4002 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
4003 echo "${ECHO_T}$ac_ct_LD" >&6
4005 echo "$as_me:$LINENO: result: no" >&5
4006 echo "${ECHO_T}no" >&6
4014 if test -n "$ac_tool_prefix"; then
4015 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4016 set dummy ${ac_tool_prefix}ar; ac_word=$2
4017 echo "$as_me:$LINENO: checking for $ac_word" >&5
4018 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4019 if test "${ac_cv_prog_AR+set}" = set; then
4020 echo $ECHO_N "(cached) $ECHO_C" >&6
4022 if test -n "$AR"; then
4023 ac_cv_prog_AR="$AR" # Let the user override the test.
4025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4029 test -z "$as_dir" && as_dir=.
4030 for ac_exec_ext in '' $ac_executable_extensions; do
4031 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4032 ac_cv_prog_AR="${ac_tool_prefix}ar"
4033 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4042 if test -n "$AR"; then
4043 echo "$as_me:$LINENO: result: $AR" >&5
4044 echo "${ECHO_T}$AR" >&6
4046 echo "$as_me:$LINENO: result: no" >&5
4047 echo "${ECHO_T}no" >&6
4051 if test -z "$ac_cv_prog_AR"; then
4053 # Extract the first word of "ar", so it can be a program name with args.
4054 set dummy ar; ac_word=$2
4055 echo "$as_me:$LINENO: checking for $ac_word" >&5
4056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4057 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4058 echo $ECHO_N "(cached) $ECHO_C" >&6
4060 if test -n "$ac_ct_AR"; then
4061 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4067 test -z "$as_dir" && as_dir=.
4068 for ac_exec_ext in '' $ac_executable_extensions; do
4069 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4070 ac_cv_prog_ac_ct_AR="ar"
4071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4077 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
4080 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4081 if test -n "$ac_ct_AR"; then
4082 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4083 echo "${ECHO_T}$ac_ct_AR" >&6
4085 echo "$as_me:$LINENO: result: no" >&5
4086 echo "${ECHO_T}no" >&6
4094 if test -n "$ac_tool_prefix"; then
4095 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4096 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4097 echo "$as_me:$LINENO: checking for $ac_word" >&5
4098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4099 if test "${ac_cv_prog_RANLIB+set}" = set; then
4100 echo $ECHO_N "(cached) $ECHO_C" >&6
4102 if test -n "$RANLIB"; then
4103 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4109 test -z "$as_dir" && as_dir=.
4110 for ac_exec_ext in '' $ac_executable_extensions; do
4111 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4112 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4121 RANLIB=$ac_cv_prog_RANLIB
4122 if test -n "$RANLIB"; then
4123 echo "$as_me:$LINENO: result: $RANLIB" >&5
4124 echo "${ECHO_T}$RANLIB" >&6
4126 echo "$as_me:$LINENO: result: no" >&5
4127 echo "${ECHO_T}no" >&6
4131 if test -z "$ac_cv_prog_RANLIB"; then
4132 ac_ct_RANLIB=$RANLIB
4133 # Extract the first word of "ranlib", so it can be a program name with args.
4134 set dummy ranlib; ac_word=$2
4135 echo "$as_me:$LINENO: checking for $ac_word" >&5
4136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4137 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4138 echo $ECHO_N "(cached) $ECHO_C" >&6
4140 if test -n "$ac_ct_RANLIB"; then
4141 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4147 test -z "$as_dir" && as_dir=.
4148 for ac_exec_ext in '' $ac_executable_extensions; do
4149 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4150 ac_cv_prog_ac_ct_RANLIB="ranlib"
4151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4157 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4160 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4161 if test -n "$ac_ct_RANLIB"; then
4162 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4163 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4165 echo "$as_me:$LINENO: result: no" >&5
4166 echo "${ECHO_T}no" >&6
4169 RANLIB=$ac_ct_RANLIB
4171 RANLIB="$ac_cv_prog_RANLIB"
4174 if test -n "$ac_tool_prefix"; then
4175 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4176 set dummy ${ac_tool_prefix}strip; ac_word=$2
4177 echo "$as_me:$LINENO: checking for $ac_word" >&5
4178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4179 if test "${ac_cv_prog_STRIP+set}" = set; then
4180 echo $ECHO_N "(cached) $ECHO_C" >&6
4182 if test -n "$STRIP"; then
4183 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4189 test -z "$as_dir" && as_dir=.
4190 for ac_exec_ext in '' $ac_executable_extensions; do
4191 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4192 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4201 STRIP=$ac_cv_prog_STRIP
4202 if test -n "$STRIP"; then
4203 echo "$as_me:$LINENO: result: $STRIP" >&5
4204 echo "${ECHO_T}$STRIP" >&6
4206 echo "$as_me:$LINENO: result: no" >&5
4207 echo "${ECHO_T}no" >&6
4211 if test -z "$ac_cv_prog_STRIP"; then
4213 # Extract the first word of "strip", so it can be a program name with args.
4214 set dummy strip; ac_word=$2
4215 echo "$as_me:$LINENO: checking for $ac_word" >&5
4216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4217 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4218 echo $ECHO_N "(cached) $ECHO_C" >&6
4220 if test -n "$ac_ct_STRIP"; then
4221 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4227 test -z "$as_dir" && as_dir=.
4228 for ac_exec_ext in '' $ac_executable_extensions; do
4229 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4230 ac_cv_prog_ac_ct_STRIP="strip"
4231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4237 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="strip"
4240 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4241 if test -n "$ac_ct_STRIP"; then
4242 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4243 echo "${ECHO_T}$ac_ct_STRIP" >&6
4245 echo "$as_me:$LINENO: result: no" >&5
4246 echo "${ECHO_T}no" >&6
4251 STRIP="$ac_cv_prog_STRIP"
4254 if test -n "$ac_tool_prefix"; then
4255 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
4256 set dummy ${ac_tool_prefix}windres; ac_word=$2
4257 echo "$as_me:$LINENO: checking for $ac_word" >&5
4258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4259 if test "${ac_cv_prog_WINDRES+set}" = set; then
4260 echo $ECHO_N "(cached) $ECHO_C" >&6
4262 if test -n "$WINDRES"; then
4263 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
4265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4269 test -z "$as_dir" && as_dir=.
4270 for ac_exec_ext in '' $ac_executable_extensions; do
4271 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4272 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
4273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4281 WINDRES=$ac_cv_prog_WINDRES
4282 if test -n "$WINDRES"; then
4283 echo "$as_me:$LINENO: result: $WINDRES" >&5
4284 echo "${ECHO_T}$WINDRES" >&6
4286 echo "$as_me:$LINENO: result: no" >&5
4287 echo "${ECHO_T}no" >&6
4291 if test -z "$ac_cv_prog_WINDRES"; then
4292 ac_ct_WINDRES=$WINDRES
4293 # Extract the first word of "windres", so it can be a program name with args.
4294 set dummy windres; ac_word=$2
4295 echo "$as_me:$LINENO: checking for $ac_word" >&5
4296 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4297 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
4298 echo $ECHO_N "(cached) $ECHO_C" >&6
4300 if test -n "$ac_ct_WINDRES"; then
4301 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
4303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4307 test -z "$as_dir" && as_dir=.
4308 for ac_exec_ext in '' $ac_executable_extensions; do
4309 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4310 ac_cv_prog_ac_ct_WINDRES="windres"
4311 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4317 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES="false"
4320 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
4321 if test -n "$ac_ct_WINDRES"; then
4322 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
4323 echo "${ECHO_T}$ac_ct_WINDRES" >&6
4325 echo "$as_me:$LINENO: result: no" >&5
4326 echo "${ECHO_T}no" >&6
4329 WINDRES=$ac_ct_WINDRES
4331 WINDRES="$ac_cv_prog_WINDRES"
4334 # Find a good install program. We prefer a C program (faster),
4335 # so one script is as good as another. But avoid the broken or
4336 # incompatible versions:
4337 # SysV /etc/install, /usr/sbin/install
4338 # SunOS /usr/etc/install
4339 # IRIX /sbin/install
4341 # AmigaOS /C/install, which installs bootblocks on floppy discs
4342 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4343 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4344 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4345 # ./install, which can be erroneously created by make from ./install.sh.
4346 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4347 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4348 if test -z "$INSTALL"; then
4349 if test "${ac_cv_path_install+set}" = set; then
4350 echo $ECHO_N "(cached) $ECHO_C" >&6
4352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4356 test -z "$as_dir" && as_dir=.
4357 # Account for people who put trailing slashes in PATH elements.
4359 ./ | .// | /cC/* | \
4360 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4363 # OSF1 and SCO ODT 3.0 have their own names for install.
4364 # Don't use installbsd from OSF since it installs stuff as root
4366 for ac_prog in ginstall scoinst install; do
4367 for ac_exec_ext in '' $ac_executable_extensions; do
4368 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4369 if test $ac_prog = install &&
4370 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4371 # AIX install. It has an incompatible calling convention.
4373 elif test $ac_prog = install &&
4374 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4375 # program-specific install script used by HP pwplus--don't use.
4378 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4390 if test "${ac_cv_path_install+set}" = set; then
4391 INSTALL=$ac_cv_path_install
4393 # As a last resort, use the slow shell script. We don't cache a
4394 # path for INSTALL within a source directory, because that will
4395 # break other packages using the cache if that directory is
4396 # removed, or if the path is relative.
4397 INSTALL=$ac_install_sh
4400 echo "$as_me:$LINENO: result: $INSTALL" >&5
4401 echo "${ECHO_T}$INSTALL" >&6
4403 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4404 # It thinks the first close brace ends the variable substitution.
4405 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4407 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4409 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4411 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4412 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4414 if test "$LN_S" = "ln -s"; then
4415 echo "$as_me:$LINENO: result: yes" >&5
4416 echo "${ECHO_T}yes" >&6
4418 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4419 echo "${ECHO_T}no, using $LN_S" >&6
4422 echo "$as_me:$LINENO: checking whether ln works" >&5
4423 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
4424 rm -f conf$$ conf$$.file
4426 if ln conf$$.file conf$$ 2>/dev/null; then
4429 echo "$as_me:$LINENO: result: yes" >&5
4430 echo "${ECHO_T}yes" >&6
4434 echo "$as_me:$LINENO: result: no, using $LN" >&5
4435 echo "${ECHO_T}no, using $LN" >&6
4437 rm -f conf$$ conf$$.file
4438 # Extract the first word of "c2man", so it can be a program name with args.
4439 set dummy c2man; ac_word=$2
4440 echo "$as_me:$LINENO: checking for $ac_word" >&5
4441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4442 if test "${ac_cv_prog_C2MAN+set}" = set; then
4443 echo $ECHO_N "(cached) $ECHO_C" >&6
4445 if test -n "$C2MAN"; then
4446 ac_cv_prog_C2MAN="$C2MAN" # Let the user override the test.
4448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4452 test -z "$as_dir" && as_dir=.
4453 for ac_exec_ext in '' $ac_executable_extensions; do
4454 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4455 ac_cv_prog_C2MAN="c2man"
4456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4462 test -z "$ac_cv_prog_C2MAN" && ac_cv_prog_C2MAN="\$(TOPSRCDIR)/tools/c2man.pl"
4465 C2MAN=$ac_cv_prog_C2MAN
4466 if test -n "$C2MAN"; then
4467 echo "$as_me:$LINENO: result: $C2MAN" >&5
4468 echo "${ECHO_T}$C2MAN" >&6
4470 echo "$as_me:$LINENO: result: no" >&5
4471 echo "${ECHO_T}no" >&6
4474 # Extract the first word of "ldconfig", so it can be a program name with args.
4475 set dummy ldconfig; ac_word=$2
4476 echo "$as_me:$LINENO: checking for $ac_word" >&5
4477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4478 if test "${ac_cv_path_LDCONFIG+set}" = set; then
4479 echo $ECHO_N "(cached) $ECHO_C" >&6
4483 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
4486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4487 for as_dir in /sbin /usr/sbin $PATH
4490 test -z "$as_dir" && as_dir=.
4491 for ac_exec_ext in '' $ac_executable_extensions; do
4492 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4493 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
4494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4500 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
4504 LDCONFIG=$ac_cv_path_LDCONFIG
4506 if test -n "$LDCONFIG"; then
4507 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
4508 echo "${ECHO_T}$LDCONFIG" >&6
4510 echo "$as_me:$LINENO: result: no" >&5
4511 echo "${ECHO_T}no" >&6
4515 for ac_prog in lclint lint
4517 # Extract the first word of "$ac_prog", so it can be a program name with args.
4518 set dummy $ac_prog; ac_word=$2
4519 echo "$as_me:$LINENO: checking for $ac_word" >&5
4520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4521 if test "${ac_cv_prog_LINT+set}" = set; then
4522 echo $ECHO_N "(cached) $ECHO_C" >&6
4524 if test -n "$LINT"; then
4525 ac_cv_prog_LINT="$LINT" # Let the user override the test.
4527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4531 test -z "$as_dir" && as_dir=.
4532 for ac_exec_ext in '' $ac_executable_extensions; do
4533 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4534 ac_cv_prog_LINT="$ac_prog"
4535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4543 LINT=$ac_cv_prog_LINT
4544 if test -n "$LINT"; then
4545 echo "$as_me:$LINENO: result: $LINT" >&5
4546 echo "${ECHO_T}$LINT" >&6
4548 echo "$as_me:$LINENO: result: no" >&5
4549 echo "${ECHO_T}no" >&6
4552 test -n "$LINT" && break
4555 if test "$LINT" = "lint"
4557 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4564 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
4565 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
4566 if test "${ac_cv_lib_m_sqrt+set}" = set; then
4567 echo $ECHO_N "(cached) $ECHO_C" >&6
4569 ac_check_lib_save_LIBS=$LIBS
4571 cat >conftest.$ac_ext <<_ACEOF
4572 #line $LINENO "configure"
4573 #include "confdefs.h"
4575 /* Override any gcc2 internal prototype to avoid an error. */
4579 /* We use char because int might match the return type of a gcc2
4580 builtin and then its argument prototype would still apply. */
4582 #ifdef F77_DUMMY_MAIN
4586 int F77_DUMMY_MAIN() { return 1; }
4596 rm -f conftest.$ac_objext conftest$ac_exeext
4597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4598 (eval $ac_link) 2>&5
4600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4601 (exit $ac_status); } &&
4602 { ac_try='test -s conftest$ac_exeext'
4603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4607 (exit $ac_status); }; }; then
4608 ac_cv_lib_m_sqrt=yes
4610 echo "$as_me: failed program was:" >&5
4611 cat conftest.$ac_ext >&5
4614 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4615 LIBS=$ac_check_lib_save_LIBS
4617 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
4618 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
4619 if test $ac_cv_lib_m_sqrt = yes; then
4620 cat >>confdefs.h <<_ACEOF
4629 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
4630 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
4631 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
4632 echo $ECHO_N "(cached) $ECHO_C" >&6
4634 ac_check_lib_save_LIBS=$LIBS
4636 cat >conftest.$ac_ext <<_ACEOF
4637 #line $LINENO "configure"
4638 #include "confdefs.h"
4640 /* Override any gcc2 internal prototype to avoid an error. */
4644 /* We use char because int might match the return type of a gcc2
4645 builtin and then its argument prototype would still apply. */
4646 char i386_set_ldt ();
4647 #ifdef F77_DUMMY_MAIN
4651 int F77_DUMMY_MAIN() { return 1; }
4661 rm -f conftest.$ac_objext conftest$ac_exeext
4662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4663 (eval $ac_link) 2>&5
4665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4666 (exit $ac_status); } &&
4667 { ac_try='test -s conftest$ac_exeext'
4668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4672 (exit $ac_status); }; }; then
4673 ac_cv_lib_i386_i386_set_ldt=yes
4675 echo "$as_me: failed program was:" >&5
4676 cat conftest.$ac_ext >&5
4677 ac_cv_lib_i386_i386_set_ldt=no
4679 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4680 LIBS=$ac_check_lib_save_LIBS
4682 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
4683 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
4684 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
4685 cat >>confdefs.h <<_ACEOF
4686 #define HAVE_LIBI386 1
4694 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
4695 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
4696 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
4697 echo $ECHO_N "(cached) $ECHO_C" >&6
4699 ac_check_lib_save_LIBS=$LIBS
4700 LIBS="-lossaudio $LIBS"
4701 cat >conftest.$ac_ext <<_ACEOF
4702 #line $LINENO "configure"
4703 #include "confdefs.h"
4705 /* Override any gcc2 internal prototype to avoid an error. */
4709 /* We use char because int might match the return type of a gcc2
4710 builtin and then its argument prototype would still apply. */
4712 #ifdef F77_DUMMY_MAIN
4716 int F77_DUMMY_MAIN() { return 1; }
4726 rm -f conftest.$ac_objext conftest$ac_exeext
4727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4728 (eval $ac_link) 2>&5
4730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4731 (exit $ac_status); } &&
4732 { ac_try='test -s conftest$ac_exeext'
4733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4737 (exit $ac_status); }; }; then
4738 ac_cv_lib_ossaudio__oss_ioctl=yes
4740 echo "$as_me: failed program was:" >&5
4741 cat conftest.$ac_ext >&5
4742 ac_cv_lib_ossaudio__oss_ioctl=no
4744 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4745 LIBS=$ac_check_lib_save_LIBS
4747 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
4748 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
4749 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
4750 cat >>confdefs.h <<_ACEOF
4751 #define HAVE_LIBOSSAUDIO 1
4754 LIBS="-lossaudio $LIBS"
4759 for ac_func in iswalnum
4761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4762 echo "$as_me:$LINENO: checking for $ac_func" >&5
4763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4764 if eval "test \"\${$as_ac_var+set}\" = set"; then
4765 echo $ECHO_N "(cached) $ECHO_C" >&6
4767 cat >conftest.$ac_ext <<_ACEOF
4768 #line $LINENO "configure"
4769 #include "confdefs.h"
4770 /* System header to define __stub macros and hopefully few prototypes,
4771 which can conflict with char $ac_func (); below. */
4773 /* Override any gcc2 internal prototype to avoid an error. */
4777 /* We use char because int might match the return type of a gcc2
4778 builtin and then its argument prototype would still apply. */
4782 #ifdef F77_DUMMY_MAIN
4786 int F77_DUMMY_MAIN() { return 1; }
4791 /* The GNU C library defines this for functions which it implements
4792 to always fail with ENOSYS. Some functions are actually named
4793 something starting with __ and the normal name is an alias. */
4794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4804 rm -f conftest.$ac_objext conftest$ac_exeext
4805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4806 (eval $ac_link) 2>&5
4808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4809 (exit $ac_status); } &&
4810 { ac_try='test -s conftest$ac_exeext'
4811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4815 (exit $ac_status); }; }; then
4816 eval "$as_ac_var=yes"
4818 echo "$as_me: failed program was:" >&5
4819 cat conftest.$ac_ext >&5
4820 eval "$as_ac_var=no"
4822 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4826 if test `eval echo '${'$as_ac_var'}'` = yes; then
4827 cat >>confdefs.h <<_ACEOF
4828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4833 echo "$as_me:$LINENO: checking for iswalnum in -lw" >&5
4834 echo $ECHO_N "checking for iswalnum in -lw... $ECHO_C" >&6
4835 if test "${ac_cv_lib_w_iswalnum+set}" = set; then
4836 echo $ECHO_N "(cached) $ECHO_C" >&6
4838 ac_check_lib_save_LIBS=$LIBS
4840 cat >conftest.$ac_ext <<_ACEOF
4841 #line $LINENO "configure"
4842 #include "confdefs.h"
4844 /* Override any gcc2 internal prototype to avoid an error. */
4848 /* We use char because int might match the return type of a gcc2
4849 builtin and then its argument prototype would still apply. */
4851 #ifdef F77_DUMMY_MAIN
4855 int F77_DUMMY_MAIN() { return 1; }
4865 rm -f conftest.$ac_objext conftest$ac_exeext
4866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4867 (eval $ac_link) 2>&5
4869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4870 (exit $ac_status); } &&
4871 { ac_try='test -s conftest$ac_exeext'
4872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4876 (exit $ac_status); }; }; then
4877 ac_cv_lib_w_iswalnum=yes
4879 echo "$as_me: failed program was:" >&5
4880 cat conftest.$ac_ext >&5
4881 ac_cv_lib_w_iswalnum=no
4883 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4884 LIBS=$ac_check_lib_save_LIBS
4886 echo "$as_me:$LINENO: result: $ac_cv_lib_w_iswalnum" >&5
4887 echo "${ECHO_T}$ac_cv_lib_w_iswalnum" >&6
4888 if test $ac_cv_lib_w_iswalnum = yes; then
4889 cat >>confdefs.h <<_ACEOF
4901 for ac_func in gethostbyname
4903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4904 echo "$as_me:$LINENO: checking for $ac_func" >&5
4905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4906 if eval "test \"\${$as_ac_var+set}\" = set"; then
4907 echo $ECHO_N "(cached) $ECHO_C" >&6
4909 cat >conftest.$ac_ext <<_ACEOF
4910 #line $LINENO "configure"
4911 #include "confdefs.h"
4912 /* System header to define __stub macros and hopefully few prototypes,
4913 which can conflict with char $ac_func (); below. */
4915 /* Override any gcc2 internal prototype to avoid an error. */
4919 /* We use char because int might match the return type of a gcc2
4920 builtin and then its argument prototype would still apply. */
4924 #ifdef F77_DUMMY_MAIN
4928 int F77_DUMMY_MAIN() { return 1; }
4933 /* The GNU C library defines this for functions which it implements
4934 to always fail with ENOSYS. Some functions are actually named
4935 something starting with __ and the normal name is an alias. */
4936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4946 rm -f conftest.$ac_objext conftest$ac_exeext
4947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4948 (eval $ac_link) 2>&5
4950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4951 (exit $ac_status); } &&
4952 { ac_try='test -s conftest$ac_exeext'
4953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4957 (exit $ac_status); }; }; then
4958 eval "$as_ac_var=yes"
4960 echo "$as_me: failed program was:" >&5
4961 cat conftest.$ac_ext >&5
4962 eval "$as_ac_var=no"
4964 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4968 if test `eval echo '${'$as_ac_var'}'` = yes; then
4969 cat >>confdefs.h <<_ACEOF
4970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4975 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4976 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
4977 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4978 echo $ECHO_N "(cached) $ECHO_C" >&6
4980 ac_check_lib_save_LIBS=$LIBS
4982 cat >conftest.$ac_ext <<_ACEOF
4983 #line $LINENO "configure"
4984 #include "confdefs.h"
4986 /* Override any gcc2 internal prototype to avoid an error. */
4990 /* We use char because int might match the return type of a gcc2
4991 builtin and then its argument prototype would still apply. */
4992 char gethostbyname ();
4993 #ifdef F77_DUMMY_MAIN
4997 int F77_DUMMY_MAIN() { return 1; }
5007 rm -f conftest.$ac_objext conftest$ac_exeext
5008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5009 (eval $ac_link) 2>&5
5011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5012 (exit $ac_status); } &&
5013 { ac_try='test -s conftest$ac_exeext'
5014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5018 (exit $ac_status); }; }; then
5019 ac_cv_lib_nsl_gethostbyname=yes
5021 echo "$as_me: failed program was:" >&5
5022 cat conftest.$ac_ext >&5
5023 ac_cv_lib_nsl_gethostbyname=no
5025 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5026 LIBS=$ac_check_lib_save_LIBS
5028 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5029 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
5030 if test $ac_cv_lib_nsl_gethostbyname = yes; then
5031 cat >>confdefs.h <<_ACEOF
5032 #define HAVE_LIBNSL 1
5043 for ac_func in connect
5045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5046 echo "$as_me:$LINENO: checking for $ac_func" >&5
5047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5048 if eval "test \"\${$as_ac_var+set}\" = set"; then
5049 echo $ECHO_N "(cached) $ECHO_C" >&6
5051 cat >conftest.$ac_ext <<_ACEOF
5052 #line $LINENO "configure"
5053 #include "confdefs.h"
5054 /* System header to define __stub macros and hopefully few prototypes,
5055 which can conflict with char $ac_func (); below. */
5057 /* Override any gcc2 internal prototype to avoid an error. */
5061 /* We use char because int might match the return type of a gcc2
5062 builtin and then its argument prototype would still apply. */
5066 #ifdef F77_DUMMY_MAIN
5070 int F77_DUMMY_MAIN() { return 1; }
5075 /* The GNU C library defines this for functions which it implements
5076 to always fail with ENOSYS. Some functions are actually named
5077 something starting with __ and the normal name is an alias. */
5078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5088 rm -f conftest.$ac_objext conftest$ac_exeext
5089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5090 (eval $ac_link) 2>&5
5092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5093 (exit $ac_status); } &&
5094 { ac_try='test -s conftest$ac_exeext'
5095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5099 (exit $ac_status); }; }; then
5100 eval "$as_ac_var=yes"
5102 echo "$as_me: failed program was:" >&5
5103 cat conftest.$ac_ext >&5
5104 eval "$as_ac_var=no"
5106 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5109 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5110 if test `eval echo '${'$as_ac_var'}'` = yes; then
5111 cat >>confdefs.h <<_ACEOF
5112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5117 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
5118 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
5119 if test "${ac_cv_lib_socket_connect+set}" = set; then
5120 echo $ECHO_N "(cached) $ECHO_C" >&6
5122 ac_check_lib_save_LIBS=$LIBS
5123 LIBS="-lsocket $LIBS"
5124 cat >conftest.$ac_ext <<_ACEOF
5125 #line $LINENO "configure"
5126 #include "confdefs.h"
5128 /* Override any gcc2 internal prototype to avoid an error. */
5132 /* We use char because int might match the return type of a gcc2
5133 builtin and then its argument prototype would still apply. */
5135 #ifdef F77_DUMMY_MAIN
5139 int F77_DUMMY_MAIN() { return 1; }
5149 rm -f conftest.$ac_objext conftest$ac_exeext
5150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5151 (eval $ac_link) 2>&5
5153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5154 (exit $ac_status); } &&
5155 { ac_try='test -s conftest$ac_exeext'
5156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5160 (exit $ac_status); }; }; then
5161 ac_cv_lib_socket_connect=yes
5163 echo "$as_me: failed program was:" >&5
5164 cat conftest.$ac_ext >&5
5165 ac_cv_lib_socket_connect=no
5167 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5168 LIBS=$ac_check_lib_save_LIBS
5170 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
5171 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
5172 if test $ac_cv_lib_socket_connect = yes; then
5173 cat >>confdefs.h <<_ACEOF
5174 #define HAVE_LIBSOCKET 1
5177 LIBS="-lsocket $LIBS"
5185 for ac_func in inet_aton
5187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5188 echo "$as_me:$LINENO: checking for $ac_func" >&5
5189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5190 if eval "test \"\${$as_ac_var+set}\" = set"; then
5191 echo $ECHO_N "(cached) $ECHO_C" >&6
5193 cat >conftest.$ac_ext <<_ACEOF
5194 #line $LINENO "configure"
5195 #include "confdefs.h"
5196 /* System header to define __stub macros and hopefully few prototypes,
5197 which can conflict with char $ac_func (); below. */
5199 /* Override any gcc2 internal prototype to avoid an error. */
5203 /* We use char because int might match the return type of a gcc2
5204 builtin and then its argument prototype would still apply. */
5208 #ifdef F77_DUMMY_MAIN
5212 int F77_DUMMY_MAIN() { return 1; }
5217 /* The GNU C library defines this for functions which it implements
5218 to always fail with ENOSYS. Some functions are actually named
5219 something starting with __ and the normal name is an alias. */
5220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5230 rm -f conftest.$ac_objext conftest$ac_exeext
5231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5232 (eval $ac_link) 2>&5
5234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5235 (exit $ac_status); } &&
5236 { ac_try='test -s conftest$ac_exeext'
5237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5241 (exit $ac_status); }; }; then
5242 eval "$as_ac_var=yes"
5244 echo "$as_me: failed program was:" >&5
5245 cat conftest.$ac_ext >&5
5246 eval "$as_ac_var=no"
5248 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5251 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5252 if test `eval echo '${'$as_ac_var'}'` = yes; then
5253 cat >>confdefs.h <<_ACEOF
5254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5259 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
5260 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
5261 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
5262 echo $ECHO_N "(cached) $ECHO_C" >&6
5264 ac_check_lib_save_LIBS=$LIBS
5265 LIBS="-lresolv $LIBS"
5266 cat >conftest.$ac_ext <<_ACEOF
5267 #line $LINENO "configure"
5268 #include "confdefs.h"
5270 /* Override any gcc2 internal prototype to avoid an error. */
5274 /* We use char because int might match the return type of a gcc2
5275 builtin and then its argument prototype would still apply. */
5277 #ifdef F77_DUMMY_MAIN
5281 int F77_DUMMY_MAIN() { return 1; }
5291 rm -f conftest.$ac_objext conftest$ac_exeext
5292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5293 (eval $ac_link) 2>&5
5295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5296 (exit $ac_status); } &&
5297 { ac_try='test -s conftest$ac_exeext'
5298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5302 (exit $ac_status); }; }; then
5303 ac_cv_lib_resolv_inet_aton=yes
5305 echo "$as_me: failed program was:" >&5
5306 cat conftest.$ac_ext >&5
5307 ac_cv_lib_resolv_inet_aton=no
5309 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5310 LIBS=$ac_check_lib_save_LIBS
5312 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
5313 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
5314 if test $ac_cv_lib_resolv_inet_aton = yes; then
5315 cat >>confdefs.h <<_ACEOF
5316 #define HAVE_LIBRESOLV 1
5319 LIBS="-lresolv $LIBS"
5327 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
5328 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
5329 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
5330 echo $ECHO_N "(cached) $ECHO_C" >&6
5332 ac_check_lib_save_LIBS=$LIBS
5334 cat >conftest.$ac_ext <<_ACEOF
5335 #line $LINENO "configure"
5336 #include "confdefs.h"
5338 /* Override any gcc2 internal prototype to avoid an error. */
5342 /* We use char because int might match the return type of a gcc2
5343 builtin and then its argument prototype would still apply. */
5344 char _xpg4_setrunelocale ();
5345 #ifdef F77_DUMMY_MAIN
5349 int F77_DUMMY_MAIN() { return 1; }
5354 _xpg4_setrunelocale ();
5359 rm -f conftest.$ac_objext conftest$ac_exeext
5360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5361 (eval $ac_link) 2>&5
5363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5364 (exit $ac_status); } &&
5365 { ac_try='test -s conftest$ac_exeext'
5366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5370 (exit $ac_status); }; }; then
5371 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
5373 echo "$as_me: failed program was:" >&5
5374 cat conftest.$ac_ext >&5
5375 ac_cv_lib_xpg4__xpg4_setrunelocale=no
5377 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5378 LIBS=$ac_check_lib_save_LIBS
5380 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
5381 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
5382 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
5383 cat >>confdefs.h <<_ACEOF
5384 #define HAVE_LIBXPG4 1
5392 echo "$as_me:$LINENO: checking for mmap in -lmmap" >&5
5393 echo $ECHO_N "checking for mmap in -lmmap... $ECHO_C" >&6
5394 if test "${ac_cv_lib_mmap_mmap+set}" = set; then
5395 echo $ECHO_N "(cached) $ECHO_C" >&6
5397 ac_check_lib_save_LIBS=$LIBS
5399 cat >conftest.$ac_ext <<_ACEOF
5400 #line $LINENO "configure"
5401 #include "confdefs.h"
5403 /* Override any gcc2 internal prototype to avoid an error. */
5407 /* We use char because int might match the return type of a gcc2
5408 builtin and then its argument prototype would still apply. */
5410 #ifdef F77_DUMMY_MAIN
5414 int F77_DUMMY_MAIN() { return 1; }
5424 rm -f conftest.$ac_objext conftest$ac_exeext
5425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5426 (eval $ac_link) 2>&5
5428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5429 (exit $ac_status); } &&
5430 { ac_try='test -s conftest$ac_exeext'
5431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5435 (exit $ac_status); }; }; then
5436 ac_cv_lib_mmap_mmap=yes
5438 echo "$as_me: failed program was:" >&5
5439 cat conftest.$ac_ext >&5
5440 ac_cv_lib_mmap_mmap=no
5442 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5443 LIBS=$ac_check_lib_save_LIBS
5445 echo "$as_me:$LINENO: result: $ac_cv_lib_mmap_mmap" >&5
5446 echo "${ECHO_T}$ac_cv_lib_mmap_mmap" >&6
5447 if test $ac_cv_lib_mmap_mmap = yes; then
5448 cat >>confdefs.h <<_ACEOF
5449 #define HAVE_LIBMMAP 1
5459 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5460 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5461 if test "${ac_cv_header_stdc+set}" = set; then
5462 echo $ECHO_N "(cached) $ECHO_C" >&6
5464 cat >conftest.$ac_ext <<_ACEOF
5465 #line $LINENO "configure"
5466 #include "confdefs.h"
5473 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5474 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5476 egrep -v '^ *\+' conftest.er1 >conftest.err
5478 cat conftest.err >&5
5479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5480 (exit $ac_status); } >/dev/null; then
5481 if test -s conftest.err; then
5482 ac_cpp_err=$ac_c_preproc_warn_flag
5489 if test -z "$ac_cpp_err"; then
5490 ac_cv_header_stdc=yes
5492 echo "$as_me: failed program was:" >&5
5493 cat conftest.$ac_ext >&5
5494 ac_cv_header_stdc=no
5496 rm -f conftest.err conftest.$ac_ext
5498 if test $ac_cv_header_stdc = yes; then
5499 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5500 cat >conftest.$ac_ext <<_ACEOF
5501 #line $LINENO "configure"
5502 #include "confdefs.h"
5506 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5507 egrep "memchr" >/dev/null 2>&1; then
5510 ac_cv_header_stdc=no
5516 if test $ac_cv_header_stdc = yes; then
5517 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5518 cat >conftest.$ac_ext <<_ACEOF
5519 #line $LINENO "configure"
5520 #include "confdefs.h"
5524 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5525 egrep "free" >/dev/null 2>&1; then
5528 ac_cv_header_stdc=no
5534 if test $ac_cv_header_stdc = yes; then
5535 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5536 if test "$cross_compiling" = yes; then
5539 cat >conftest.$ac_ext <<_ACEOF
5540 #line $LINENO "configure"
5541 #include "confdefs.h"
5543 #if ((' ' & 0x0FF) == 0x020)
5544 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5545 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5547 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
5548 || ('j' <= (c) && (c) <= 'r') \
5549 || ('s' <= (c) && (c) <= 'z'))
5550 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5553 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5558 for (i = 0; i < 256; i++)
5559 if (XOR (islower (i), ISLOWER (i))
5560 || toupper (i) != TOUPPER (i))
5565 rm -f conftest$ac_exeext
5566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5567 (eval $ac_link) 2>&5
5569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5570 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5575 (exit $ac_status); }; }; then
5578 echo "$as_me: program exited with status $ac_status" >&5
5579 echo "$as_me: failed program was:" >&5
5580 cat conftest.$ac_ext >&5
5582 ac_cv_header_stdc=no
5584 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5588 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5589 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5590 if test $ac_cv_header_stdc = yes; then
5592 cat >>confdefs.h <<\_ACEOF
5593 #define STDC_HEADERS 1
5598 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5608 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5609 inttypes.h stdint.h unistd.h
5611 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5612 echo "$as_me:$LINENO: checking for $ac_header" >&5
5613 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5614 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5615 echo $ECHO_N "(cached) $ECHO_C" >&6
5617 cat >conftest.$ac_ext <<_ACEOF
5618 #line $LINENO "configure"
5619 #include "confdefs.h"
5620 $ac_includes_default
5622 #include <$ac_header>
5624 rm -f conftest.$ac_objext
5625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5626 (eval $ac_compile) 2>&5
5628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5629 (exit $ac_status); } &&
5630 { ac_try='test -s conftest.$ac_objext'
5631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5635 (exit $ac_status); }; }; then
5636 eval "$as_ac_Header=yes"
5638 echo "$as_me: failed program was:" >&5
5639 cat conftest.$ac_ext >&5
5640 eval "$as_ac_Header=no"
5642 rm -f conftest.$ac_objext conftest.$ac_ext
5644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5645 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5646 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5647 cat >>confdefs.h <<_ACEOF
5648 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5657 for ac_header in jpeglib.h
5659 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5660 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5661 echo "$as_me:$LINENO: checking for $ac_header" >&5
5662 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5663 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5664 echo $ECHO_N "(cached) $ECHO_C" >&6
5666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5667 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5669 # Is the header compilable?
5670 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5671 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5672 cat >conftest.$ac_ext <<_ACEOF
5673 #line $LINENO "configure"
5674 #include "confdefs.h"
5675 $ac_includes_default
5676 #include <$ac_header>
5678 rm -f conftest.$ac_objext
5679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5680 (eval $ac_compile) 2>&5
5682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5683 (exit $ac_status); } &&
5684 { ac_try='test -s conftest.$ac_objext'
5685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5689 (exit $ac_status); }; }; then
5690 ac_header_compiler=yes
5692 echo "$as_me: failed program was:" >&5
5693 cat conftest.$ac_ext >&5
5694 ac_header_compiler=no
5696 rm -f conftest.$ac_objext conftest.$ac_ext
5697 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5698 echo "${ECHO_T}$ac_header_compiler" >&6
5700 # Is the header present?
5701 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5702 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5703 cat >conftest.$ac_ext <<_ACEOF
5704 #line $LINENO "configure"
5705 #include "confdefs.h"
5706 #include <$ac_header>
5708 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5709 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5711 egrep -v '^ *\+' conftest.er1 >conftest.err
5713 cat conftest.err >&5
5714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5715 (exit $ac_status); } >/dev/null; then
5716 if test -s conftest.err; then
5717 ac_cpp_err=$ac_c_preproc_warn_flag
5724 if test -z "$ac_cpp_err"; then
5725 ac_header_preproc=yes
5727 echo "$as_me: failed program was:" >&5
5728 cat conftest.$ac_ext >&5
5729 ac_header_preproc=no
5731 rm -f conftest.err conftest.$ac_ext
5732 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5733 echo "${ECHO_T}$ac_header_preproc" >&6
5735 # So? What about this header?
5736 case $ac_header_compiler:$ac_header_preproc in
5738 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5739 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5740 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5741 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5743 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5744 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5745 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5746 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5747 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5748 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5750 echo "$as_me:$LINENO: checking for $ac_header" >&5
5751 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5752 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5753 echo $ECHO_N "(cached) $ECHO_C" >&6
5755 eval "$as_ac_Header=$ac_header_preproc"
5757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5758 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5761 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5762 cat >>confdefs.h <<_ACEOF
5763 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5765 echo "$as_me:$LINENO: checking for jpeg_start_decompress in -ljpeg" >&5
5766 echo $ECHO_N "checking for jpeg_start_decompress in -ljpeg... $ECHO_C" >&6
5767 if test "${ac_cv_lib_jpeg_jpeg_start_decompress+set}" = set; then
5768 echo $ECHO_N "(cached) $ECHO_C" >&6
5770 ac_check_lib_save_LIBS=$LIBS
5772 cat >conftest.$ac_ext <<_ACEOF
5773 #line $LINENO "configure"
5774 #include "confdefs.h"
5776 /* Override any gcc2 internal prototype to avoid an error. */
5780 /* We use char because int might match the return type of a gcc2
5781 builtin and then its argument prototype would still apply. */
5782 char jpeg_start_decompress ();
5783 #ifdef F77_DUMMY_MAIN
5787 int F77_DUMMY_MAIN() { return 1; }
5792 jpeg_start_decompress ();
5797 rm -f conftest.$ac_objext conftest$ac_exeext
5798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5799 (eval $ac_link) 2>&5
5801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5802 (exit $ac_status); } &&
5803 { ac_try='test -s conftest$ac_exeext'
5804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5808 (exit $ac_status); }; }; then
5809 ac_cv_lib_jpeg_jpeg_start_decompress=yes
5811 echo "$as_me: failed program was:" >&5
5812 cat conftest.$ac_ext >&5
5813 ac_cv_lib_jpeg_jpeg_start_decompress=no
5815 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5816 LIBS=$ac_check_lib_save_LIBS
5818 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_start_decompress" >&5
5819 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_start_decompress" >&6
5820 if test $ac_cv_lib_jpeg_jpeg_start_decompress = yes; then
5822 cat >>confdefs.h <<\_ACEOF
5823 #define HAVE_LIBJPEG 1
5844 if test "$have_x" = "yes"
5847 ac_save_CPPFLAGS="$CPPFLAGS"
5848 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
5851 for ac_header in X11/Xlib.h
5853 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5855 echo "$as_me:$LINENO: checking for $ac_header" >&5
5856 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5857 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5858 echo $ECHO_N "(cached) $ECHO_C" >&6
5860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5861 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5863 # Is the header compilable?
5864 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5865 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5866 cat >conftest.$ac_ext <<_ACEOF
5867 #line $LINENO "configure"
5868 #include "confdefs.h"
5869 $ac_includes_default
5870 #include <$ac_header>
5872 rm -f conftest.$ac_objext
5873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5874 (eval $ac_compile) 2>&5
5876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5877 (exit $ac_status); } &&
5878 { ac_try='test -s conftest.$ac_objext'
5879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5883 (exit $ac_status); }; }; then
5884 ac_header_compiler=yes
5886 echo "$as_me: failed program was:" >&5
5887 cat conftest.$ac_ext >&5
5888 ac_header_compiler=no
5890 rm -f conftest.$ac_objext conftest.$ac_ext
5891 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5892 echo "${ECHO_T}$ac_header_compiler" >&6
5894 # Is the header present?
5895 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5896 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5897 cat >conftest.$ac_ext <<_ACEOF
5898 #line $LINENO "configure"
5899 #include "confdefs.h"
5900 #include <$ac_header>
5902 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5903 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5905 egrep -v '^ *\+' conftest.er1 >conftest.err
5907 cat conftest.err >&5
5908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5909 (exit $ac_status); } >/dev/null; then
5910 if test -s conftest.err; then
5911 ac_cpp_err=$ac_c_preproc_warn_flag
5918 if test -z "$ac_cpp_err"; then
5919 ac_header_preproc=yes
5921 echo "$as_me: failed program was:" >&5
5922 cat conftest.$ac_ext >&5
5923 ac_header_preproc=no
5925 rm -f conftest.err conftest.$ac_ext
5926 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5927 echo "${ECHO_T}$ac_header_preproc" >&6
5929 # So? What about this header?
5930 case $ac_header_compiler:$ac_header_preproc in
5932 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5933 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5934 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5935 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5937 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5938 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5939 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5940 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5941 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5942 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5944 echo "$as_me:$LINENO: checking for $ac_header" >&5
5945 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5947 echo $ECHO_N "(cached) $ECHO_C" >&6
5949 eval "$as_ac_Header=$ac_header_preproc"
5951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5952 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5955 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5956 cat >>confdefs.h <<_ACEOF
5957 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5961 for ac_header in X11/XKBlib.h
5963 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5964 echo "$as_me:$LINENO: checking for $ac_header" >&5
5965 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5966 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5967 echo $ECHO_N "(cached) $ECHO_C" >&6
5969 cat >conftest.$ac_ext <<_ACEOF
5970 #line $LINENO "configure"
5971 #include "confdefs.h"
5972 #include <X11/Xlib.h>
5974 #include <$ac_header>
5976 rm -f conftest.$ac_objext
5977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5978 (eval $ac_compile) 2>&5
5980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5981 (exit $ac_status); } &&
5982 { ac_try='test -s conftest.$ac_objext'
5983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5987 (exit $ac_status); }; }; then
5988 eval "$as_ac_Header=yes"
5990 echo "$as_me: failed program was:" >&5
5991 cat conftest.$ac_ext >&5
5992 eval "$as_ac_Header=no"
5994 rm -f conftest.$ac_objext conftest.$ac_ext
5996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5997 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5998 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5999 cat >>confdefs.h <<_ACEOF
6000 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6002 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
6003 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
6004 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
6005 echo $ECHO_N "(cached) $ECHO_C" >&6
6007 ac_check_lib_save_LIBS=$LIBS
6008 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6009 cat >conftest.$ac_ext <<_ACEOF
6010 #line $LINENO "configure"
6011 #include "confdefs.h"
6013 /* Override any gcc2 internal prototype to avoid an error. */
6017 /* We use char because int might match the return type of a gcc2
6018 builtin and then its argument prototype would still apply. */
6019 char XkbQueryExtension ();
6020 #ifdef F77_DUMMY_MAIN
6024 int F77_DUMMY_MAIN() { return 1; }
6029 XkbQueryExtension ();
6034 rm -f conftest.$ac_objext conftest$ac_exeext
6035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6036 (eval $ac_link) 2>&5
6038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6039 (exit $ac_status); } &&
6040 { ac_try='test -s conftest$ac_exeext'
6041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6045 (exit $ac_status); }; }; then
6046 ac_cv_lib_X11_XkbQueryExtension=yes
6048 echo "$as_me: failed program was:" >&5
6049 cat conftest.$ac_ext >&5
6050 ac_cv_lib_X11_XkbQueryExtension=no
6052 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6053 LIBS=$ac_check_lib_save_LIBS
6055 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
6056 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
6057 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
6059 cat >>confdefs.h <<\_ACEOF
6067 { echo "$as_me:$LINENO: WARNING: Xkb extension not found, Wine will be built without it" >&5
6068 echo "$as_me: WARNING: Xkb extension not found, Wine will be built without it" >&2;}
6075 for ac_header in X11/extensions/XShm.h
6077 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6078 echo "$as_me:$LINENO: checking for $ac_header" >&5
6079 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6080 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6081 echo $ECHO_N "(cached) $ECHO_C" >&6
6083 cat >conftest.$ac_ext <<_ACEOF
6084 #line $LINENO "configure"
6085 #include "confdefs.h"
6086 #include <X11/Xlib.h>
6088 #include <$ac_header>
6090 rm -f conftest.$ac_objext
6091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6092 (eval $ac_compile) 2>&5
6094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6095 (exit $ac_status); } &&
6096 { ac_try='test -s conftest.$ac_objext'
6097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6101 (exit $ac_status); }; }; then
6102 eval "$as_ac_Header=yes"
6104 echo "$as_me: failed program was:" >&5
6105 cat conftest.$ac_ext >&5
6106 eval "$as_ac_Header=no"
6108 rm -f conftest.$ac_objext conftest.$ac_ext
6110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6111 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6112 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6113 cat >>confdefs.h <<_ACEOF
6114 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6116 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
6117 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
6118 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
6119 echo $ECHO_N "(cached) $ECHO_C" >&6
6121 ac_check_lib_save_LIBS=$LIBS
6122 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6123 cat >conftest.$ac_ext <<_ACEOF
6124 #line $LINENO "configure"
6125 #include "confdefs.h"
6127 /* Override any gcc2 internal prototype to avoid an error. */
6131 /* We use char because int might match the return type of a gcc2
6132 builtin and then its argument prototype would still apply. */
6133 char XShmQueryExtension ();
6134 #ifdef F77_DUMMY_MAIN
6138 int F77_DUMMY_MAIN() { return 1; }
6143 XShmQueryExtension ();
6148 rm -f conftest.$ac_objext conftest$ac_exeext
6149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6150 (eval $ac_link) 2>&5
6152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6153 (exit $ac_status); } &&
6154 { ac_try='test -s conftest$ac_exeext'
6155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6159 (exit $ac_status); }; }; then
6160 ac_cv_lib_Xext_XShmQueryExtension=yes
6162 echo "$as_me: failed program was:" >&5
6163 cat conftest.$ac_ext >&5
6164 ac_cv_lib_Xext_XShmQueryExtension=no
6166 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6167 LIBS=$ac_check_lib_save_LIBS
6169 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
6170 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
6171 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
6173 cat >>confdefs.h <<\_ACEOF
6174 #define HAVE_LIBXXSHM 1
6181 { echo "$as_me:$LINENO: WARNING: XShm extension not found, Wine will be built without it" >&5
6182 echo "$as_me: WARNING: XShm extension not found, Wine will be built without it" >&2;}
6189 for ac_header in X11/Xutil.h
6191 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6192 echo "$as_me:$LINENO: checking for $ac_header" >&5
6193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6194 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6195 echo $ECHO_N "(cached) $ECHO_C" >&6
6197 cat >conftest.$ac_ext <<_ACEOF
6198 #line $LINENO "configure"
6199 #include "confdefs.h"
6200 #include <X11/Xlib.h>
6202 #include <$ac_header>
6204 rm -f conftest.$ac_objext
6205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6206 (eval $ac_compile) 2>&5
6208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6209 (exit $ac_status); } &&
6210 { ac_try='test -s conftest.$ac_objext'
6211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6215 (exit $ac_status); }; }; then
6216 eval "$as_ac_Header=yes"
6218 echo "$as_me: failed program was:" >&5
6219 cat conftest.$ac_ext >&5
6220 eval "$as_ac_Header=no"
6222 rm -f conftest.$ac_objext conftest.$ac_ext
6224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6225 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6226 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6227 cat >>confdefs.h <<_ACEOF
6228 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6237 for ac_header in X11/extensions/shape.h
6239 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6240 echo "$as_me:$LINENO: checking for $ac_header" >&5
6241 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6242 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6243 echo $ECHO_N "(cached) $ECHO_C" >&6
6245 cat >conftest.$ac_ext <<_ACEOF
6246 #line $LINENO "configure"
6247 #include "confdefs.h"
6248 #include <X11/Xlib.h>
6249 #ifdef HAVE_X11_XUTIL_H
6250 # include <X11/Xutil.h>
6253 #include <$ac_header>
6255 rm -f conftest.$ac_objext
6256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6257 (eval $ac_compile) 2>&5
6259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6260 (exit $ac_status); } &&
6261 { ac_try='test -s conftest.$ac_objext'
6262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6266 (exit $ac_status); }; }; then
6267 eval "$as_ac_Header=yes"
6269 echo "$as_me: failed program was:" >&5
6270 cat conftest.$ac_ext >&5
6271 eval "$as_ac_Header=no"
6273 rm -f conftest.$ac_objext conftest.$ac_ext
6275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6276 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6277 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6278 cat >>confdefs.h <<_ACEOF
6279 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6281 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
6282 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
6283 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
6284 echo $ECHO_N "(cached) $ECHO_C" >&6
6286 ac_check_lib_save_LIBS=$LIBS
6287 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6288 cat >conftest.$ac_ext <<_ACEOF
6289 #line $LINENO "configure"
6290 #include "confdefs.h"
6292 /* Override any gcc2 internal prototype to avoid an error. */
6296 /* We use char because int might match the return type of a gcc2
6297 builtin and then its argument prototype would still apply. */
6298 char XShapeQueryExtension ();
6299 #ifdef F77_DUMMY_MAIN
6303 int F77_DUMMY_MAIN() { return 1; }
6308 XShapeQueryExtension ();
6313 rm -f conftest.$ac_objext conftest$ac_exeext
6314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6315 (eval $ac_link) 2>&5
6317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6318 (exit $ac_status); } &&
6319 { ac_try='test -s conftest$ac_exeext'
6320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6324 (exit $ac_status); }; }; then
6325 ac_cv_lib_Xext_XShapeQueryExtension=yes
6327 echo "$as_me: failed program was:" >&5
6328 cat conftest.$ac_ext >&5
6329 ac_cv_lib_Xext_XShapeQueryExtension=no
6331 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6332 LIBS=$ac_check_lib_save_LIBS
6334 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
6335 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
6336 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
6338 cat >>confdefs.h <<\_ACEOF
6339 #define HAVE_LIBXSHAPE 1
6346 { echo "$as_me:$LINENO: WARNING: XShape extension not found, Wine will be built without it" >&5
6347 echo "$as_me: WARNING: XShape extension not found, Wine will be built without it" >&2;}
6354 for ac_header in X11/extensions/xf86dga.h
6356 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6357 echo "$as_me:$LINENO: checking for $ac_header" >&5
6358 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6360 echo $ECHO_N "(cached) $ECHO_C" >&6
6362 cat >conftest.$ac_ext <<_ACEOF
6363 #line $LINENO "configure"
6364 #include "confdefs.h"
6365 #include <X11/Xlib.h>
6367 #include <$ac_header>
6369 rm -f conftest.$ac_objext
6370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6371 (eval $ac_compile) 2>&5
6373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6374 (exit $ac_status); } &&
6375 { ac_try='test -s conftest.$ac_objext'
6376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6380 (exit $ac_status); }; }; then
6381 eval "$as_ac_Header=yes"
6383 echo "$as_me: failed program was:" >&5
6384 cat conftest.$ac_ext >&5
6385 eval "$as_ac_Header=no"
6387 rm -f conftest.$ac_objext conftest.$ac_ext
6389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6390 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6391 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6392 cat >>confdefs.h <<_ACEOF
6393 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6395 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
6396 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
6397 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
6398 echo $ECHO_N "(cached) $ECHO_C" >&6
6400 ac_check_lib_save_LIBS=$LIBS
6401 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6403 cat >conftest.$ac_ext <<_ACEOF
6404 #line $LINENO "configure"
6405 #include "confdefs.h"
6407 /* Override any gcc2 internal prototype to avoid an error. */
6411 /* We use char because int might match the return type of a gcc2
6412 builtin and then its argument prototype would still apply. */
6413 char XDGAQueryExtension ();
6414 #ifdef F77_DUMMY_MAIN
6418 int F77_DUMMY_MAIN() { return 1; }
6423 XDGAQueryExtension ();
6428 rm -f conftest.$ac_objext conftest$ac_exeext
6429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6430 (eval $ac_link) 2>&5
6432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6433 (exit $ac_status); } &&
6434 { ac_try='test -s conftest$ac_exeext'
6435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6439 (exit $ac_status); }; }; then
6440 ac_cv_lib_Xxf86dga_XDGAQueryExtension=yes
6442 echo "$as_me: failed program was:" >&5
6443 cat conftest.$ac_ext >&5
6444 ac_cv_lib_Xxf86dga_XDGAQueryExtension=no
6446 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6447 LIBS=$ac_check_lib_save_LIBS
6449 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
6450 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
6451 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
6453 cat >>confdefs.h <<\_ACEOF
6454 #define HAVE_LIBXXF86DGA2 1
6457 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
6460 echo "$as_me:$LINENO: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
6461 echo $ECHO_N "checking for XF86DGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
6462 if test "${ac_cv_lib_Xxf86dga_XF86DGAQueryExtension+set}" = set; then
6463 echo $ECHO_N "(cached) $ECHO_C" >&6
6465 ac_check_lib_save_LIBS=$LIBS
6466 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6468 cat >conftest.$ac_ext <<_ACEOF
6469 #line $LINENO "configure"
6470 #include "confdefs.h"
6472 /* Override any gcc2 internal prototype to avoid an error. */
6476 /* We use char because int might match the return type of a gcc2
6477 builtin and then its argument prototype would still apply. */
6478 char XF86DGAQueryExtension ();
6479 #ifdef F77_DUMMY_MAIN
6483 int F77_DUMMY_MAIN() { return 1; }
6488 XF86DGAQueryExtension ();
6493 rm -f conftest.$ac_objext conftest$ac_exeext
6494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6495 (eval $ac_link) 2>&5
6497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6498 (exit $ac_status); } &&
6499 { ac_try='test -s conftest$ac_exeext'
6500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6504 (exit $ac_status); }; }; then
6505 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=yes
6507 echo "$as_me: failed program was:" >&5
6508 cat conftest.$ac_ext >&5
6509 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=no
6511 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6512 LIBS=$ac_check_lib_save_LIBS
6514 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&5
6515 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&6
6516 if test $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension = yes; then
6518 cat >>confdefs.h <<\_ACEOF
6519 #define HAVE_LIBXXF86DGA 1
6522 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
6531 { echo "$as_me:$LINENO: WARNING: DGA extension not found, Wine will be built without it" >&5
6532 echo "$as_me: WARNING: DGA extension not found, Wine will be built without it" >&2;}
6539 for ac_header in X11/extensions/xf86vmode.h
6541 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6542 echo "$as_me:$LINENO: checking for $ac_header" >&5
6543 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6544 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6545 echo $ECHO_N "(cached) $ECHO_C" >&6
6547 cat >conftest.$ac_ext <<_ACEOF
6548 #line $LINENO "configure"
6549 #include "confdefs.h"
6550 #include <X11/Xlib.h>
6552 #include <$ac_header>
6554 rm -f conftest.$ac_objext
6555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6556 (eval $ac_compile) 2>&5
6558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6559 (exit $ac_status); } &&
6560 { ac_try='test -s conftest.$ac_objext'
6561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6565 (exit $ac_status); }; }; then
6566 eval "$as_ac_Header=yes"
6568 echo "$as_me: failed program was:" >&5
6569 cat conftest.$ac_ext >&5
6570 eval "$as_ac_Header=no"
6572 rm -f conftest.$ac_objext conftest.$ac_ext
6574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6575 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6576 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6577 cat >>confdefs.h <<_ACEOF
6578 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6580 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
6581 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
6582 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
6583 echo $ECHO_N "(cached) $ECHO_C" >&6
6585 ac_check_lib_save_LIBS=$LIBS
6586 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6588 cat >conftest.$ac_ext <<_ACEOF
6589 #line $LINENO "configure"
6590 #include "confdefs.h"
6592 /* Override any gcc2 internal prototype to avoid an error. */
6596 /* We use char because int might match the return type of a gcc2
6597 builtin and then its argument prototype would still apply. */
6598 char XF86VidModeQueryExtension ();
6599 #ifdef F77_DUMMY_MAIN
6603 int F77_DUMMY_MAIN() { return 1; }
6608 XF86VidModeQueryExtension ();
6613 rm -f conftest.$ac_objext conftest$ac_exeext
6614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6615 (eval $ac_link) 2>&5
6617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6618 (exit $ac_status); } &&
6619 { ac_try='test -s conftest$ac_exeext'
6620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6624 (exit $ac_status); }; }; then
6625 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
6627 echo "$as_me: failed program was:" >&5
6628 cat conftest.$ac_ext >&5
6629 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
6631 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6632 LIBS=$ac_check_lib_save_LIBS
6634 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
6635 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
6636 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
6638 cat >>confdefs.h <<\_ACEOF
6639 #define HAVE_LIBXXF86VM 1
6642 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
6648 { echo "$as_me:$LINENO: WARNING: XFree86 VMODE extension not found, Wine will be built without it" >&5
6649 echo "$as_me: WARNING: XFree86 VMODE extension not found, Wine will be built without it" >&2;}
6656 for ac_header in X11/extensions/Xvlib.h
6658 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6659 echo "$as_me:$LINENO: checking for $ac_header" >&5
6660 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6661 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6662 echo $ECHO_N "(cached) $ECHO_C" >&6
6664 cat >conftest.$ac_ext <<_ACEOF
6665 #line $LINENO "configure"
6666 #include "confdefs.h"
6667 #include <X11/Xlib.h>
6669 #include <$ac_header>
6671 rm -f conftest.$ac_objext
6672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6673 (eval $ac_compile) 2>&5
6675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6676 (exit $ac_status); } &&
6677 { ac_try='test -s conftest.$ac_objext'
6678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6682 (exit $ac_status); }; }; then
6683 eval "$as_ac_Header=yes"
6685 echo "$as_me: failed program was:" >&5
6686 cat conftest.$ac_ext >&5
6687 eval "$as_ac_Header=no"
6689 rm -f conftest.$ac_objext conftest.$ac_ext
6691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6692 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6693 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6694 cat >>confdefs.h <<_ACEOF
6695 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6697 echo "$as_me:$LINENO: checking for XvShmCreateImage in -lXv" >&5
6698 echo $ECHO_N "checking for XvShmCreateImage in -lXv... $ECHO_C" >&6
6699 if test "${ac_cv_lib_Xv_XvShmCreateImage+set}" = set; then
6700 echo $ECHO_N "(cached) $ECHO_C" >&6
6702 ac_check_lib_save_LIBS=$LIBS
6703 LIBS="-lXv $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6705 cat >conftest.$ac_ext <<_ACEOF
6706 #line $LINENO "configure"
6707 #include "confdefs.h"
6709 /* Override any gcc2 internal prototype to avoid an error. */
6713 /* We use char because int might match the return type of a gcc2
6714 builtin and then its argument prototype would still apply. */
6715 char XvShmCreateImage ();
6716 #ifdef F77_DUMMY_MAIN
6720 int F77_DUMMY_MAIN() { return 1; }
6725 XvShmCreateImage ();
6730 rm -f conftest.$ac_objext conftest$ac_exeext
6731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6732 (eval $ac_link) 2>&5
6734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6735 (exit $ac_status); } &&
6736 { ac_try='test -s conftest$ac_exeext'
6737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6741 (exit $ac_status); }; }; then
6742 ac_cv_lib_Xv_XvShmCreateImage=yes
6744 echo "$as_me: failed program was:" >&5
6745 cat conftest.$ac_ext >&5
6746 ac_cv_lib_Xv_XvShmCreateImage=no
6748 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6749 LIBS=$ac_check_lib_save_LIBS
6751 echo "$as_me:$LINENO: result: $ac_cv_lib_Xv_XvShmCreateImage" >&5
6752 echo "${ECHO_T}$ac_cv_lib_Xv_XvShmCreateImage" >&6
6753 if test $ac_cv_lib_Xv_XvShmCreateImage = yes; then
6755 cat >>confdefs.h <<\_ACEOF
6756 #define HAVE_XVIDEO 1
6759 X_PRE_LIBS="$X_PRE_LIBS -lXv"
6765 { echo "$as_me:$LINENO: WARNING: XVideo extension not found, Wine will be built without it" >&5
6766 echo "$as_me: WARNING: XVideo extension not found, Wine will be built without it" >&2;}
6773 for ac_header in X11/extensions/Xrender.h
6775 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6776 echo "$as_me:$LINENO: checking for $ac_header" >&5
6777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6779 echo $ECHO_N "(cached) $ECHO_C" >&6
6781 cat >conftest.$ac_ext <<_ACEOF
6782 #line $LINENO "configure"
6783 #include "confdefs.h"
6784 #include <X11/Xlib.h>
6786 #include <$ac_header>
6788 rm -f conftest.$ac_objext
6789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6790 (eval $ac_compile) 2>&5
6792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6793 (exit $ac_status); } &&
6794 { ac_try='test -s conftest.$ac_objext'
6795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6799 (exit $ac_status); }; }; then
6800 eval "$as_ac_Header=yes"
6802 echo "$as_me: failed program was:" >&5
6803 cat conftest.$ac_ext >&5
6804 eval "$as_ac_Header=no"
6806 rm -f conftest.$ac_objext conftest.$ac_ext
6808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6809 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6810 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6811 cat >>confdefs.h <<_ACEOF
6812 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6825 if test "x$enable_opengl" != "xno"
6827 if test -f /usr/X11R6/lib/libGL.a -a ! -f /usr/X11R6/lib/libGL.so
6829 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
6830 This prevents linking to OpenGL. Delete the file and restart configure." >&5
6831 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
6832 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
6833 { (exit 1); exit 1; }; }
6838 for ac_header in GL/gl.h GL/glx.h
6840 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6841 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6842 echo "$as_me:$LINENO: checking for $ac_header" >&5
6843 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6844 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6845 echo $ECHO_N "(cached) $ECHO_C" >&6
6847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6848 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6850 # Is the header compilable?
6851 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6852 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6853 cat >conftest.$ac_ext <<_ACEOF
6854 #line $LINENO "configure"
6855 #include "confdefs.h"
6856 $ac_includes_default
6857 #include <$ac_header>
6859 rm -f conftest.$ac_objext
6860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6861 (eval $ac_compile) 2>&5
6863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6864 (exit $ac_status); } &&
6865 { ac_try='test -s conftest.$ac_objext'
6866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6870 (exit $ac_status); }; }; then
6871 ac_header_compiler=yes
6873 echo "$as_me: failed program was:" >&5
6874 cat conftest.$ac_ext >&5
6875 ac_header_compiler=no
6877 rm -f conftest.$ac_objext conftest.$ac_ext
6878 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6879 echo "${ECHO_T}$ac_header_compiler" >&6
6881 # Is the header present?
6882 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6883 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6884 cat >conftest.$ac_ext <<_ACEOF
6885 #line $LINENO "configure"
6886 #include "confdefs.h"
6887 #include <$ac_header>
6889 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6890 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6892 egrep -v '^ *\+' conftest.er1 >conftest.err
6894 cat conftest.err >&5
6895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6896 (exit $ac_status); } >/dev/null; then
6897 if test -s conftest.err; then
6898 ac_cpp_err=$ac_c_preproc_warn_flag
6905 if test -z "$ac_cpp_err"; then
6906 ac_header_preproc=yes
6908 echo "$as_me: failed program was:" >&5
6909 cat conftest.$ac_ext >&5
6910 ac_header_preproc=no
6912 rm -f conftest.err conftest.$ac_ext
6913 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6914 echo "${ECHO_T}$ac_header_preproc" >&6
6916 # So? What about this header?
6917 case $ac_header_compiler:$ac_header_preproc in
6919 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6920 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6921 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6922 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6924 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6925 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6926 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6927 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6928 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6929 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6931 echo "$as_me:$LINENO: checking for $ac_header" >&5
6932 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6933 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6934 echo $ECHO_N "(cached) $ECHO_C" >&6
6936 eval "$as_ac_Header=$ac_header_preproc"
6938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6939 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6942 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6943 cat >>confdefs.h <<_ACEOF
6944 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6951 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
6954 for ac_header in GL/glext.h
6956 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6957 echo "$as_me:$LINENO: checking for $ac_header" >&5
6958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6959 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6960 echo $ECHO_N "(cached) $ECHO_C" >&6
6962 cat >conftest.$ac_ext <<_ACEOF
6963 #line $LINENO "configure"
6964 #include "confdefs.h"
6967 #include <$ac_header>
6969 rm -f conftest.$ac_objext
6970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6971 (eval $ac_compile) 2>&5
6973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6974 (exit $ac_status); } &&
6975 { ac_try='test -s conftest.$ac_objext'
6976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6980 (exit $ac_status); }; }; then
6981 eval "$as_ac_Header=yes"
6983 echo "$as_me: failed program was:" >&5
6984 cat conftest.$ac_ext >&5
6985 eval "$as_ac_Header=no"
6987 rm -f conftest.$ac_objext conftest.$ac_ext
6989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6990 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6991 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6992 cat >>confdefs.h <<_ACEOF
6993 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7000 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
7001 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
7002 if test "${wine_cv_opengl_version_OK+set}" = set; then
7003 echo $ECHO_N "(cached) $ECHO_C" >&6
7005 cat >conftest.$ac_ext <<_ACEOF
7006 #line $LINENO "configure"
7007 #include "confdefs.h"
7009 #ifdef F77_DUMMY_MAIN
7013 int F77_DUMMY_MAIN() { return 1; }
7018 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
7023 rm -f conftest.$ac_objext
7024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7025 (eval $ac_compile) 2>&5
7027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7028 (exit $ac_status); } &&
7029 { ac_try='test -s conftest.$ac_objext'
7030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7034 (exit $ac_status); }; }; then
7035 wine_cv_opengl_version_OK="yes"
7037 echo "$as_me: failed program was:" >&5
7038 cat conftest.$ac_ext >&5
7039 wine_cv_opengl_version_OK="no"
7042 rm -f conftest.$ac_objext conftest.$ac_ext
7045 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
7046 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
7048 echo "$as_me:$LINENO: checking for thread-safe OpenGL version" >&5
7049 echo $ECHO_N "checking for thread-safe OpenGL version... $ECHO_C" >&6
7050 if test "${wine_cv_opengl_version_threadsafe+set}" = set; then
7051 echo $ECHO_N "(cached) $ECHO_C" >&6
7055 cat >conftest.$ac_ext <<_ACEOF
7056 #line $LINENO "configure"
7057 #include "confdefs.h"
7059 #ifdef F77_DUMMY_MAIN
7063 int F77_DUMMY_MAIN() { return 1; }
7068 pthread_getspecific();
7073 rm -f conftest.$ac_objext conftest$ac_exeext
7074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7075 (eval $ac_link) 2>&5
7077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7078 (exit $ac_status); } &&
7079 { ac_try='test -s conftest$ac_exeext'
7080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7084 (exit $ac_status); }; }; then
7085 wine_cv_opengl_version_threadsafe="yes"
7087 echo "$as_me: failed program was:" >&5
7088 cat conftest.$ac_ext >&5
7089 wine_cv_opengl_version_threadsafe="no"
7091 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7095 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_threadsafe" >&5
7096 echo "${ECHO_T}$wine_cv_opengl_version_threadsafe" >&6
7098 if test "$wine_cv_opengl_version_OK" = "yes" -a \( "$wine_cv_opengl_version_threadsafe" = "no" -o "x$enable_opengl" = "xyes" \)
7100 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
7101 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
7102 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
7103 echo $ECHO_N "(cached) $ECHO_C" >&6
7105 ac_check_lib_save_LIBS=$LIBS
7106 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
7107 cat >conftest.$ac_ext <<_ACEOF
7108 #line $LINENO "configure"
7109 #include "confdefs.h"
7111 /* Override any gcc2 internal prototype to avoid an error. */
7115 /* We use char because int might match the return type of a gcc2
7116 builtin and then its argument prototype would still apply. */
7117 char glXCreateContext ();
7118 #ifdef F77_DUMMY_MAIN
7122 int F77_DUMMY_MAIN() { return 1; }
7127 glXCreateContext ();
7132 rm -f conftest.$ac_objext conftest$ac_exeext
7133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7134 (eval $ac_link) 2>&5
7136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7137 (exit $ac_status); } &&
7138 { ac_try='test -s conftest$ac_exeext'
7139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7143 (exit $ac_status); }; }; then
7144 ac_cv_lib_GL_glXCreateContext=yes
7146 echo "$as_me: failed program was:" >&5
7147 cat conftest.$ac_ext >&5
7148 ac_cv_lib_GL_glXCreateContext=no
7150 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7151 LIBS=$ac_check_lib_save_LIBS
7153 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
7154 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
7155 if test $ac_cv_lib_GL_glXCreateContext = yes; then
7156 X_PRE_LIBS="$X_PRE_LIBS -lGL"
7161 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
7163 OPENGLFILES='$(OPENGLFILES)'
7165 cat >>confdefs.h <<\_ACEOF
7166 #define HAVE_OPENGL 1
7170 echo "$as_me:$LINENO: checking for glXGetProcAddressARB in -lGL" >&5
7171 echo $ECHO_N "checking for glXGetProcAddressARB in -lGL... $ECHO_C" >&6
7172 if test "${ac_cv_lib_GL_glXGetProcAddressARB+set}" = set; then
7173 echo $ECHO_N "(cached) $ECHO_C" >&6
7175 ac_check_lib_save_LIBS=$LIBS
7176 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
7177 cat >conftest.$ac_ext <<_ACEOF
7178 #line $LINENO "configure"
7179 #include "confdefs.h"
7181 /* Override any gcc2 internal prototype to avoid an error. */
7185 /* We use char because int might match the return type of a gcc2
7186 builtin and then its argument prototype would still apply. */
7187 char glXGetProcAddressARB ();
7188 #ifdef F77_DUMMY_MAIN
7192 int F77_DUMMY_MAIN() { return 1; }
7197 glXGetProcAddressARB ();
7202 rm -f conftest.$ac_objext conftest$ac_exeext
7203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7204 (eval $ac_link) 2>&5
7206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7207 (exit $ac_status); } &&
7208 { ac_try='test -s conftest$ac_exeext'
7209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7213 (exit $ac_status); }; }; then
7214 ac_cv_lib_GL_glXGetProcAddressARB=yes
7216 echo "$as_me: failed program was:" >&5
7217 cat conftest.$ac_ext >&5
7218 ac_cv_lib_GL_glXGetProcAddressARB=no
7220 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7221 LIBS=$ac_check_lib_save_LIBS
7223 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXGetProcAddressARB" >&5
7224 echo "${ECHO_T}$ac_cv_lib_GL_glXGetProcAddressARB" >&6
7225 if test $ac_cv_lib_GL_glXGetProcAddressARB = yes; then
7227 cat >>confdefs.h <<\_ACEOF
7228 #define HAVE_GLX_GETPROCADDRESS 1
7234 if test "$ac_cv_lib_GL_glXGetProcAddressARB" = "yes"
7236 echo "$as_me:$LINENO: checking for OpenGL extension functions prototypes" >&5
7237 echo $ECHO_N "checking for OpenGL extension functions prototypes... $ECHO_C" >&6
7238 if test "${wine_cv_extension_prototypes+set}" = set; then
7239 echo $ECHO_N "(cached) $ECHO_C" >&6
7241 cat >conftest.$ac_ext <<_ACEOF
7242 #line $LINENO "configure"
7243 #include "confdefs.h"
7245 #ifdef HAVE_GL_GLEXT_H
7246 # include <GL/glext.h>
7249 #ifdef F77_DUMMY_MAIN
7253 int F77_DUMMY_MAIN() { return 1; }
7258 PFNGLCOLORTABLEEXTPROC test_proc;
7263 rm -f conftest.$ac_objext
7264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7265 (eval $ac_compile) 2>&5
7267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7268 (exit $ac_status); } &&
7269 { ac_try='test -s conftest.$ac_objext'
7270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7274 (exit $ac_status); }; }; then
7275 wine_cv_extension_prototypes="yes"
7277 echo "$as_me: failed program was:" >&5
7278 cat conftest.$ac_ext >&5
7279 wine_cv_extension_prototypes="no"
7282 rm -f conftest.$ac_objext conftest.$ac_ext
7285 echo "$as_me:$LINENO: result: $wine_cv_extension_prototypes" >&5
7286 echo "${ECHO_T}$wine_cv_extension_prototypes" >&6
7287 if test "$wine_cv_extension_prototypes" = "yes"
7290 cat >>confdefs.h <<\_ACEOF
7291 #define HAVE_GLEXT_PROTOTYPES 1
7298 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
7299 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
7300 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
7301 echo $ECHO_N "(cached) $ECHO_C" >&6
7303 ac_check_lib_save_LIBS=$LIBS
7304 LIBS="-lGLU $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
7306 cat >conftest.$ac_ext <<_ACEOF
7307 #line $LINENO "configure"
7308 #include "confdefs.h"
7310 /* Override any gcc2 internal prototype to avoid an error. */
7314 /* We use char because int might match the return type of a gcc2
7315 builtin and then its argument prototype would still apply. */
7317 #ifdef F77_DUMMY_MAIN
7321 int F77_DUMMY_MAIN() { return 1; }
7331 rm -f conftest.$ac_objext conftest$ac_exeext
7332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7333 (eval $ac_link) 2>&5
7335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7336 (exit $ac_status); } &&
7337 { ac_try='test -s conftest$ac_exeext'
7338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7342 (exit $ac_status); }; }; then
7343 ac_cv_lib_GLU_gluLookAt=yes
7345 echo "$as_me: failed program was:" >&5
7346 cat conftest.$ac_ext >&5
7347 ac_cv_lib_GLU_gluLookAt=no
7349 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7350 LIBS=$ac_check_lib_save_LIBS
7352 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
7353 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
7354 if test $ac_cv_lib_GLU_gluLookAt = yes; then
7355 X_PRE_LIBS="$X_PRE_LIBS -lGLU"
7356 GLU32FILES='$(GLU32FILES)'
7364 CPPFLAGS="$ac_save_CPPFLAGS"
7373 if test "x$with_curses" != "xno"
7376 for ac_header in ncurses.h
7378 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7379 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7380 echo "$as_me:$LINENO: checking for $ac_header" >&5
7381 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7382 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7383 echo $ECHO_N "(cached) $ECHO_C" >&6
7385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7386 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7388 # Is the header compilable?
7389 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7390 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7391 cat >conftest.$ac_ext <<_ACEOF
7392 #line $LINENO "configure"
7393 #include "confdefs.h"
7394 $ac_includes_default
7395 #include <$ac_header>
7397 rm -f conftest.$ac_objext
7398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7399 (eval $ac_compile) 2>&5
7401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7402 (exit $ac_status); } &&
7403 { ac_try='test -s conftest.$ac_objext'
7404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7408 (exit $ac_status); }; }; then
7409 ac_header_compiler=yes
7411 echo "$as_me: failed program was:" >&5
7412 cat conftest.$ac_ext >&5
7413 ac_header_compiler=no
7415 rm -f conftest.$ac_objext conftest.$ac_ext
7416 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7417 echo "${ECHO_T}$ac_header_compiler" >&6
7419 # Is the header present?
7420 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7421 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7422 cat >conftest.$ac_ext <<_ACEOF
7423 #line $LINENO "configure"
7424 #include "confdefs.h"
7425 #include <$ac_header>
7427 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7428 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7430 egrep -v '^ *\+' conftest.er1 >conftest.err
7432 cat conftest.err >&5
7433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7434 (exit $ac_status); } >/dev/null; then
7435 if test -s conftest.err; then
7436 ac_cpp_err=$ac_c_preproc_warn_flag
7443 if test -z "$ac_cpp_err"; then
7444 ac_header_preproc=yes
7446 echo "$as_me: failed program was:" >&5
7447 cat conftest.$ac_ext >&5
7448 ac_header_preproc=no
7450 rm -f conftest.err conftest.$ac_ext
7451 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7452 echo "${ECHO_T}$ac_header_preproc" >&6
7454 # So? What about this header?
7455 case $ac_header_compiler:$ac_header_preproc in
7457 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7458 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7459 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7460 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7462 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7463 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7464 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7465 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7466 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7467 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7469 echo "$as_me:$LINENO: checking for $ac_header" >&5
7470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7471 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7472 echo $ECHO_N "(cached) $ECHO_C" >&6
7474 eval "$as_ac_Header=$ac_header_preproc"
7476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7477 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7480 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7481 cat >>confdefs.h <<_ACEOF
7482 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7484 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
7485 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
7486 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
7487 echo $ECHO_N "(cached) $ECHO_C" >&6
7489 ac_check_lib_save_LIBS=$LIBS
7490 LIBS="-lncurses $LIBS"
7491 cat >conftest.$ac_ext <<_ACEOF
7492 #line $LINENO "configure"
7493 #include "confdefs.h"
7495 /* Override any gcc2 internal prototype to avoid an error. */
7499 /* We use char because int might match the return type of a gcc2
7500 builtin and then its argument prototype would still apply. */
7502 #ifdef F77_DUMMY_MAIN
7506 int F77_DUMMY_MAIN() { return 1; }
7516 rm -f conftest.$ac_objext conftest$ac_exeext
7517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7518 (eval $ac_link) 2>&5
7520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7521 (exit $ac_status); } &&
7522 { ac_try='test -s conftest$ac_exeext'
7523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7527 (exit $ac_status); }; }; then
7528 ac_cv_lib_ncurses_waddch=yes
7530 echo "$as_me: failed program was:" >&5
7531 cat conftest.$ac_ext >&5
7532 ac_cv_lib_ncurses_waddch=no
7534 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7535 LIBS=$ac_check_lib_save_LIBS
7537 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
7538 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
7539 if test $ac_cv_lib_ncurses_waddch = yes; then
7541 cat >>confdefs.h <<\_ACEOF
7542 #define HAVE_LIBNCURSES 1
7545 CURSESLIBS="-lncurses"
7548 for ac_header in curses.h
7550 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7551 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7552 echo "$as_me:$LINENO: checking for $ac_header" >&5
7553 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7554 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7555 echo $ECHO_N "(cached) $ECHO_C" >&6
7557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7558 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7560 # Is the header compilable?
7561 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7562 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7563 cat >conftest.$ac_ext <<_ACEOF
7564 #line $LINENO "configure"
7565 #include "confdefs.h"
7566 $ac_includes_default
7567 #include <$ac_header>
7569 rm -f conftest.$ac_objext
7570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7571 (eval $ac_compile) 2>&5
7573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7574 (exit $ac_status); } &&
7575 { ac_try='test -s conftest.$ac_objext'
7576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7580 (exit $ac_status); }; }; then
7581 ac_header_compiler=yes
7583 echo "$as_me: failed program was:" >&5
7584 cat conftest.$ac_ext >&5
7585 ac_header_compiler=no
7587 rm -f conftest.$ac_objext conftest.$ac_ext
7588 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7589 echo "${ECHO_T}$ac_header_compiler" >&6
7591 # Is the header present?
7592 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7593 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7594 cat >conftest.$ac_ext <<_ACEOF
7595 #line $LINENO "configure"
7596 #include "confdefs.h"
7597 #include <$ac_header>
7599 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7600 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7602 egrep -v '^ *\+' conftest.er1 >conftest.err
7604 cat conftest.err >&5
7605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7606 (exit $ac_status); } >/dev/null; then
7607 if test -s conftest.err; then
7608 ac_cpp_err=$ac_c_preproc_warn_flag
7615 if test -z "$ac_cpp_err"; then
7616 ac_header_preproc=yes
7618 echo "$as_me: failed program was:" >&5
7619 cat conftest.$ac_ext >&5
7620 ac_header_preproc=no
7622 rm -f conftest.err conftest.$ac_ext
7623 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7624 echo "${ECHO_T}$ac_header_preproc" >&6
7626 # So? What about this header?
7627 case $ac_header_compiler:$ac_header_preproc in
7629 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7630 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7631 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7632 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7634 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7635 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7636 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7637 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7638 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7639 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7641 echo "$as_me:$LINENO: checking for $ac_header" >&5
7642 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7643 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7644 echo $ECHO_N "(cached) $ECHO_C" >&6
7646 eval "$as_ac_Header=$ac_header_preproc"
7648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7649 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7652 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7653 cat >>confdefs.h <<_ACEOF
7654 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7656 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
7657 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
7658 if test "${ac_cv_lib_curses_waddch+set}" = set; then
7659 echo $ECHO_N "(cached) $ECHO_C" >&6
7661 ac_check_lib_save_LIBS=$LIBS
7662 LIBS="-lcurses $LIBS"
7663 cat >conftest.$ac_ext <<_ACEOF
7664 #line $LINENO "configure"
7665 #include "confdefs.h"
7667 /* Override any gcc2 internal prototype to avoid an error. */
7671 /* We use char because int might match the return type of a gcc2
7672 builtin and then its argument prototype would still apply. */
7674 #ifdef F77_DUMMY_MAIN
7678 int F77_DUMMY_MAIN() { return 1; }
7688 rm -f conftest.$ac_objext conftest$ac_exeext
7689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7690 (eval $ac_link) 2>&5
7692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7693 (exit $ac_status); } &&
7694 { ac_try='test -s conftest$ac_exeext'
7695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7699 (exit $ac_status); }; }; then
7700 ac_cv_lib_curses_waddch=yes
7702 echo "$as_me: failed program was:" >&5
7703 cat conftest.$ac_ext >&5
7704 ac_cv_lib_curses_waddch=no
7706 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7707 LIBS=$ac_check_lib_save_LIBS
7709 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
7710 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
7711 if test $ac_cv_lib_curses_waddch = yes; then
7713 cat >>confdefs.h <<\_ACEOF
7714 #define HAVE_LIBCURSES 1
7717 CURSESLIBS="-lcurses"
7731 LIBS="$CURSESLIBS $LIBS"
7734 for ac_func in getbkgd resizeterm
7736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7737 echo "$as_me:$LINENO: checking for $ac_func" >&5
7738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7739 if eval "test \"\${$as_ac_var+set}\" = set"; then
7740 echo $ECHO_N "(cached) $ECHO_C" >&6
7742 cat >conftest.$ac_ext <<_ACEOF
7743 #line $LINENO "configure"
7744 #include "confdefs.h"
7745 /* System header to define __stub macros and hopefully few prototypes,
7746 which can conflict with char $ac_func (); below. */
7748 /* Override any gcc2 internal prototype to avoid an error. */
7752 /* We use char because int might match the return type of a gcc2
7753 builtin and then its argument prototype would still apply. */
7757 #ifdef F77_DUMMY_MAIN
7761 int F77_DUMMY_MAIN() { return 1; }
7766 /* The GNU C library defines this for functions which it implements
7767 to always fail with ENOSYS. Some functions are actually named
7768 something starting with __ and the normal name is an alias. */
7769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7779 rm -f conftest.$ac_objext conftest$ac_exeext
7780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7781 (eval $ac_link) 2>&5
7783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7784 (exit $ac_status); } &&
7785 { ac_try='test -s conftest$ac_exeext'
7786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7790 (exit $ac_status); }; }; then
7791 eval "$as_ac_var=yes"
7793 echo "$as_me: failed program was:" >&5
7794 cat conftest.$ac_ext >&5
7795 eval "$as_ac_var=no"
7797 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7801 if test `eval echo '${'$as_ac_var'}'` = yes; then
7802 cat >>confdefs.h <<_ACEOF
7803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7814 wine_cv_warn_cups_h=no
7815 echo "$as_me:$LINENO: checking for cupsGetPPD in -lcups" >&5
7816 echo $ECHO_N "checking for cupsGetPPD in -lcups... $ECHO_C" >&6
7817 if test "${ac_cv_lib_cups_cupsGetPPD+set}" = set; then
7818 echo $ECHO_N "(cached) $ECHO_C" >&6
7820 ac_check_lib_save_LIBS=$LIBS
7822 cat >conftest.$ac_ext <<_ACEOF
7823 #line $LINENO "configure"
7824 #include "confdefs.h"
7826 /* Override any gcc2 internal prototype to avoid an error. */
7830 /* We use char because int might match the return type of a gcc2
7831 builtin and then its argument prototype would still apply. */
7833 #ifdef F77_DUMMY_MAIN
7837 int F77_DUMMY_MAIN() { return 1; }
7847 rm -f conftest.$ac_objext conftest$ac_exeext
7848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7849 (eval $ac_link) 2>&5
7851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7852 (exit $ac_status); } &&
7853 { ac_try='test -s conftest$ac_exeext'
7854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7858 (exit $ac_status); }; }; then
7859 ac_cv_lib_cups_cupsGetPPD=yes
7861 echo "$as_me: failed program was:" >&5
7862 cat conftest.$ac_ext >&5
7863 ac_cv_lib_cups_cupsGetPPD=no
7865 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7866 LIBS=$ac_check_lib_save_LIBS
7868 echo "$as_me:$LINENO: result: $ac_cv_lib_cups_cupsGetPPD" >&5
7869 echo "${ECHO_T}$ac_cv_lib_cups_cupsGetPPD" >&6
7870 if test $ac_cv_lib_cups_cupsGetPPD = yes; then
7871 if test "${ac_cv_header_cups_cups_h+set}" = set; then
7872 echo "$as_me:$LINENO: checking for cups/cups.h" >&5
7873 echo $ECHO_N "checking for cups/cups.h... $ECHO_C" >&6
7874 if test "${ac_cv_header_cups_cups_h+set}" = set; then
7875 echo $ECHO_N "(cached) $ECHO_C" >&6
7877 echo "$as_me:$LINENO: result: $ac_cv_header_cups_cups_h" >&5
7878 echo "${ECHO_T}$ac_cv_header_cups_cups_h" >&6
7880 # Is the header compilable?
7881 echo "$as_me:$LINENO: checking cups/cups.h usability" >&5
7882 echo $ECHO_N "checking cups/cups.h usability... $ECHO_C" >&6
7883 cat >conftest.$ac_ext <<_ACEOF
7884 #line $LINENO "configure"
7885 #include "confdefs.h"
7886 $ac_includes_default
7887 #include <cups/cups.h>
7889 rm -f conftest.$ac_objext
7890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7891 (eval $ac_compile) 2>&5
7893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7894 (exit $ac_status); } &&
7895 { ac_try='test -s conftest.$ac_objext'
7896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7900 (exit $ac_status); }; }; then
7901 ac_header_compiler=yes
7903 echo "$as_me: failed program was:" >&5
7904 cat conftest.$ac_ext >&5
7905 ac_header_compiler=no
7907 rm -f conftest.$ac_objext conftest.$ac_ext
7908 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7909 echo "${ECHO_T}$ac_header_compiler" >&6
7911 # Is the header present?
7912 echo "$as_me:$LINENO: checking cups/cups.h presence" >&5
7913 echo $ECHO_N "checking cups/cups.h presence... $ECHO_C" >&6
7914 cat >conftest.$ac_ext <<_ACEOF
7915 #line $LINENO "configure"
7916 #include "confdefs.h"
7917 #include <cups/cups.h>
7919 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7920 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7922 egrep -v '^ *\+' conftest.er1 >conftest.err
7924 cat conftest.err >&5
7925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7926 (exit $ac_status); } >/dev/null; then
7927 if test -s conftest.err; then
7928 ac_cpp_err=$ac_c_preproc_warn_flag
7935 if test -z "$ac_cpp_err"; then
7936 ac_header_preproc=yes
7938 echo "$as_me: failed program was:" >&5
7939 cat conftest.$ac_ext >&5
7940 ac_header_preproc=no
7942 rm -f conftest.err conftest.$ac_ext
7943 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7944 echo "${ECHO_T}$ac_header_preproc" >&6
7946 # So? What about this header?
7947 case $ac_header_compiler:$ac_header_preproc in
7949 { echo "$as_me:$LINENO: WARNING: cups/cups.h: accepted by the compiler, rejected by the preprocessor!" >&5
7950 echo "$as_me: WARNING: cups/cups.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7951 { echo "$as_me:$LINENO: WARNING: cups/cups.h: proceeding with the preprocessor's result" >&5
7952 echo "$as_me: WARNING: cups/cups.h: proceeding with the preprocessor's result" >&2;};;
7954 { echo "$as_me:$LINENO: WARNING: cups/cups.h: present but cannot be compiled" >&5
7955 echo "$as_me: WARNING: cups/cups.h: present but cannot be compiled" >&2;}
7956 { echo "$as_me:$LINENO: WARNING: cups/cups.h: check for missing prerequisite headers?" >&5
7957 echo "$as_me: WARNING: cups/cups.h: check for missing prerequisite headers?" >&2;}
7958 { echo "$as_me:$LINENO: WARNING: cups/cups.h: proceeding with the preprocessor's result" >&5
7959 echo "$as_me: WARNING: cups/cups.h: proceeding with the preprocessor's result" >&2;};;
7961 echo "$as_me:$LINENO: checking for cups/cups.h" >&5
7962 echo $ECHO_N "checking for cups/cups.h... $ECHO_C" >&6
7963 if test "${ac_cv_header_cups_cups_h+set}" = set; then
7964 echo $ECHO_N "(cached) $ECHO_C" >&6
7966 ac_cv_header_cups_cups_h=$ac_header_preproc
7968 echo "$as_me:$LINENO: result: $ac_cv_header_cups_cups_h" >&5
7969 echo "${ECHO_T}$ac_cv_header_cups_cups_h" >&6
7972 if test $ac_cv_header_cups_cups_h = yes; then
7974 cat >>confdefs.h <<\_ACEOF
7980 wine_cv_warn_cups_h=yes
7989 # Extract the first word of "sane-config", so it can be a program name with args.
7990 set dummy sane-config; ac_word=$2
7991 echo "$as_me:$LINENO: checking for $ac_word" >&5
7992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7993 if test "${ac_cv_prog_sane_devel+set}" = set; then
7994 echo $ECHO_N "(cached) $ECHO_C" >&6
7996 if test -n "$sane_devel"; then
7997 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
7999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8003 test -z "$as_dir" && as_dir=.
8004 for ac_exec_ext in '' $ac_executable_extensions; do
8005 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8006 ac_cv_prog_sane_devel="sane-config"
8007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8013 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
8016 sane_devel=$ac_cv_prog_sane_devel
8017 if test -n "$sane_devel"; then
8018 echo "$as_me:$LINENO: result: $sane_devel" >&5
8019 echo "${ECHO_T}$sane_devel" >&6
8021 echo "$as_me:$LINENO: result: no" >&5
8022 echo "${ECHO_T}no" >&6
8025 if test "$sane_devel" = "no"
8030 SANELIBS="`$sane_devel --libs`"
8031 SANEINCL="`$sane_devel --cflags`"
8032 ac_save_CPPFLAGS="$CPPFLAGS"
8033 ac_save_LIBS="$LIBS"
8034 CPPFLAGS="$CPPFLAGS $SANEINCL"
8035 LIBS="$LIBS $SANELIBS"
8036 if test "${ac_cv_header_sane_sane_h+set}" = set; then
8037 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
8038 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
8039 if test "${ac_cv_header_sane_sane_h+set}" = set; then
8040 echo $ECHO_N "(cached) $ECHO_C" >&6
8042 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
8043 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
8045 # Is the header compilable?
8046 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
8047 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
8048 cat >conftest.$ac_ext <<_ACEOF
8049 #line $LINENO "configure"
8050 #include "confdefs.h"
8051 $ac_includes_default
8052 #include <sane/sane.h>
8054 rm -f conftest.$ac_objext
8055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8056 (eval $ac_compile) 2>&5
8058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8059 (exit $ac_status); } &&
8060 { ac_try='test -s conftest.$ac_objext'
8061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8065 (exit $ac_status); }; }; then
8066 ac_header_compiler=yes
8068 echo "$as_me: failed program was:" >&5
8069 cat conftest.$ac_ext >&5
8070 ac_header_compiler=no
8072 rm -f conftest.$ac_objext conftest.$ac_ext
8073 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8074 echo "${ECHO_T}$ac_header_compiler" >&6
8076 # Is the header present?
8077 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
8078 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
8079 cat >conftest.$ac_ext <<_ACEOF
8080 #line $LINENO "configure"
8081 #include "confdefs.h"
8082 #include <sane/sane.h>
8084 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8085 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8087 egrep -v '^ *\+' conftest.er1 >conftest.err
8089 cat conftest.err >&5
8090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8091 (exit $ac_status); } >/dev/null; then
8092 if test -s conftest.err; then
8093 ac_cpp_err=$ac_c_preproc_warn_flag
8100 if test -z "$ac_cpp_err"; then
8101 ac_header_preproc=yes
8103 echo "$as_me: failed program was:" >&5
8104 cat conftest.$ac_ext >&5
8105 ac_header_preproc=no
8107 rm -f conftest.err conftest.$ac_ext
8108 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8109 echo "${ECHO_T}$ac_header_preproc" >&6
8111 # So? What about this header?
8112 case $ac_header_compiler:$ac_header_preproc in
8114 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
8115 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8116 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
8117 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;};;
8119 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
8120 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
8121 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
8122 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
8123 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
8124 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;};;
8126 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
8127 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
8128 if test "${ac_cv_header_sane_sane_h+set}" = set; then
8129 echo $ECHO_N "(cached) $ECHO_C" >&6
8131 ac_cv_header_sane_sane_h=$ac_header_preproc
8133 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
8134 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
8137 if test $ac_cv_header_sane_sane_h = yes; then
8138 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
8139 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
8140 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
8141 echo $ECHO_N "(cached) $ECHO_C" >&6
8143 ac_check_lib_save_LIBS=$LIBS
8145 cat >conftest.$ac_ext <<_ACEOF
8146 #line $LINENO "configure"
8147 #include "confdefs.h"
8149 /* Override any gcc2 internal prototype to avoid an error. */
8153 /* We use char because int might match the return type of a gcc2
8154 builtin and then its argument prototype would still apply. */
8156 #ifdef F77_DUMMY_MAIN
8160 int F77_DUMMY_MAIN() { return 1; }
8170 rm -f conftest.$ac_objext conftest$ac_exeext
8171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8172 (eval $ac_link) 2>&5
8174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8175 (exit $ac_status); } &&
8176 { ac_try='test -s conftest$ac_exeext'
8177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8181 (exit $ac_status); }; }; then
8182 ac_cv_lib_sane_sane_open=yes
8184 echo "$as_me: failed program was:" >&5
8185 cat conftest.$ac_ext >&5
8186 ac_cv_lib_sane_sane_open=no
8188 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8189 LIBS=$ac_check_lib_save_LIBS
8191 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
8192 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
8193 if test $ac_cv_lib_sane_sane_open = yes; then
8195 cat >>confdefs.h <<\_ACEOF
8210 LIBS="$ac_save_LIBS"
8211 CPPFLAGS="$ac_save_CPPFLAGS"
8216 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
8217 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
8218 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
8219 echo $ECHO_N "(cached) $ECHO_C" >&6
8221 ac_check_lib_save_LIBS=$LIBS
8222 LIBS="-lfreetype $X_LIBS $LIBS"
8223 cat >conftest.$ac_ext <<_ACEOF
8224 #line $LINENO "configure"
8225 #include "confdefs.h"
8227 /* Override any gcc2 internal prototype to avoid an error. */
8231 /* We use char because int might match the return type of a gcc2
8232 builtin and then its argument prototype would still apply. */
8233 char FT_Init_FreeType ();
8234 #ifdef F77_DUMMY_MAIN
8238 int F77_DUMMY_MAIN() { return 1; }
8243 FT_Init_FreeType ();
8248 rm -f conftest.$ac_objext conftest$ac_exeext
8249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8250 (eval $ac_link) 2>&5
8252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8253 (exit $ac_status); } &&
8254 { ac_try='test -s conftest$ac_exeext'
8255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8259 (exit $ac_status); }; }; then
8260 ac_cv_lib_freetype_FT_Init_FreeType=yes
8262 echo "$as_me: failed program was:" >&5
8263 cat conftest.$ac_ext >&5
8264 ac_cv_lib_freetype_FT_Init_FreeType=no
8266 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8267 LIBS=$ac_check_lib_save_LIBS
8269 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
8270 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
8271 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
8277 if test "$ft_lib" = "no"
8280 wine_cv_msg_freetype=no
8282 # Extract the first word of "freetype-config", so it can be a program name with args.
8283 set dummy freetype-config; ac_word=$2
8284 echo "$as_me:$LINENO: checking for $ac_word" >&5
8285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8286 if test "${ac_cv_prog_ft_devel+set}" = set; then
8287 echo $ECHO_N "(cached) $ECHO_C" >&6
8289 if test -n "$ft_devel"; then
8290 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
8292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8296 test -z "$as_dir" && as_dir=.
8297 for ac_exec_ext in '' $ac_executable_extensions; do
8298 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8299 ac_cv_prog_ft_devel="freetype-config"
8300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8306 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
8309 ft_devel=$ac_cv_prog_ft_devel
8310 if test -n "$ft_devel"; then
8311 echo "$as_me:$LINENO: result: $ft_devel" >&5
8312 echo "${ECHO_T}$ft_devel" >&6
8314 echo "$as_me:$LINENO: result: no" >&5
8315 echo "${ECHO_T}no" >&6
8318 if test "$ft_devel" = "no"
8320 # Extract the first word of "freetype2-config", so it can be a program name with args.
8321 set dummy freetype2-config; ac_word=$2
8322 echo "$as_me:$LINENO: checking for $ac_word" >&5
8323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8324 if test "${ac_cv_prog_ft_devel2+set}" = set; then
8325 echo $ECHO_N "(cached) $ECHO_C" >&6
8327 if test -n "$ft_devel2"; then
8328 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
8330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8334 test -z "$as_dir" && as_dir=.
8335 for ac_exec_ext in '' $ac_executable_extensions; do
8336 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8337 ac_cv_prog_ft_devel2="freetype2-config"
8338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8344 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
8347 ft_devel2=$ac_cv_prog_ft_devel2
8348 if test -n "$ft_devel2"; then
8349 echo "$as_me:$LINENO: result: $ft_devel2" >&5
8350 echo "${ECHO_T}$ft_devel2" >&6
8352 echo "$as_me:$LINENO: result: no" >&5
8353 echo "${ECHO_T}no" >&6
8356 if test "$ft_devel2" = "freetype2-config"
8361 if test "$ft_devel" = "no"
8364 wine_cv_msg_freetype=yes
8366 FREETYPEINCL=`$ft_devel --cflags`
8367 ac_save_CPPFLAGS="$CPPFLAGS"
8368 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
8377 for ac_header in freetype/freetype.h \
8378 freetype/ftglyph.h \
8379 freetype/tttables.h \
8380 freetype/ftnames.h \
8381 freetype/ftsnames.h \
8382 freetype/ttnameid.h \
8383 freetype/ftoutln.h \
8384 freetype/internal/sfnt.h
8386 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8387 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8388 echo "$as_me:$LINENO: checking for $ac_header" >&5
8389 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8390 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8391 echo $ECHO_N "(cached) $ECHO_C" >&6
8393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8394 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8396 # Is the header compilable?
8397 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8398 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8399 cat >conftest.$ac_ext <<_ACEOF
8400 #line $LINENO "configure"
8401 #include "confdefs.h"
8402 $ac_includes_default
8403 #include <$ac_header>
8405 rm -f conftest.$ac_objext
8406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8407 (eval $ac_compile) 2>&5
8409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8410 (exit $ac_status); } &&
8411 { ac_try='test -s conftest.$ac_objext'
8412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8416 (exit $ac_status); }; }; then
8417 ac_header_compiler=yes
8419 echo "$as_me: failed program was:" >&5
8420 cat conftest.$ac_ext >&5
8421 ac_header_compiler=no
8423 rm -f conftest.$ac_objext conftest.$ac_ext
8424 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8425 echo "${ECHO_T}$ac_header_compiler" >&6
8427 # Is the header present?
8428 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8429 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8430 cat >conftest.$ac_ext <<_ACEOF
8431 #line $LINENO "configure"
8432 #include "confdefs.h"
8433 #include <$ac_header>
8435 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8436 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8438 egrep -v '^ *\+' conftest.er1 >conftest.err
8440 cat conftest.err >&5
8441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8442 (exit $ac_status); } >/dev/null; then
8443 if test -s conftest.err; then
8444 ac_cpp_err=$ac_c_preproc_warn_flag
8451 if test -z "$ac_cpp_err"; then
8452 ac_header_preproc=yes
8454 echo "$as_me: failed program was:" >&5
8455 cat conftest.$ac_ext >&5
8456 ac_header_preproc=no
8458 rm -f conftest.err conftest.$ac_ext
8459 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8460 echo "${ECHO_T}$ac_header_preproc" >&6
8462 # So? What about this header?
8463 case $ac_header_compiler:$ac_header_preproc in
8465 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8466 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8467 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8468 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8470 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8471 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8472 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8473 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8474 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8475 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8477 echo "$as_me:$LINENO: checking for $ac_header" >&5
8478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8480 echo $ECHO_N "(cached) $ECHO_C" >&6
8482 eval "$as_ac_Header=$ac_header_preproc"
8484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8485 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8488 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8489 cat >>confdefs.h <<_ACEOF
8490 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8497 cat >conftest.$ac_ext <<_ACEOF
8498 #line $LINENO "configure"
8499 #include "confdefs.h"
8500 #include <ft2build.h>
8501 #include <freetype/fttrigon.h>
8503 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8504 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8506 egrep -v '^ *\+' conftest.er1 >conftest.err
8508 cat conftest.err >&5
8509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8510 (exit $ac_status); } >/dev/null; then
8511 if test -s conftest.err; then
8512 ac_cpp_err=$ac_c_preproc_warn_flag
8519 if test -z "$ac_cpp_err"; then
8521 cat >>confdefs.h <<\_ACEOF
8522 #define HAVE_FREETYPE_FTTRIGON_H 1
8525 wine_cv_fttrigon=yes
8527 echo "$as_me: failed program was:" >&5
8528 cat conftest.$ac_ext >&5
8531 rm -f conftest.err conftest.$ac_ext
8532 CPPFLAGS="$ac_save_CPPFLAGS"
8533 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
8536 cat >>confdefs.h <<\_ACEOF
8537 #define HAVE_FREETYPE 1
8540 wine_cv_msg_freetype=no
8543 wine_cv_msg_freetype=yes
8549 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
8550 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
8551 if test "${ac_cv_c_ppdev+set}" = set; then
8552 echo $ECHO_N "(cached) $ECHO_C" >&6
8554 cat >conftest.$ac_ext <<_ACEOF
8555 #line $LINENO "configure"
8556 #include "confdefs.h"
8557 #include <linux/ppdev.h>
8558 #ifdef F77_DUMMY_MAIN
8562 int F77_DUMMY_MAIN() { return 1; }
8572 rm -f conftest.$ac_objext
8573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8574 (eval $ac_compile) 2>&5
8576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8577 (exit $ac_status); } &&
8578 { ac_try='test -s conftest.$ac_objext'
8579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8583 (exit $ac_status); }; }; then
8586 echo "$as_me: failed program was:" >&5
8587 cat conftest.$ac_ext >&5
8590 rm -f conftest.$ac_objext conftest.$ac_ext
8593 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
8594 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
8595 if test "$ac_cv_c_ppdev" = "yes"
8598 cat >>confdefs.h <<\_ACEOF
8599 #define HAVE_PPDEV 1
8604 echo "$as_me:$LINENO: checking for va_copy" >&5
8605 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
8606 if test "${ac_cv_c_va_copy+set}" = set; then
8607 echo $ECHO_N "(cached) $ECHO_C" >&6
8609 cat >conftest.$ac_ext <<_ACEOF
8610 #line $LINENO "configure"
8611 #include "confdefs.h"
8613 #ifdef F77_DUMMY_MAIN
8617 int F77_DUMMY_MAIN() { return 1; }
8629 rm -f conftest.$ac_objext conftest$ac_exeext
8630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8631 (eval $ac_link) 2>&5
8633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8634 (exit $ac_status); } &&
8635 { ac_try='test -s conftest$ac_exeext'
8636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8640 (exit $ac_status); }; }; then
8641 ac_cv_c_va_copy="yes"
8643 echo "$as_me: failed program was:" >&5
8644 cat conftest.$ac_ext >&5
8645 ac_cv_c_va_copy="no"
8647 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8650 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
8651 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
8652 if test "$ac_cv_c_va_copy" = "yes"
8655 cat >>confdefs.h <<\_ACEOF
8656 #define HAVE_VA_COPY 1
8660 echo "$as_me:$LINENO: checking for __va_copy" >&5
8661 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
8662 if test "${ac_cv_c___va_copy+set}" = set; then
8663 echo $ECHO_N "(cached) $ECHO_C" >&6
8665 cat >conftest.$ac_ext <<_ACEOF
8666 #line $LINENO "configure"
8667 #include "confdefs.h"
8669 #ifdef F77_DUMMY_MAIN
8673 int F77_DUMMY_MAIN() { return 1; }
8685 rm -f conftest.$ac_objext conftest$ac_exeext
8686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8687 (eval $ac_link) 2>&5
8689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8690 (exit $ac_status); } &&
8691 { ac_try='test -s conftest$ac_exeext'
8692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8696 (exit $ac_status); }; }; then
8697 ac_cv_c___va_copy="yes"
8699 echo "$as_me: failed program was:" >&5
8700 cat conftest.$ac_ext >&5
8701 ac_cv_c___va_copy="no"
8703 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8706 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
8707 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
8708 if test "$ac_cv_c___va_copy" = "yes"
8711 cat >>confdefs.h <<\_ACEOF
8712 #define HAVE___VA_COPY 1
8717 echo "$as_me:$LINENO: checking for GNU style IPX support" >&5
8718 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
8719 if test "${ac_cv_c_ipx_gnu+set}" = set; then
8720 echo $ECHO_N "(cached) $ECHO_C" >&6
8722 cat >conftest.$ac_ext <<_ACEOF
8723 #line $LINENO "configure"
8724 #include "confdefs.h"
8725 #include <sys/socket.h>
8726 #include <netipx/ipx.h>
8727 #ifdef F77_DUMMY_MAIN
8731 int F77_DUMMY_MAIN() { return 1; }
8736 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
8741 rm -f conftest.$ac_objext
8742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8743 (eval $ac_compile) 2>&5
8745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8746 (exit $ac_status); } &&
8747 { ac_try='test -s conftest.$ac_objext'
8748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8752 (exit $ac_status); }; }; then
8753 ac_cv_c_ipx_gnu="yes"
8755 echo "$as_me: failed program was:" >&5
8756 cat conftest.$ac_ext >&5
8757 ac_cv_c_ipx_gnu="no"
8759 rm -f conftest.$ac_objext conftest.$ac_ext
8762 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_gnu" >&5
8763 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
8764 if test "$ac_cv_c_ipx_gnu" = "yes"
8767 cat >>confdefs.h <<\_ACEOF
8768 #define HAVE_IPX_GNU 1
8773 if test "$ac_cv_c_ipx_gnu" = "no"
8775 echo "$as_me:$LINENO: checking for linux style IPX support" >&5
8776 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
8777 if test "${ac_cv_c_ipx_linux+set}" = set; then
8778 echo $ECHO_N "(cached) $ECHO_C" >&6
8780 cat >conftest.$ac_ext <<_ACEOF
8781 #line $LINENO "configure"
8782 #include "confdefs.h"
8783 #include <sys/socket.h>
8784 #include <asm/types.h>
8785 #include <linux/ipx.h>
8786 #ifdef F77_DUMMY_MAIN
8790 int F77_DUMMY_MAIN() { return 1; }
8795 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
8800 rm -f conftest.$ac_objext
8801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8802 (eval $ac_compile) 2>&5
8804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8805 (exit $ac_status); } &&
8806 { ac_try='test -s conftest.$ac_objext'
8807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8811 (exit $ac_status); }; }; then
8812 ac_cv_c_ipx_linux="yes"
8814 echo "$as_me: failed program was:" >&5
8815 cat conftest.$ac_ext >&5
8816 ac_cv_c_ipx_linux="no"
8818 rm -f conftest.$ac_objext conftest.$ac_ext
8821 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_linux" >&5
8822 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
8823 if test "$ac_cv_c_ipx_linux" = "yes"
8826 cat >>confdefs.h <<\_ACEOF
8827 #define HAVE_IPX_LINUX 1
8836 for ac_header in sys/soundcard.h machine/soundcard.h soundcard.h
8838 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8839 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8840 echo "$as_me:$LINENO: checking for $ac_header" >&5
8841 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8842 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8843 echo $ECHO_N "(cached) $ECHO_C" >&6
8845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8846 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8848 # Is the header compilable?
8849 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8850 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8851 cat >conftest.$ac_ext <<_ACEOF
8852 #line $LINENO "configure"
8853 #include "confdefs.h"
8854 $ac_includes_default
8855 #include <$ac_header>
8857 rm -f conftest.$ac_objext
8858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8859 (eval $ac_compile) 2>&5
8861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8862 (exit $ac_status); } &&
8863 { ac_try='test -s conftest.$ac_objext'
8864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8868 (exit $ac_status); }; }; then
8869 ac_header_compiler=yes
8871 echo "$as_me: failed program was:" >&5
8872 cat conftest.$ac_ext >&5
8873 ac_header_compiler=no
8875 rm -f conftest.$ac_objext conftest.$ac_ext
8876 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8877 echo "${ECHO_T}$ac_header_compiler" >&6
8879 # Is the header present?
8880 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8881 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8882 cat >conftest.$ac_ext <<_ACEOF
8883 #line $LINENO "configure"
8884 #include "confdefs.h"
8885 #include <$ac_header>
8887 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8888 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8890 egrep -v '^ *\+' conftest.er1 >conftest.err
8892 cat conftest.err >&5
8893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8894 (exit $ac_status); } >/dev/null; then
8895 if test -s conftest.err; then
8896 ac_cpp_err=$ac_c_preproc_warn_flag
8903 if test -z "$ac_cpp_err"; then
8904 ac_header_preproc=yes
8906 echo "$as_me: failed program was:" >&5
8907 cat conftest.$ac_ext >&5
8908 ac_header_preproc=no
8910 rm -f conftest.err conftest.$ac_ext
8911 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8912 echo "${ECHO_T}$ac_header_preproc" >&6
8914 # So? What about this header?
8915 case $ac_header_compiler:$ac_header_preproc in
8917 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8918 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8919 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8920 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8922 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8923 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8924 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8925 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8926 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8927 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8929 echo "$as_me:$LINENO: checking for $ac_header" >&5
8930 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8931 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8932 echo $ECHO_N "(cached) $ECHO_C" >&6
8934 eval "$as_ac_Header=$ac_header_preproc"
8936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8937 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8940 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8941 cat >>confdefs.h <<_ACEOF
8942 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8950 echo "$as_me:$LINENO: checking for Open Sound System" >&5
8951 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
8952 if test "${ac_cv_c_opensoundsystem+set}" = set; then
8953 echo $ECHO_N "(cached) $ECHO_C" >&6
8955 cat >conftest.$ac_ext <<_ACEOF
8956 #line $LINENO "configure"
8957 #include "confdefs.h"
8959 #if defined(HAVE_SYS_SOUNDCARD_H)
8960 #include <sys/soundcard.h>
8961 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
8962 #include <machine/soundcard.h>
8963 #elif defined(HAVE_SOUNDCARD_H)
8964 #include <soundcard.h>
8967 #ifdef F77_DUMMY_MAIN
8971 int F77_DUMMY_MAIN() { return 1; }
8978 /* check for one of the Open Sound System specific SNDCTL_ defines */
8979 #if !defined(SNDCTL_DSP_STEREO)
8980 #error No open sound system
8987 rm -f conftest.$ac_objext
8988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8989 (eval $ac_compile) 2>&5
8991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8992 (exit $ac_status); } &&
8993 { ac_try='test -s conftest.$ac_objext'
8994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8998 (exit $ac_status); }; }; then
8999 ac_cv_c_opensoundsystem="yes"
9001 echo "$as_me: failed program was:" >&5
9002 cat conftest.$ac_ext >&5
9003 ac_cv_c_opensoundsystem="no"
9005 rm -f conftest.$ac_objext conftest.$ac_ext
9007 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
9008 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
9010 if test "$ac_cv_c_opensoundsystem" = "yes"
9013 cat >>confdefs.h <<\_ACEOF
9019 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
9020 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
9021 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
9022 echo $ECHO_N "(cached) $ECHO_C" >&6
9024 cat >conftest.$ac_ext <<_ACEOF
9025 #line $LINENO "configure"
9026 #include "confdefs.h"
9028 #if defined(HAVE_SYS_SOUNDCARD_H)
9029 #include <sys/soundcard.h>
9030 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
9031 #include <machine/soundcard.h>
9032 #elif defined(HAVE_SOUNDCARD_H)
9033 #include <soundcard.h>
9036 #ifdef F77_DUMMY_MAIN
9040 int F77_DUMMY_MAIN() { return 1; }
9047 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
9048 #if !defined(SNDCTL_SEQ_SYNC)
9049 #error No open sound system MIDI interface
9056 rm -f conftest.$ac_objext
9057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9058 (eval $ac_compile) 2>&5
9060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9061 (exit $ac_status); } &&
9062 { ac_try='test -s conftest.$ac_objext'
9063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9067 (exit $ac_status); }; }; then
9068 ac_cv_c_opensoundsystem_midi="yes"
9070 echo "$as_me: failed program was:" >&5
9071 cat conftest.$ac_ext >&5
9072 ac_cv_c_opensoundsystem_midi="no"
9074 rm -f conftest.$ac_objext conftest.$ac_ext
9076 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
9077 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
9079 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
9082 cat >>confdefs.h <<\_ACEOF
9083 #define HAVE_OSS_MIDI 1
9088 # Extract the first word of "artsc-config", so it can be a program name with args.
9089 set dummy artsc-config; ac_word=$2
9090 echo "$as_me:$LINENO: checking for $ac_word" >&5
9091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9092 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
9093 echo $ECHO_N "(cached) $ECHO_C" >&6
9095 case $ARTSCCONFIG in
9097 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
9100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9104 test -z "$as_dir" && as_dir=.
9105 for ac_exec_ext in '' $ac_executable_extensions; do
9106 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9107 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
9108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9117 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
9119 if test -n "$ARTSCCONFIG"; then
9120 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
9121 echo "${ECHO_T}$ARTSCCONFIG" >&6
9123 echo "$as_me:$LINENO: result: no" >&5
9124 echo "${ECHO_T}no" >&6
9127 echo "$as_me:$LINENO: checking for aRts Sound server" >&5
9128 echo $ECHO_N "checking for aRts Sound server... $ECHO_C" >&6
9129 if test "${ac_cv_c_artsserver+set}" = set; then
9130 echo $ECHO_N "(cached) $ECHO_C" >&6
9132 if test x$ARTSCCONFIG = x -o x$ARTSCCONFIG = x'"$ARTSCCONFIG"';
9134 ac_cv_c_artsserver=no
9136 ARTSC_CFLAGS=`$ARTSCCONFIG --cflags`
9137 ARTSC_LIBS=`$ARTSCCONFIG --libs`
9138 ac_cv_c_artsserver=no
9139 save_CFLAGS="$CFLAGS"
9140 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
9141 cat >conftest.$ac_ext <<_ACEOF
9142 #line $LINENO "configure"
9143 #include "confdefs.h"
9147 #ifdef F77_DUMMY_MAIN
9151 int F77_DUMMY_MAIN() { return 1; }
9157 arts_stream_t stream;
9163 rm -f conftest.$ac_objext
9164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9165 (eval $ac_compile) 2>&5
9167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9168 (exit $ac_status); } &&
9169 { ac_try='test -s conftest.$ac_objext'
9170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9174 (exit $ac_status); }; }; then
9176 ac_cv_c_artsserver=yes
9179 echo "$as_me: failed program was:" >&5
9180 cat conftest.$ac_ext >&5
9182 rm -f conftest.$ac_objext conftest.$ac_ext
9183 CFLAGS="$save_CFLAGS"
9186 echo "$as_me:$LINENO: result: $ac_cv_c_artsserver" >&5
9187 echo "${ECHO_T}$ac_cv_c_artsserver" >&6
9189 if test "$ac_cv_c_artsserver" = "yes"
9191 ARTSLIBS=$ARTSC_LIBS
9193 ARTSINCL=$ARTSC_CFLAGS
9197 cat >>confdefs.h <<\_ACEOF
9207 for ac_header in alsa/asoundlib.h sys/asoundlib.h
9209 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9211 echo "$as_me:$LINENO: checking for $ac_header" >&5
9212 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9213 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9214 echo $ECHO_N "(cached) $ECHO_C" >&6
9216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9217 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9219 # Is the header compilable?
9220 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9221 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9222 cat >conftest.$ac_ext <<_ACEOF
9223 #line $LINENO "configure"
9224 #include "confdefs.h"
9225 $ac_includes_default
9226 #include <$ac_header>
9228 rm -f conftest.$ac_objext
9229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9230 (eval $ac_compile) 2>&5
9232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9233 (exit $ac_status); } &&
9234 { ac_try='test -s conftest.$ac_objext'
9235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9239 (exit $ac_status); }; }; then
9240 ac_header_compiler=yes
9242 echo "$as_me: failed program was:" >&5
9243 cat conftest.$ac_ext >&5
9244 ac_header_compiler=no
9246 rm -f conftest.$ac_objext conftest.$ac_ext
9247 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9248 echo "${ECHO_T}$ac_header_compiler" >&6
9250 # Is the header present?
9251 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9252 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9253 cat >conftest.$ac_ext <<_ACEOF
9254 #line $LINENO "configure"
9255 #include "confdefs.h"
9256 #include <$ac_header>
9258 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9259 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9261 egrep -v '^ *\+' conftest.er1 >conftest.err
9263 cat conftest.err >&5
9264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9265 (exit $ac_status); } >/dev/null; then
9266 if test -s conftest.err; then
9267 ac_cpp_err=$ac_c_preproc_warn_flag
9274 if test -z "$ac_cpp_err"; then
9275 ac_header_preproc=yes
9277 echo "$as_me: failed program was:" >&5
9278 cat conftest.$ac_ext >&5
9279 ac_header_preproc=no
9281 rm -f conftest.err conftest.$ac_ext
9282 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9283 echo "${ECHO_T}$ac_header_preproc" >&6
9285 # So? What about this header?
9286 case $ac_header_compiler:$ac_header_preproc in
9288 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9289 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9290 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9291 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9293 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9294 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9295 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9296 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9297 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9298 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9300 echo "$as_me:$LINENO: checking for $ac_header" >&5
9301 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9302 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9303 echo $ECHO_N "(cached) $ECHO_C" >&6
9305 eval "$as_ac_Header=$ac_header_preproc"
9307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9308 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9311 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9312 cat >>confdefs.h <<_ACEOF
9313 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9320 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
9322 echo "$as_me:$LINENO: checking for snd_pcm_open in -lasound" >&5
9323 echo $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6
9324 if test "${ac_cv_lib_asound_snd_pcm_open+set}" = set; then
9325 echo $ECHO_N "(cached) $ECHO_C" >&6
9327 ac_check_lib_save_LIBS=$LIBS
9328 LIBS="-lasound $LIBS"
9329 cat >conftest.$ac_ext <<_ACEOF
9330 #line $LINENO "configure"
9331 #include "confdefs.h"
9333 /* Override any gcc2 internal prototype to avoid an error. */
9337 /* We use char because int might match the return type of a gcc2
9338 builtin and then its argument prototype would still apply. */
9339 char snd_pcm_open ();
9340 #ifdef F77_DUMMY_MAIN
9344 int F77_DUMMY_MAIN() { return 1; }
9354 rm -f conftest.$ac_objext conftest$ac_exeext
9355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9356 (eval $ac_link) 2>&5
9358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9359 (exit $ac_status); } &&
9360 { ac_try='test -s conftest$ac_exeext'
9361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9365 (exit $ac_status); }; }; then
9366 ac_cv_lib_asound_snd_pcm_open=yes
9368 echo "$as_me: failed program was:" >&5
9369 cat conftest.$ac_ext >&5
9370 ac_cv_lib_asound_snd_pcm_open=no
9372 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9373 LIBS=$ac_check_lib_save_LIBS
9375 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5
9376 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6
9377 if test $ac_cv_lib_asound_snd_pcm_open = yes; then
9379 cat >>confdefs.h <<\_ACEOF
9391 for ac_header in audio/audiolib.h
9393 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9394 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9395 echo "$as_me:$LINENO: checking for $ac_header" >&5
9396 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9397 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9398 echo $ECHO_N "(cached) $ECHO_C" >&6
9400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9401 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9403 # Is the header compilable?
9404 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9405 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9406 cat >conftest.$ac_ext <<_ACEOF
9407 #line $LINENO "configure"
9408 #include "confdefs.h"
9409 $ac_includes_default
9410 #include <$ac_header>
9412 rm -f conftest.$ac_objext
9413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9414 (eval $ac_compile) 2>&5
9416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9417 (exit $ac_status); } &&
9418 { ac_try='test -s conftest.$ac_objext'
9419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9423 (exit $ac_status); }; }; then
9424 ac_header_compiler=yes
9426 echo "$as_me: failed program was:" >&5
9427 cat conftest.$ac_ext >&5
9428 ac_header_compiler=no
9430 rm -f conftest.$ac_objext conftest.$ac_ext
9431 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9432 echo "${ECHO_T}$ac_header_compiler" >&6
9434 # Is the header present?
9435 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9436 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9437 cat >conftest.$ac_ext <<_ACEOF
9438 #line $LINENO "configure"
9439 #include "confdefs.h"
9440 #include <$ac_header>
9442 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9443 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9445 egrep -v '^ *\+' conftest.er1 >conftest.err
9447 cat conftest.err >&5
9448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9449 (exit $ac_status); } >/dev/null; then
9450 if test -s conftest.err; then
9451 ac_cpp_err=$ac_c_preproc_warn_flag
9458 if test -z "$ac_cpp_err"; then
9459 ac_header_preproc=yes
9461 echo "$as_me: failed program was:" >&5
9462 cat conftest.$ac_ext >&5
9463 ac_header_preproc=no
9465 rm -f conftest.err conftest.$ac_ext
9466 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9467 echo "${ECHO_T}$ac_header_preproc" >&6
9469 # So? What about this header?
9470 case $ac_header_compiler:$ac_header_preproc in
9472 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9473 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9474 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9475 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9477 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9478 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9479 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9480 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9481 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9482 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9484 echo "$as_me:$LINENO: checking for $ac_header" >&5
9485 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9487 echo $ECHO_N "(cached) $ECHO_C" >&6
9489 eval "$as_ac_Header=$ac_header_preproc"
9491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9492 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9495 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9496 cat >>confdefs.h <<_ACEOF
9497 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9500 for ac_header in audio/soundlib.h
9502 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9503 echo "$as_me:$LINENO: checking for $ac_header" >&5
9504 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9505 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9506 echo $ECHO_N "(cached) $ECHO_C" >&6
9508 cat >conftest.$ac_ext <<_ACEOF
9509 #line $LINENO "configure"
9510 #include "confdefs.h"
9511 #include <audio/audiolib.h>
9513 #include <$ac_header>
9515 rm -f conftest.$ac_objext
9516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9517 (eval $ac_compile) 2>&5
9519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9520 (exit $ac_status); } &&
9521 { ac_try='test -s conftest.$ac_objext'
9522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9526 (exit $ac_status); }; }; then
9527 eval "$as_ac_Header=yes"
9529 echo "$as_me: failed program was:" >&5
9530 cat conftest.$ac_ext >&5
9531 eval "$as_ac_Header=no"
9533 rm -f conftest.$ac_objext conftest.$ac_ext
9535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9536 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9537 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9538 cat >>confdefs.h <<_ACEOF
9539 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9546 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
9547 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
9548 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
9549 echo $ECHO_N "(cached) $ECHO_C" >&6
9551 ac_check_lib_save_LIBS=$LIBS
9552 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9553 cat >conftest.$ac_ext <<_ACEOF
9554 #line $LINENO "configure"
9555 #include "confdefs.h"
9557 /* Override any gcc2 internal prototype to avoid an error. */
9561 /* We use char because int might match the return type of a gcc2
9562 builtin and then its argument prototype would still apply. */
9563 char AuCreateFlow ();
9564 #ifdef F77_DUMMY_MAIN
9568 int F77_DUMMY_MAIN() { return 1; }
9578 rm -f conftest.$ac_objext conftest$ac_exeext
9579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9580 (eval $ac_link) 2>&5
9582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9583 (exit $ac_status); } &&
9584 { ac_try='test -s conftest$ac_exeext'
9585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9589 (exit $ac_status); }; }; then
9590 ac_cv_lib_audio_AuCreateFlow=yes
9592 echo "$as_me: failed program was:" >&5
9593 cat conftest.$ac_ext >&5
9594 ac_cv_lib_audio_AuCreateFlow=no
9596 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9597 LIBS=$ac_check_lib_save_LIBS
9599 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
9600 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
9601 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
9603 cat >>confdefs.h <<\_ACEOF
9607 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
9619 for ac_header in libaudioio.h
9621 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9622 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9623 echo "$as_me:$LINENO: checking for $ac_header" >&5
9624 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9625 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9626 echo $ECHO_N "(cached) $ECHO_C" >&6
9628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9629 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9631 # Is the header compilable?
9632 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9633 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9634 cat >conftest.$ac_ext <<_ACEOF
9635 #line $LINENO "configure"
9636 #include "confdefs.h"
9637 $ac_includes_default
9638 #include <$ac_header>
9640 rm -f conftest.$ac_objext
9641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9642 (eval $ac_compile) 2>&5
9644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9645 (exit $ac_status); } &&
9646 { ac_try='test -s conftest.$ac_objext'
9647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9651 (exit $ac_status); }; }; then
9652 ac_header_compiler=yes
9654 echo "$as_me: failed program was:" >&5
9655 cat conftest.$ac_ext >&5
9656 ac_header_compiler=no
9658 rm -f conftest.$ac_objext conftest.$ac_ext
9659 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9660 echo "${ECHO_T}$ac_header_compiler" >&6
9662 # Is the header present?
9663 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9664 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9665 cat >conftest.$ac_ext <<_ACEOF
9666 #line $LINENO "configure"
9667 #include "confdefs.h"
9668 #include <$ac_header>
9670 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9671 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9673 egrep -v '^ *\+' conftest.er1 >conftest.err
9675 cat conftest.err >&5
9676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9677 (exit $ac_status); } >/dev/null; then
9678 if test -s conftest.err; then
9679 ac_cpp_err=$ac_c_preproc_warn_flag
9686 if test -z "$ac_cpp_err"; then
9687 ac_header_preproc=yes
9689 echo "$as_me: failed program was:" >&5
9690 cat conftest.$ac_ext >&5
9691 ac_header_preproc=no
9693 rm -f conftest.err conftest.$ac_ext
9694 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9695 echo "${ECHO_T}$ac_header_preproc" >&6
9697 # So? What about this header?
9698 case $ac_header_compiler:$ac_header_preproc in
9700 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9701 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9702 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9703 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9705 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9706 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9707 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9708 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9709 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9710 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9712 echo "$as_me:$LINENO: checking for $ac_header" >&5
9713 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9714 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9715 echo $ECHO_N "(cached) $ECHO_C" >&6
9717 eval "$as_ac_Header=$ac_header_preproc"
9719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9720 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9723 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9724 cat >>confdefs.h <<_ACEOF
9725 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9727 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
9728 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
9729 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
9730 echo $ECHO_N "(cached) $ECHO_C" >&6
9732 ac_check_lib_save_LIBS=$LIBS
9733 LIBS="-laudioio $LIBS"
9734 cat >conftest.$ac_ext <<_ACEOF
9735 #line $LINENO "configure"
9736 #include "confdefs.h"
9738 /* Override any gcc2 internal prototype to avoid an error. */
9742 /* We use char because int might match the return type of a gcc2
9743 builtin and then its argument prototype would still apply. */
9744 char AudioIOGetVersion ();
9745 #ifdef F77_DUMMY_MAIN
9749 int F77_DUMMY_MAIN() { return 1; }
9754 AudioIOGetVersion ();
9759 rm -f conftest.$ac_objext conftest$ac_exeext
9760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9761 (eval $ac_link) 2>&5
9763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9764 (exit $ac_status); } &&
9765 { ac_try='test -s conftest$ac_exeext'
9766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9770 (exit $ac_status); }; }; then
9771 ac_cv_lib_audioio_AudioIOGetVersion=yes
9773 echo "$as_me: failed program was:" >&5
9774 cat conftest.$ac_ext >&5
9775 ac_cv_lib_audioio_AudioIOGetVersion=no
9777 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9778 LIBS=$ac_check_lib_save_LIBS
9780 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
9781 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
9782 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
9783 AUDIOIOLIBS="-laudioio"
9785 cat >>confdefs.h <<\_ACEOF
9786 #define HAVE_LIBAUDIOIO 1
9797 echo "$as_me:$LINENO: checking whether mmap64 works defined as mmap" >&5
9798 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
9799 if test "${ac_cv_mmap64_works+set}" = set; then
9800 echo $ECHO_N "(cached) $ECHO_C" >&6
9802 if test "$cross_compiling" = yes; then
9803 ac_cv_mmap64_works="no"
9805 cat >conftest.$ac_ext <<_ACEOF
9806 #line $LINENO "configure"
9807 #include "confdefs.h"
9809 #define _FILE_OFFSET_BITS 64
9813 #include <sys/mman.h>
9816 int main(int argc,char **argv) {
9817 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
9818 if (fd == -1) exit(1);
9820 unlink("conftest.map");
9824 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
9830 fprintf(stderr,"success!\n");
9836 rm -f conftest$ac_exeext
9837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9838 (eval $ac_link) 2>&5
9840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9841 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9846 (exit $ac_status); }; }; then
9847 ac_cv_mmap64_works="yes"
9849 echo "$as_me: program exited with status $ac_status" >&5
9850 echo "$as_me: failed program was:" >&5
9851 cat conftest.$ac_ext >&5
9853 ac_cv_mmap64_works="no"
9855 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9858 echo "$as_me:$LINENO: result: $ac_cv_mmap64_works" >&5
9859 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
9861 if test "$ac_cv_mmap64_works" = "yes"
9864 cat >>confdefs.h <<\_ACEOF
9865 #define _FILE_OFFSET_BITS 64
9871 if test "x${GCC}" = "xyes"
9873 CFLAGS="$CFLAGS -Wall"
9874 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
9875 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
9876 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
9877 echo $ECHO_N "(cached) $ECHO_C" >&6
9879 if test "$cross_compiling" = yes; then
9880 ac_cv_c_gcc_strength_bug="yes"
9882 cat >conftest.$ac_ext <<_ACEOF
9883 #line $LINENO "configure"
9884 #include "confdefs.h"
9886 int L[4] = {0,1,2,3};
9888 static int Array[3];
9891 for(i=0; i<B; i++) Array[i] = i - 3;
9892 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
9895 exit( Array[1] != -2 || L[2] != 3);
9898 rm -f conftest$ac_exeext
9899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9900 (eval $ac_link) 2>&5
9902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9903 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9908 (exit $ac_status); }; }; then
9909 ac_cv_c_gcc_strength_bug="no"
9911 echo "$as_me: program exited with status $ac_status" >&5
9912 echo "$as_me: failed program was:" >&5
9913 cat conftest.$ac_ext >&5
9915 ac_cv_c_gcc_strength_bug="yes"
9917 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9920 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
9921 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
9922 if test "$ac_cv_c_gcc_strength_bug" = "yes"
9924 CFLAGS="$CFLAGS -fno-strength-reduce"
9927 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
9928 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
9929 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
9930 echo $ECHO_N "(cached) $ECHO_C" >&6
9932 ac_wine_try_cflags_saved=$CFLAGS
9933 CFLAGS="$CFLAGS -mpreferred-stack-boundary=2"
9934 cat >conftest.$ac_ext <<_ACEOF
9935 #line $LINENO "configure"
9936 #include "confdefs.h"
9938 #ifdef F77_DUMMY_MAIN
9942 int F77_DUMMY_MAIN() { return 1; }
9952 rm -f conftest.$ac_objext conftest$ac_exeext
9953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9954 (eval $ac_link) 2>&5
9956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9957 (exit $ac_status); } &&
9958 { ac_try='test -s conftest$ac_exeext'
9959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9963 (exit $ac_status); }; }; then
9964 ac_cv_c_gcc_stack_boundary="yes"
9966 echo "$as_me: failed program was:" >&5
9967 cat conftest.$ac_ext >&5
9968 ac_cv_c_gcc_stack_boundary="no"
9970 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9971 CFLAGS=$ac_wine_try_cflags_saved
9973 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
9974 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
9975 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
9977 CFLAGS="$CFLAGS -mpreferred-stack-boundary=2"
9982 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
9983 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
9984 if test "${ac_cv_asm_func_def+set}" = set; then
9985 echo $ECHO_N "(cached) $ECHO_C" >&6
9987 cat >conftest.$ac_ext <<_ACEOF
9988 #line $LINENO "configure"
9989 #include "confdefs.h"
9990 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"); }
9992 #ifdef F77_DUMMY_MAIN
9996 int F77_DUMMY_MAIN() { return 1; }
10006 rm -f conftest.$ac_objext conftest$ac_exeext
10007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10008 (eval $ac_link) 2>&5
10010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10011 (exit $ac_status); } &&
10012 { ac_try='test -s conftest$ac_exeext'
10013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10014 (eval $ac_try) 2>&5
10016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10017 (exit $ac_status); }; }; then
10018 ac_cv_asm_func_def=".def"
10020 echo "$as_me: failed program was:" >&5
10021 cat conftest.$ac_ext >&5
10022 cat >conftest.$ac_ext <<_ACEOF
10023 #line $LINENO "configure"
10024 #include "confdefs.h"
10025 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
10027 #ifdef F77_DUMMY_MAIN
10028 # ifdef __cplusplus
10031 int F77_DUMMY_MAIN() { return 1; }
10041 rm -f conftest.$ac_objext conftest$ac_exeext
10042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10043 (eval $ac_link) 2>&5
10045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10046 (exit $ac_status); } &&
10047 { ac_try='test -s conftest$ac_exeext'
10048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10049 (eval $ac_try) 2>&5
10051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10052 (exit $ac_status); }; }; then
10053 ac_cv_asm_func_def=".type @function"
10055 echo "$as_me: failed program was:" >&5
10056 cat conftest.$ac_ext >&5
10057 cat >conftest.$ac_ext <<_ACEOF
10058 #line $LINENO "configure"
10059 #include "confdefs.h"
10060 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
10062 #ifdef F77_DUMMY_MAIN
10063 # ifdef __cplusplus
10066 int F77_DUMMY_MAIN() { return 1; }
10076 rm -f conftest.$ac_objext conftest$ac_exeext
10077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10078 (eval $ac_link) 2>&5
10080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10081 (exit $ac_status); } &&
10082 { ac_try='test -s conftest$ac_exeext'
10083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10084 (eval $ac_try) 2>&5
10086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10087 (exit $ac_status); }; }; then
10088 ac_cv_asm_func_def=".type 2"
10090 echo "$as_me: failed program was:" >&5
10091 cat conftest.$ac_ext >&5
10092 ac_cv_asm_func_def="unknown"
10094 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10096 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10098 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10100 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
10101 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
10105 case "$ac_cv_asm_func_def" in
10107 cat >>confdefs.h <<\_ACEOF
10108 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
10112 cat >>confdefs.h <<\_ACEOF
10113 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
10117 cat >>confdefs.h <<\_ACEOF
10118 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
10122 cat >>confdefs.h <<\_ACEOF
10123 #define __ASM_FUNC(name) ""
10129 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
10130 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
10131 if test "${ac_cv_c_extern_prefix+set}" = set; then
10132 echo $ECHO_N "(cached) $ECHO_C" >&6
10134 cat >conftest.$ac_ext <<_ACEOF
10135 #line $LINENO "configure"
10136 #include "confdefs.h"
10137 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
10138 extern int ac_test;
10139 #ifdef F77_DUMMY_MAIN
10140 # ifdef __cplusplus
10143 int F77_DUMMY_MAIN() { return 1; }
10148 if (ac_test) return 1
10153 rm -f conftest.$ac_objext conftest$ac_exeext
10154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10155 (eval $ac_link) 2>&5
10157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10158 (exit $ac_status); } &&
10159 { ac_try='test -s conftest$ac_exeext'
10160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10161 (eval $ac_try) 2>&5
10163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10164 (exit $ac_status); }; }; then
10165 ac_cv_c_extern_prefix="yes"
10167 echo "$as_me: failed program was:" >&5
10168 cat conftest.$ac_ext >&5
10169 ac_cv_c_extern_prefix="no"
10171 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10173 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
10174 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
10178 if test "$ac_cv_c_extern_prefix" = "yes"
10180 cat >>confdefs.h <<\_ACEOF
10181 #define __ASM_NAME(name) "_" name
10185 cat >>confdefs.h <<\_ACEOF
10186 #define __ASM_NAME(name) name
10192 echo "$as_me:$LINENO: checking whether stdcall symbols need to be decorated" >&5
10193 echo $ECHO_N "checking whether stdcall symbols need to be decorated... $ECHO_C" >&6
10194 if test "${ac_cv_c_stdcall_decoration+set}" = set; then
10195 echo $ECHO_N "(cached) $ECHO_C" >&6
10197 cat >conftest.$ac_ext <<_ACEOF
10198 #line $LINENO "configure"
10199 #include "confdefs.h"
10200 void ac_asm(void) { asm("\t.globl _ac_test@0\n_ac_test@0:\n\t.globl ac_test@0\nac_test@0:"); }
10201 extern void __attribute__((__stdcall__)) ac_test(void);
10202 #ifdef F77_DUMMY_MAIN
10203 # ifdef __cplusplus
10206 int F77_DUMMY_MAIN() { return 1; }
10216 rm -f conftest.$ac_objext conftest$ac_exeext
10217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10218 (eval $ac_link) 2>&5
10220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10221 (exit $ac_status); } &&
10222 { ac_try='test -s conftest$ac_exeext'
10223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10224 (eval $ac_try) 2>&5
10226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10227 (exit $ac_status); }; }; then
10228 ac_cv_c_stdcall_decoration="yes"
10230 echo "$as_me: failed program was:" >&5
10231 cat conftest.$ac_ext >&5
10232 ac_cv_c_stdcall_decoration="no"
10234 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10236 echo "$as_me:$LINENO: result: $ac_cv_c_stdcall_decoration" >&5
10237 echo "${ECHO_T}$ac_cv_c_stdcall_decoration" >&6
10238 if test "$ac_cv_c_stdcall_decoration" = "yes"
10241 cat >>confdefs.h <<\_ACEOF
10242 #define NEED_STDCALL_DECORATION 1
10248 echo "$as_me:$LINENO: checking whether assembler accepts .string" >&5
10249 echo $ECHO_N "checking whether assembler accepts .string... $ECHO_C" >&6
10250 if test "${ac_cv_c_asm_string+set}" = set; then
10251 echo $ECHO_N "(cached) $ECHO_C" >&6
10253 cat >conftest.$ac_ext <<_ACEOF
10254 #line $LINENO "configure"
10255 #include "confdefs.h"
10256 void ac_asm(void) { asm(".data\n\t.string \"test\"\n\t.text"); }
10258 #ifdef F77_DUMMY_MAIN
10259 # ifdef __cplusplus
10262 int F77_DUMMY_MAIN() { return 1; }
10272 rm -f conftest.$ac_objext conftest$ac_exeext
10273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10274 (eval $ac_link) 2>&5
10276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10277 (exit $ac_status); } &&
10278 { ac_try='test -s conftest$ac_exeext'
10279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10280 (eval $ac_try) 2>&5
10282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10283 (exit $ac_status); }; }; then
10284 ac_cv_c_asm_string="yes"
10286 echo "$as_me: failed program was:" >&5
10287 cat conftest.$ac_ext >&5
10288 ac_cv_c_asm_string="no"
10290 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10292 echo "$as_me:$LINENO: result: $ac_cv_c_asm_string" >&5
10293 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
10294 if test "$ac_cv_c_asm_string" = "yes"
10297 cat >>confdefs.h <<\_ACEOF
10298 #define HAVE_ASM_STRING 1
10317 if test -n "$ac_tool_prefix"; then
10318 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
10319 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
10320 echo "$as_me:$LINENO: checking for $ac_word" >&5
10321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10322 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
10323 echo $ECHO_N "(cached) $ECHO_C" >&6
10325 if test -n "$DLLWRAP"; then
10326 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
10328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10329 for as_dir in $PATH
10332 test -z "$as_dir" && as_dir=.
10333 for ac_exec_ext in '' $ac_executable_extensions; do
10334 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10335 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
10336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10344 DLLWRAP=$ac_cv_prog_DLLWRAP
10345 if test -n "$DLLWRAP"; then
10346 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
10347 echo "${ECHO_T}$DLLWRAP" >&6
10349 echo "$as_me:$LINENO: result: no" >&5
10350 echo "${ECHO_T}no" >&6
10354 if test -z "$ac_cv_prog_DLLWRAP"; then
10355 ac_ct_DLLWRAP=$DLLWRAP
10356 # Extract the first word of "dllwrap", so it can be a program name with args.
10357 set dummy dllwrap; ac_word=$2
10358 echo "$as_me:$LINENO: checking for $ac_word" >&5
10359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10360 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
10361 echo $ECHO_N "(cached) $ECHO_C" >&6
10363 if test -n "$ac_ct_DLLWRAP"; then
10364 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
10366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10367 for as_dir in $PATH
10370 test -z "$as_dir" && as_dir=.
10371 for ac_exec_ext in '' $ac_executable_extensions; do
10372 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10373 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
10374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10380 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP="false"
10383 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
10384 if test -n "$ac_ct_DLLWRAP"; then
10385 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
10386 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
10388 echo "$as_me:$LINENO: result: no" >&5
10389 echo "${ECHO_T}no" >&6
10392 DLLWRAP=$ac_ct_DLLWRAP
10394 DLLWRAP="$ac_cv_prog_DLLWRAP"
10397 if test "$DLLWRAP" = "false"; then
10405 for ac_header in dlfcn.h
10407 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10408 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10409 echo "$as_me:$LINENO: checking for $ac_header" >&5
10410 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10411 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10412 echo $ECHO_N "(cached) $ECHO_C" >&6
10414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10415 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10417 # Is the header compilable?
10418 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10419 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10420 cat >conftest.$ac_ext <<_ACEOF
10421 #line $LINENO "configure"
10422 #include "confdefs.h"
10423 $ac_includes_default
10424 #include <$ac_header>
10426 rm -f conftest.$ac_objext
10427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10428 (eval $ac_compile) 2>&5
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
10436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10437 (exit $ac_status); }; }; then
10438 ac_header_compiler=yes
10440 echo "$as_me: failed program was:" >&5
10441 cat conftest.$ac_ext >&5
10442 ac_header_compiler=no
10444 rm -f conftest.$ac_objext conftest.$ac_ext
10445 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10446 echo "${ECHO_T}$ac_header_compiler" >&6
10448 # Is the header present?
10449 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10450 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10451 cat >conftest.$ac_ext <<_ACEOF
10452 #line $LINENO "configure"
10453 #include "confdefs.h"
10454 #include <$ac_header>
10456 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10457 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10459 egrep -v '^ *\+' conftest.er1 >conftest.err
10461 cat conftest.err >&5
10462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10463 (exit $ac_status); } >/dev/null; then
10464 if test -s conftest.err; then
10465 ac_cpp_err=$ac_c_preproc_warn_flag
10472 if test -z "$ac_cpp_err"; then
10473 ac_header_preproc=yes
10475 echo "$as_me: failed program was:" >&5
10476 cat conftest.$ac_ext >&5
10477 ac_header_preproc=no
10479 rm -f conftest.err conftest.$ac_ext
10480 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10481 echo "${ECHO_T}$ac_header_preproc" >&6
10483 # So? What about this header?
10484 case $ac_header_compiler:$ac_header_preproc in
10486 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10487 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10488 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10489 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10491 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10492 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10493 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10494 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10495 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10496 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10498 echo "$as_me:$LINENO: checking for $ac_header" >&5
10499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10501 echo $ECHO_N "(cached) $ECHO_C" >&6
10503 eval "$as_ac_Header=$ac_header_preproc"
10505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10506 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10509 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10510 cat >>confdefs.h <<_ACEOF
10511 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10514 for ac_func in dlopen
10516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10517 echo "$as_me:$LINENO: checking for $ac_func" >&5
10518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10519 if eval "test \"\${$as_ac_var+set}\" = set"; then
10520 echo $ECHO_N "(cached) $ECHO_C" >&6
10522 cat >conftest.$ac_ext <<_ACEOF
10523 #line $LINENO "configure"
10524 #include "confdefs.h"
10525 /* System header to define __stub macros and hopefully few prototypes,
10526 which can conflict with char $ac_func (); below. */
10527 #include <assert.h>
10528 /* Override any gcc2 internal prototype to avoid an error. */
10532 /* We use char because int might match the return type of a gcc2
10533 builtin and then its argument prototype would still apply. */
10537 #ifdef F77_DUMMY_MAIN
10538 # ifdef __cplusplus
10541 int F77_DUMMY_MAIN() { return 1; }
10546 /* The GNU C library defines this for functions which it implements
10547 to always fail with ENOSYS. Some functions are actually named
10548 something starting with __ and the normal name is an alias. */
10549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10559 rm -f conftest.$ac_objext conftest$ac_exeext
10560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10561 (eval $ac_link) 2>&5
10563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10564 (exit $ac_status); } &&
10565 { ac_try='test -s conftest$ac_exeext'
10566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10567 (eval $ac_try) 2>&5
10569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10570 (exit $ac_status); }; }; then
10571 eval "$as_ac_var=yes"
10573 echo "$as_me: failed program was:" >&5
10574 cat conftest.$ac_ext >&5
10575 eval "$as_ac_var=no"
10577 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10581 if test `eval echo '${'$as_ac_var'}'` = yes; then
10582 cat >>confdefs.h <<_ACEOF
10583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10587 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10588 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10589 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10590 echo $ECHO_N "(cached) $ECHO_C" >&6
10592 ac_check_lib_save_LIBS=$LIBS
10594 cat >conftest.$ac_ext <<_ACEOF
10595 #line $LINENO "configure"
10596 #include "confdefs.h"
10598 /* Override any gcc2 internal prototype to avoid an error. */
10602 /* We use char because int might match the return type of a gcc2
10603 builtin and then its argument prototype would still apply. */
10605 #ifdef F77_DUMMY_MAIN
10606 # ifdef __cplusplus
10609 int F77_DUMMY_MAIN() { return 1; }
10619 rm -f conftest.$ac_objext conftest$ac_exeext
10620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10621 (eval $ac_link) 2>&5
10623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10624 (exit $ac_status); } &&
10625 { ac_try='test -s conftest$ac_exeext'
10626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10627 (eval $ac_try) 2>&5
10629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10630 (exit $ac_status); }; }; then
10631 ac_cv_lib_dl_dlopen=yes
10633 echo "$as_me: failed program was:" >&5
10634 cat conftest.$ac_ext >&5
10635 ac_cv_lib_dl_dlopen=no
10637 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10638 LIBS=$ac_check_lib_save_LIBS
10640 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10641 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10642 if test $ac_cv_lib_dl_dlopen = yes; then
10644 cat >>confdefs.h <<\_ACEOF
10645 #define HAVE_DLOPEN 1
10663 if test "$LIBEXT" = "so"
10667 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
10668 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
10669 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
10670 echo $ECHO_N "(cached) $ECHO_C" >&6
10672 ac_wine_try_cflags_saved=$CFLAGS
10673 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
10674 cat >conftest.$ac_ext <<_ACEOF
10675 #line $LINENO "configure"
10676 #include "confdefs.h"
10678 #ifdef F77_DUMMY_MAIN
10679 # ifdef __cplusplus
10682 int F77_DUMMY_MAIN() { return 1; }
10692 rm -f conftest.$ac_objext conftest$ac_exeext
10693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10694 (eval $ac_link) 2>&5
10696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10697 (exit $ac_status); } &&
10698 { ac_try='test -s conftest$ac_exeext'
10699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10700 (eval $ac_try) 2>&5
10702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10703 (exit $ac_status); }; }; then
10704 ac_cv_c_dll_gnuelf="yes"
10706 echo "$as_me: failed program was:" >&5
10707 cat conftest.$ac_ext >&5
10708 ac_cv_c_dll_gnuelf="no"
10710 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10711 CFLAGS=$ac_wine_try_cflags_saved
10713 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
10714 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
10715 if test "$ac_cv_c_dll_gnuelf" = "yes"
10717 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
10718 LDDLLFLAGS="-Wl,-Bsymbolic"
10720 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
10721 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
10722 if test "${ac_cv_c_dll_unixware+set}" = set; then
10723 echo $ECHO_N "(cached) $ECHO_C" >&6
10725 ac_wine_try_cflags_saved=$CFLAGS
10726 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
10727 cat >conftest.$ac_ext <<_ACEOF
10728 #line $LINENO "configure"
10729 #include "confdefs.h"
10731 #ifdef F77_DUMMY_MAIN
10732 # ifdef __cplusplus
10735 int F77_DUMMY_MAIN() { return 1; }
10745 rm -f conftest.$ac_objext conftest$ac_exeext
10746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10747 (eval $ac_link) 2>&5
10749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10750 (exit $ac_status); } &&
10751 { ac_try='test -s conftest$ac_exeext'
10752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10753 (eval $ac_try) 2>&5
10755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10756 (exit $ac_status); }; }; then
10757 ac_cv_c_dll_unixware="yes"
10759 echo "$as_me: failed program was:" >&5
10760 cat conftest.$ac_ext >&5
10761 ac_cv_c_dll_unixware="no"
10763 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10764 CFLAGS=$ac_wine_try_cflags_saved
10766 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
10767 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
10768 if test "$ac_cv_c_dll_unixware" = "yes"
10770 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
10771 LDDLLFLAGS="-Wl,-B,symbolic"
10778 if test "$cross_compiling" = "no"
10780 for ac_prog in i586-mingw32msvc-gcc
10782 # Extract the first word of "$ac_prog", so it can be a program name with args.
10783 set dummy $ac_prog; ac_word=$2
10784 echo "$as_me:$LINENO: checking for $ac_word" >&5
10785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10786 if test "${ac_cv_prog_CROSSCC+set}" = set; then
10787 echo $ECHO_N "(cached) $ECHO_C" >&6
10789 if test -n "$CROSSCC"; then
10790 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
10792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10793 for as_dir in $PATH
10796 test -z "$as_dir" && as_dir=.
10797 for ac_exec_ext in '' $ac_executable_extensions; do
10798 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10799 ac_cv_prog_CROSSCC="$ac_prog"
10800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10808 CROSSCC=$ac_cv_prog_CROSSCC
10809 if test -n "$CROSSCC"; then
10810 echo "$as_me:$LINENO: result: $CROSSCC" >&5
10811 echo "${ECHO_T}$CROSSCC" >&6
10813 echo "$as_me:$LINENO: result: no" >&5
10814 echo "${ECHO_T}no" >&6
10817 test -n "$CROSSCC" && break
10819 test -n "$CROSSCC" || CROSSCC="false"
10821 for ac_prog in i586-mingw32msvc-dlltool
10823 # Extract the first word of "$ac_prog", so it can be a program name with args.
10824 set dummy $ac_prog; ac_word=$2
10825 echo "$as_me:$LINENO: checking for $ac_word" >&5
10826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10827 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
10828 echo $ECHO_N "(cached) $ECHO_C" >&6
10830 if test -n "$DLLTOOL"; then
10831 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
10833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10834 for as_dir in $PATH
10837 test -z "$as_dir" && as_dir=.
10838 for ac_exec_ext in '' $ac_executable_extensions; do
10839 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10840 ac_cv_prog_DLLTOOL="$ac_prog"
10841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10849 DLLTOOL=$ac_cv_prog_DLLTOOL
10850 if test -n "$DLLTOOL"; then
10851 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
10852 echo "${ECHO_T}$DLLTOOL" >&6
10854 echo "$as_me:$LINENO: result: no" >&5
10855 echo "${ECHO_T}no" >&6
10858 test -n "$DLLTOOL" && break
10860 test -n "$DLLTOOL" || DLLTOOL="false"
10862 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
10867 if test "$LIBEXT" = "a"; then
10868 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
10869 It is currently not possible to build Wine without shared library
10870 (.so) support to allow transparent switch between .so and .dll files.
10871 If you are using Linux, you will need a newer binutils.
10873 echo "$as_me: error: could not find a way to build shared libraries.
10874 It is currently not possible to build Wine without shared library
10875 (.so) support to allow transparent switch between .so and .dll files.
10876 If you are using Linux, you will need a newer binutils.
10878 { (exit 1); exit 1; }; }
10883 LDPATH="PATH=\"\$(TOOLSDIR)/library:\$(TOOLSDIR)/unicode:\$\$PATH\""
10886 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/library:\$(TOOLSDIR)/unicode:\$\$LD_LIBRARY_PATH\""
10894 CRTLIBS="-lmsvcrt" ;;
10898 if test "$LIBEXT" = "so"
10900 # Extract the first word of "ldd", so it can be a program name with args.
10901 set dummy ldd; ac_word=$2
10902 echo "$as_me:$LINENO: checking for $ac_word" >&5
10903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10904 if test "${ac_cv_path_LDD+set}" = set; then
10905 echo $ECHO_N "(cached) $ECHO_C" >&6
10909 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
10912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10913 for as_dir in /sbin:/usr/sbin:$PATH
10916 test -z "$as_dir" && as_dir=.
10917 for ac_exec_ext in '' $ac_executable_extensions; do
10918 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10919 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
10920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10926 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
10930 LDD=$ac_cv_path_LDD
10932 if test -n "$LDD"; then
10933 echo "$as_me:$LINENO: result: $LDD" >&5
10934 echo "${ECHO_T}$LDD" >&6
10936 echo "$as_me:$LINENO: result: no" >&5
10937 echo "${ECHO_T}no" >&6
10941 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
10942 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
10943 if test "${ac_cv_lib_soname_X11+set}" = set; then
10944 echo $ECHO_N "(cached) $ECHO_C" >&6
10946 ac_get_soname_save_LIBS=$LIBS
10947 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10948 cat >conftest.$ac_ext <<_ACEOF
10949 #line $LINENO "configure"
10950 #include "confdefs.h"
10952 /* Override any gcc2 internal prototype to avoid an error. */
10956 /* We use char because int might match the return type of a gcc2
10957 builtin and then its argument prototype would still apply. */
10958 char XCreateWindow ();
10959 #ifdef F77_DUMMY_MAIN
10960 # ifdef __cplusplus
10963 int F77_DUMMY_MAIN() { return 1; }
10973 rm -f conftest.$ac_objext conftest$ac_exeext
10974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10975 (eval $ac_link) 2>&5
10977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10978 (exit $ac_status); } &&
10979 { ac_try='test -s conftest$ac_exeext'
10980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10981 (eval $ac_try) 2>&5
10983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10984 (exit $ac_status); }; }; then
10985 ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
10986 if test "x$ac_cv_lib_soname_X11" = "x"
10988 ac_cv_lib_soname_X11="libX11.so"
10991 echo "$as_me: failed program was:" >&5
10992 cat conftest.$ac_ext >&5
10993 ac_cv_lib_soname_X11="libX11.so"
10995 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10996 LIBS=$ac_get_soname_save_LIBS
10998 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
10999 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
11000 if test "x$ac_cv_lib_soname_X11" != xNONE
11002 cat >>confdefs.h <<_ACEOF
11003 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11007 echo "$as_me:$LINENO: checking for -lXext soname" >&5
11008 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
11009 if test "${ac_cv_lib_soname_Xext+set}" = set; then
11010 echo $ECHO_N "(cached) $ECHO_C" >&6
11012 ac_get_soname_save_LIBS=$LIBS
11013 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11014 cat >conftest.$ac_ext <<_ACEOF
11015 #line $LINENO "configure"
11016 #include "confdefs.h"
11018 /* Override any gcc2 internal prototype to avoid an error. */
11022 /* We use char because int might match the return type of a gcc2
11023 builtin and then its argument prototype would still apply. */
11024 char XextCreateExtension ();
11025 #ifdef F77_DUMMY_MAIN
11026 # ifdef __cplusplus
11029 int F77_DUMMY_MAIN() { return 1; }
11034 XextCreateExtension ();
11039 rm -f conftest.$ac_objext conftest$ac_exeext
11040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11041 (eval $ac_link) 2>&5
11043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11044 (exit $ac_status); } &&
11045 { ac_try='test -s conftest$ac_exeext'
11046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11047 (eval $ac_try) 2>&5
11049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11050 (exit $ac_status); }; }; then
11051 ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
11052 if test "x$ac_cv_lib_soname_Xext" = "x"
11054 ac_cv_lib_soname_Xext="libXext.so"
11057 echo "$as_me: failed program was:" >&5
11058 cat conftest.$ac_ext >&5
11059 ac_cv_lib_soname_Xext="libXext.so"
11061 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11062 LIBS=$ac_get_soname_save_LIBS
11064 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
11065 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
11066 if test "x$ac_cv_lib_soname_Xext" != xNONE
11068 cat >>confdefs.h <<_ACEOF
11069 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11073 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
11074 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
11075 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
11076 echo $ECHO_N "(cached) $ECHO_C" >&6
11078 ac_get_soname_save_LIBS=$LIBS
11079 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11080 cat >conftest.$ac_ext <<_ACEOF
11081 #line $LINENO "configure"
11082 #include "confdefs.h"
11084 /* Override any gcc2 internal prototype to avoid an error. */
11088 /* We use char because int might match the return type of a gcc2
11089 builtin and then its argument prototype would still apply. */
11090 char XRenderQueryExtension ();
11091 #ifdef F77_DUMMY_MAIN
11092 # ifdef __cplusplus
11095 int F77_DUMMY_MAIN() { return 1; }
11100 XRenderQueryExtension ();
11105 rm -f conftest.$ac_objext conftest$ac_exeext
11106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11107 (eval $ac_link) 2>&5
11109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11110 (exit $ac_status); } &&
11111 { ac_try='test -s conftest$ac_exeext'
11112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11113 (eval $ac_try) 2>&5
11115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11116 (exit $ac_status); }; }; then
11117 ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
11118 if test "x$ac_cv_lib_soname_Xrender" = "x"
11120 ac_cv_lib_soname_Xrender="libXrender.so"
11123 echo "$as_me: failed program was:" >&5
11124 cat conftest.$ac_ext >&5
11125 ac_cv_lib_soname_Xrender="libXrender.so"
11127 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11128 LIBS=$ac_get_soname_save_LIBS
11130 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
11131 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
11132 if test "x$ac_cv_lib_soname_Xrender" != xNONE
11134 cat >>confdefs.h <<_ACEOF
11135 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11139 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
11140 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
11141 if test "${ac_cv_lib_soname_freetype+set}" = set; then
11142 echo $ECHO_N "(cached) $ECHO_C" >&6
11144 ac_get_soname_save_LIBS=$LIBS
11145 LIBS="-lfreetype $X_LIBS $LIBS"
11146 cat >conftest.$ac_ext <<_ACEOF
11147 #line $LINENO "configure"
11148 #include "confdefs.h"
11150 /* Override any gcc2 internal prototype to avoid an error. */
11154 /* We use char because int might match the return type of a gcc2
11155 builtin and then its argument prototype would still apply. */
11156 char FT_Init_FreeType ();
11157 #ifdef F77_DUMMY_MAIN
11158 # ifdef __cplusplus
11161 int F77_DUMMY_MAIN() { return 1; }
11166 FT_Init_FreeType ();
11171 rm -f conftest.$ac_objext conftest$ac_exeext
11172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11173 (eval $ac_link) 2>&5
11175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11176 (exit $ac_status); } &&
11177 { ac_try='test -s conftest$ac_exeext'
11178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11179 (eval $ac_try) 2>&5
11181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11182 (exit $ac_status); }; }; then
11183 ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
11184 if test "x$ac_cv_lib_soname_freetype" = "x"
11186 ac_cv_lib_soname_freetype="libfreetype.so"
11189 echo "$as_me: failed program was:" >&5
11190 cat conftest.$ac_ext >&5
11191 ac_cv_lib_soname_freetype="libfreetype.so"
11193 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11194 LIBS=$ac_get_soname_save_LIBS
11196 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
11197 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
11198 if test "x$ac_cv_lib_soname_freetype" != xNONE
11200 cat >>confdefs.h <<_ACEOF
11201 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11208 wine_cv_libc_reentrant=no
11209 echo "$as_me:$LINENO: checking for reentrant libc: __errno_location" >&5
11210 echo $ECHO_N "checking for reentrant libc: __errno_location... $ECHO_C" >&6
11211 if test "${wine_cv_libc_r___errno_location+set}" = set; then
11212 echo $ECHO_N "(cached) $ECHO_C" >&6
11214 if test "$cross_compiling" = yes; then
11215 wine_cv_libc_r___errno_location=yes
11217 cat >conftest.$ac_ext <<_ACEOF
11218 #line $LINENO "configure"
11219 #include "confdefs.h"
11221 int *__errno_location(){return &myerrno;}
11222 main(){close(333); close(333); exit(!myerrno);}
11224 rm -f conftest$ac_exeext
11225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11226 (eval $ac_link) 2>&5
11228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11229 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11231 (eval $ac_try) 2>&5
11233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11234 (exit $ac_status); }; }; then
11235 wine_cv_libc_r___errno_location=yes
11237 echo "$as_me: program exited with status $ac_status" >&5
11238 echo "$as_me: failed program was:" >&5
11239 cat conftest.$ac_ext >&5
11240 ( exit $ac_status )
11241 wine_cv_libc_r___errno_location=no
11243 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11246 echo "$as_me:$LINENO: result: $wine_cv_libc_r___errno_location" >&5
11247 echo "${ECHO_T}$wine_cv_libc_r___errno_location" >&6
11248 if test "$wine_cv_libc_r___errno_location" = "yes"; then
11249 wine_cv_libc_reentrant=__errno_location
11251 echo "$as_me:$LINENO: checking for reentrant libc: __error" >&5
11252 echo $ECHO_N "checking for reentrant libc: __error... $ECHO_C" >&6
11253 if test "${wine_cv_libc_r___error+set}" = set; then
11254 echo $ECHO_N "(cached) $ECHO_C" >&6
11256 if test "$cross_compiling" = yes; then
11257 wine_cv_libc_r___error=yes
11259 cat >conftest.$ac_ext <<_ACEOF
11260 #line $LINENO "configure"
11261 #include "confdefs.h"
11263 int *__error(){return &myerrno;}
11264 main(){close(333); close(333); exit(!myerrno);}
11266 rm -f conftest$ac_exeext
11267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11268 (eval $ac_link) 2>&5
11270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11271 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11273 (eval $ac_try) 2>&5
11275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11276 (exit $ac_status); }; }; then
11277 wine_cv_libc_r___error=yes
11279 echo "$as_me: program exited with status $ac_status" >&5
11280 echo "$as_me: failed program was:" >&5
11281 cat conftest.$ac_ext >&5
11282 ( exit $ac_status )
11283 wine_cv_libc_r___error=no
11285 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11288 echo "$as_me:$LINENO: result: $wine_cv_libc_r___error" >&5
11289 echo "${ECHO_T}$wine_cv_libc_r___error" >&6
11290 if test "$wine_cv_libc_r___error" = "yes"; then
11291 wine_cv_libc_reentrant=__error
11293 echo "$as_me:$LINENO: checking for reentrant libc: ___errno" >&5
11294 echo $ECHO_N "checking for reentrant libc: ___errno... $ECHO_C" >&6
11295 if test "${wine_cv_libc_r____errno+set}" = set; then
11296 echo $ECHO_N "(cached) $ECHO_C" >&6
11298 if test "$cross_compiling" = yes; then
11299 wine_cv_libc_r____errno=yes
11301 cat >conftest.$ac_ext <<_ACEOF
11302 #line $LINENO "configure"
11303 #include "confdefs.h"
11305 int *___errno(){return &myerrno;}
11306 main(){close(333); close(333); exit(!myerrno);}
11308 rm -f conftest$ac_exeext
11309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11310 (eval $ac_link) 2>&5
11312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11313 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11315 (eval $ac_try) 2>&5
11317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11318 (exit $ac_status); }; }; then
11319 wine_cv_libc_r____errno=yes
11321 echo "$as_me: program exited with status $ac_status" >&5
11322 echo "$as_me: failed program was:" >&5
11323 cat conftest.$ac_ext >&5
11324 ( exit $ac_status )
11325 wine_cv_libc_r____errno=no
11327 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11330 echo "$as_me:$LINENO: result: $wine_cv_libc_r____errno" >&5
11331 echo "${ECHO_T}$wine_cv_libc_r____errno" >&6
11332 if test "$wine_cv_libc_r____errno" = "yes"; then
11333 wine_cv_libc_reentrant=___errno
11335 echo "$as_me:$LINENO: checking for reentrant libc: __thr_errno" >&5
11336 echo $ECHO_N "checking for reentrant libc: __thr_errno... $ECHO_C" >&6
11337 if test "${wine_cv_libc_r___thr_errno+set}" = set; then
11338 echo $ECHO_N "(cached) $ECHO_C" >&6
11340 if test "$cross_compiling" = yes; then
11341 wine_cv_libc_r___thr_errno=yes
11343 cat >conftest.$ac_ext <<_ACEOF
11344 #line $LINENO "configure"
11345 #include "confdefs.h"
11347 int *__thr_errno(){return &myerrno;}
11348 main(){close(333); close(333); exit(!myerrno);}
11350 rm -f conftest$ac_exeext
11351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11352 (eval $ac_link) 2>&5
11354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11355 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11357 (eval $ac_try) 2>&5
11359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11360 (exit $ac_status); }; }; then
11361 wine_cv_libc_r___thr_errno=yes
11363 echo "$as_me: program exited with status $ac_status" >&5
11364 echo "$as_me: failed program was:" >&5
11365 cat conftest.$ac_ext >&5
11366 ( exit $ac_status )
11367 wine_cv_libc_r___thr_errno=no
11369 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11372 echo "$as_me:$LINENO: result: $wine_cv_libc_r___thr_errno" >&5
11373 echo "${ECHO_T}$wine_cv_libc_r___thr_errno" >&6
11374 if test "$wine_cv_libc_r___thr_errno" = "yes"; then
11375 wine_cv_libc_reentrant=__thr_errno
11377 echo "$as_me:$LINENO: checking for reentrant libc: __errno" >&5
11378 echo $ECHO_N "checking for reentrant libc: __errno... $ECHO_C" >&6
11379 if test "${wine_cv_libc_r___errno+set}" = set; then
11380 echo $ECHO_N "(cached) $ECHO_C" >&6
11382 if test "$cross_compiling" = yes; then
11383 wine_cv_libc_r___errno=yes
11385 cat >conftest.$ac_ext <<_ACEOF
11386 #line $LINENO "configure"
11387 #include "confdefs.h"
11389 int *__errno(){return &myerrno;}
11390 main(){close(333); close(333); exit(!myerrno);}
11392 rm -f conftest$ac_exeext
11393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11394 (eval $ac_link) 2>&5
11396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11397 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11399 (eval $ac_try) 2>&5
11401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11402 (exit $ac_status); }; }; then
11403 wine_cv_libc_r___errno=yes
11405 echo "$as_me: program exited with status $ac_status" >&5
11406 echo "$as_me: failed program was:" >&5
11407 cat conftest.$ac_ext >&5
11408 ( exit $ac_status )
11409 wine_cv_libc_r___errno=no
11411 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11414 echo "$as_me:$LINENO: result: $wine_cv_libc_r___errno" >&5
11415 echo "${ECHO_T}$wine_cv_libc_r___errno" >&6
11416 if test "$wine_cv_libc_r___errno" = "yes"; then
11417 wine_cv_libc_reentrant=__errno
11430 if test "$wine_cv_libc_reentrant" != "no"
11433 cat >>confdefs.h <<_ACEOF
11434 #define ERRNO_LOCATION $wine_cv_libc_reentrant
11440 if test "$have_x" = "yes"
11442 echo "$as_me:$LINENO: checking for reentrant X libraries" >&5
11443 echo $ECHO_N "checking for reentrant X libraries... $ECHO_C" >&6
11444 if test "${wine_cv_x_reentrant+set}" = set; then
11445 echo $ECHO_N "(cached) $ECHO_C" >&6
11448 for dir in "$x_libraries" /usr/lib /usr/local/lib /lib; do
11449 if test -r $dir/libX11.so; then
11450 libX11_check="-D $dir/libX11.so"
11453 if test -r $dir/libX11.a; then
11454 libX11_check="$dir/libX11.a"
11458 if test "$libX11_check" != "none"; then
11459 if nm $libX11_check | grep $wine_cv_libc_reentrant >/dev/null 2>&1
11461 wine_cv_x_reentrant=yes
11463 wine_cv_x_reentrant=no
11466 wine_cv_x_reentrant=unknown
11469 echo "$as_me:$LINENO: result: $wine_cv_x_reentrant" >&5
11470 echo "${ECHO_T}$wine_cv_x_reentrant" >&6
11474 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
11475 # for constant arguments. Useless!
11476 echo "$as_me:$LINENO: checking for working alloca.h" >&5
11477 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
11478 if test "${ac_cv_working_alloca_h+set}" = set; then
11479 echo $ECHO_N "(cached) $ECHO_C" >&6
11481 cat >conftest.$ac_ext <<_ACEOF
11482 #line $LINENO "configure"
11483 #include "confdefs.h"
11484 #include <alloca.h>
11485 #ifdef F77_DUMMY_MAIN
11486 # ifdef __cplusplus
11489 int F77_DUMMY_MAIN() { return 1; }
11494 char *p = (char *) alloca (2 * sizeof (int));
11499 rm -f conftest.$ac_objext conftest$ac_exeext
11500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11501 (eval $ac_link) 2>&5
11503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11504 (exit $ac_status); } &&
11505 { ac_try='test -s conftest$ac_exeext'
11506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11507 (eval $ac_try) 2>&5
11509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11510 (exit $ac_status); }; }; then
11511 ac_cv_working_alloca_h=yes
11513 echo "$as_me: failed program was:" >&5
11514 cat conftest.$ac_ext >&5
11515 ac_cv_working_alloca_h=no
11517 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11519 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
11520 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
11521 if test $ac_cv_working_alloca_h = yes; then
11523 cat >>confdefs.h <<\_ACEOF
11524 #define HAVE_ALLOCA_H 1
11529 echo "$as_me:$LINENO: checking for alloca" >&5
11530 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
11531 if test "${ac_cv_func_alloca_works+set}" = set; then
11532 echo $ECHO_N "(cached) $ECHO_C" >&6
11534 cat >conftest.$ac_ext <<_ACEOF
11535 #line $LINENO "configure"
11536 #include "confdefs.h"
11538 # define alloca __builtin_alloca
11541 # include <malloc.h>
11542 # define alloca _alloca
11545 # include <alloca.h>
11550 # ifndef alloca /* predefined by HP cc +Olibcalls */
11558 #ifdef F77_DUMMY_MAIN
11559 # ifdef __cplusplus
11562 int F77_DUMMY_MAIN() { return 1; }
11567 char *p = (char *) alloca (1);
11572 rm -f conftest.$ac_objext conftest$ac_exeext
11573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11574 (eval $ac_link) 2>&5
11576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11577 (exit $ac_status); } &&
11578 { ac_try='test -s conftest$ac_exeext'
11579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11580 (eval $ac_try) 2>&5
11582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11583 (exit $ac_status); }; }; then
11584 ac_cv_func_alloca_works=yes
11586 echo "$as_me: failed program was:" >&5
11587 cat conftest.$ac_ext >&5
11588 ac_cv_func_alloca_works=no
11590 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11592 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
11593 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
11595 if test $ac_cv_func_alloca_works = yes; then
11597 cat >>confdefs.h <<\_ACEOF
11598 #define HAVE_ALLOCA 1
11602 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
11603 # that cause trouble. Some versions do not even contain alloca or
11604 # contain a buggy version. If you still want to use their alloca,
11605 # use ar to extract alloca.o from them instead of compiling alloca.c.
11607 ALLOCA=alloca.$ac_objext
11609 cat >>confdefs.h <<\_ACEOF
11614 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
11615 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
11616 if test "${ac_cv_os_cray+set}" = set; then
11617 echo $ECHO_N "(cached) $ECHO_C" >&6
11619 cat >conftest.$ac_ext <<_ACEOF
11620 #line $LINENO "configure"
11621 #include "confdefs.h"
11622 #if defined(CRAY) && ! defined(CRAY2)
11629 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11630 egrep "webecray" >/dev/null 2>&1; then
11638 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
11639 echo "${ECHO_T}$ac_cv_os_cray" >&6
11640 if test $ac_cv_os_cray = yes; then
11641 for ac_func in _getb67 GETB67 getb67; do
11642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11643 echo "$as_me:$LINENO: checking for $ac_func" >&5
11644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11645 if eval "test \"\${$as_ac_var+set}\" = set"; then
11646 echo $ECHO_N "(cached) $ECHO_C" >&6
11648 cat >conftest.$ac_ext <<_ACEOF
11649 #line $LINENO "configure"
11650 #include "confdefs.h"
11651 /* System header to define __stub macros and hopefully few prototypes,
11652 which can conflict with char $ac_func (); below. */
11653 #include <assert.h>
11654 /* Override any gcc2 internal prototype to avoid an error. */
11658 /* We use char because int might match the return type of a gcc2
11659 builtin and then its argument prototype would still apply. */
11663 #ifdef F77_DUMMY_MAIN
11664 # ifdef __cplusplus
11667 int F77_DUMMY_MAIN() { return 1; }
11672 /* The GNU C library defines this for functions which it implements
11673 to always fail with ENOSYS. Some functions are actually named
11674 something starting with __ and the normal name is an alias. */
11675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11685 rm -f conftest.$ac_objext conftest$ac_exeext
11686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11687 (eval $ac_link) 2>&5
11689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11690 (exit $ac_status); } &&
11691 { ac_try='test -s conftest$ac_exeext'
11692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11693 (eval $ac_try) 2>&5
11695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11696 (exit $ac_status); }; }; then
11697 eval "$as_ac_var=yes"
11699 echo "$as_me: failed program was:" >&5
11700 cat conftest.$ac_ext >&5
11701 eval "$as_ac_var=no"
11703 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11706 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11707 if test `eval echo '${'$as_ac_var'}'` = yes; then
11709 cat >>confdefs.h <<_ACEOF
11710 #define CRAY_STACKSEG_END $ac_func
11719 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
11720 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
11721 if test "${ac_cv_c_stack_direction+set}" = set; then
11722 echo $ECHO_N "(cached) $ECHO_C" >&6
11724 if test "$cross_compiling" = yes; then
11725 ac_cv_c_stack_direction=0
11727 cat >conftest.$ac_ext <<_ACEOF
11728 #line $LINENO "configure"
11729 #include "confdefs.h"
11731 find_stack_direction ()
11733 static char *addr = 0;
11738 return find_stack_direction ();
11741 return (&dummy > addr) ? 1 : -1;
11747 exit (find_stack_direction () < 0);
11750 rm -f conftest$ac_exeext
11751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11752 (eval $ac_link) 2>&5
11754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11755 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11757 (eval $ac_try) 2>&5
11759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11760 (exit $ac_status); }; }; then
11761 ac_cv_c_stack_direction=1
11763 echo "$as_me: program exited with status $ac_status" >&5
11764 echo "$as_me: failed program was:" >&5
11765 cat conftest.$ac_ext >&5
11766 ( exit $ac_status )
11767 ac_cv_c_stack_direction=-1
11769 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11772 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
11773 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
11775 cat >>confdefs.h <<_ACEOF
11776 #define STACK_DIRECTION $ac_cv_c_stack_direction
11881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11882 echo "$as_me:$LINENO: checking for $ac_func" >&5
11883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11884 if eval "test \"\${$as_ac_var+set}\" = set"; then
11885 echo $ECHO_N "(cached) $ECHO_C" >&6
11887 cat >conftest.$ac_ext <<_ACEOF
11888 #line $LINENO "configure"
11889 #include "confdefs.h"
11890 /* System header to define __stub macros and hopefully few prototypes,
11891 which can conflict with char $ac_func (); below. */
11892 #include <assert.h>
11893 /* Override any gcc2 internal prototype to avoid an error. */
11897 /* We use char because int might match the return type of a gcc2
11898 builtin and then its argument prototype would still apply. */
11902 #ifdef F77_DUMMY_MAIN
11903 # ifdef __cplusplus
11906 int F77_DUMMY_MAIN() { return 1; }
11911 /* The GNU C library defines this for functions which it implements
11912 to always fail with ENOSYS. Some functions are actually named
11913 something starting with __ and the normal name is an alias. */
11914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11924 rm -f conftest.$ac_objext conftest$ac_exeext
11925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11926 (eval $ac_link) 2>&5
11928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11929 (exit $ac_status); } &&
11930 { ac_try='test -s conftest$ac_exeext'
11931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11932 (eval $ac_try) 2>&5
11934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11935 (exit $ac_status); }; }; then
11936 eval "$as_ac_var=yes"
11938 echo "$as_me: failed program was:" >&5
11939 cat conftest.$ac_ext >&5
11940 eval "$as_ac_var=no"
11942 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11946 if test `eval echo '${'$as_ac_var'}'` = yes; then
11947 cat >>confdefs.h <<_ACEOF
11948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12046 netinet/in_systm.h \
12095 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12097 echo "$as_me:$LINENO: checking for $ac_header" >&5
12098 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12099 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12100 echo $ECHO_N "(cached) $ECHO_C" >&6
12102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12103 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12105 # Is the header compilable?
12106 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12107 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12108 cat >conftest.$ac_ext <<_ACEOF
12109 #line $LINENO "configure"
12110 #include "confdefs.h"
12111 $ac_includes_default
12112 #include <$ac_header>
12114 rm -f conftest.$ac_objext
12115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12116 (eval $ac_compile) 2>&5
12118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12119 (exit $ac_status); } &&
12120 { ac_try='test -s conftest.$ac_objext'
12121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12122 (eval $ac_try) 2>&5
12124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12125 (exit $ac_status); }; }; then
12126 ac_header_compiler=yes
12128 echo "$as_me: failed program was:" >&5
12129 cat conftest.$ac_ext >&5
12130 ac_header_compiler=no
12132 rm -f conftest.$ac_objext conftest.$ac_ext
12133 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12134 echo "${ECHO_T}$ac_header_compiler" >&6
12136 # Is the header present?
12137 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12138 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12139 cat >conftest.$ac_ext <<_ACEOF
12140 #line $LINENO "configure"
12141 #include "confdefs.h"
12142 #include <$ac_header>
12144 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12145 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12147 egrep -v '^ *\+' conftest.er1 >conftest.err
12149 cat conftest.err >&5
12150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12151 (exit $ac_status); } >/dev/null; then
12152 if test -s conftest.err; then
12153 ac_cpp_err=$ac_c_preproc_warn_flag
12160 if test -z "$ac_cpp_err"; then
12161 ac_header_preproc=yes
12163 echo "$as_me: failed program was:" >&5
12164 cat conftest.$ac_ext >&5
12165 ac_header_preproc=no
12167 rm -f conftest.err conftest.$ac_ext
12168 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12169 echo "${ECHO_T}$ac_header_preproc" >&6
12171 # So? What about this header?
12172 case $ac_header_compiler:$ac_header_preproc in
12174 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12175 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12176 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12177 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12179 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12180 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12181 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12182 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12183 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12184 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12186 echo "$as_me:$LINENO: checking for $ac_header" >&5
12187 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12188 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12189 echo $ECHO_N "(cached) $ECHO_C" >&6
12191 eval "$as_ac_Header=$ac_header_preproc"
12193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12194 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12197 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12198 cat >>confdefs.h <<_ACEOF
12199 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12206 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
12207 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
12208 if test "${ac_cv_header_stat_broken+set}" = set; then
12209 echo $ECHO_N "(cached) $ECHO_C" >&6
12211 cat >conftest.$ac_ext <<_ACEOF
12212 #line $LINENO "configure"
12213 #include "confdefs.h"
12214 #include <sys/types.h>
12215 #include <sys/stat.h>
12217 #if defined(S_ISBLK) && defined(S_IFDIR)
12218 # if S_ISBLK (S_IFDIR)
12223 #if defined(S_ISBLK) && defined(S_IFCHR)
12224 # if S_ISBLK (S_IFCHR)
12229 #if defined(S_ISLNK) && defined(S_IFREG)
12230 # if S_ISLNK (S_IFREG)
12235 #if defined(S_ISSOCK) && defined(S_IFREG)
12236 # if S_ISSOCK (S_IFREG)
12242 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12243 egrep "You lose" >/dev/null 2>&1; then
12244 ac_cv_header_stat_broken=yes
12246 ac_cv_header_stat_broken=no
12251 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
12252 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
12253 if test $ac_cv_header_stat_broken = yes; then
12255 cat >>confdefs.h <<\_ACEOF
12256 #define STAT_MACROS_BROKEN 1
12263 for ac_header in net/if.h
12265 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12266 echo "$as_me:$LINENO: checking for $ac_header" >&5
12267 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12268 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12269 echo $ECHO_N "(cached) $ECHO_C" >&6
12271 cat >conftest.$ac_ext <<_ACEOF
12272 #line $LINENO "configure"
12273 #include "confdefs.h"
12274 #if HAVE_SYS_TYPES_H
12275 # include <sys/types.h>
12277 #if HAVE_SYS_SOCKET_H
12278 # include <sys/socket.h>
12281 #include <$ac_header>
12283 rm -f conftest.$ac_objext
12284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12285 (eval $ac_compile) 2>&5
12287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12288 (exit $ac_status); } &&
12289 { ac_try='test -s conftest.$ac_objext'
12290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12291 (eval $ac_try) 2>&5
12293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12294 (exit $ac_status); }; }; then
12295 eval "$as_ac_Header=yes"
12297 echo "$as_me: failed program was:" >&5
12298 cat conftest.$ac_ext >&5
12299 eval "$as_ac_Header=no"
12301 rm -f conftest.$ac_objext conftest.$ac_ext
12303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12304 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12305 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12306 cat >>confdefs.h <<_ACEOF
12307 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12316 for ac_header in netinet/ip.h
12318 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12319 echo "$as_me:$LINENO: checking for $ac_header" >&5
12320 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12321 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12322 echo $ECHO_N "(cached) $ECHO_C" >&6
12324 cat >conftest.$ac_ext <<_ACEOF
12325 #line $LINENO "configure"
12326 #include "confdefs.h"
12327 #if HAVE_SYS_SOCKET_H
12328 # include <sys/socket.h>
12330 #if HAVE_NETINET_IN_SYSTM_H
12331 # include <netinet/in_systm.h>
12334 #include <$ac_header>
12336 rm -f conftest.$ac_objext
12337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12338 (eval $ac_compile) 2>&5
12340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12341 (exit $ac_status); } &&
12342 { ac_try='test -s conftest.$ac_objext'
12343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12344 (eval $ac_try) 2>&5
12346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12347 (exit $ac_status); }; }; then
12348 eval "$as_ac_Header=yes"
12350 echo "$as_me: failed program was:" >&5
12351 cat conftest.$ac_ext >&5
12352 eval "$as_ac_Header=no"
12354 rm -f conftest.$ac_objext conftest.$ac_ext
12356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12357 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12358 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12359 cat >>confdefs.h <<_ACEOF
12360 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12369 for ac_header in resolv.h
12371 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12372 echo "$as_me:$LINENO: checking for $ac_header" >&5
12373 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12374 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12375 echo $ECHO_N "(cached) $ECHO_C" >&6
12377 cat >conftest.$ac_ext <<_ACEOF
12378 #line $LINENO "configure"
12379 #include "confdefs.h"
12380 #if HAVE_SYS_SOCKET_H
12381 # include <sys/socket.h>
12384 #include <$ac_header>
12386 rm -f conftest.$ac_objext
12387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12388 (eval $ac_compile) 2>&5
12390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12391 (exit $ac_status); } &&
12392 { ac_try='test -s conftest.$ac_objext'
12393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12394 (eval $ac_try) 2>&5
12396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12397 (exit $ac_status); }; }; then
12398 eval "$as_ac_Header=yes"
12400 echo "$as_me: failed program was:" >&5
12401 cat conftest.$ac_ext >&5
12402 eval "$as_ac_Header=no"
12404 rm -f conftest.$ac_objext conftest.$ac_ext
12406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12407 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12408 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12409 cat >>confdefs.h <<_ACEOF
12410 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12419 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12420 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12421 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12422 echo $ECHO_N "(cached) $ECHO_C" >&6
12424 ac_cv_prog_cc_stdc=no
12426 cat >conftest.$ac_ext <<_ACEOF
12427 #line $LINENO "configure"
12428 #include "confdefs.h"
12429 #include <stdarg.h>
12431 #include <sys/types.h>
12432 #include <sys/stat.h>
12433 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12434 struct buf { int x; };
12435 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12436 static char *e (p, i)
12442 static char *f (char * (*g) (char **, int), char **p, ...)
12447 s = g (p, va_arg (v,int));
12451 int test (int i, double x);
12452 struct s1 {int (*f) (int a);};
12453 struct s2 {int (*f) (double a);};
12454 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12457 #ifdef F77_DUMMY_MAIN
12458 # ifdef __cplusplus
12461 int F77_DUMMY_MAIN() { return 1; }
12466 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12471 # Don't try gcc -ansi; that turns off useful extensions and
12472 # breaks some systems' header files.
12473 # AIX -qlanglvl=ansi
12474 # Ultrix and OSF/1 -std1
12475 # HP-UX 10.20 and later -Ae
12476 # HP-UX older versions -Aa -D_HPUX_SOURCE
12477 # SVR4 -Xc -D__EXTENSIONS__
12478 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12480 CC="$ac_save_CC $ac_arg"
12481 rm -f conftest.$ac_objext
12482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12483 (eval $ac_compile) 2>&5
12485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12486 (exit $ac_status); } &&
12487 { ac_try='test -s conftest.$ac_objext'
12488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12489 (eval $ac_try) 2>&5
12491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12492 (exit $ac_status); }; }; then
12493 ac_cv_prog_cc_stdc=$ac_arg
12496 echo "$as_me: failed program was:" >&5
12497 cat conftest.$ac_ext >&5
12499 rm -f conftest.$ac_objext
12501 rm -f conftest.$ac_ext conftest.$ac_objext
12506 case "x$ac_cv_prog_cc_stdc" in
12508 echo "$as_me:$LINENO: result: none needed" >&5
12509 echo "${ECHO_T}none needed" >&6 ;;
12511 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12512 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12513 CC="$CC $ac_cv_prog_cc_stdc" ;;
12516 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
12517 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
12518 if test "${ac_cv_c_const+set}" = set; then
12519 echo $ECHO_N "(cached) $ECHO_C" >&6
12521 cat >conftest.$ac_ext <<_ACEOF
12522 #line $LINENO "configure"
12523 #include "confdefs.h"
12525 #ifdef F77_DUMMY_MAIN
12526 # ifdef __cplusplus
12529 int F77_DUMMY_MAIN() { return 1; }
12534 /* FIXME: Include the comments suggested by Paul. */
12535 #ifndef __cplusplus
12536 /* Ultrix mips cc rejects this. */
12537 typedef int charset[2];
12539 /* SunOS 4.1.1 cc rejects this. */
12540 char const *const *ccp;
12542 /* NEC SVR4.0.2 mips cc rejects this. */
12543 struct point {int x, y;};
12544 static struct point const zero = {0,0};
12545 /* AIX XL C 1.02.0.0 rejects this.
12546 It does not let you subtract one const X* pointer from another in
12547 an arm of an if-expression whose if-part is not a constant
12549 const char *g = "string";
12550 ccp = &g + (g ? g-g : 0);
12551 /* HPUX 7.0 cc rejects these. */
12554 ccp = (char const *const *) p;
12555 { /* SCO 3.2v4 cc rejects this. */
12557 char const *s = 0 ? (char *) 0 : (char const *) 0;
12561 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12562 int x[] = {25, 17};
12563 const int *foo = &x[0];
12566 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12567 typedef const int *iptr;
12571 { /* AIX XL C 1.02.0.0 rejects this saying
12572 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12573 struct s { int j; const int *ap[3]; };
12574 struct s *b; b->j = 5;
12576 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12577 const int foo = 10;
12585 rm -f conftest.$ac_objext
12586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12587 (eval $ac_compile) 2>&5
12589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12590 (exit $ac_status); } &&
12591 { ac_try='test -s conftest.$ac_objext'
12592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12593 (eval $ac_try) 2>&5
12595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12596 (exit $ac_status); }; }; then
12599 echo "$as_me: failed program was:" >&5
12600 cat conftest.$ac_ext >&5
12603 rm -f conftest.$ac_objext conftest.$ac_ext
12605 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
12606 echo "${ECHO_T}$ac_cv_c_const" >&6
12607 if test $ac_cv_c_const = no; then
12609 cat >>confdefs.h <<\_ACEOF
12615 echo "$as_me:$LINENO: checking for inline" >&5
12616 echo $ECHO_N "checking for inline... $ECHO_C" >&6
12617 if test "${ac_cv_c_inline+set}" = set; then
12618 echo $ECHO_N "(cached) $ECHO_C" >&6
12621 for ac_kw in inline __inline__ __inline; do
12622 cat >conftest.$ac_ext <<_ACEOF
12623 #line $LINENO "configure"
12624 #include "confdefs.h"
12625 #ifndef __cplusplus
12626 static $ac_kw int static_foo () {return 0; }
12627 $ac_kw int foo () {return 0; }
12631 rm -f conftest.$ac_objext
12632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12633 (eval $ac_compile) 2>&5
12635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12636 (exit $ac_status); } &&
12637 { ac_try='test -s conftest.$ac_objext'
12638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12639 (eval $ac_try) 2>&5
12641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12642 (exit $ac_status); }; }; then
12643 ac_cv_c_inline=$ac_kw; break
12645 echo "$as_me: failed program was:" >&5
12646 cat conftest.$ac_ext >&5
12648 rm -f conftest.$ac_objext conftest.$ac_ext
12652 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
12653 echo "${ECHO_T}$ac_cv_c_inline" >&6
12654 case $ac_cv_c_inline in
12657 cat >>confdefs.h <<\_ACEOF
12661 *) cat >>confdefs.h <<_ACEOF
12662 #define inline $ac_cv_c_inline
12667 echo "$as_me:$LINENO: checking for mode_t" >&5
12668 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
12669 if test "${ac_cv_type_mode_t+set}" = set; then
12670 echo $ECHO_N "(cached) $ECHO_C" >&6
12672 cat >conftest.$ac_ext <<_ACEOF
12673 #line $LINENO "configure"
12674 #include "confdefs.h"
12675 $ac_includes_default
12676 #ifdef F77_DUMMY_MAIN
12677 # ifdef __cplusplus
12680 int F77_DUMMY_MAIN() { return 1; }
12687 if (sizeof (mode_t))
12693 rm -f conftest.$ac_objext
12694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12695 (eval $ac_compile) 2>&5
12697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12698 (exit $ac_status); } &&
12699 { ac_try='test -s conftest.$ac_objext'
12700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12701 (eval $ac_try) 2>&5
12703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12704 (exit $ac_status); }; }; then
12705 ac_cv_type_mode_t=yes
12707 echo "$as_me: failed program was:" >&5
12708 cat conftest.$ac_ext >&5
12709 ac_cv_type_mode_t=no
12711 rm -f conftest.$ac_objext conftest.$ac_ext
12713 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
12714 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
12715 if test $ac_cv_type_mode_t = yes; then
12717 cat >>confdefs.h <<_ACEOF
12718 #define HAVE_MODE_T 1
12723 echo "$as_me:$LINENO: checking for off_t" >&5
12724 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
12725 if test "${ac_cv_type_off_t+set}" = set; then
12726 echo $ECHO_N "(cached) $ECHO_C" >&6
12728 cat >conftest.$ac_ext <<_ACEOF
12729 #line $LINENO "configure"
12730 #include "confdefs.h"
12731 $ac_includes_default
12732 #ifdef F77_DUMMY_MAIN
12733 # ifdef __cplusplus
12736 int F77_DUMMY_MAIN() { return 1; }
12743 if (sizeof (off_t))
12749 rm -f conftest.$ac_objext
12750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12751 (eval $ac_compile) 2>&5
12753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12754 (exit $ac_status); } &&
12755 { ac_try='test -s conftest.$ac_objext'
12756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12757 (eval $ac_try) 2>&5
12759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12760 (exit $ac_status); }; }; then
12761 ac_cv_type_off_t=yes
12763 echo "$as_me: failed program was:" >&5
12764 cat conftest.$ac_ext >&5
12765 ac_cv_type_off_t=no
12767 rm -f conftest.$ac_objext conftest.$ac_ext
12769 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
12770 echo "${ECHO_T}$ac_cv_type_off_t" >&6
12771 if test $ac_cv_type_off_t = yes; then
12773 cat >>confdefs.h <<_ACEOF
12774 #define HAVE_OFF_T 1
12779 echo "$as_me:$LINENO: checking for pid_t" >&5
12780 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
12781 if test "${ac_cv_type_pid_t+set}" = set; then
12782 echo $ECHO_N "(cached) $ECHO_C" >&6
12784 cat >conftest.$ac_ext <<_ACEOF
12785 #line $LINENO "configure"
12786 #include "confdefs.h"
12787 $ac_includes_default
12788 #ifdef F77_DUMMY_MAIN
12789 # ifdef __cplusplus
12792 int F77_DUMMY_MAIN() { return 1; }
12799 if (sizeof (pid_t))
12805 rm -f conftest.$ac_objext
12806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12807 (eval $ac_compile) 2>&5
12809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12810 (exit $ac_status); } &&
12811 { ac_try='test -s conftest.$ac_objext'
12812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12813 (eval $ac_try) 2>&5
12815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12816 (exit $ac_status); }; }; then
12817 ac_cv_type_pid_t=yes
12819 echo "$as_me: failed program was:" >&5
12820 cat conftest.$ac_ext >&5
12821 ac_cv_type_pid_t=no
12823 rm -f conftest.$ac_objext conftest.$ac_ext
12825 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
12826 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
12827 if test $ac_cv_type_pid_t = yes; then
12829 cat >>confdefs.h <<_ACEOF
12830 #define HAVE_PID_T 1
12835 echo "$as_me:$LINENO: checking for size_t" >&5
12836 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
12837 if test "${ac_cv_type_size_t+set}" = set; then
12838 echo $ECHO_N "(cached) $ECHO_C" >&6
12840 cat >conftest.$ac_ext <<_ACEOF
12841 #line $LINENO "configure"
12842 #include "confdefs.h"
12843 $ac_includes_default
12844 #ifdef F77_DUMMY_MAIN
12845 # ifdef __cplusplus
12848 int F77_DUMMY_MAIN() { return 1; }
12855 if (sizeof (size_t))
12861 rm -f conftest.$ac_objext
12862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12863 (eval $ac_compile) 2>&5
12865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12866 (exit $ac_status); } &&
12867 { ac_try='test -s conftest.$ac_objext'
12868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12869 (eval $ac_try) 2>&5
12871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12872 (exit $ac_status); }; }; then
12873 ac_cv_type_size_t=yes
12875 echo "$as_me: failed program was:" >&5
12876 cat conftest.$ac_ext >&5
12877 ac_cv_type_size_t=no
12879 rm -f conftest.$ac_objext conftest.$ac_ext
12881 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
12882 echo "${ECHO_T}$ac_cv_type_size_t" >&6
12883 if test $ac_cv_type_size_t = yes; then
12885 cat >>confdefs.h <<_ACEOF
12886 #define HAVE_SIZE_T 1
12891 echo "$as_me:$LINENO: checking for ssize_t" >&5
12892 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
12893 if test "${ac_cv_type_ssize_t+set}" = set; then
12894 echo $ECHO_N "(cached) $ECHO_C" >&6
12896 cat >conftest.$ac_ext <<_ACEOF
12897 #line $LINENO "configure"
12898 #include "confdefs.h"
12899 $ac_includes_default
12900 #ifdef F77_DUMMY_MAIN
12901 # ifdef __cplusplus
12904 int F77_DUMMY_MAIN() { return 1; }
12911 if (sizeof (ssize_t))
12917 rm -f conftest.$ac_objext
12918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12919 (eval $ac_compile) 2>&5
12921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12922 (exit $ac_status); } &&
12923 { ac_try='test -s conftest.$ac_objext'
12924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12925 (eval $ac_try) 2>&5
12927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12928 (exit $ac_status); }; }; then
12929 ac_cv_type_ssize_t=yes
12931 echo "$as_me: failed program was:" >&5
12932 cat conftest.$ac_ext >&5
12933 ac_cv_type_ssize_t=no
12935 rm -f conftest.$ac_objext conftest.$ac_ext
12937 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
12938 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
12939 if test $ac_cv_type_ssize_t = yes; then
12941 cat >>confdefs.h <<_ACEOF
12942 #define HAVE_SSIZE_T 1
12948 echo "$as_me:$LINENO: checking for long long" >&5
12949 echo $ECHO_N "checking for long long... $ECHO_C" >&6
12950 if test "${ac_cv_type_long_long+set}" = set; then
12951 echo $ECHO_N "(cached) $ECHO_C" >&6
12953 cat >conftest.$ac_ext <<_ACEOF
12954 #line $LINENO "configure"
12955 #include "confdefs.h"
12956 $ac_includes_default
12957 #ifdef F77_DUMMY_MAIN
12958 # ifdef __cplusplus
12961 int F77_DUMMY_MAIN() { return 1; }
12966 if ((long long *) 0)
12968 if (sizeof (long long))
12974 rm -f conftest.$ac_objext
12975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12976 (eval $ac_compile) 2>&5
12978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12979 (exit $ac_status); } &&
12980 { ac_try='test -s conftest.$ac_objext'
12981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12982 (eval $ac_try) 2>&5
12984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12985 (exit $ac_status); }; }; then
12986 ac_cv_type_long_long=yes
12988 echo "$as_me: failed program was:" >&5
12989 cat conftest.$ac_ext >&5
12990 ac_cv_type_long_long=no
12992 rm -f conftest.$ac_objext conftest.$ac_ext
12994 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
12995 echo "${ECHO_T}$ac_cv_type_long_long" >&6
12997 echo "$as_me:$LINENO: checking size of long long" >&5
12998 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
12999 if test "${ac_cv_sizeof_long_long+set}" = set; then
13000 echo $ECHO_N "(cached) $ECHO_C" >&6
13002 if test "$ac_cv_type_long_long" = yes; then
13003 # The cast to unsigned long works around a bug in the HP C Compiler
13004 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13005 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13006 # This bug is HP SR number 8606223364.
13007 if test "$cross_compiling" = yes; then
13008 # Depending upon the size, compute the lo and hi bounds.
13009 cat >conftest.$ac_ext <<_ACEOF
13010 #line $LINENO "configure"
13011 #include "confdefs.h"
13012 $ac_includes_default
13013 #ifdef F77_DUMMY_MAIN
13014 # ifdef __cplusplus
13017 int F77_DUMMY_MAIN() { return 1; }
13022 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
13029 rm -f conftest.$ac_objext
13030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13031 (eval $ac_compile) 2>&5
13033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13034 (exit $ac_status); } &&
13035 { ac_try='test -s conftest.$ac_objext'
13036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13037 (eval $ac_try) 2>&5
13039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13040 (exit $ac_status); }; }; then
13043 cat >conftest.$ac_ext <<_ACEOF
13044 #line $LINENO "configure"
13045 #include "confdefs.h"
13046 $ac_includes_default
13047 #ifdef F77_DUMMY_MAIN
13048 # ifdef __cplusplus
13051 int F77_DUMMY_MAIN() { return 1; }
13056 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
13063 rm -f conftest.$ac_objext
13064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13065 (eval $ac_compile) 2>&5
13067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13068 (exit $ac_status); } &&
13069 { ac_try='test -s conftest.$ac_objext'
13070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13071 (eval $ac_try) 2>&5
13073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13074 (exit $ac_status); }; }; then
13075 ac_hi=$ac_mid; break
13077 echo "$as_me: failed program was:" >&5
13078 cat conftest.$ac_ext >&5
13079 ac_lo=`expr $ac_mid + 1`
13080 if test $ac_lo -le $ac_mid; then
13084 ac_mid=`expr 2 '*' $ac_mid + 1`
13086 rm -f conftest.$ac_objext conftest.$ac_ext
13089 echo "$as_me: failed program was:" >&5
13090 cat conftest.$ac_ext >&5
13091 cat >conftest.$ac_ext <<_ACEOF
13092 #line $LINENO "configure"
13093 #include "confdefs.h"
13094 $ac_includes_default
13095 #ifdef F77_DUMMY_MAIN
13096 # ifdef __cplusplus
13099 int F77_DUMMY_MAIN() { return 1; }
13104 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
13111 rm -f conftest.$ac_objext
13112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13113 (eval $ac_compile) 2>&5
13115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13116 (exit $ac_status); } &&
13117 { ac_try='test -s conftest.$ac_objext'
13118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13119 (eval $ac_try) 2>&5
13121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13122 (exit $ac_status); }; }; then
13125 cat >conftest.$ac_ext <<_ACEOF
13126 #line $LINENO "configure"
13127 #include "confdefs.h"
13128 $ac_includes_default
13129 #ifdef F77_DUMMY_MAIN
13130 # ifdef __cplusplus
13133 int F77_DUMMY_MAIN() { return 1; }
13138 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
13145 rm -f conftest.$ac_objext
13146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13147 (eval $ac_compile) 2>&5
13149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13150 (exit $ac_status); } &&
13151 { ac_try='test -s conftest.$ac_objext'
13152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13153 (eval $ac_try) 2>&5
13155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13156 (exit $ac_status); }; }; then
13157 ac_lo=$ac_mid; break
13159 echo "$as_me: failed program was:" >&5
13160 cat conftest.$ac_ext >&5
13161 ac_hi=`expr '(' $ac_mid ')' - 1`
13162 if test $ac_mid -le $ac_hi; then
13166 ac_mid=`expr 2 '*' $ac_mid`
13168 rm -f conftest.$ac_objext conftest.$ac_ext
13171 echo "$as_me: failed program was:" >&5
13172 cat conftest.$ac_ext >&5
13175 rm -f conftest.$ac_objext conftest.$ac_ext
13177 rm -f conftest.$ac_objext conftest.$ac_ext
13178 # Binary search between lo and hi bounds.
13179 while test "x$ac_lo" != "x$ac_hi"; do
13180 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13181 cat >conftest.$ac_ext <<_ACEOF
13182 #line $LINENO "configure"
13183 #include "confdefs.h"
13184 $ac_includes_default
13185 #ifdef F77_DUMMY_MAIN
13186 # ifdef __cplusplus
13189 int F77_DUMMY_MAIN() { return 1; }
13194 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
13201 rm -f conftest.$ac_objext
13202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13203 (eval $ac_compile) 2>&5
13205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13206 (exit $ac_status); } &&
13207 { ac_try='test -s conftest.$ac_objext'
13208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13209 (eval $ac_try) 2>&5
13211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13212 (exit $ac_status); }; }; then
13215 echo "$as_me: failed program was:" >&5
13216 cat conftest.$ac_ext >&5
13217 ac_lo=`expr '(' $ac_mid ')' + 1`
13219 rm -f conftest.$ac_objext conftest.$ac_ext
13222 ?*) ac_cv_sizeof_long_long=$ac_lo;;
13223 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77" >&5
13224 echo "$as_me: error: cannot compute sizeof (long long), 77" >&2;}
13225 { (exit 1); exit 1; }; } ;;
13228 if test "$cross_compiling" = yes; then
13229 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
13230 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
13231 { (exit 1); exit 1; }; }
13233 cat >conftest.$ac_ext <<_ACEOF
13234 #line $LINENO "configure"
13235 #include "confdefs.h"
13236 $ac_includes_default
13237 long longval () { return (long) (sizeof (long long)); }
13238 unsigned long ulongval () { return (long) (sizeof (long long)); }
13240 #include <stdlib.h>
13241 #ifdef F77_DUMMY_MAIN
13242 # ifdef __cplusplus
13245 int F77_DUMMY_MAIN() { return 1; }
13251 FILE *f = fopen ("conftest.val", "w");
13254 if (((long) (sizeof (long long))) < 0)
13256 long i = longval ();
13257 if (i != ((long) (sizeof (long long))))
13259 fprintf (f, "%ld\n", i);
13263 unsigned long i = ulongval ();
13264 if (i != ((long) (sizeof (long long))))
13266 fprintf (f, "%lu\n", i);
13268 exit (ferror (f) || fclose (f) != 0);
13274 rm -f conftest$ac_exeext
13275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13276 (eval $ac_link) 2>&5
13278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13279 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13281 (eval $ac_try) 2>&5
13283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13284 (exit $ac_status); }; }; then
13285 ac_cv_sizeof_long_long=`cat conftest.val`
13287 echo "$as_me: program exited with status $ac_status" >&5
13288 echo "$as_me: failed program was:" >&5
13289 cat conftest.$ac_ext >&5
13290 ( exit $ac_status )
13291 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77" >&5
13292 echo "$as_me: error: cannot compute sizeof (long long), 77" >&2;}
13293 { (exit 1); exit 1; }; }
13295 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13300 ac_cv_sizeof_long_long=0
13303 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
13304 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
13305 cat >>confdefs.h <<_ACEOF
13306 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
13311 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
13312 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
13313 if test "${wine_cv_linux_input_h+set}" = set; then
13314 echo $ECHO_N "(cached) $ECHO_C" >&6
13316 cat >conftest.$ac_ext <<_ACEOF
13317 #line $LINENO "configure"
13318 #include "confdefs.h"
13320 #include <linux/input.h>
13322 #ifdef F77_DUMMY_MAIN
13323 # ifdef __cplusplus
13326 int F77_DUMMY_MAIN() { return 1; }
13332 int foo = EVIOCGBIT(EV_ABS,42);
13333 int bar = BTN_PINKIE;
13340 rm -f conftest.$ac_objext
13341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13342 (eval $ac_compile) 2>&5
13344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13345 (exit $ac_status); } &&
13346 { ac_try='test -s conftest.$ac_objext'
13347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13348 (eval $ac_try) 2>&5
13350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13351 (exit $ac_status); }; }; then
13352 wine_cv_linux_input_h=yes
13354 echo "$as_me: failed program was:" >&5
13355 cat conftest.$ac_ext >&5
13356 wine_cv_linux_input_h=no
13358 rm -f conftest.$ac_objext conftest.$ac_ext
13361 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
13362 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
13363 if test "$wine_cv_linux_input_h" = "yes"
13366 cat >>confdefs.h <<\_ACEOF
13367 #define HAVE_CORRECT_LINUXINPUT_H 1
13373 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
13374 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
13375 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
13376 echo $ECHO_N "(cached) $ECHO_C" >&6
13378 cat >conftest.$ac_ext <<_ACEOF
13379 #line $LINENO "configure"
13380 #include "confdefs.h"
13384 #ifdef F77_DUMMY_MAIN
13385 # ifdef __cplusplus
13388 int F77_DUMMY_MAIN() { return 1; }
13396 struct hostent *result;
13403 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
13404 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
13410 rm -f conftest.$ac_objext
13411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13412 (eval $ac_compile) 2>&5
13414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13415 (exit $ac_status); } &&
13416 { ac_try='test -s conftest.$ac_objext'
13417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13418 (eval $ac_try) 2>&5
13420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13421 (exit $ac_status); }; }; then
13422 wine_cv_linux_gethostbyname_r_6=yes
13424 echo "$as_me: failed program was:" >&5
13425 cat conftest.$ac_ext >&5
13426 wine_cv_linux_gethostbyname_r_6=no
13429 rm -f conftest.$ac_objext conftest.$ac_ext
13432 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
13433 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
13434 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
13437 cat >>confdefs.h <<\_ACEOF
13438 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
13443 if test "$ac_cv_header_linux_joystick_h" = "yes"
13445 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
13446 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
13447 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
13448 echo $ECHO_N "(cached) $ECHO_C" >&6
13450 cat >conftest.$ac_ext <<_ACEOF
13451 #line $LINENO "configure"
13452 #include "confdefs.h"
13454 #include <sys/ioctl.h>
13455 #include <linux/joystick.h>
13457 struct js_event blub;
13458 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
13459 #error "no 2.2 header"
13462 #ifdef F77_DUMMY_MAIN
13463 # ifdef __cplusplus
13466 int F77_DUMMY_MAIN() { return 1; }
13476 rm -f conftest.$ac_objext
13477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13478 (eval $ac_compile) 2>&5
13480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13481 (exit $ac_status); } &&
13482 { ac_try='test -s conftest.$ac_objext'
13483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13484 (eval $ac_try) 2>&5
13486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13487 (exit $ac_status); }; }; then
13488 wine_cv_linux_joystick_22_api=yes
13490 echo "$as_me: failed program was:" >&5
13491 cat conftest.$ac_ext >&5
13492 wine_cv_linux_joystick_22_api=no
13494 rm -f conftest.$ac_objext conftest.$ac_ext
13497 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
13498 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
13499 if test "$wine_cv_linux_joystick_22_api" = "yes"
13502 cat >>confdefs.h <<\_ACEOF
13503 #define HAVE_LINUX_22_JOYSTICK_API 1
13510 if test "$ac_cv_header_sys_vfs_h" = "yes"
13512 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
13513 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
13514 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
13515 echo $ECHO_N "(cached) $ECHO_C" >&6
13517 cat >conftest.$ac_ext <<_ACEOF
13518 #line $LINENO "configure"
13519 #include "confdefs.h"
13521 #include <sys/types.h>
13522 #ifdef HAVE_SYS_PARAM_H
13523 # include <sys/param.h>
13525 #include <sys/vfs.h>
13527 #ifdef F77_DUMMY_MAIN
13528 # ifdef __cplusplus
13531 int F77_DUMMY_MAIN() { return 1; }
13537 struct statfs stfs;
13539 memset(&stfs,0,sizeof(stfs));
13545 rm -f conftest.$ac_objext
13546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13547 (eval $ac_compile) 2>&5
13549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13550 (exit $ac_status); } &&
13551 { ac_try='test -s conftest.$ac_objext'
13552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13553 (eval $ac_try) 2>&5
13555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13556 (exit $ac_status); }; }; then
13557 wine_cv_sys_vfs_has_statfs=yes
13559 echo "$as_me: failed program was:" >&5
13560 cat conftest.$ac_ext >&5
13561 wine_cv_sys_vfs_has_statfs=no
13564 rm -f conftest.$ac_objext conftest.$ac_ext
13567 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
13568 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
13569 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
13572 cat >>confdefs.h <<\_ACEOF
13573 #define STATFS_DEFINED_BY_SYS_VFS 1
13579 if test "$ac_cv_header_sys_statfs_h" = "yes"
13581 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
13582 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
13583 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
13584 echo $ECHO_N "(cached) $ECHO_C" >&6
13586 cat >conftest.$ac_ext <<_ACEOF
13587 #line $LINENO "configure"
13588 #include "confdefs.h"
13590 #include <sys/types.h>
13591 #ifdef HAVE_SYS_PARAM_H
13592 # include <sys/param.h>
13594 #include <sys/statfs.h>
13596 #ifdef F77_DUMMY_MAIN
13597 # ifdef __cplusplus
13600 int F77_DUMMY_MAIN() { return 1; }
13606 struct statfs stfs;
13612 rm -f conftest.$ac_objext
13613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13614 (eval $ac_compile) 2>&5
13616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13617 (exit $ac_status); } &&
13618 { ac_try='test -s conftest.$ac_objext'
13619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13620 (eval $ac_try) 2>&5
13622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13623 (exit $ac_status); }; }; then
13624 wine_cv_sys_statfs_has_statfs=yes
13626 echo "$as_me: failed program was:" >&5
13627 cat conftest.$ac_ext >&5
13628 wine_cv_sys_statfs_has_statfs=no
13631 rm -f conftest.$ac_objext conftest.$ac_ext
13634 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
13635 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
13636 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
13639 cat >>confdefs.h <<\_ACEOF
13640 #define STATFS_DEFINED_BY_SYS_STATFS 1
13646 if test "$ac_cv_header_sys_mount_h" = "yes"
13648 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
13649 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
13650 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
13651 echo $ECHO_N "(cached) $ECHO_C" >&6
13653 cat >conftest.$ac_ext <<_ACEOF
13654 #line $LINENO "configure"
13655 #include "confdefs.h"
13657 #include <sys/types.h>
13658 #ifdef HAVE_SYS_PARAM_H
13659 # include <sys/param.h>
13661 #include <sys/mount.h>
13663 #ifdef F77_DUMMY_MAIN
13664 # ifdef __cplusplus
13667 int F77_DUMMY_MAIN() { return 1; }
13673 struct statfs stfs;
13679 rm -f conftest.$ac_objext
13680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13681 (eval $ac_compile) 2>&5
13683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13684 (exit $ac_status); } &&
13685 { ac_try='test -s conftest.$ac_objext'
13686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13687 (eval $ac_try) 2>&5
13689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13690 (exit $ac_status); }; }; then
13691 wine_cv_sys_mount_has_statfs=yes
13693 echo "$as_me: failed program was:" >&5
13694 cat conftest.$ac_ext >&5
13695 wine_cv_sys_mount_has_statfs=no
13698 rm -f conftest.$ac_objext conftest.$ac_ext
13701 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
13702 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
13703 if test "$wine_cv_sys_mount_has_statfs" = "yes"
13706 cat >>confdefs.h <<\_ACEOF
13707 #define STATFS_DEFINED_BY_SYS_MOUNT 1
13714 echo "$as_me:$LINENO: checking for f_bfree in struct statfs" >&5
13715 echo $ECHO_N "checking for f_bfree in struct statfs... $ECHO_C" >&6
13716 if test "${ac_cv_c_statfs_f_bfree+set}" = set; then
13717 echo $ECHO_N "(cached) $ECHO_C" >&6
13719 cat >conftest.$ac_ext <<_ACEOF
13720 #line $LINENO "configure"
13721 #include "confdefs.h"
13722 #include <sys/types.h>
13723 #ifdef HAVE_SYS_PARAM_H
13724 # include <sys/param.h>
13726 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
13727 # include <sys/mount.h>
13729 # ifdef STATFS_DEFINED_BY_SYS_VFS
13730 # include <sys/vfs.h>
13732 # ifdef STATFS_DEFINED_BY_SYS_STATFS
13733 # include <sys/statfs.h>
13737 #ifdef F77_DUMMY_MAIN
13738 # ifdef __cplusplus
13741 int F77_DUMMY_MAIN() { return 1; }
13746 struct statfs s; s.f_bfree = 0
13751 rm -f conftest.$ac_objext
13752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13753 (eval $ac_compile) 2>&5
13755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13756 (exit $ac_status); } &&
13757 { ac_try='test -s conftest.$ac_objext'
13758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13759 (eval $ac_try) 2>&5
13761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13762 (exit $ac_status); }; }; then
13763 ac_cv_c_statfs_f_bfree="yes"
13765 echo "$as_me: failed program was:" >&5
13766 cat conftest.$ac_ext >&5
13767 ac_cv_c_statfs_f_bfree="no"
13769 rm -f conftest.$ac_objext conftest.$ac_ext
13771 echo "$as_me:$LINENO: result: $ac_cv_c_statfs_f_bfree" >&5
13772 echo "${ECHO_T}$ac_cv_c_statfs_f_bfree" >&6
13773 if test "x$ac_cv_c_statfs_f_bfree" = "xyes"; then
13775 cat >>confdefs.h <<\_ACEOF
13776 #define STATFS_HAS_BFREE 1
13783 echo "$as_me:$LINENO: checking for f_bavail in struct statfs" >&5
13784 echo $ECHO_N "checking for f_bavail in struct statfs... $ECHO_C" >&6
13785 if test "${ac_cv_c_statfs_f_bavail+set}" = set; then
13786 echo $ECHO_N "(cached) $ECHO_C" >&6
13788 cat >conftest.$ac_ext <<_ACEOF
13789 #line $LINENO "configure"
13790 #include "confdefs.h"
13791 #include <sys/types.h>
13792 #ifdef HAVE_SYS_PARAM_H
13793 # include <sys/param.h>
13795 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
13796 # include <sys/mount.h>
13798 # ifdef STATFS_DEFINED_BY_SYS_VFS
13799 # include <sys/vfs.h>
13801 # ifdef STATFS_DEFINED_BY_SYS_STATFS
13802 # include <sys/statfs.h>
13806 #ifdef F77_DUMMY_MAIN
13807 # ifdef __cplusplus
13810 int F77_DUMMY_MAIN() { return 1; }
13815 struct statfs s; s.f_bavail = 0
13820 rm -f conftest.$ac_objext
13821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13822 (eval $ac_compile) 2>&5
13824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13825 (exit $ac_status); } &&
13826 { ac_try='test -s conftest.$ac_objext'
13827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13828 (eval $ac_try) 2>&5
13830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13831 (exit $ac_status); }; }; then
13832 ac_cv_c_statfs_f_bavail="yes"
13834 echo "$as_me: failed program was:" >&5
13835 cat conftest.$ac_ext >&5
13836 ac_cv_c_statfs_f_bavail="no"
13838 rm -f conftest.$ac_objext conftest.$ac_ext
13840 echo "$as_me:$LINENO: result: $ac_cv_c_statfs_f_bavail" >&5
13841 echo "${ECHO_T}$ac_cv_c_statfs_f_bavail" >&6
13842 if test "x$ac_cv_c_statfs_f_bavail" = "xyes"; then
13844 cat >>confdefs.h <<\_ACEOF
13845 #define STATFS_HAS_BAVAIL 1
13852 echo "$as_me:$LINENO: checking for msg_accrights in struct msghdr" >&5
13853 echo $ECHO_N "checking for msg_accrights in struct msghdr... $ECHO_C" >&6
13854 if test "${ac_cv_c_msghdr_msg_accrights+set}" = set; then
13855 echo $ECHO_N "(cached) $ECHO_C" >&6
13857 cat >conftest.$ac_ext <<_ACEOF
13858 #line $LINENO "configure"
13859 #include "confdefs.h"
13860 #include <sys/types.h>
13861 #include <sys/socket.h>
13862 #ifdef F77_DUMMY_MAIN
13863 # ifdef __cplusplus
13866 int F77_DUMMY_MAIN() { return 1; }
13871 struct msghdr s; s.msg_accrights = 0
13876 rm -f conftest.$ac_objext
13877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13878 (eval $ac_compile) 2>&5
13880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13881 (exit $ac_status); } &&
13882 { ac_try='test -s conftest.$ac_objext'
13883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13884 (eval $ac_try) 2>&5
13886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13887 (exit $ac_status); }; }; then
13888 ac_cv_c_msghdr_msg_accrights="yes"
13890 echo "$as_me: failed program was:" >&5
13891 cat conftest.$ac_ext >&5
13892 ac_cv_c_msghdr_msg_accrights="no"
13894 rm -f conftest.$ac_objext conftest.$ac_ext
13896 echo "$as_me:$LINENO: result: $ac_cv_c_msghdr_msg_accrights" >&5
13897 echo "${ECHO_T}$ac_cv_c_msghdr_msg_accrights" >&6
13898 if test "x$ac_cv_c_msghdr_msg_accrights" = "xyes"; then
13900 cat >>confdefs.h <<\_ACEOF
13901 #define HAVE_MSGHDR_ACCRIGHTS 1
13908 echo "$as_me:$LINENO: checking for sa_len in struct sockaddr" >&5
13909 echo $ECHO_N "checking for sa_len in struct sockaddr... $ECHO_C" >&6
13910 if test "${ac_cv_c_sockaddr_sa_len+set}" = set; then
13911 echo $ECHO_N "(cached) $ECHO_C" >&6
13913 cat >conftest.$ac_ext <<_ACEOF
13914 #line $LINENO "configure"
13915 #include "confdefs.h"
13916 #include <sys/types.h>
13917 #include <sys/socket.h>
13918 #ifdef F77_DUMMY_MAIN
13919 # ifdef __cplusplus
13922 int F77_DUMMY_MAIN() { return 1; }
13927 struct sockaddr s; s.sa_len = 0
13932 rm -f conftest.$ac_objext
13933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13934 (eval $ac_compile) 2>&5
13936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13937 (exit $ac_status); } &&
13938 { ac_try='test -s conftest.$ac_objext'
13939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13940 (eval $ac_try) 2>&5
13942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13943 (exit $ac_status); }; }; then
13944 ac_cv_c_sockaddr_sa_len="yes"
13946 echo "$as_me: failed program was:" >&5
13947 cat conftest.$ac_ext >&5
13948 ac_cv_c_sockaddr_sa_len="no"
13950 rm -f conftest.$ac_objext conftest.$ac_ext
13952 echo "$as_me:$LINENO: result: $ac_cv_c_sockaddr_sa_len" >&5
13953 echo "${ECHO_T}$ac_cv_c_sockaddr_sa_len" >&6
13954 if test "x$ac_cv_c_sockaddr_sa_len" = "xyes"; then
13956 cat >>confdefs.h <<\_ACEOF
13957 #define HAVE_SOCKADDR_SA_LEN 1
13964 echo "$as_me:$LINENO: checking for sun_len in struct sockaddr_un" >&5
13965 echo $ECHO_N "checking for sun_len in struct sockaddr_un... $ECHO_C" >&6
13966 if test "${ac_cv_c_sockaddr_un_sun_len+set}" = set; then
13967 echo $ECHO_N "(cached) $ECHO_C" >&6
13969 cat >conftest.$ac_ext <<_ACEOF
13970 #line $LINENO "configure"
13971 #include "confdefs.h"
13972 #include <sys/types.h>
13973 #include <sys/socket.h>
13974 #include <sys/un.h>
13975 #ifdef F77_DUMMY_MAIN
13976 # ifdef __cplusplus
13979 int F77_DUMMY_MAIN() { return 1; }
13984 struct sockaddr_un s; s.sun_len = 0
13989 rm -f conftest.$ac_objext
13990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13991 (eval $ac_compile) 2>&5
13993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13994 (exit $ac_status); } &&
13995 { ac_try='test -s conftest.$ac_objext'
13996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13997 (eval $ac_try) 2>&5
13999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14000 (exit $ac_status); }; }; then
14001 ac_cv_c_sockaddr_un_sun_len="yes"
14003 echo "$as_me: failed program was:" >&5
14004 cat conftest.$ac_ext >&5
14005 ac_cv_c_sockaddr_un_sun_len="no"
14007 rm -f conftest.$ac_objext conftest.$ac_ext
14009 echo "$as_me:$LINENO: result: $ac_cv_c_sockaddr_un_sun_len" >&5
14010 echo "${ECHO_T}$ac_cv_c_sockaddr_un_sun_len" >&6
14011 if test "x$ac_cv_c_sockaddr_un_sun_len" = "xyes"; then
14013 cat >>confdefs.h <<\_ACEOF
14014 #define HAVE_SOCKADDR_SUN_LEN 1
14024 echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
14025 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
14026 if test "${ac_cv_cpp_def_i386+set}" = set; then
14027 echo $ECHO_N "(cached) $ECHO_C" >&6
14029 cat >conftest.$ac_ext <<_ACEOF
14030 #line $LINENO "configure"
14031 #include "confdefs.h"
14036 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14037 egrep "yes" >/dev/null 2>&1; then
14038 ac_cv_cpp_def_i386="yes"
14040 ac_cv_cpp_def_i386="no"
14045 echo "$as_me:$LINENO: result: $ac_cv_cpp_def_i386" >&5
14046 echo "${ECHO_T}$ac_cv_cpp_def_i386" >&6
14049 if test "$ac_cv_cpp_def_i386" = "yes"
14051 CFLAGS="$CFLAGS -D__i386__"
14052 LINTFLAGS="$LINTFLAGS -D__i386__"
14058 echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
14059 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
14060 if test "${ac_cv_cpp_def_sparc+set}" = set; then
14061 echo $ECHO_N "(cached) $ECHO_C" >&6
14063 cat >conftest.$ac_ext <<_ACEOF
14064 #line $LINENO "configure"
14065 #include "confdefs.h"
14070 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14071 egrep "yes" >/dev/null 2>&1; then
14072 ac_cv_cpp_def_sparc="yes"
14074 ac_cv_cpp_def_sparc="no"
14079 echo "$as_me:$LINENO: result: $ac_cv_cpp_def_sparc" >&5
14080 echo "${ECHO_T}$ac_cv_cpp_def_sparc" >&6
14083 if test "$ac_cv_cpp_def_sparc" = "yes"
14085 CFLAGS="$CFLAGS -D__sparc__"
14086 LINTFLAGS="$LINTFLAGS -D__sparc__"
14090 case $host_vendor in
14092 echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
14093 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
14094 if test "${ac_cv_cpp_def_sun+set}" = set; then
14095 echo $ECHO_N "(cached) $ECHO_C" >&6
14097 cat >conftest.$ac_ext <<_ACEOF
14098 #line $LINENO "configure"
14099 #include "confdefs.h"
14104 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14105 egrep "yes" >/dev/null 2>&1; then
14106 ac_cv_cpp_def_sun="yes"
14108 ac_cv_cpp_def_sun="no"
14113 echo "$as_me:$LINENO: result: $ac_cv_cpp_def_sun" >&5
14114 echo "${ECHO_T}$ac_cv_cpp_def_sun" >&6
14117 if test "$ac_cv_cpp_def_sun" = "yes"
14119 CFLAGS="$CFLAGS -D__sun__"
14120 LINTFLAGS="$LINTFLAGS -D__sun__"
14127 ac_config_commands="$ac_config_commands controls"
14129 ac_config_commands="$ac_config_commands dlls/ddraw/d3ddevice"
14131 ac_config_commands="$ac_config_commands dlls/ddraw/dclipper"
14133 ac_config_commands="$ac_config_commands dlls/ddraw/ddraw"
14135 ac_config_commands="$ac_config_commands dlls/ddraw/direct3d"
14137 ac_config_commands="$ac_config_commands dlls/ddraw/dpalette"
14139 ac_config_commands="$ac_config_commands dlls/ddraw/dsurface"
14141 ac_config_commands="$ac_config_commands dlls/dinput/joystick"
14143 ac_config_commands="$ac_config_commands dlls/dinput/keyboard"
14145 ac_config_commands="$ac_config_commands dlls/dinput/mouse"
14147 ac_config_commands="$ac_config_commands dlls/gdi/enhmfdrv"
14149 ac_config_commands="$ac_config_commands dlls/gdi/mfdrv"
14151 ac_config_commands="$ac_config_commands dlls/gdi/win16drv"
14153 ac_config_commands="$ac_config_commands dlls/kernel/messages"
14155 ac_config_commands="$ac_config_commands dlls/user/dde"
14157 ac_config_commands="$ac_config_commands dlls/user/resources"
14159 ac_config_commands="$ac_config_commands dlls/wineps/data"
14161 ac_config_commands="$ac_config_commands files"
14163 ac_config_commands="$ac_config_commands graphics"
14165 ac_config_commands="$ac_config_commands graphics/x11drv"
14167 ac_config_commands="$ac_config_commands if1632"
14169 ac_config_commands="$ac_config_commands include/wine"
14171 ac_config_commands="$ac_config_commands loader"
14173 ac_config_commands="$ac_config_commands loader/ne"
14175 ac_config_commands="$ac_config_commands memory"
14177 ac_config_commands="$ac_config_commands misc"
14179 ac_config_commands="$ac_config_commands msdos"
14181 ac_config_commands="$ac_config_commands objects"
14183 ac_config_commands="$ac_config_commands programs/regapi/tests"
14185 ac_config_commands="$ac_config_commands programs/regedit/tests"
14187 ac_config_commands="$ac_config_commands programs/winetest/tests"
14189 ac_config_commands="$ac_config_commands relay32"
14191 ac_config_commands="$ac_config_commands scheduler"
14193 ac_config_commands="$ac_config_commands win32"
14195 ac_config_commands="$ac_config_commands windows"
14198 MAKE_RULES=Make.rules
14201 MAKE_DLL_RULES=dlls/Makedll.rules
14204 MAKE_TEST_RULES=dlls/Maketest.rules
14207 MAKE_PROG_RULES=programs/Makeprog.rules
14210 ac_config_files="$ac_config_files Make.rules dlls/Makedll.rules dlls/Maketest.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/comcat/Makefile dlls/comctl32/Makefile dlls/commdlg/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/d3d8/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput8/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dsound/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/icmp/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/kernel/Makefile dlls/kernel/tests/Makefile dlls/lzexpand/Makefile dlls/mapi32/Makefile dlls/mpr/Makefile dlls/msacm/Makefile dlls/msacm/imaadp32/Makefile dlls/msacm/msadp32/Makefile dlls/msacm/msg711/Makefile dlls/msacm/winemp3/Makefile dlls/msdmo/Makefile dlls/msimg32/Makefile dlls/msisys/Makefile dlls/msnet32/Makefile dlls/msvcrt/Makefile dlls/msvcrt20/Makefile dlls/msvideo/Makefile dlls/msvideo/msrle32/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/odbc32/Makefile dlls/ole32/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr/Makefile dlls/opengl32/Makefile dlls/psapi/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/rasapi32/Makefile dlls/richedit/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/shdocvw/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/sti/Makefile dlls/tapi32/Makefile dlls/ttydrv/Makefile dlls/twain/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/version/Makefile dlls/win32s/Makefile dlls/winaspi/Makefile dlls/winedos/Makefile dlls/wineps/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/mcianim/Makefile dlls/winmm/mciavi/Makefile dlls/winmm/mcicda/Makefile dlls/winmm/mciseq/Makefile dlls/winmm/mciwave/Makefile dlls/winmm/midimap/Makefile dlls/winmm/wavemap/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/Makefile dlls/winnls/Makefile dlls/winsock/Makefile dlls/winsock/tests/Makefile dlls/winspool/Makefile dlls/wintrust/Makefile dlls/wow32/Makefile dlls/wsock32/Makefile dlls/x11drv/Makefile documentation/Makefile include/Makefile library/Makefile miscemu/Makefile ole/Makefile programs/Makefile programs/avitools/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/expand/Makefile programs/notepad/Makefile programs/osversioncheck/Makefile programs/progman/Makefile programs/regapi/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/regtest/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wcmd/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winetest/Makefile programs/winhelp/Makefile programs/winver/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/wmc/Makefile tools/wpp/Makefile tools/wrc/Makefile unicode/Makefile"
14213 cat >confcache <<\_ACEOF
14214 # This file is a shell script that caches the results of configure
14215 # tests run on this system so they can be shared between configure
14216 # scripts and configure runs, see configure's option --config-cache.
14217 # It is not useful on other systems. If it contains results you don't
14218 # want to keep, you may remove or edit it.
14220 # config.status only pays attention to the cache file if you give it
14221 # the --recheck option to rerun configure.
14223 # `ac_cv_env_foo' variables (set or unset) will be overriden when
14224 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14225 # following values.
14229 # The following way of writing the cache mishandles newlines in values,
14230 # but we know of no workaround that is simple, portable, and efficient.
14231 # So, don't put newlines in cache variables' values.
14232 # Ultrix sh set writes to stderr and can't be redirected directly,
14233 # and sets the high bit in the cache file unless we assign to the vars.
14236 case `(ac_space=' '; set | grep ac_space) 2>&1` in
14238 # `set' does not quote correctly, so add quotes (double-quote
14239 # substitution turns \\\\ into \\, and sed turns \\ into \).
14242 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14245 # `set' quotes correctly as required by POSIX, so do not add quotes.
14247 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
14254 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14256 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14258 if cmp -s $cache_file confcache; then :; else
14259 if test -w $cache_file; then
14260 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
14261 cat confcache >$cache_file
14263 echo "not updating unwritable cache $cache_file"
14268 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14269 # Let make expand exec_prefix.
14270 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14272 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14273 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14274 # trailing colons and then remove the whole line if VPATH becomes empty
14275 # (actually we leave an empty line to preserve line numbers).
14276 if test "x$srcdir" = x.; then
14277 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14278 s/:*\$(srcdir):*/:/;
14279 s/:*\${srcdir}:*/:/;
14281 s/^\([^=]*=[ ]*\):*/\1/;
14287 DEFS=-DHAVE_CONFIG_H
14290 : ${CONFIG_STATUS=./config.status}
14291 ac_clean_files_save=$ac_clean_files
14292 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14293 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
14294 echo "$as_me: creating $CONFIG_STATUS" >&6;}
14295 cat >$CONFIG_STATUS <<_ACEOF
14297 # Generated by $as_me.
14298 # Run this file to recreate the current configuration.
14299 # Compiler output produced by configure, useful for debugging
14300 # configure, is in config.log if it exists.
14303 SHELL=\${CONFIG_SHELL-$SHELL}
14306 cat >>$CONFIG_STATUS <<\_ACEOF
14308 ## --------------------- ##
14309 ## M4sh Initialization. ##
14310 ## --------------------- ##
14312 # Be Bourne compatible
14313 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14316 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
14321 # Support unset when possible.
14322 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
14328 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
14329 { $as_unset LANG || test "${LANG+set}" != set; } ||
14330 { LANG=C; export LANG; }
14331 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
14332 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
14333 { LC_ALL=C; export LC_ALL; }
14334 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
14335 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
14336 { LC_TIME=C; export LC_TIME; }
14337 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
14338 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
14339 { LC_CTYPE=C; export LC_CTYPE; }
14340 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
14341 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
14342 { LANGUAGE=C; export LANGUAGE; }
14343 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
14344 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
14345 { LC_COLLATE=C; export LC_COLLATE; }
14346 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
14347 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
14348 { LC_NUMERIC=C; export LC_NUMERIC; }
14349 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
14350 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
14351 { LC_MESSAGES=C; export LC_MESSAGES; }
14354 # Name of the executable.
14355 as_me=`(basename "$0") 2>/dev/null ||
14356 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14357 X"$0" : 'X\(//\)$' \| \
14358 X"$0" : 'X\(/\)$' \| \
14359 . : '\(.\)' 2>/dev/null ||
14361 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
14362 /^X\/\(\/\/\)$/{ s//\1/; q; }
14363 /^X\/\(\/\).*/{ s//\1/; q; }
14366 # PATH needs CR, and LINENO needs CR and PATH.
14367 # Avoid depending upon Character Ranges.
14368 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14369 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14370 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14371 as_cr_digits='0123456789'
14372 as_cr_alnum=$as_cr_Letters$as_cr_digits
14374 # The user is always right.
14375 if test "${PATH_SEPARATOR+set}" != set; then
14376 echo "#! /bin/sh" >conftest.sh
14377 echo "exit 0" >>conftest.sh
14378 chmod +x conftest.sh
14379 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
14388 as_lineno_1=$LINENO
14389 as_lineno_2=$LINENO
14390 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
14391 test "x$as_lineno_1" != "x$as_lineno_2" &&
14392 test "x$as_lineno_3" = "x$as_lineno_2" || {
14393 # Find who we are. Look in the path if we contain no path at all
14396 *[\\/]* ) as_myself=$0 ;;
14397 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14398 for as_dir in $PATH
14401 test -z "$as_dir" && as_dir=.
14402 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14407 # We did not find ourselves, most probably we were run as `sh COMMAND'
14408 # in which case we are not to be found in the path.
14409 if test "x$as_myself" = x; then
14412 if test ! -f "$as_myself"; then
14413 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
14414 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
14415 { (exit 1); exit 1; }; }
14417 case $CONFIG_SHELL in
14419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14420 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
14423 test -z "$as_dir" && as_dir=.
14424 for as_base in sh bash ksh sh5; do
14427 if ("$as_dir/$as_base" -c '
14428 as_lineno_1=$LINENO
14429 as_lineno_2=$LINENO
14430 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
14431 test "x$as_lineno_1" != "x$as_lineno_2" &&
14432 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
14433 CONFIG_SHELL=$as_dir/$as_base
14434 export CONFIG_SHELL
14435 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
14443 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
14444 # uniformly replaced by the line number. The first 'sed' inserts a
14445 # line-number line before each line; the second 'sed' does the real
14446 # work. The second script uses 'N' to pair each line-number line
14447 # with the numbered line, and appends trailing '-' during
14448 # substitution so that $LINENO is not a special case at line end.
14449 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
14450 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
14451 sed '=' <$as_myself |
14456 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
14459 s,^['$as_cr_digits']*\n,,
14460 ' >$as_me.lineno &&
14461 chmod +x $as_me.lineno ||
14462 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
14463 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
14464 { (exit 1); exit 1; }; }
14466 # Don't try to exec as it changes $[0], causing all sort of problems
14467 # (the dirname of $[0] is not the place where we might find the
14468 # original and so on. Autoconf is especially sensible to this).
14470 # Exit status is that of the last command.
14475 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
14476 *c*,-n*) ECHO_N= ECHO_C='
14478 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
14479 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
14482 if expr a : '\(a\)' >/dev/null 2>&1; then
14488 rm -f conf$$ conf$$.exe conf$$.file
14490 if ln -s conf$$.file conf$$ 2>/dev/null; then
14491 # We could just check for DJGPP; but this test a) works b) is more generic
14492 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
14493 if test -f conf$$.exe; then
14494 # Don't use ln at all; we don't have any links
14499 elif ln conf$$.file conf$$ 2>/dev/null; then
14504 rm -f conf$$ conf$$.exe conf$$.file
14506 as_executable_p="test -f"
14508 # Sed expression to map a string onto a valid CPP name.
14509 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
14511 # Sed expression to map a string onto a valid variable name.
14512 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
14516 # We need space, tab and new line, in precisely that order.
14522 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
14526 # Open the log real soon, to keep \$[0] and so on meaningful, and to
14527 # report actual input values of CONFIG_FILES etc. instead of their
14528 # values after options handling. Logging --version etc. is OK.
14532 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14533 ## Running $as_me. ##
14538 This file was extended by Wine $as_me 20021007, which was
14539 generated by GNU Autoconf 2.53. Invocation command line was
14541 CONFIG_FILES = $CONFIG_FILES
14542 CONFIG_HEADERS = $CONFIG_HEADERS
14543 CONFIG_LINKS = $CONFIG_LINKS
14544 CONFIG_COMMANDS = $CONFIG_COMMANDS
14548 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
14552 # Files that config.status was made for.
14553 if test -n "$ac_config_files"; then
14554 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
14557 if test -n "$ac_config_headers"; then
14558 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
14561 if test -n "$ac_config_links"; then
14562 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
14565 if test -n "$ac_config_commands"; then
14566 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
14569 cat >>$CONFIG_STATUS <<\_ACEOF
14572 \`$as_me' instantiates files from templates according to the
14573 current configuration.
14575 Usage: $0 [OPTIONS] [FILE]...
14577 -h, --help print this help, then exit
14578 -V, --version print version number, then exit
14579 -d, --debug don't remove temporary files
14580 --recheck update $as_me by reconfiguring in the same conditions
14581 --file=FILE[:TEMPLATE]
14582 instantiate the configuration file FILE
14583 --header=FILE[:TEMPLATE]
14584 instantiate the configuration header FILE
14586 Configuration files:
14589 Configuration headers:
14592 Configuration commands:
14595 Report bugs to <bug-autoconf@gnu.org>."
14598 cat >>$CONFIG_STATUS <<_ACEOF
14600 Wine config.status 20021007
14601 configured by $0, generated by GNU Autoconf 2.53,
14602 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
14604 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
14605 Free Software Foundation, Inc.
14606 This config.status script is free software; the Free Software Foundation
14607 gives unlimited permission to copy, distribute and modify it."
14612 cat >>$CONFIG_STATUS <<\_ACEOF
14613 # If no file are specified by the user, then we need to provide default
14614 # value. By we need to know if files were specified by the user.
14620 ac_option=`expr "x$1" : 'x\([^=]*\)='`
14621 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
14623 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
14627 *) # This is not an option, so the user has probably given explicit
14629 ac_need_defaults=false;;
14633 # Handling of the options.
14635 cat >>$CONFIG_STATUS <<_ACEOF
14636 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14637 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
14638 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
14640 cat >>$CONFIG_STATUS <<\_ACEOF
14641 --version | --vers* | -V )
14642 echo "$ac_cs_version"; exit 0 ;;
14644 # Conflict between --help and --header
14645 { { echo "$as_me:$LINENO: error: ambiguous option: $1
14646 Try \`$0 --help' for more information." >&5
14647 echo "$as_me: error: ambiguous option: $1
14648 Try \`$0 --help' for more information." >&2;}
14649 { (exit 1); exit 1; }; };;
14650 --help | --hel | -h )
14651 echo "$ac_cs_usage"; exit 0 ;;
14652 --debug | --d* | -d )
14654 --file | --fil | --fi | --f )
14656 CONFIG_FILES="$CONFIG_FILES $1"
14657 ac_need_defaults=false;;
14658 --header | --heade | --head | --hea )
14660 CONFIG_HEADERS="$CONFIG_HEADERS $1"
14661 ac_need_defaults=false;;
14663 # This is an error.
14664 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
14665 Try \`$0 --help' for more information." >&5
14666 echo "$as_me: error: unrecognized option: $1
14667 Try \`$0 --help' for more information." >&2;}
14668 { (exit 1); exit 1; }; } ;;
14670 *) ac_config_targets="$ac_config_targets $1" ;;
14682 cat >>$CONFIG_STATUS <<\_ACEOF
14683 for ac_config_target in $ac_config_targets
14685 case "$ac_config_target" in
14686 # Handling of arguments.
14687 "Make.rules" ) CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
14688 "dlls/Makedll.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
14689 "dlls/Maketest.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
14690 "programs/Makeprog.rules" ) CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
14691 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14692 "dlls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
14693 "dlls/advapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
14694 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
14695 "dlls/avicap32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
14696 "dlls/avifil32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
14697 "dlls/comcat/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
14698 "dlls/comctl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
14699 "dlls/commdlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/commdlg/Makefile" ;;
14700 "dlls/crtdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
14701 "dlls/crypt32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
14702 "dlls/d3d8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
14703 "dlls/dciman32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
14704 "dlls/ddraw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
14705 "dlls/devenum/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
14706 "dlls/dinput/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
14707 "dlls/dinput8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
14708 "dlls/dplay/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
14709 "dlls/dplayx/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
14710 "dlls/dsound/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
14711 "dlls/gdi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/Makefile" ;;
14712 "dlls/gdi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
14713 "dlls/glu32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
14714 "dlls/icmp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
14715 "dlls/imagehlp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
14716 "dlls/imm32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
14717 "dlls/kernel/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/Makefile" ;;
14718 "dlls/kernel/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
14719 "dlls/lzexpand/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
14720 "dlls/mapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
14721 "dlls/mpr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
14722 "dlls/msacm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/Makefile" ;;
14723 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
14724 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
14725 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
14726 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
14727 "dlls/msdmo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
14728 "dlls/msimg32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
14729 "dlls/msisys/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msisys/Makefile" ;;
14730 "dlls/msnet32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
14731 "dlls/msvcrt/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
14732 "dlls/msvcrt20/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
14733 "dlls/msvideo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvideo/Makefile" ;;
14734 "dlls/msvideo/msrle32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvideo/msrle32/Makefile" ;;
14735 "dlls/netapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
14736 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
14737 "dlls/ntdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
14738 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
14739 "dlls/odbc32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
14740 "dlls/ole32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
14741 "dlls/oleaut32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
14742 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
14743 "dlls/olecli/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olecli/Makefile" ;;
14744 "dlls/oledlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
14745 "dlls/olepro32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
14746 "dlls/olesvr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olesvr/Makefile" ;;
14747 "dlls/opengl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
14748 "dlls/psapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
14749 "dlls/qcap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
14750 "dlls/quartz/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
14751 "dlls/rasapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
14752 "dlls/richedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/richedit/Makefile" ;;
14753 "dlls/rpcrt4/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
14754 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
14755 "dlls/serialui/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
14756 "dlls/setupapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
14757 "dlls/shdocvw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
14758 "dlls/shell32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
14759 "dlls/shell32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
14760 "dlls/shfolder/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
14761 "dlls/shlwapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
14762 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
14763 "dlls/snmpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
14764 "dlls/sti/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
14765 "dlls/tapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
14766 "dlls/ttydrv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
14767 "dlls/twain/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/twain/Makefile" ;;
14768 "dlls/url/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
14769 "dlls/urlmon/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
14770 "dlls/user/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/Makefile" ;;
14771 "dlls/user/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/tests/Makefile" ;;
14772 "dlls/version/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
14773 "dlls/win32s/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/win32s/Makefile" ;;
14774 "dlls/winaspi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winaspi/Makefile" ;;
14775 "dlls/winedos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
14776 "dlls/wineps/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wineps/Makefile" ;;
14777 "dlls/wininet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
14778 "dlls/wininet/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
14779 "dlls/winmm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
14780 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
14781 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
14782 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
14783 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
14784 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
14785 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
14786 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
14787 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
14788 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
14789 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
14790 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
14791 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
14792 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
14793 "dlls/winnls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winnls/Makefile" ;;
14794 "dlls/winsock/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/Makefile" ;;
14795 "dlls/winsock/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/tests/Makefile" ;;
14796 "dlls/winspool/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/Makefile" ;;
14797 "dlls/wintrust/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
14798 "dlls/wow32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
14799 "dlls/wsock32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
14800 "dlls/x11drv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/x11drv/Makefile" ;;
14801 "documentation/Makefile" ) CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
14802 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
14803 "library/Makefile" ) CONFIG_FILES="$CONFIG_FILES library/Makefile" ;;
14804 "miscemu/Makefile" ) CONFIG_FILES="$CONFIG_FILES miscemu/Makefile" ;;
14805 "ole/Makefile" ) CONFIG_FILES="$CONFIG_FILES ole/Makefile" ;;
14806 "programs/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
14807 "programs/avitools/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/avitools/Makefile" ;;
14808 "programs/clock/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
14809 "programs/cmdlgtst/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
14810 "programs/control/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
14811 "programs/expand/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
14812 "programs/notepad/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
14813 "programs/osversioncheck/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/osversioncheck/Makefile" ;;
14814 "programs/progman/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
14815 "programs/regapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regapi/Makefile" ;;
14816 "programs/regedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
14817 "programs/regsvr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
14818 "programs/regtest/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regtest/Makefile" ;;
14819 "programs/uninstaller/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
14820 "programs/view/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
14821 "programs/wcmd/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wcmd/Makefile" ;;
14822 "programs/wineconsole/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
14823 "programs/winedbg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
14824 "programs/winefile/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
14825 "programs/winemine/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
14826 "programs/winepath/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
14827 "programs/winetest/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
14828 "programs/winhelp/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
14829 "programs/winver/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
14830 "server/Makefile" ) CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
14831 "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
14832 "tools/widl/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
14833 "tools/winapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winapi/Makefile" ;;
14834 "tools/winebuild/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
14835 "tools/winedump/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
14836 "tools/wmc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
14837 "tools/wpp/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wpp/Makefile" ;;
14838 "tools/wrc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
14839 "unicode/Makefile" ) CONFIG_FILES="$CONFIG_FILES unicode/Makefile" ;;
14840 "controls" ) CONFIG_COMMANDS="$CONFIG_COMMANDS controls" ;;
14841 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
14842 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
14843 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
14844 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
14845 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
14846 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
14847 "dlls/dinput/joystick" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/dinput/joystick" ;;
14848 "dlls/dinput/keyboard" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/dinput/keyboard" ;;
14849 "dlls/dinput/mouse" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/dinput/mouse" ;;
14850 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
14851 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
14852 "dlls/gdi/win16drv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/win16drv" ;;
14853 "dlls/kernel/messages" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel/messages" ;;
14854 "dlls/user/dde" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/dde" ;;
14855 "dlls/user/resources" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/resources" ;;
14856 "dlls/wineps/data" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps/data" ;;
14857 "files" ) CONFIG_COMMANDS="$CONFIG_COMMANDS files" ;;
14858 "graphics" ) CONFIG_COMMANDS="$CONFIG_COMMANDS graphics" ;;
14859 "graphics/x11drv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS graphics/x11drv" ;;
14860 "if1632" ) CONFIG_COMMANDS="$CONFIG_COMMANDS if1632" ;;
14861 "include/wine" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
14862 "loader" ) CONFIG_COMMANDS="$CONFIG_COMMANDS loader" ;;
14863 "loader/ne" ) CONFIG_COMMANDS="$CONFIG_COMMANDS loader/ne" ;;
14864 "memory" ) CONFIG_COMMANDS="$CONFIG_COMMANDS memory" ;;
14865 "misc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS misc" ;;
14866 "msdos" ) CONFIG_COMMANDS="$CONFIG_COMMANDS msdos" ;;
14867 "objects" ) CONFIG_COMMANDS="$CONFIG_COMMANDS objects" ;;
14868 "programs/regapi/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS programs/regapi/tests" ;;
14869 "programs/regedit/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS programs/regedit/tests" ;;
14870 "programs/winetest/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS programs/winetest/tests" ;;
14871 "relay32" ) CONFIG_COMMANDS="$CONFIG_COMMANDS relay32" ;;
14872 "scheduler" ) CONFIG_COMMANDS="$CONFIG_COMMANDS scheduler" ;;
14873 "win32" ) CONFIG_COMMANDS="$CONFIG_COMMANDS win32" ;;
14874 "windows" ) CONFIG_COMMANDS="$CONFIG_COMMANDS windows" ;;
14875 "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
14876 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14877 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14878 { (exit 1); exit 1; }; };;
14882 # If the user did not use the arguments to specify the items to instantiate,
14883 # then the envvar interface is used. Set only those that are not.
14884 # We use the long form for the default assignment because of an extremely
14885 # bizarre bug on SunOS 4.1.3.
14886 if $ac_need_defaults; then
14887 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14888 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14889 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14892 # Create a temporary directory, and hook for its removal unless debugging.
14895 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
14896 trap '{ (exit 1); exit 1; }' 1 2 13 15
14899 # Create a (secure) tmp directory for tmp files.
14902 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
14903 test -n "$tmp" && test -d "$tmp"
14906 tmp=$TMPDIR/cs$$-$RANDOM
14907 (umask 077 && mkdir $tmp)
14910 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
14911 { (exit 1); exit 1; }
14916 cat >>$CONFIG_STATUS <<_ACEOF
14919 # CONFIG_FILES section.
14922 # No need to generate the scripts if there are no CONFIG_FILES.
14923 # This happens for instance when ./config.status config.h
14924 if test -n "\$CONFIG_FILES"; then
14925 # Protect against being on the right side of a sed subst in config.status.
14926 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
14927 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
14928 s,@SHELL@,$SHELL,;t t
14929 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
14930 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
14931 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
14932 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
14933 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
14934 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
14935 s,@exec_prefix@,$exec_prefix,;t t
14936 s,@prefix@,$prefix,;t t
14937 s,@program_transform_name@,$program_transform_name,;t t
14938 s,@bindir@,$bindir,;t t
14939 s,@sbindir@,$sbindir,;t t
14940 s,@libexecdir@,$libexecdir,;t t
14941 s,@datadir@,$datadir,;t t
14942 s,@sysconfdir@,$sysconfdir,;t t
14943 s,@sharedstatedir@,$sharedstatedir,;t t
14944 s,@localstatedir@,$localstatedir,;t t
14945 s,@libdir@,$libdir,;t t
14946 s,@includedir@,$includedir,;t t
14947 s,@oldincludedir@,$oldincludedir,;t t
14948 s,@infodir@,$infodir,;t t
14949 s,@mandir@,$mandir,;t t
14950 s,@build_alias@,$build_alias,;t t
14951 s,@host_alias@,$host_alias,;t t
14952 s,@target_alias@,$target_alias,;t t
14953 s,@DEFS@,$DEFS,;t t
14954 s,@ECHO_C@,$ECHO_C,;t t
14955 s,@ECHO_N@,$ECHO_N,;t t
14956 s,@ECHO_T@,$ECHO_T,;t t
14957 s,@LIBS@,$LIBS,;t t
14958 s,@LIBEXT@,$LIBEXT,;t t
14959 s,@OPTIONS@,$OPTIONS,;t t
14960 s,@WIN16_FILES@,$WIN16_FILES,;t t
14961 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
14962 s,@build@,$build,;t t
14963 s,@build_cpu@,$build_cpu,;t t
14964 s,@build_vendor@,$build_vendor,;t t
14965 s,@build_os@,$build_os,;t t
14966 s,@host@,$host,;t t
14967 s,@host_cpu@,$host_cpu,;t t
14968 s,@host_vendor@,$host_vendor,;t t
14969 s,@host_os@,$host_os,;t t
14970 s,@SET_MAKE@,$SET_MAKE,;t t
14972 s,@CFLAGS@,$CFLAGS,;t t
14973 s,@LDFLAGS@,$LDFLAGS,;t t
14974 s,@CPPFLAGS@,$CPPFLAGS,;t t
14975 s,@ac_ct_CC@,$ac_ct_CC,;t t
14976 s,@EXEEXT@,$EXEEXT,;t t
14977 s,@OBJEXT@,$OBJEXT,;t t
14979 s,@TOOLSDIR@,$TOOLSDIR,;t t
14980 s,@X_CFLAGS@,$X_CFLAGS,;t t
14981 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
14982 s,@X_LIBS@,$X_LIBS,;t t
14983 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
14984 s,@YACC@,$YACC,;t t
14986 s,@LEXLIB@,$LEXLIB,;t t
14987 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
14988 s,@XYACC@,$XYACC,;t t
14989 s,@XLEX@,$XLEX,;t t
14991 s,@ac_ct_LD@,$ac_ct_LD,;t t
14993 s,@ac_ct_AR@,$ac_ct_AR,;t t
14994 s,@RANLIB@,$RANLIB,;t t
14995 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
14996 s,@STRIP@,$STRIP,;t t
14997 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
14998 s,@WINDRES@,$WINDRES,;t t
14999 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
15000 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
15001 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
15002 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
15003 s,@LN_S@,$LN_S,;t t
15005 s,@C2MAN@,$C2MAN,;t t
15006 s,@LDCONFIG@,$LDCONFIG,;t t
15007 s,@LINT@,$LINT,;t t
15008 s,@LINTFLAGS@,$LINTFLAGS,;t t
15009 s,@JPEGLIB@,$JPEGLIB,;t t
15010 s,@XLIB@,$XLIB,;t t
15011 s,@XFILES@,$XFILES,;t t
15012 s,@OPENGLFILES@,$OPENGLFILES,;t t
15013 s,@GLU32FILES@,$GLU32FILES,;t t
15014 s,@CURSESLIBS@,$CURSESLIBS,;t t
15015 s,@CUPSLIBS@,$CUPSLIBS,;t t
15016 s,@sane_devel@,$sane_devel,;t t
15017 s,@SANELIBS@,$SANELIBS,;t t
15018 s,@SANEINCL@,$SANEINCL,;t t
15019 s,@ft_devel@,$ft_devel,;t t
15020 s,@ft_devel2@,$ft_devel2,;t t
15021 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
15022 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
15023 s,@ARTSLIBS@,$ARTSLIBS,;t t
15024 s,@ARTSINCL@,$ARTSINCL,;t t
15025 s,@ALSALIBS@,$ALSALIBS,;t t
15026 s,@NASLIBS@,$NASLIBS,;t t
15027 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
15028 s,@DLLEXT@,$DLLEXT,;t t
15029 s,@DLLFLAGS@,$DLLFLAGS,;t t
15030 s,@DLLIBS@,$DLLIBS,;t t
15031 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
15032 s,@LDSHARED@,$LDSHARED,;t t
15033 s,@DLLWRAP@,$DLLWRAP,;t t
15034 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
15035 s,@CROSSTEST@,$CROSSTEST,;t t
15036 s,@CROSSCC@,$CROSSCC,;t t
15037 s,@DLLTOOL@,$DLLTOOL,;t t
15038 s,@LDPATH@,$LDPATH,;t t
15039 s,@CRTLIBS@,$CRTLIBS,;t t
15041 s,@ALLOCA@,$ALLOCA,;t t
15042 /@MAKE_RULES@/r $MAKE_RULES
15043 s,@MAKE_RULES@,,;t t
15044 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
15045 s,@MAKE_DLL_RULES@,,;t t
15046 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
15047 s,@MAKE_TEST_RULES@,,;t t
15048 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
15049 s,@MAKE_PROG_RULES@,,;t t
15054 cat >>$CONFIG_STATUS <<\_ACEOF
15055 # Split the substitutions into bite-sized pieces for seds with
15056 # small command number limits, like on Digital OSF/1 and HP-UX.
15057 ac_max_sed_lines=48
15058 ac_sed_frag=1 # Number of current file.
15059 ac_beg=1 # First line for current file.
15060 ac_end=$ac_max_sed_lines # Line after last line for current file.
15063 while $ac_more_lines; do
15064 if test $ac_beg -gt 1; then
15065 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
15067 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
15069 if test ! -s $tmp/subs.frag; then
15070 ac_more_lines=false
15072 # The purpose of the label and of the branching condition is to
15073 # speed up the sed processing (if there are no `@' at all, there
15074 # is no need to browse any of the substitutions).
15075 # These are the two extra sed commands mentioned above.
15077 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
15078 if test -z "$ac_sed_cmds"; then
15079 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
15081 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
15083 ac_sed_frag=`expr $ac_sed_frag + 1`
15085 ac_end=`expr $ac_end + $ac_max_sed_lines`
15088 if test -z "$ac_sed_cmds"; then
15091 fi # test -n "$CONFIG_FILES"
15094 cat >>$CONFIG_STATUS <<\_ACEOF
15095 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
15096 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15098 - | *:- | *:-:* ) # input from stdin
15100 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15101 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15102 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15103 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15104 * ) ac_file_in=$ac_file.in ;;
15107 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
15108 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
15109 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15110 X"$ac_file" : 'X\(//\)[^/]' \| \
15111 X"$ac_file" : 'X\(//\)$' \| \
15112 X"$ac_file" : 'X\(/\)' \| \
15113 . : '\(.\)' 2>/dev/null ||
15115 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15116 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15117 /^X\(\/\/\)$/{ s//\1/; q; }
15118 /^X\(\/\).*/{ s//\1/; q; }
15120 { case "$ac_dir" in
15121 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
15125 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
15126 case $as_mkdir_dir in
15127 # Skip DOS drivespec
15128 ?:) as_incr_dir=$as_mkdir_dir ;;
15130 as_incr_dir=$as_incr_dir/$as_mkdir_dir
15131 test -d "$as_incr_dir" ||
15132 mkdir "$as_incr_dir" ||
15133 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
15134 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
15135 { (exit 1); exit 1; }; }
15142 if test "$ac_dir" != .; then
15143 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15144 # A "../" for each directory in $ac_dir_suffix.
15145 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15147 ac_dir_suffix= ac_top_builddir=
15151 .) # No --srcdir option. We are building in place.
15153 if test -z "$ac_top_builddir"; then
15156 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
15158 [\\/]* | ?:[\\/]* ) # Absolute path.
15159 ac_srcdir=$srcdir$ac_dir_suffix;
15160 ac_top_srcdir=$srcdir ;;
15161 *) # Relative path.
15162 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
15163 ac_top_srcdir=$ac_top_builddir$srcdir ;;
15165 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
15167 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
15168 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
15169 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
15170 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
15174 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15175 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
15178 if test x"$ac_file" != x-; then
15179 { echo "$as_me:$LINENO: creating $ac_file" >&5
15180 echo "$as_me: creating $ac_file" >&6;}
15183 # Let's still pretend it is `configure' which instantiates (i.e., don't
15184 # use $as_me), people would be surprised to read:
15185 # /* config.h. Generated by config.status. */
15186 if test x"$ac_file" = x-; then
15189 configure_input="$ac_file. "
15191 configure_input=$configure_input"Generated from `echo $ac_file_in |
15192 sed 's,.*/,,'` by configure."
15194 # First look for the input files in the build tree, otherwise in the
15196 ac_file_inputs=`IFS=:
15197 for f in $ac_file_in; do
15199 -) echo $tmp/stdin ;;
15201 # Absolute (can't be DOS-style, as IFS=:)
15202 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15203 echo "$as_me: error: cannot find input file: $f" >&2;}
15204 { (exit 1); exit 1; }; }
15207 if test -f "$f"; then
15210 elif test -f "$srcdir/$f"; then
15215 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15216 echo "$as_me: error: cannot find input file: $f" >&2;}
15217 { (exit 1); exit 1; }; }
15220 done` || { (exit 1); exit 1; }
15222 cat >>$CONFIG_STATUS <<_ACEOF
15226 cat >>$CONFIG_STATUS <<\_ACEOF
15228 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15229 s,@configure_input@,$configure_input,;t t
15230 s,@srcdir@,$ac_srcdir,;t t
15231 s,@abs_srcdir@,$ac_abs_srcdir,;t t
15232 s,@top_srcdir@,$ac_top_srcdir,;t t
15233 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
15234 s,@builddir@,$ac_builddir,;t t
15235 s,@abs_builddir@,$ac_abs_builddir,;t t
15236 s,@top_builddir@,$ac_top_builddir,;t t
15237 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
15238 s,@INSTALL@,$ac_INSTALL,;t t
15239 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
15241 if test x"$ac_file" != x-; then
15242 mv $tmp/out $ac_file
15250 cat >>$CONFIG_STATUS <<\_ACEOF
15253 # CONFIG_HEADER section.
15256 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
15257 # NAME is the cpp macro being defined and VALUE is the value it is being given.
15259 # ac_d sets the value in "#define NAME VALUE" lines.
15260 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
15261 ac_dB='[ ].*$,\1#\2'
15264 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
15265 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
15266 ac_uB='$,\1#\2define\3'
15270 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
15271 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15273 - | *:- | *:-:* ) # input from stdin
15275 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15276 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15277 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15278 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15279 * ) ac_file_in=$ac_file.in ;;
15282 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
15283 echo "$as_me: creating $ac_file" >&6;}
15285 # First look for the input files in the build tree, otherwise in the
15287 ac_file_inputs=`IFS=:
15288 for f in $ac_file_in; do
15290 -) echo $tmp/stdin ;;
15292 # Absolute (can't be DOS-style, as IFS=:)
15293 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15294 echo "$as_me: error: cannot find input file: $f" >&2;}
15295 { (exit 1); exit 1; }; }
15298 if test -f "$f"; then
15301 elif test -f "$srcdir/$f"; then
15306 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15307 echo "$as_me: error: cannot find input file: $f" >&2;}
15308 { (exit 1); exit 1; }; }
15311 done` || { (exit 1); exit 1; }
15312 # Remove the trailing spaces.
15313 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
15317 # Transform confdefs.h into two sed scripts, `conftest.defines' and
15318 # `conftest.undefs', that substitutes the proper values into
15319 # config.h.in to produce config.h. The first handles `#define'
15320 # templates, and the second `#undef' templates.
15321 # And first: Protect against being on the right side of a sed subst in
15322 # config.status. Protect against being in an unquoted here document
15323 # in config.status.
15324 rm -f conftest.defines conftest.undefs
15325 # Using a here document instead of a string reduces the quoting nightmare.
15326 # Putting comments in sed scripts is not portable.
15328 # `end' is used to avoid that the second main sed command (meant for
15329 # 0-ary CPP macros) applies to n-ary macro definitions.
15330 # See the Autoconf documentation for `clear'.
15331 cat >confdef2sed.sed <<\_ACEOF
15336 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
15338 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
15341 # If some macros were called several times there might be several times
15342 # the same #defines, which is useless. Nevertheless, we may not want to
15343 # sort them, since we want the *last* AC-DEFINE to be honored.
15344 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
15345 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
15346 rm -f confdef2sed.sed
15348 # This sed command replaces #undef with comments. This is necessary, for
15349 # example, in the case of _POSIX_SOURCE, which is predefined and required
15350 # on some systems where configure will not decide to define it.
15351 cat >>conftest.undefs <<\_ACEOF
15352 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
15355 # Break up conftest.defines because some shells have a limit on the size
15356 # of here documents, and old seds have small limits too (100 cmds).
15357 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
15358 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
15359 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
15360 echo ' :' >>$CONFIG_STATUS
15361 rm -f conftest.tail
15362 while grep . conftest.defines >/dev/null
15364 # Write a limited-size here document to $tmp/defines.sed.
15365 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
15366 # Speed up: don't consider the non `#define' lines.
15367 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
15368 # Work around the forget-to-reset-the-flag bug.
15369 echo 't clr' >>$CONFIG_STATUS
15370 echo ': clr' >>$CONFIG_STATUS
15371 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
15373 sed -f $tmp/defines.sed $tmp/in >$tmp/out
15375 mv $tmp/out $tmp/in
15377 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
15378 rm -f conftest.defines
15379 mv conftest.tail conftest.defines
15381 rm -f conftest.defines
15382 echo ' fi # egrep' >>$CONFIG_STATUS
15383 echo >>$CONFIG_STATUS
15385 # Break up conftest.undefs because some shells have a limit on the size
15386 # of here documents, and old seds have small limits too (100 cmds).
15387 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
15388 rm -f conftest.tail
15389 while grep . conftest.undefs >/dev/null
15391 # Write a limited-size here document to $tmp/undefs.sed.
15392 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
15393 # Speed up: don't consider the non `#undef'
15394 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
15395 # Work around the forget-to-reset-the-flag bug.
15396 echo 't clr' >>$CONFIG_STATUS
15397 echo ': clr' >>$CONFIG_STATUS
15398 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
15400 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
15402 mv $tmp/out $tmp/in
15404 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
15405 rm -f conftest.undefs
15406 mv conftest.tail conftest.undefs
15408 rm -f conftest.undefs
15410 cat >>$CONFIG_STATUS <<\_ACEOF
15411 # Let's still pretend it is `configure' which instantiates (i.e., don't
15412 # use $as_me), people would be surprised to read:
15413 # /* config.h. Generated by config.status. */
15414 if test x"$ac_file" = x-; then
15415 echo "/* Generated by configure. */" >$tmp/config.h
15417 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
15419 cat $tmp/in >>$tmp/config.h
15421 if test x"$ac_file" != x-; then
15422 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
15423 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15424 echo "$as_me: $ac_file is unchanged" >&6;}
15426 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
15427 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15428 X"$ac_file" : 'X\(//\)[^/]' \| \
15429 X"$ac_file" : 'X\(//\)$' \| \
15430 X"$ac_file" : 'X\(/\)' \| \
15431 . : '\(.\)' 2>/dev/null ||
15433 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15434 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15435 /^X\(\/\/\)$/{ s//\1/; q; }
15436 /^X\(\/\).*/{ s//\1/; q; }
15438 { case "$ac_dir" in
15439 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
15443 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
15444 case $as_mkdir_dir in
15445 # Skip DOS drivespec
15446 ?:) as_incr_dir=$as_mkdir_dir ;;
15448 as_incr_dir=$as_incr_dir/$as_mkdir_dir
15449 test -d "$as_incr_dir" ||
15450 mkdir "$as_incr_dir" ||
15451 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
15452 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
15453 { (exit 1); exit 1; }; }
15459 mv $tmp/config.h $ac_file
15463 rm -f $tmp/config.h
15467 cat >>$CONFIG_STATUS <<\_ACEOF
15470 # CONFIG_COMMANDS section.
15472 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
15473 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
15474 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
15475 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
15476 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15477 X"$ac_dest" : 'X\(//\)[^/]' \| \
15478 X"$ac_dest" : 'X\(//\)$' \| \
15479 X"$ac_dest" : 'X\(/\)' \| \
15480 . : '\(.\)' 2>/dev/null ||
15482 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15483 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15484 /^X\(\/\/\)$/{ s//\1/; q; }
15485 /^X\(\/\).*/{ s//\1/; q; }
15489 if test "$ac_dir" != .; then
15490 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15491 # A "../" for each directory in $ac_dir_suffix.
15492 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15494 ac_dir_suffix= ac_top_builddir=
15498 .) # No --srcdir option. We are building in place.
15500 if test -z "$ac_top_builddir"; then
15503 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
15505 [\\/]* | ?:[\\/]* ) # Absolute path.
15506 ac_srcdir=$srcdir$ac_dir_suffix;
15507 ac_top_srcdir=$srcdir ;;
15508 *) # Relative path.
15509 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
15510 ac_top_srcdir=$ac_top_builddir$srcdir ;;
15512 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
15514 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
15515 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
15516 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
15517 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
15520 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
15521 echo "$as_me: executing $ac_dest commands" >&6;}
15523 controls ) test -d "controls" || ({ echo "$as_me:$LINENO: creating controls" >&5
15524 echo "$as_me: creating controls" >&6;} && mkdir "controls") ;;
15525 dlls/ddraw/d3ddevice ) test -d "dlls/ddraw/d3ddevice" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/d3ddevice" >&5
15526 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir "dlls/ddraw/d3ddevice") ;;
15527 dlls/ddraw/dclipper ) test -d "dlls/ddraw/dclipper" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dclipper" >&5
15528 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir "dlls/ddraw/dclipper") ;;
15529 dlls/ddraw/ddraw ) test -d "dlls/ddraw/ddraw" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/ddraw" >&5
15530 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir "dlls/ddraw/ddraw") ;;
15531 dlls/ddraw/direct3d ) test -d "dlls/ddraw/direct3d" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/direct3d" >&5
15532 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir "dlls/ddraw/direct3d") ;;
15533 dlls/ddraw/dpalette ) test -d "dlls/ddraw/dpalette" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dpalette" >&5
15534 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir "dlls/ddraw/dpalette") ;;
15535 dlls/ddraw/dsurface ) test -d "dlls/ddraw/dsurface" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dsurface" >&5
15536 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir "dlls/ddraw/dsurface") ;;
15537 dlls/dinput/joystick ) test -d "dlls/dinput/joystick" || ({ echo "$as_me:$LINENO: creating dlls/dinput/joystick" >&5
15538 echo "$as_me: creating dlls/dinput/joystick" >&6;} && mkdir "dlls/dinput/joystick") ;;
15539 dlls/dinput/keyboard ) test -d "dlls/dinput/keyboard" || ({ echo "$as_me:$LINENO: creating dlls/dinput/keyboard" >&5
15540 echo "$as_me: creating dlls/dinput/keyboard" >&6;} && mkdir "dlls/dinput/keyboard") ;;
15541 dlls/dinput/mouse ) test -d "dlls/dinput/mouse" || ({ echo "$as_me:$LINENO: creating dlls/dinput/mouse" >&5
15542 echo "$as_me: creating dlls/dinput/mouse" >&6;} && mkdir "dlls/dinput/mouse") ;;
15543 dlls/gdi/enhmfdrv ) test -d "dlls/gdi/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
15544 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir "dlls/gdi/enhmfdrv") ;;
15545 dlls/gdi/mfdrv ) test -d "dlls/gdi/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
15546 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir "dlls/gdi/mfdrv") ;;
15547 dlls/gdi/win16drv ) test -d "dlls/gdi/win16drv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/win16drv" >&5
15548 echo "$as_me: creating dlls/gdi/win16drv" >&6;} && mkdir "dlls/gdi/win16drv") ;;
15549 dlls/kernel/messages ) test -d "dlls/kernel/messages" || ({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
15550 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir "dlls/kernel/messages") ;;
15551 dlls/user/dde ) test -d "dlls/user/dde" || ({ echo "$as_me:$LINENO: creating dlls/user/dde" >&5
15552 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir "dlls/user/dde") ;;
15553 dlls/user/resources ) test -d "dlls/user/resources" || ({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
15554 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir "dlls/user/resources") ;;
15555 dlls/wineps/data ) test -d "dlls/wineps/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
15556 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir "dlls/wineps/data") ;;
15557 files ) test -d "files" || ({ echo "$as_me:$LINENO: creating files" >&5
15558 echo "$as_me: creating files" >&6;} && mkdir "files") ;;
15559 graphics ) test -d "graphics" || ({ echo "$as_me:$LINENO: creating graphics" >&5
15560 echo "$as_me: creating graphics" >&6;} && mkdir "graphics") ;;
15561 graphics/x11drv ) test -d "graphics/x11drv" || ({ echo "$as_me:$LINENO: creating graphics/x11drv" >&5
15562 echo "$as_me: creating graphics/x11drv" >&6;} && mkdir "graphics/x11drv") ;;
15563 if1632 ) test -d "if1632" || ({ echo "$as_me:$LINENO: creating if1632" >&5
15564 echo "$as_me: creating if1632" >&6;} && mkdir "if1632") ;;
15565 include/wine ) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
15566 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
15567 loader ) test -d "loader" || ({ echo "$as_me:$LINENO: creating loader" >&5
15568 echo "$as_me: creating loader" >&6;} && mkdir "loader") ;;
15569 loader/ne ) test -d "loader/ne" || ({ echo "$as_me:$LINENO: creating loader/ne" >&5
15570 echo "$as_me: creating loader/ne" >&6;} && mkdir "loader/ne") ;;
15571 memory ) test -d "memory" || ({ echo "$as_me:$LINENO: creating memory" >&5
15572 echo "$as_me: creating memory" >&6;} && mkdir "memory") ;;
15573 misc ) test -d "misc" || ({ echo "$as_me:$LINENO: creating misc" >&5
15574 echo "$as_me: creating misc" >&6;} && mkdir "misc") ;;
15575 msdos ) test -d "msdos" || ({ echo "$as_me:$LINENO: creating msdos" >&5
15576 echo "$as_me: creating msdos" >&6;} && mkdir "msdos") ;;
15577 objects ) test -d "objects" || ({ echo "$as_me:$LINENO: creating objects" >&5
15578 echo "$as_me: creating objects" >&6;} && mkdir "objects") ;;
15579 programs/regapi/tests ) test -d "programs/regapi/tests" || ({ echo "$as_me:$LINENO: creating programs/regapi/tests" >&5
15580 echo "$as_me: creating programs/regapi/tests" >&6;} && mkdir "programs/regapi/tests") ;;
15581 programs/regedit/tests ) test -d "programs/regedit/tests" || ({ echo "$as_me:$LINENO: creating programs/regedit/tests" >&5
15582 echo "$as_me: creating programs/regedit/tests" >&6;} && mkdir "programs/regedit/tests") ;;
15583 programs/winetest/tests ) test -d "programs/winetest/tests" || ({ echo "$as_me:$LINENO: creating programs/winetest/tests" >&5
15584 echo "$as_me: creating programs/winetest/tests" >&6;} && mkdir "programs/winetest/tests") ;;
15585 relay32 ) test -d "relay32" || ({ echo "$as_me:$LINENO: creating relay32" >&5
15586 echo "$as_me: creating relay32" >&6;} && mkdir "relay32") ;;
15587 scheduler ) test -d "scheduler" || ({ echo "$as_me:$LINENO: creating scheduler" >&5
15588 echo "$as_me: creating scheduler" >&6;} && mkdir "scheduler") ;;
15589 win32 ) test -d "win32" || ({ echo "$as_me:$LINENO: creating win32" >&5
15590 echo "$as_me: creating win32" >&6;} && mkdir "win32") ;;
15591 windows ) test -d "windows" || ({ echo "$as_me:$LINENO: creating windows" >&5
15592 echo "$as_me: creating windows" >&6;} && mkdir "windows") ;;
15597 cat >>$CONFIG_STATUS <<\_ACEOF
15599 { (exit 0); exit 0; }
15601 chmod +x $CONFIG_STATUS
15602 ac_clean_files=$ac_clean_files_save
15605 # configure is writing to config.log, and then calls config.status.
15606 # config.status does its own redirection, appending to config.log.
15607 # Unfortunately, on DOS this fails, as config.log is still kept open
15608 # by configure, so config.status won't be able to write to it; its
15609 # output is simply discarded. So we exec the FD to /dev/null,
15610 # effectively closing config.log, so it can be properly (re)opened and
15611 # appended to by config.status. When coming back to configure, we
15612 # need to make the FD available again.
15613 if test "$no_create" != yes; then
15616 $SHELL $CONFIG_STATUS || ac_cs_success=false
15618 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15619 # would make configure fail if this is the last instruction.
15620 $ac_cs_success || { (exit 1); exit 1; }
15624 if test "$have_x" = "no"
15627 echo "*** Warning: X development files not found. Wine will be built without"
15628 echo "*** X support, which currently does not work, and would probably not be"
15629 echo "*** what you want anyway. You will need to install devel packages of"
15630 echo "*** Xlib/Xfree86 at the very least."
15633 if test "$ac_cv_lib_ncurses_resizeterm" = "no" -a "$ac_cv_lib_ncurses_waddch" = "yes"
15636 echo "*** Warning: resizeterm not found in ncurses. Wine will be built without"
15637 echo "*** terminal resize support. Consider upgrading ncurses."
15640 if test "$wine_cv_libc_reentrant" = "no"
15643 echo "*** Warning: non-reentrant libc detected. Wine will be built without"
15644 echo "*** threading support. Consider upgrading libc to a more recent"
15645 echo "*** reentrant version of libc."
15648 if test "$have_x" = "yes" -a "$wine_cv_x_reentrant" != "yes"
15651 echo "*** Warning: non-reentrant X11 library detected. Multi-threaded"
15652 echo "*** applications won't work properly. You should upgrade your X11 library."
15655 if test "$wine_cv_opengl_version_OK" = "no"
15658 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
15659 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
15662 if test "$wine_cv_opengl_version_threadsafe" = "yes" -a "x$enable_opengl" = "x"
15665 echo "*** Warning: the OpenGL version you have installed relies on libpthread for"
15666 echo "*** thread-safety. To prevent crashes, OpenGL support has been disabled."
15667 echo "*** A fix for glibc 2.1.3 that seems to work is included in this version of Wine,"
15668 echo "*** start configure with '--enable-opengl' to force OpenGL support."
15671 if test "$wine_cv_opengl_version_threadsafe" = "yes" -a "x$enable_opengl" = "xyes"
15674 echo "*** Warning: you explicitly linked in a thread-safe OpenGL version. If you"
15675 echo "*** experience unusual crashes on DirectDraw games, try first to disable OpenGL"
15676 echo "*** support before reporting bugs."
15679 if test "$wine_cv_warn_cups_h" = "yes"
15682 echo "*** Note: You have cups runtime libraries, but no development"
15683 echo "*** libraries. Install the cups-devel package or whichever package"
15684 echo "*** contains cups.h to enable CUPS support in Wine."
15687 if test "$wine_cv_msg_freetype" = "yes"
15690 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
15691 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
15692 echo "*** freetype-devel package (or its equivalent on your distribution) to"
15693 echo "*** enable Wine to use TrueType fonts."
15697 echo "Configure finished. Do 'make depend && make' to compile Wine."