2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.53 for Wine 20020509.
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='20020509'
258 PACKAGE_STRING='Wine 20020509'
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 20020509 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 20020509:";;
833 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
834 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
835 --disable-debug compile out all debugging messages
836 --disable-trace compile out TRACE messages
837 --enable-opengl force usage of OpenGL even if the latter is
838 thread-safe via pthread
841 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
842 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
843 --without-curses do not use curses
844 --with-wine-tools=<dir> use Wine tools from directory <dir>
845 --with-x use the X Window System
847 Some influential environment variables:
848 CC C compiler command
849 CFLAGS C compiler flags
850 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
851 nonstandard directory <lib dir>
852 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
853 headers in a nonstandard directory <include dir>
856 Use these variables to override the choices made by `configure' or to help
857 it to find libraries and programs with nonstandard names/locations.
862 if test "$ac_init_help" = "recursive"; then
863 # If there are subdirs, report their specific --help.
865 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
866 test -d $ac_dir || continue
869 if test "$ac_dir" != .; then
870 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
871 # A "../" for each directory in $ac_dir_suffix.
872 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
874 ac_dir_suffix= ac_top_builddir=
878 .) # No --srcdir option. We are building in place.
880 if test -z "$ac_top_builddir"; then
883 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
885 [\\/]* | ?:[\\/]* ) # Absolute path.
886 ac_srcdir=$srcdir$ac_dir_suffix;
887 ac_top_srcdir=$srcdir ;;
889 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
890 ac_top_srcdir=$ac_top_builddir$srcdir ;;
892 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
894 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
895 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
896 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
897 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
900 # Check for guested configure; otherwise get Cygnus style configure.
901 if test -f $ac_srcdir/configure.gnu; then
903 $SHELL $ac_srcdir/configure.gnu --help=recursive
904 elif test -f $ac_srcdir/configure; then
906 $SHELL $ac_srcdir/configure --help=recursive
907 elif test -f $ac_srcdir/configure.ac ||
908 test -f $ac_srcdir/configure.in; then
912 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
918 test -n "$ac_init_help" && exit 0
919 if $ac_init_version; then
921 Wine configure 20020509
922 generated by GNU Autoconf 2.53
924 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
925 Free Software Foundation, Inc.
926 This configure script is free software; the Free Software Foundation
927 gives unlimited permission to copy, distribute and modify it.
933 This file contains any messages produced by compilers while
934 running configure, to aid debugging if configure makes a mistake.
936 It was created by Wine $as_me 20020509, which was
937 generated by GNU Autoconf 2.53. Invocation command line was
948 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
949 uname -m = `(uname -m) 2>/dev/null || echo unknown`
950 uname -r = `(uname -r) 2>/dev/null || echo unknown`
951 uname -s = `(uname -s) 2>/dev/null || echo unknown`
952 uname -v = `(uname -v) 2>/dev/null || echo unknown`
954 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
955 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
957 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
958 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
959 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
960 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
961 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
962 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
963 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
971 test -z "$as_dir" && as_dir=.
987 # Keep a trace of the command line.
988 # Strip out --no-create and --no-recursion so they do not pile up.
989 # Also quote any args containing shell meta-characters.
995 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
996 | --no-cr | --no-c | -n ) continue ;;
997 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
998 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1000 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1001 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1003 case " $ac_configure_args " in
1004 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1005 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1008 # Get rid of the leading space.
1011 # When interrupted or exit'd, cleanup temporary files, and complete
1012 # config.log. We remove comments because anyway the quotes in there
1013 # would cause problems or look ugly.
1014 # WARNING: Be sure not to use single quotes in there, as some shells,
1015 # such as our DU 5.0 friend, will then `close' the trap.
1016 trap 'exit_status=$?
1017 # Save into config.log some information that might help in debugging.
1021 ## ---------------- ##
1022 ## Cache variables. ##
1023 ## ---------------- ##
1026 # The following way of writing the cache mishandles newlines in values,
1029 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1032 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1033 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1037 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1042 if test -s confdefs.h; then
1049 sed "/^$/d" confdefs.h
1052 test "$ac_signal" != 0 &&
1053 echo "$as_me: caught signal $ac_signal"
1054 echo "$as_me: exit $exit_status"
1056 rm -f core core.* *.core &&
1057 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1060 for ac_signal in 1 2 13 15; do
1061 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1065 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1066 rm -rf conftest* confdefs.h
1067 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1070 # Predefined preprocessor variables.
1072 cat >>confdefs.h <<_ACEOF
1073 #define PACKAGE_NAME "$PACKAGE_NAME"
1077 cat >>confdefs.h <<_ACEOF
1078 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1082 cat >>confdefs.h <<_ACEOF
1083 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1087 cat >>confdefs.h <<_ACEOF
1088 #define PACKAGE_STRING "$PACKAGE_STRING"
1092 cat >>confdefs.h <<_ACEOF
1093 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1097 # Let the site file select an alternate cache file if it wants to.
1098 # Prefer explicitly selected file to automatically selected ones.
1099 if test -z "$CONFIG_SITE"; then
1100 if test "x$prefix" != xNONE; then
1101 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1103 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1106 for ac_site_file in $CONFIG_SITE; do
1107 if test -r "$ac_site_file"; then
1108 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1109 echo "$as_me: loading site script $ac_site_file" >&6;}
1110 sed 's/^/| /' "$ac_site_file" >&5
1115 if test -r "$cache_file"; then
1116 # Some versions of bash will fail to source /dev/null (special
1117 # files actually), so we avoid doing that.
1118 if test -f "$cache_file"; then
1119 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1120 echo "$as_me: loading cache $cache_file" >&6;}
1122 [\\/]* | ?:[\\/]* ) . $cache_file;;
1123 *) . ./$cache_file;;
1127 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1128 echo "$as_me: creating cache $cache_file" >&6;}
1132 # Check that the precious variables saved in the cache have kept the same
1134 ac_cache_corrupted=false
1135 for ac_var in `(set) 2>&1 |
1136 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1137 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1138 eval ac_new_set=\$ac_env_${ac_var}_set
1139 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1140 eval ac_new_val="\$ac_env_${ac_var}_value"
1141 case $ac_old_set,$ac_new_set in
1143 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1144 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1145 ac_cache_corrupted=: ;;
1147 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1148 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1149 ac_cache_corrupted=: ;;
1152 if test "x$ac_old_val" != "x$ac_new_val"; then
1153 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1154 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1155 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1156 echo "$as_me: former value: $ac_old_val" >&2;}
1157 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1158 echo "$as_me: current value: $ac_new_val" >&2;}
1159 ac_cache_corrupted=:
1162 # Pass precious variables to config.status.
1163 if test "$ac_new_set" = set; then
1165 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1166 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1167 *) ac_arg=$ac_var=$ac_new_val ;;
1169 case " $ac_configure_args " in
1170 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1171 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1175 if $ac_cache_corrupted; then
1176 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1177 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1178 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1179 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1180 { (exit 1); exit 1; }; }
1184 ac_cpp='$CPP $CPPFLAGS'
1185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1215 ac_config_headers="$ac_config_headers include/config.h"
1218 for ac_dir in tools $srcdir/tools; do
1219 if test -f $ac_dir/install-sh; then
1221 ac_install_sh="$ac_aux_dir/install-sh -c"
1223 elif test -f $ac_dir/install.sh; then
1225 ac_install_sh="$ac_aux_dir/install.sh -c"
1227 elif test -f $ac_dir/shtool; then
1229 ac_install_sh="$ac_aux_dir/shtool install -c"
1233 if test -z "$ac_aux_dir"; then
1234 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&5
1235 echo "$as_me: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&2;}
1236 { (exit 1); exit 1; }; }
1238 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1239 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1240 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1244 LIBEXT=so # library type .so or .a
1246 # Check whether --enable-debug or --disable-debug was given.
1247 if test "${enable_debug+set}" = set; then
1248 enableval="$enable_debug"
1251 # Check whether --enable-trace or --disable-trace was given.
1252 if test "${enable_trace+set}" = set; then
1253 enableval="$enable_trace"
1256 # Check whether --enable-opengl or --disable-opengl was given.
1257 if test "${enable_opengl+set}" = set; then
1258 enableval="$enable_opengl"
1262 # Check whether --with-curses or --without-curses was given.
1263 if test "${with_curses+set}" = set; then
1264 withval="$with_curses"
1268 # Check whether --with-wine-tools or --without-wine-tools was given.
1269 if test "${with_wine_tools+set}" = set; then
1270 withval="$with_wine_tools"
1275 if test "x$enable_debug" = "xno"
1278 cat >>confdefs.h <<\_ACEOF
1279 #define NO_DEBUG_MSGS 1
1283 if test "x$enable_trace" = "xno" -o "x$enable_debug" = "xno"
1286 cat >>confdefs.h <<\_ACEOF
1287 #define NO_TRACE_MSGS 1
1293 # Make sure we can run config.sub.
1294 $ac_config_sub sun4 >/dev/null 2>&1 ||
1295 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1296 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1297 { (exit 1); exit 1; }; }
1299 echo "$as_me:$LINENO: checking build system type" >&5
1300 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1301 if test "${ac_cv_build+set}" = set; then
1302 echo $ECHO_N "(cached) $ECHO_C" >&6
1304 ac_cv_build_alias=$build_alias
1305 test -z "$ac_cv_build_alias" &&
1306 ac_cv_build_alias=`$ac_config_guess`
1307 test -z "$ac_cv_build_alias" &&
1308 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1309 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1310 { (exit 1); exit 1; }; }
1311 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1312 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1313 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1314 { (exit 1); exit 1; }; }
1317 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1318 echo "${ECHO_T}$ac_cv_build" >&6
1320 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1321 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1322 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1325 echo "$as_me:$LINENO: checking host system type" >&5
1326 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1327 if test "${ac_cv_host+set}" = set; then
1328 echo $ECHO_N "(cached) $ECHO_C" >&6
1330 ac_cv_host_alias=$host_alias
1331 test -z "$ac_cv_host_alias" &&
1332 ac_cv_host_alias=$ac_cv_build_alias
1333 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1334 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1335 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1336 { (exit 1); exit 1; }; }
1339 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1340 echo "${ECHO_T}$ac_cv_host" >&6
1342 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1343 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1344 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1347 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1348 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1349 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1350 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1351 echo $ECHO_N "(cached) $ECHO_C" >&6
1353 cat >conftest.make <<\_ACEOF
1355 @echo 'ac_maketemp="${MAKE}"'
1357 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1358 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1359 if test -n "$ac_maketemp"; then
1360 eval ac_cv_prog_make_${ac_make}_set=yes
1362 eval ac_cv_prog_make_${ac_make}_set=no
1366 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1367 echo "$as_me:$LINENO: result: yes" >&5
1368 echo "${ECHO_T}yes" >&6
1371 echo "$as_me:$LINENO: result: no" >&5
1372 echo "${ECHO_T}no" >&6
1373 SET_MAKE="MAKE=${MAKE-make}"
1377 ac_cpp='$CPP $CPPFLAGS'
1378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1381 if test -n "$ac_tool_prefix"; then
1382 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1383 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1384 echo "$as_me:$LINENO: checking for $ac_word" >&5
1385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1386 if test "${ac_cv_prog_CC+set}" = set; then
1387 echo $ECHO_N "(cached) $ECHO_C" >&6
1389 if test -n "$CC"; then
1390 ac_cv_prog_CC="$CC" # Let the user override the test.
1392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1396 test -z "$as_dir" && as_dir=.
1397 for ac_exec_ext in '' $ac_executable_extensions; do
1398 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1399 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1409 if test -n "$CC"; then
1410 echo "$as_me:$LINENO: result: $CC" >&5
1411 echo "${ECHO_T}$CC" >&6
1413 echo "$as_me:$LINENO: result: no" >&5
1414 echo "${ECHO_T}no" >&6
1418 if test -z "$ac_cv_prog_CC"; then
1420 # Extract the first word of "gcc", so it can be a program name with args.
1421 set dummy gcc; ac_word=$2
1422 echo "$as_me:$LINENO: checking for $ac_word" >&5
1423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1424 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1425 echo $ECHO_N "(cached) $ECHO_C" >&6
1427 if test -n "$ac_ct_CC"; then
1428 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1434 test -z "$as_dir" && as_dir=.
1435 for ac_exec_ext in '' $ac_executable_extensions; do
1436 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1437 ac_cv_prog_ac_ct_CC="gcc"
1438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1446 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1447 if test -n "$ac_ct_CC"; then
1448 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1449 echo "${ECHO_T}$ac_ct_CC" >&6
1451 echo "$as_me:$LINENO: result: no" >&5
1452 echo "${ECHO_T}no" >&6
1460 if test -z "$CC"; then
1461 if test -n "$ac_tool_prefix"; then
1462 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1463 set dummy ${ac_tool_prefix}cc; ac_word=$2
1464 echo "$as_me:$LINENO: checking for $ac_word" >&5
1465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1466 if test "${ac_cv_prog_CC+set}" = set; then
1467 echo $ECHO_N "(cached) $ECHO_C" >&6
1469 if test -n "$CC"; then
1470 ac_cv_prog_CC="$CC" # Let the user override the test.
1472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1476 test -z "$as_dir" && as_dir=.
1477 for ac_exec_ext in '' $ac_executable_extensions; do
1478 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1479 ac_cv_prog_CC="${ac_tool_prefix}cc"
1480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1489 if test -n "$CC"; then
1490 echo "$as_me:$LINENO: result: $CC" >&5
1491 echo "${ECHO_T}$CC" >&6
1493 echo "$as_me:$LINENO: result: no" >&5
1494 echo "${ECHO_T}no" >&6
1498 if test -z "$ac_cv_prog_CC"; then
1500 # Extract the first word of "cc", so it can be a program name with args.
1501 set dummy cc; ac_word=$2
1502 echo "$as_me:$LINENO: checking for $ac_word" >&5
1503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1504 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1505 echo $ECHO_N "(cached) $ECHO_C" >&6
1507 if test -n "$ac_ct_CC"; then
1508 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1514 test -z "$as_dir" && as_dir=.
1515 for ac_exec_ext in '' $ac_executable_extensions; do
1516 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1517 ac_cv_prog_ac_ct_CC="cc"
1518 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1526 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1527 if test -n "$ac_ct_CC"; then
1528 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1529 echo "${ECHO_T}$ac_ct_CC" >&6
1531 echo "$as_me:$LINENO: result: no" >&5
1532 echo "${ECHO_T}no" >&6
1541 if test -z "$CC"; then
1542 # Extract the first word of "cc", so it can be a program name with args.
1543 set dummy cc; ac_word=$2
1544 echo "$as_me:$LINENO: checking for $ac_word" >&5
1545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1546 if test "${ac_cv_prog_CC+set}" = set; then
1547 echo $ECHO_N "(cached) $ECHO_C" >&6
1549 if test -n "$CC"; then
1550 ac_cv_prog_CC="$CC" # Let the user override the test.
1553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1557 test -z "$as_dir" && as_dir=.
1558 for ac_exec_ext in '' $ac_executable_extensions; do
1559 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1560 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1561 ac_prog_rejected=yes
1565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1571 if test $ac_prog_rejected = yes; then
1572 # We found a bogon in the path, so make sure we never use it.
1573 set dummy $ac_cv_prog_CC
1575 if test $# != 0; then
1576 # We chose a different compiler from the bogus one.
1577 # However, it has the same basename, so the bogon will be chosen
1578 # first if we set CC to just the basename; use the full file name.
1580 set dummy "$as_dir/$ac_word" ${1+"$@"}
1588 if test -n "$CC"; then
1589 echo "$as_me:$LINENO: result: $CC" >&5
1590 echo "${ECHO_T}$CC" >&6
1592 echo "$as_me:$LINENO: result: no" >&5
1593 echo "${ECHO_T}no" >&6
1597 if test -z "$CC"; then
1598 if test -n "$ac_tool_prefix"; then
1601 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1602 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1603 echo "$as_me:$LINENO: checking for $ac_word" >&5
1604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1605 if test "${ac_cv_prog_CC+set}" = set; then
1606 echo $ECHO_N "(cached) $ECHO_C" >&6
1608 if test -n "$CC"; then
1609 ac_cv_prog_CC="$CC" # Let the user override the test.
1611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1615 test -z "$as_dir" && as_dir=.
1616 for ac_exec_ext in '' $ac_executable_extensions; do
1617 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1618 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1628 if test -n "$CC"; then
1629 echo "$as_me:$LINENO: result: $CC" >&5
1630 echo "${ECHO_T}$CC" >&6
1632 echo "$as_me:$LINENO: result: no" >&5
1633 echo "${ECHO_T}no" >&6
1636 test -n "$CC" && break
1639 if test -z "$CC"; then
1643 # Extract the first word of "$ac_prog", so it can be a program name with args.
1644 set dummy $ac_prog; ac_word=$2
1645 echo "$as_me:$LINENO: checking for $ac_word" >&5
1646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1647 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1648 echo $ECHO_N "(cached) $ECHO_C" >&6
1650 if test -n "$ac_ct_CC"; then
1651 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1657 test -z "$as_dir" && as_dir=.
1658 for ac_exec_ext in '' $ac_executable_extensions; do
1659 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1660 ac_cv_prog_ac_ct_CC="$ac_prog"
1661 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1669 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1670 if test -n "$ac_ct_CC"; then
1671 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1672 echo "${ECHO_T}$ac_ct_CC" >&6
1674 echo "$as_me:$LINENO: result: no" >&5
1675 echo "${ECHO_T}no" >&6
1678 test -n "$ac_ct_CC" && break
1687 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1688 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1689 { (exit 1); exit 1; }; }
1691 # Provide some information about the compiler.
1692 echo "$as_me:$LINENO:" \
1693 "checking for C compiler version" >&5
1694 ac_compiler=`set X $ac_compile; echo $2`
1695 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1696 (eval $ac_compiler --version </dev/null >&5) 2>&5
1698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1699 (exit $ac_status); }
1700 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1701 (eval $ac_compiler -v </dev/null >&5) 2>&5
1703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1704 (exit $ac_status); }
1705 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1706 (eval $ac_compiler -V </dev/null >&5) 2>&5
1708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1709 (exit $ac_status); }
1711 cat >conftest.$ac_ext <<_ACEOF
1712 #line $LINENO "configure"
1713 #include "confdefs.h"
1715 #ifdef F77_DUMMY_MAIN
1719 int F77_DUMMY_MAIN() { return 1; }
1729 ac_clean_files_save=$ac_clean_files
1730 ac_clean_files="$ac_clean_files a.out a.exe"
1731 # Try to create an executable without -o first, disregard a.out.
1732 # It will help us diagnose broken compilers, and finding out an intuition
1734 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1735 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1736 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1737 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1738 (eval $ac_link_default) 2>&5
1740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1741 (exit $ac_status); }; then
1742 # Find the output, starting from the most likely. This scheme is
1743 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1746 # Be careful to initialize this variable, since it used to be cached.
1747 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1749 for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
1750 ls a.out conftest 2>/dev/null;
1751 ls a.* conftest.* 2>/dev/null`; do
1753 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
1754 a.out ) # We found the default executable, but exeext='' is most
1757 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1758 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1765 echo "$as_me: failed program was:" >&5
1766 cat conftest.$ac_ext >&5
1767 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
1768 echo "$as_me: error: C compiler cannot create executables" >&2;}
1769 { (exit 77); exit 77; }; }
1772 ac_exeext=$ac_cv_exeext
1773 echo "$as_me:$LINENO: result: $ac_file" >&5
1774 echo "${ECHO_T}$ac_file" >&6
1776 # Check the compiler produces executables we can run. If not, either
1777 # the compiler is broken, or we cross compile.
1778 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1779 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1780 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1781 # If not cross compiling, check that we can run a simple program.
1782 if test "$cross_compiling" != yes; then
1783 if { ac_try='./$ac_file'
1784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1788 (exit $ac_status); }; }; then
1791 if test "$cross_compiling" = maybe; then
1794 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1795 If you meant to cross compile, use \`--host'." >&5
1796 echo "$as_me: error: cannot run C compiled programs.
1797 If you meant to cross compile, use \`--host'." >&2;}
1798 { (exit 1); exit 1; }; }
1802 echo "$as_me:$LINENO: result: yes" >&5
1803 echo "${ECHO_T}yes" >&6
1805 rm -f a.out a.exe conftest$ac_cv_exeext
1806 ac_clean_files=$ac_clean_files_save
1807 # Check the compiler produces executables we can run. If not, either
1808 # the compiler is broken, or we cross compile.
1809 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1810 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1811 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1812 echo "${ECHO_T}$cross_compiling" >&6
1814 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1815 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1817 (eval $ac_link) 2>&5
1819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1820 (exit $ac_status); }; then
1821 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1822 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1823 # work properly (i.e., refer to `conftest.exe'), while it won't with
1825 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1827 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1828 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1835 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
1836 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
1837 { (exit 1); exit 1; }; }
1840 rm -f conftest$ac_cv_exeext
1841 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1842 echo "${ECHO_T}$ac_cv_exeext" >&6
1844 rm -f conftest.$ac_ext
1845 EXEEXT=$ac_cv_exeext
1847 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1848 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1849 if test "${ac_cv_objext+set}" = set; then
1850 echo $ECHO_N "(cached) $ECHO_C" >&6
1852 cat >conftest.$ac_ext <<_ACEOF
1853 #line $LINENO "configure"
1854 #include "confdefs.h"
1856 #ifdef F77_DUMMY_MAIN
1860 int F77_DUMMY_MAIN() { return 1; }
1870 rm -f conftest.o conftest.obj
1871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1872 (eval $ac_compile) 2>&5
1874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1875 (exit $ac_status); }; then
1876 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1878 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1879 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1884 echo "$as_me: failed program was:" >&5
1885 cat conftest.$ac_ext >&5
1886 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
1887 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
1888 { (exit 1); exit 1; }; }
1891 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1893 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1894 echo "${ECHO_T}$ac_cv_objext" >&6
1895 OBJEXT=$ac_cv_objext
1897 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1898 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1899 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1900 echo $ECHO_N "(cached) $ECHO_C" >&6
1902 cat >conftest.$ac_ext <<_ACEOF
1903 #line $LINENO "configure"
1904 #include "confdefs.h"
1906 #ifdef F77_DUMMY_MAIN
1910 int F77_DUMMY_MAIN() { return 1; }
1923 rm -f conftest.$ac_objext
1924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1925 (eval $ac_compile) 2>&5
1927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1928 (exit $ac_status); } &&
1929 { ac_try='test -s conftest.$ac_objext'
1930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1934 (exit $ac_status); }; }; then
1937 echo "$as_me: failed program was:" >&5
1938 cat conftest.$ac_ext >&5
1941 rm -f conftest.$ac_objext conftest.$ac_ext
1942 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1945 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1946 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1947 GCC=`test $ac_compiler_gnu = yes && echo yes`
1948 ac_test_CFLAGS=${CFLAGS+set}
1949 ac_save_CFLAGS=$CFLAGS
1951 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1952 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1953 if test "${ac_cv_prog_cc_g+set}" = set; then
1954 echo $ECHO_N "(cached) $ECHO_C" >&6
1956 cat >conftest.$ac_ext <<_ACEOF
1957 #line $LINENO "configure"
1958 #include "confdefs.h"
1960 #ifdef F77_DUMMY_MAIN
1964 int F77_DUMMY_MAIN() { return 1; }
1974 rm -f conftest.$ac_objext
1975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1976 (eval $ac_compile) 2>&5
1978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1979 (exit $ac_status); } &&
1980 { ac_try='test -s conftest.$ac_objext'
1981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1985 (exit $ac_status); }; }; then
1988 echo "$as_me: failed program was:" >&5
1989 cat conftest.$ac_ext >&5
1992 rm -f conftest.$ac_objext conftest.$ac_ext
1994 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1995 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1996 if test "$ac_test_CFLAGS" = set; then
1997 CFLAGS=$ac_save_CFLAGS
1998 elif test $ac_cv_prog_cc_g = yes; then
1999 if test "$GCC" = yes; then
2005 if test "$GCC" = yes; then
2011 # Some people use a C++ compiler to compile C. Since we use `exit',
2012 # in C++ we need to declare it. In case someone uses the same compiler
2013 # for both compiling C and C++ we need to have the C++ compiler decide
2014 # the declaration of exit, since it's the most demanding environment.
2015 cat >conftest.$ac_ext <<_ACEOF
2020 rm -f conftest.$ac_objext
2021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2022 (eval $ac_compile) 2>&5
2024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2025 (exit $ac_status); } &&
2026 { ac_try='test -s conftest.$ac_objext'
2027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2031 (exit $ac_status); }; }; then
2032 for ac_declaration in \
2034 '#include <stdlib.h>' \
2035 'extern "C" void std::exit (int) throw (); using std::exit;' \
2036 'extern "C" void std::exit (int); using std::exit;' \
2037 'extern "C" void exit (int) throw ();' \
2038 'extern "C" void exit (int);' \
2041 cat >conftest.$ac_ext <<_ACEOF
2042 #line $LINENO "configure"
2043 #include "confdefs.h"
2046 #ifdef F77_DUMMY_MAIN
2050 int F77_DUMMY_MAIN() { return 1; }
2060 rm -f conftest.$ac_objext
2061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2062 (eval $ac_compile) 2>&5
2064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2065 (exit $ac_status); } &&
2066 { ac_try='test -s conftest.$ac_objext'
2067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2071 (exit $ac_status); }; }; then
2074 echo "$as_me: failed program was:" >&5
2075 cat conftest.$ac_ext >&5
2078 rm -f conftest.$ac_objext conftest.$ac_ext
2079 cat >conftest.$ac_ext <<_ACEOF
2080 #line $LINENO "configure"
2081 #include "confdefs.h"
2083 #ifdef F77_DUMMY_MAIN
2087 int F77_DUMMY_MAIN() { return 1; }
2097 rm -f conftest.$ac_objext
2098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2099 (eval $ac_compile) 2>&5
2101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2102 (exit $ac_status); } &&
2103 { ac_try='test -s conftest.$ac_objext'
2104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2108 (exit $ac_status); }; }; then
2111 echo "$as_me: failed program was:" >&5
2112 cat conftest.$ac_ext >&5
2114 rm -f conftest.$ac_objext conftest.$ac_ext
2117 if test -n "$ac_declaration"; then
2118 echo '#ifdef __cplusplus' >>confdefs.h
2119 echo $ac_declaration >>confdefs.h
2120 echo '#endif' >>confdefs.h
2124 echo "$as_me: failed program was:" >&5
2125 cat conftest.$ac_ext >&5
2127 rm -f conftest.$ac_objext conftest.$ac_ext
2129 ac_cpp='$CPP $CPPFLAGS'
2130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2135 ac_cpp='$CPP $CPPFLAGS'
2136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2139 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2140 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2141 # On Suns, sometimes $CPP names a directory.
2142 if test -n "$CPP" && test -d "$CPP"; then
2145 if test -z "$CPP"; then
2146 if test "${ac_cv_prog_CPP+set}" = set; then
2147 echo $ECHO_N "(cached) $ECHO_C" >&6
2149 # Double quotes because CPP needs to be expanded
2150 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2153 for ac_c_preproc_warn_flag in '' yes
2155 # Use a header file that comes with gcc, so configuring glibc
2156 # with a fresh cross-compiler works.
2157 # On the NeXT, cc -E runs the code through the compiler's parser,
2158 # not just through cpp. "Syntax error" is here to catch this case.
2159 cat >conftest.$ac_ext <<_ACEOF
2160 #line $LINENO "configure"
2161 #include "confdefs.h"
2165 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2166 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2168 egrep -v '^ *\+' conftest.er1 >conftest.err
2170 cat conftest.err >&5
2171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2172 (exit $ac_status); } >/dev/null; then
2173 if test -s conftest.err; then
2174 ac_cpp_err=$ac_c_preproc_warn_flag
2181 if test -z "$ac_cpp_err"; then
2184 echo "$as_me: failed program was:" >&5
2185 cat conftest.$ac_ext >&5
2186 # Broken: fails on valid input.
2189 rm -f conftest.err conftest.$ac_ext
2191 # OK, works on sane cases. Now check whether non-existent headers
2192 # can be detected and how.
2193 cat >conftest.$ac_ext <<_ACEOF
2194 #line $LINENO "configure"
2195 #include "confdefs.h"
2196 #include <ac_nonexistent.h>
2198 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2199 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2201 egrep -v '^ *\+' conftest.er1 >conftest.err
2203 cat conftest.err >&5
2204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2205 (exit $ac_status); } >/dev/null; then
2206 if test -s conftest.err; then
2207 ac_cpp_err=$ac_c_preproc_warn_flag
2214 if test -z "$ac_cpp_err"; then
2215 # Broken: success on invalid input.
2218 echo "$as_me: failed program was:" >&5
2219 cat conftest.$ac_ext >&5
2220 # Passes both tests.
2224 rm -f conftest.err conftest.$ac_ext
2227 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2228 rm -f conftest.err conftest.$ac_ext
2229 if $ac_preproc_ok; then
2241 echo "$as_me:$LINENO: result: $CPP" >&5
2242 echo "${ECHO_T}$CPP" >&6
2244 for ac_c_preproc_warn_flag in '' yes
2246 # Use a header file that comes with gcc, so configuring glibc
2247 # with a fresh cross-compiler works.
2248 # On the NeXT, cc -E runs the code through the compiler's parser,
2249 # not just through cpp. "Syntax error" is here to catch this case.
2250 cat >conftest.$ac_ext <<_ACEOF
2251 #line $LINENO "configure"
2252 #include "confdefs.h"
2256 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2257 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2259 egrep -v '^ *\+' conftest.er1 >conftest.err
2261 cat conftest.err >&5
2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263 (exit $ac_status); } >/dev/null; then
2264 if test -s conftest.err; then
2265 ac_cpp_err=$ac_c_preproc_warn_flag
2272 if test -z "$ac_cpp_err"; then
2275 echo "$as_me: failed program was:" >&5
2276 cat conftest.$ac_ext >&5
2277 # Broken: fails on valid input.
2280 rm -f conftest.err conftest.$ac_ext
2282 # OK, works on sane cases. Now check whether non-existent headers
2283 # can be detected and how.
2284 cat >conftest.$ac_ext <<_ACEOF
2285 #line $LINENO "configure"
2286 #include "confdefs.h"
2287 #include <ac_nonexistent.h>
2289 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2290 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2292 egrep -v '^ *\+' conftest.er1 >conftest.err
2294 cat conftest.err >&5
2295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2296 (exit $ac_status); } >/dev/null; then
2297 if test -s conftest.err; then
2298 ac_cpp_err=$ac_c_preproc_warn_flag
2305 if test -z "$ac_cpp_err"; then
2306 # Broken: success on invalid input.
2309 echo "$as_me: failed program was:" >&5
2310 cat conftest.$ac_ext >&5
2311 # Passes both tests.
2315 rm -f conftest.err conftest.$ac_ext
2318 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2319 rm -f conftest.err conftest.$ac_ext
2320 if $ac_preproc_ok; then
2323 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2324 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2325 { (exit 1); exit 1; }; }
2329 ac_cpp='$CPP $CPPFLAGS'
2330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2335 echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
2336 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6
2337 if test "${wine_cv_toolsdir+set}" = set; then
2338 echo $ECHO_N "(cached) $ECHO_C" >&6
2340 if test -z "$with_wine_tools"; then
2341 if test "$cross_compiling" = "yes"; then
2342 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
2343 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
2344 { (exit 1); exit 1; }; }
2346 wine_cv_toolsdir="\$(TOPOBJDIR)"
2348 elif test -d "$with_wine_tools/tools/winebuild"; then
2349 case $with_wine_tools in
2350 /*) wine_cv_toolsdir="$with_wine_tools" ;;
2351 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
2354 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
2355 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
2356 { (exit 1); exit 1; }; }
2359 echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
2360 echo "${ECHO_T}$wine_cv_toolsdir" >&6
2361 TOOLSDIR=$wine_cv_toolsdir
2366 echo "$as_me:$LINENO: checking for X" >&5
2367 echo $ECHO_N "checking for X... $ECHO_C" >&6
2370 # Check whether --with-x or --without-x was given.
2371 if test "${with_x+set}" = set; then
2375 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
2376 if test "x$with_x" = xno; then
2377 # The user explicitly disabled X.
2380 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
2381 # Both variables are already set.
2384 if test "${ac_cv_have_x+set}" = set; then
2385 echo $ECHO_N "(cached) $ECHO_C" >&6
2387 # One or both of the vars are not set, and there is no cached value.
2388 ac_x_includes=no ac_x_libraries=no
2390 if mkdir conftest.dir; then
2392 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
2393 cat >Imakefile <<'_ACEOF'
2395 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
2397 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
2398 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2399 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
2400 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
2401 for ac_extension in a so sl; do
2402 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
2403 test -f $ac_im_libdir/libX11.$ac_extension; then
2404 ac_im_usrlibdir=$ac_im_libdir; break
2407 # Screen out bogus values from the imake configuration. They are
2408 # bogus both because they are the default anyway, and because
2409 # using them would break gcc on systems where it needs fixed includes.
2410 case $ac_im_incroot in
2412 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
2414 case $ac_im_usrlibdir in
2416 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
2423 # Standard set of common directories for X headers.
2424 # Check X11 before X11Rn because it is often a symlink to the current release.
2436 /usr/local/X11/include
2437 /usr/local/X11R6/include
2438 /usr/local/X11R5/include
2439 /usr/local/X11R4/include
2441 /usr/local/include/X11
2442 /usr/local/include/X11R6
2443 /usr/local/include/X11R5
2444 /usr/local/include/X11R4
2448 /usr/XFree86/include/X11
2452 /usr/unsupported/include
2454 /usr/local/x11r5/include
2455 /usr/lpp/Xamples/include
2457 /usr/openwin/include
2458 /usr/openwin/share/include'
2460 if test "$ac_x_includes" = no; then
2461 # Guess where to find include files, by looking for Intrinsic.h.
2462 # First, try using that file with no special directory specified.
2463 cat >conftest.$ac_ext <<_ACEOF
2464 #line $LINENO "configure"
2465 #include "confdefs.h"
2466 #include <X11/Intrinsic.h>
2468 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2469 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2471 egrep -v '^ *\+' conftest.er1 >conftest.err
2473 cat conftest.err >&5
2474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2475 (exit $ac_status); } >/dev/null; then
2476 if test -s conftest.err; then
2477 ac_cpp_err=$ac_c_preproc_warn_flag
2484 if test -z "$ac_cpp_err"; then
2485 # We can compile using X headers with no special include directory.
2488 echo "$as_me: failed program was:" >&5
2489 cat conftest.$ac_ext >&5
2490 for ac_dir in $ac_x_header_dirs; do
2491 if test -r "$ac_dir/X11/Intrinsic.h"; then
2492 ac_x_includes=$ac_dir
2497 rm -f conftest.err conftest.$ac_ext
2498 fi # $ac_x_includes = no
2500 if test "$ac_x_libraries" = no; then
2501 # Check for the libraries.
2502 # See if we find them without any special options.
2503 # Don't add to $LIBS permanently.
2506 cat >conftest.$ac_ext <<_ACEOF
2507 #line $LINENO "configure"
2508 #include "confdefs.h"
2509 #include <X11/Intrinsic.h>
2510 #ifdef F77_DUMMY_MAIN
2514 int F77_DUMMY_MAIN() { return 1; }
2524 rm -f conftest.$ac_objext conftest$ac_exeext
2525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2526 (eval $ac_link) 2>&5
2528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2529 (exit $ac_status); } &&
2530 { ac_try='test -s conftest$ac_exeext'
2531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2535 (exit $ac_status); }; }; then
2537 # We can link X programs with no special library path.
2540 echo "$as_me: failed program was:" >&5
2541 cat conftest.$ac_ext >&5
2543 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
2545 # Don't even attempt the hair of trying to link an X program!
2546 for ac_extension in a so sl; do
2547 if test -r $ac_dir/libXt.$ac_extension; then
2548 ac_x_libraries=$ac_dir
2554 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2555 fi # $ac_x_libraries = no
2557 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
2558 # Didn't find X anywhere. Cache the known absence of X.
2559 ac_cv_have_x="have_x=no"
2561 # Record where we found X for the cache.
2562 ac_cv_have_x="have_x=yes \
2563 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
2568 eval "$ac_cv_have_x"
2571 if test "$have_x" != yes; then
2572 echo "$as_me:$LINENO: result: $have_x" >&5
2573 echo "${ECHO_T}$have_x" >&6
2576 # If each of the values was on the command line, it overrides each guess.
2577 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
2578 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
2579 # Update the cache value to reflect the command line values.
2580 ac_cv_have_x="have_x=yes \
2581 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
2582 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
2583 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
2586 if test "$no_x" = yes; then
2587 # Not all programs may use this symbol, but it does not hurt to define it.
2589 cat >>confdefs.h <<\_ACEOF
2590 #define X_DISPLAY_MISSING 1
2593 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
2595 if test -n "$x_includes"; then
2596 X_CFLAGS="$X_CFLAGS -I$x_includes"
2599 # It would also be nice to do this for all -L options, not just this one.
2600 if test -n "$x_libraries"; then
2601 X_LIBS="$X_LIBS -L$x_libraries"
2602 # For Solaris; some versions of Sun CC require a space after -R and
2603 # others require no space. Words are not sufficient . . . .
2604 case `(uname -sr) 2>/dev/null` in
2606 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
2607 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
2608 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
2609 cat >conftest.$ac_ext <<_ACEOF
2610 #line $LINENO "configure"
2611 #include "confdefs.h"
2613 #ifdef F77_DUMMY_MAIN
2617 int F77_DUMMY_MAIN() { return 1; }
2627 rm -f conftest.$ac_objext conftest$ac_exeext
2628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2629 (eval $ac_link) 2>&5
2631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2632 (exit $ac_status); } &&
2633 { ac_try='test -s conftest$ac_exeext'
2634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2638 (exit $ac_status); }; }; then
2641 echo "$as_me: failed program was:" >&5
2642 cat conftest.$ac_ext >&5
2645 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2646 if test $ac_R_nospace = yes; then
2647 echo "$as_me:$LINENO: result: no" >&5
2648 echo "${ECHO_T}no" >&6
2649 X_LIBS="$X_LIBS -R$x_libraries"
2651 LIBS="$ac_xsave_LIBS -R $x_libraries"
2652 cat >conftest.$ac_ext <<_ACEOF
2653 #line $LINENO "configure"
2654 #include "confdefs.h"
2656 #ifdef F77_DUMMY_MAIN
2660 int F77_DUMMY_MAIN() { return 1; }
2670 rm -f conftest.$ac_objext conftest$ac_exeext
2671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2672 (eval $ac_link) 2>&5
2674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2675 (exit $ac_status); } &&
2676 { ac_try='test -s conftest$ac_exeext'
2677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2681 (exit $ac_status); }; }; then
2684 echo "$as_me: failed program was:" >&5
2685 cat conftest.$ac_ext >&5
2688 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2689 if test $ac_R_space = yes; then
2690 echo "$as_me:$LINENO: result: yes" >&5
2691 echo "${ECHO_T}yes" >&6
2692 X_LIBS="$X_LIBS -R $x_libraries"
2694 echo "$as_me:$LINENO: result: neither works" >&5
2695 echo "${ECHO_T}neither works" >&6
2702 # Check for system-dependent libraries X programs must link with.
2703 # Do this before checking for the system-independent R6 libraries
2704 # (-lICE), since we may need -lsocket or whatever for X linking.
2706 if test "$ISC" = yes; then
2707 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
2709 # Martyn Johnson says this is needed for Ultrix, if the X
2710 # libraries were built with DECnet support. And Karl Berry says
2711 # the Alpha needs dnet_stub (dnet does not exist).
2712 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
2713 cat >conftest.$ac_ext <<_ACEOF
2714 #line $LINENO "configure"
2715 #include "confdefs.h"
2717 /* Override any gcc2 internal prototype to avoid an error. */
2721 /* We use char because int might match the return type of a gcc2
2722 builtin and then its argument prototype would still apply. */
2723 char XOpenDisplay ();
2724 #ifdef F77_DUMMY_MAIN
2728 int F77_DUMMY_MAIN() { return 1; }
2738 rm -f conftest.$ac_objext conftest$ac_exeext
2739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2740 (eval $ac_link) 2>&5
2742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2743 (exit $ac_status); } &&
2744 { ac_try='test -s conftest$ac_exeext'
2745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2749 (exit $ac_status); }; }; then
2752 echo "$as_me: failed program was:" >&5
2753 cat conftest.$ac_ext >&5
2754 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
2755 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
2756 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
2757 echo $ECHO_N "(cached) $ECHO_C" >&6
2759 ac_check_lib_save_LIBS=$LIBS
2761 cat >conftest.$ac_ext <<_ACEOF
2762 #line $LINENO "configure"
2763 #include "confdefs.h"
2765 /* Override any gcc2 internal prototype to avoid an error. */
2769 /* We use char because int might match the return type of a gcc2
2770 builtin and then its argument prototype would still apply. */
2772 #ifdef F77_DUMMY_MAIN
2776 int F77_DUMMY_MAIN() { return 1; }
2786 rm -f conftest.$ac_objext conftest$ac_exeext
2787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2788 (eval $ac_link) 2>&5
2790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2791 (exit $ac_status); } &&
2792 { ac_try='test -s conftest$ac_exeext'
2793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2797 (exit $ac_status); }; }; then
2798 ac_cv_lib_dnet_dnet_ntoa=yes
2800 echo "$as_me: failed program was:" >&5
2801 cat conftest.$ac_ext >&5
2802 ac_cv_lib_dnet_dnet_ntoa=no
2804 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2805 LIBS=$ac_check_lib_save_LIBS
2807 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
2808 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
2809 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
2810 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
2813 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
2814 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
2815 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
2816 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
2817 echo $ECHO_N "(cached) $ECHO_C" >&6
2819 ac_check_lib_save_LIBS=$LIBS
2820 LIBS="-ldnet_stub $LIBS"
2821 cat >conftest.$ac_ext <<_ACEOF
2822 #line $LINENO "configure"
2823 #include "confdefs.h"
2825 /* Override any gcc2 internal prototype to avoid an error. */
2829 /* We use char because int might match the return type of a gcc2
2830 builtin and then its argument prototype would still apply. */
2832 #ifdef F77_DUMMY_MAIN
2836 int F77_DUMMY_MAIN() { return 1; }
2846 rm -f conftest.$ac_objext conftest$ac_exeext
2847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2848 (eval $ac_link) 2>&5
2850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851 (exit $ac_status); } &&
2852 { ac_try='test -s conftest$ac_exeext'
2853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2857 (exit $ac_status); }; }; then
2858 ac_cv_lib_dnet_stub_dnet_ntoa=yes
2860 echo "$as_me: failed program was:" >&5
2861 cat conftest.$ac_ext >&5
2862 ac_cv_lib_dnet_stub_dnet_ntoa=no
2864 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2865 LIBS=$ac_check_lib_save_LIBS
2867 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
2868 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
2869 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
2870 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
2875 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2876 LIBS="$ac_xsave_LIBS"
2878 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
2879 # to get the SysV transport functions.
2880 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
2882 # The nsl library prevents programs from opening the X display
2883 # on Irix 5.2, according to T.E. Dickey.
2884 # The functions gethostbyname, getservbyname, and inet_addr are
2885 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
2886 echo "$as_me:$LINENO: checking for gethostbyname" >&5
2887 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
2888 if test "${ac_cv_func_gethostbyname+set}" = set; then
2889 echo $ECHO_N "(cached) $ECHO_C" >&6
2891 cat >conftest.$ac_ext <<_ACEOF
2892 #line $LINENO "configure"
2893 #include "confdefs.h"
2894 /* System header to define __stub macros and hopefully few prototypes,
2895 which can conflict with char gethostbyname (); below. */
2897 /* Override any gcc2 internal prototype to avoid an error. */
2901 /* We use char because int might match the return type of a gcc2
2902 builtin and then its argument prototype would still apply. */
2903 char gethostbyname ();
2906 #ifdef F77_DUMMY_MAIN
2910 int F77_DUMMY_MAIN() { return 1; }
2915 /* The GNU C library defines this for functions which it implements
2916 to always fail with ENOSYS. Some functions are actually named
2917 something starting with __ and the normal name is an alias. */
2918 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
2928 rm -f conftest.$ac_objext conftest$ac_exeext
2929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2930 (eval $ac_link) 2>&5
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); } &&
2934 { ac_try='test -s conftest$ac_exeext'
2935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); }; }; then
2940 ac_cv_func_gethostbyname=yes
2942 echo "$as_me: failed program was:" >&5
2943 cat conftest.$ac_ext >&5
2944 ac_cv_func_gethostbyname=no
2946 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2948 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
2949 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
2951 if test $ac_cv_func_gethostbyname = no; then
2952 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
2953 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
2954 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
2955 echo $ECHO_N "(cached) $ECHO_C" >&6
2957 ac_check_lib_save_LIBS=$LIBS
2959 cat >conftest.$ac_ext <<_ACEOF
2960 #line $LINENO "configure"
2961 #include "confdefs.h"
2963 /* Override any gcc2 internal prototype to avoid an error. */
2967 /* We use char because int might match the return type of a gcc2
2968 builtin and then its argument prototype would still apply. */
2969 char gethostbyname ();
2970 #ifdef F77_DUMMY_MAIN
2974 int F77_DUMMY_MAIN() { return 1; }
2984 rm -f conftest.$ac_objext conftest$ac_exeext
2985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2986 (eval $ac_link) 2>&5
2988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2989 (exit $ac_status); } &&
2990 { ac_try='test -s conftest$ac_exeext'
2991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2995 (exit $ac_status); }; }; then
2996 ac_cv_lib_nsl_gethostbyname=yes
2998 echo "$as_me: failed program was:" >&5
2999 cat conftest.$ac_ext >&5
3000 ac_cv_lib_nsl_gethostbyname=no
3002 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3003 LIBS=$ac_check_lib_save_LIBS
3005 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3006 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3007 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3008 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
3011 if test $ac_cv_lib_nsl_gethostbyname = no; then
3012 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3013 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3014 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3015 echo $ECHO_N "(cached) $ECHO_C" >&6
3017 ac_check_lib_save_LIBS=$LIBS
3019 cat >conftest.$ac_ext <<_ACEOF
3020 #line $LINENO "configure"
3021 #include "confdefs.h"
3023 /* Override any gcc2 internal prototype to avoid an error. */
3027 /* We use char because int might match the return type of a gcc2
3028 builtin and then its argument prototype would still apply. */
3029 char gethostbyname ();
3030 #ifdef F77_DUMMY_MAIN
3034 int F77_DUMMY_MAIN() { return 1; }
3044 rm -f conftest.$ac_objext conftest$ac_exeext
3045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3046 (eval $ac_link) 2>&5
3048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3049 (exit $ac_status); } &&
3050 { ac_try='test -s conftest$ac_exeext'
3051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3055 (exit $ac_status); }; }; then
3056 ac_cv_lib_bsd_gethostbyname=yes
3058 echo "$as_me: failed program was:" >&5
3059 cat conftest.$ac_ext >&5
3060 ac_cv_lib_bsd_gethostbyname=no
3062 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3063 LIBS=$ac_check_lib_save_LIBS
3065 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3066 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3067 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3068 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
3074 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3075 # socket/setsockopt and other routines are undefined under SCO ODT
3076 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3077 # on later versions), says Simon Leinen: it contains gethostby*
3078 # variants that don't use the nameserver (or something). -lsocket
3079 # must be given before -lnsl if both are needed. We assume that
3080 # if connect needs -lnsl, so does gethostbyname.
3081 echo "$as_me:$LINENO: checking for connect" >&5
3082 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3083 if test "${ac_cv_func_connect+set}" = set; then
3084 echo $ECHO_N "(cached) $ECHO_C" >&6
3086 cat >conftest.$ac_ext <<_ACEOF
3087 #line $LINENO "configure"
3088 #include "confdefs.h"
3089 /* System header to define __stub macros and hopefully few prototypes,
3090 which can conflict with char connect (); below. */
3092 /* Override any gcc2 internal prototype to avoid an error. */
3096 /* We use char because int might match the return type of a gcc2
3097 builtin and then its argument prototype would still apply. */
3101 #ifdef F77_DUMMY_MAIN
3105 int F77_DUMMY_MAIN() { return 1; }
3110 /* The GNU C library defines this for functions which it implements
3111 to always fail with ENOSYS. Some functions are actually named
3112 something starting with __ and the normal name is an alias. */
3113 #if defined (__stub_connect) || defined (__stub___connect)
3123 rm -f conftest.$ac_objext conftest$ac_exeext
3124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3125 (eval $ac_link) 2>&5
3127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3128 (exit $ac_status); } &&
3129 { ac_try='test -s conftest$ac_exeext'
3130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3134 (exit $ac_status); }; }; then
3135 ac_cv_func_connect=yes
3137 echo "$as_me: failed program was:" >&5
3138 cat conftest.$ac_ext >&5
3139 ac_cv_func_connect=no
3141 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3143 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
3144 echo "${ECHO_T}$ac_cv_func_connect" >&6
3146 if test $ac_cv_func_connect = no; then
3147 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
3148 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
3149 if test "${ac_cv_lib_socket_connect+set}" = set; then
3150 echo $ECHO_N "(cached) $ECHO_C" >&6
3152 ac_check_lib_save_LIBS=$LIBS
3153 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
3154 cat >conftest.$ac_ext <<_ACEOF
3155 #line $LINENO "configure"
3156 #include "confdefs.h"
3158 /* Override any gcc2 internal prototype to avoid an error. */
3162 /* We use char because int might match the return type of a gcc2
3163 builtin and then its argument prototype would still apply. */
3165 #ifdef F77_DUMMY_MAIN
3169 int F77_DUMMY_MAIN() { return 1; }
3179 rm -f conftest.$ac_objext conftest$ac_exeext
3180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3181 (eval $ac_link) 2>&5
3183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3184 (exit $ac_status); } &&
3185 { ac_try='test -s conftest$ac_exeext'
3186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3190 (exit $ac_status); }; }; then
3191 ac_cv_lib_socket_connect=yes
3193 echo "$as_me: failed program was:" >&5
3194 cat conftest.$ac_ext >&5
3195 ac_cv_lib_socket_connect=no
3197 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3198 LIBS=$ac_check_lib_save_LIBS
3200 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
3201 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
3202 if test $ac_cv_lib_socket_connect = yes; then
3203 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
3208 # Guillermo Gomez says -lposix is necessary on A/UX.
3209 echo "$as_me:$LINENO: checking for remove" >&5
3210 echo $ECHO_N "checking for remove... $ECHO_C" >&6
3211 if test "${ac_cv_func_remove+set}" = set; then
3212 echo $ECHO_N "(cached) $ECHO_C" >&6
3214 cat >conftest.$ac_ext <<_ACEOF
3215 #line $LINENO "configure"
3216 #include "confdefs.h"
3217 /* System header to define __stub macros and hopefully few prototypes,
3218 which can conflict with char remove (); below. */
3220 /* Override any gcc2 internal prototype to avoid an error. */
3224 /* We use char because int might match the return type of a gcc2
3225 builtin and then its argument prototype would still apply. */
3229 #ifdef F77_DUMMY_MAIN
3233 int F77_DUMMY_MAIN() { return 1; }
3238 /* The GNU C library defines this for functions which it implements
3239 to always fail with ENOSYS. Some functions are actually named
3240 something starting with __ and the normal name is an alias. */
3241 #if defined (__stub_remove) || defined (__stub___remove)
3251 rm -f conftest.$ac_objext conftest$ac_exeext
3252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3253 (eval $ac_link) 2>&5
3255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3256 (exit $ac_status); } &&
3257 { ac_try='test -s conftest$ac_exeext'
3258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3262 (exit $ac_status); }; }; then
3263 ac_cv_func_remove=yes
3265 echo "$as_me: failed program was:" >&5
3266 cat conftest.$ac_ext >&5
3267 ac_cv_func_remove=no
3269 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3271 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
3272 echo "${ECHO_T}$ac_cv_func_remove" >&6
3274 if test $ac_cv_func_remove = no; then
3275 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
3276 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
3277 if test "${ac_cv_lib_posix_remove+set}" = set; then
3278 echo $ECHO_N "(cached) $ECHO_C" >&6
3280 ac_check_lib_save_LIBS=$LIBS
3281 LIBS="-lposix $LIBS"
3282 cat >conftest.$ac_ext <<_ACEOF
3283 #line $LINENO "configure"
3284 #include "confdefs.h"
3286 /* Override any gcc2 internal prototype to avoid an error. */
3290 /* We use char because int might match the return type of a gcc2
3291 builtin and then its argument prototype would still apply. */
3293 #ifdef F77_DUMMY_MAIN
3297 int F77_DUMMY_MAIN() { return 1; }
3307 rm -f conftest.$ac_objext conftest$ac_exeext
3308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3309 (eval $ac_link) 2>&5
3311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3312 (exit $ac_status); } &&
3313 { ac_try='test -s conftest$ac_exeext'
3314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3318 (exit $ac_status); }; }; then
3319 ac_cv_lib_posix_remove=yes
3321 echo "$as_me: failed program was:" >&5
3322 cat conftest.$ac_ext >&5
3323 ac_cv_lib_posix_remove=no
3325 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3326 LIBS=$ac_check_lib_save_LIBS
3328 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
3329 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
3330 if test $ac_cv_lib_posix_remove = yes; then
3331 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
3336 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
3337 echo "$as_me:$LINENO: checking for shmat" >&5
3338 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
3339 if test "${ac_cv_func_shmat+set}" = set; then
3340 echo $ECHO_N "(cached) $ECHO_C" >&6
3342 cat >conftest.$ac_ext <<_ACEOF
3343 #line $LINENO "configure"
3344 #include "confdefs.h"
3345 /* System header to define __stub macros and hopefully few prototypes,
3346 which can conflict with char shmat (); below. */
3348 /* Override any gcc2 internal prototype to avoid an error. */
3352 /* We use char because int might match the return type of a gcc2
3353 builtin and then its argument prototype would still apply. */
3357 #ifdef F77_DUMMY_MAIN
3361 int F77_DUMMY_MAIN() { return 1; }
3366 /* The GNU C library defines this for functions which it implements
3367 to always fail with ENOSYS. Some functions are actually named
3368 something starting with __ and the normal name is an alias. */
3369 #if defined (__stub_shmat) || defined (__stub___shmat)
3379 rm -f conftest.$ac_objext conftest$ac_exeext
3380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3381 (eval $ac_link) 2>&5
3383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3384 (exit $ac_status); } &&
3385 { ac_try='test -s conftest$ac_exeext'
3386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3390 (exit $ac_status); }; }; then
3391 ac_cv_func_shmat=yes
3393 echo "$as_me: failed program was:" >&5
3394 cat conftest.$ac_ext >&5
3397 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3399 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
3400 echo "${ECHO_T}$ac_cv_func_shmat" >&6
3402 if test $ac_cv_func_shmat = no; then
3403 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
3404 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
3405 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
3406 echo $ECHO_N "(cached) $ECHO_C" >&6
3408 ac_check_lib_save_LIBS=$LIBS
3410 cat >conftest.$ac_ext <<_ACEOF
3411 #line $LINENO "configure"
3412 #include "confdefs.h"
3414 /* Override any gcc2 internal prototype to avoid an error. */
3418 /* We use char because int might match the return type of a gcc2
3419 builtin and then its argument prototype would still apply. */
3421 #ifdef F77_DUMMY_MAIN
3425 int F77_DUMMY_MAIN() { return 1; }
3435 rm -f conftest.$ac_objext conftest$ac_exeext
3436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3437 (eval $ac_link) 2>&5
3439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3440 (exit $ac_status); } &&
3441 { ac_try='test -s conftest$ac_exeext'
3442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3446 (exit $ac_status); }; }; then
3447 ac_cv_lib_ipc_shmat=yes
3449 echo "$as_me: failed program was:" >&5
3450 cat conftest.$ac_ext >&5
3451 ac_cv_lib_ipc_shmat=no
3453 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3454 LIBS=$ac_check_lib_save_LIBS
3456 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
3457 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
3458 if test $ac_cv_lib_ipc_shmat = yes; then
3459 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
3465 # Check for libraries that X11R6 Xt/Xaw programs need.
3466 ac_save_LDFLAGS=$LDFLAGS
3467 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
3468 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
3469 # check for ICE first), but we must link in the order -lSM -lICE or
3470 # we get undefined symbols. So assume we have SM if we have ICE.
3471 # These have to be linked with before -lX11, unlike the other
3472 # libraries we check for below, so use a different variable.
3473 # John Interrante, Karl Berry
3474 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
3475 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
3476 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
3477 echo $ECHO_N "(cached) $ECHO_C" >&6
3479 ac_check_lib_save_LIBS=$LIBS
3480 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
3481 cat >conftest.$ac_ext <<_ACEOF
3482 #line $LINENO "configure"
3483 #include "confdefs.h"
3485 /* Override any gcc2 internal prototype to avoid an error. */
3489 /* We use char because int might match the return type of a gcc2
3490 builtin and then its argument prototype would still apply. */
3491 char IceConnectionNumber ();
3492 #ifdef F77_DUMMY_MAIN
3496 int F77_DUMMY_MAIN() { return 1; }
3501 IceConnectionNumber ();
3506 rm -f conftest.$ac_objext conftest$ac_exeext
3507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3508 (eval $ac_link) 2>&5
3510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3511 (exit $ac_status); } &&
3512 { ac_try='test -s conftest$ac_exeext'
3513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3517 (exit $ac_status); }; }; then
3518 ac_cv_lib_ICE_IceConnectionNumber=yes
3520 echo "$as_me: failed program was:" >&5
3521 cat conftest.$ac_ext >&5
3522 ac_cv_lib_ICE_IceConnectionNumber=no
3524 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3525 LIBS=$ac_check_lib_save_LIBS
3527 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
3528 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
3529 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
3530 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
3533 LDFLAGS=$ac_save_LDFLAGS
3537 for ac_prog in 'bison -y' byacc
3539 # Extract the first word of "$ac_prog", so it can be a program name with args.
3540 set dummy $ac_prog; ac_word=$2
3541 echo "$as_me:$LINENO: checking for $ac_word" >&5
3542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3543 if test "${ac_cv_prog_YACC+set}" = set; then
3544 echo $ECHO_N "(cached) $ECHO_C" >&6
3546 if test -n "$YACC"; then
3547 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3553 test -z "$as_dir" && as_dir=.
3554 for ac_exec_ext in '' $ac_executable_extensions; do
3555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3556 ac_cv_prog_YACC="$ac_prog"
3557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3565 YACC=$ac_cv_prog_YACC
3566 if test -n "$YACC"; then
3567 echo "$as_me:$LINENO: result: $YACC" >&5
3568 echo "${ECHO_T}$YACC" >&6
3570 echo "$as_me:$LINENO: result: no" >&5
3571 echo "${ECHO_T}no" >&6
3574 test -n "$YACC" && break
3576 test -n "$YACC" || YACC="yacc"
3578 for ac_prog in flex lex
3580 # Extract the first word of "$ac_prog", so it can be a program name with args.
3581 set dummy $ac_prog; ac_word=$2
3582 echo "$as_me:$LINENO: checking for $ac_word" >&5
3583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3584 if test "${ac_cv_prog_LEX+set}" = set; then
3585 echo $ECHO_N "(cached) $ECHO_C" >&6
3587 if test -n "$LEX"; then
3588 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3594 test -z "$as_dir" && as_dir=.
3595 for ac_exec_ext in '' $ac_executable_extensions; do
3596 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3597 ac_cv_prog_LEX="$ac_prog"
3598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3607 if test -n "$LEX"; then
3608 echo "$as_me:$LINENO: result: $LEX" >&5
3609 echo "${ECHO_T}$LEX" >&6
3611 echo "$as_me:$LINENO: result: no" >&5
3612 echo "${ECHO_T}no" >&6
3615 test -n "$LEX" && break
3617 test -n "$LEX" || LEX=":"
3619 if test -z "$LEXLIB"
3621 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3622 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3623 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3624 echo $ECHO_N "(cached) $ECHO_C" >&6
3626 ac_check_lib_save_LIBS=$LIBS
3628 cat >conftest.$ac_ext <<_ACEOF
3629 #line $LINENO "configure"
3630 #include "confdefs.h"
3632 /* Override any gcc2 internal prototype to avoid an error. */
3636 /* We use char because int might match the return type of a gcc2
3637 builtin and then its argument prototype would still apply. */
3639 #ifdef F77_DUMMY_MAIN
3643 int F77_DUMMY_MAIN() { return 1; }
3653 rm -f conftest.$ac_objext conftest$ac_exeext
3654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3655 (eval $ac_link) 2>&5
3657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3658 (exit $ac_status); } &&
3659 { ac_try='test -s conftest$ac_exeext'
3660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3664 (exit $ac_status); }; }; then
3665 ac_cv_lib_fl_yywrap=yes
3667 echo "$as_me: failed program was:" >&5
3668 cat conftest.$ac_ext >&5
3669 ac_cv_lib_fl_yywrap=no
3671 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3672 LIBS=$ac_check_lib_save_LIBS
3674 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3675 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3676 if test $ac_cv_lib_fl_yywrap = yes; then
3679 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3680 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3681 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3682 echo $ECHO_N "(cached) $ECHO_C" >&6
3684 ac_check_lib_save_LIBS=$LIBS
3686 cat >conftest.$ac_ext <<_ACEOF
3687 #line $LINENO "configure"
3688 #include "confdefs.h"
3690 /* Override any gcc2 internal prototype to avoid an error. */
3694 /* We use char because int might match the return type of a gcc2
3695 builtin and then its argument prototype would still apply. */
3697 #ifdef F77_DUMMY_MAIN
3701 int F77_DUMMY_MAIN() { return 1; }
3711 rm -f conftest.$ac_objext conftest$ac_exeext
3712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3713 (eval $ac_link) 2>&5
3715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3716 (exit $ac_status); } &&
3717 { ac_try='test -s conftest$ac_exeext'
3718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3722 (exit $ac_status); }; }; then
3723 ac_cv_lib_l_yywrap=yes
3725 echo "$as_me: failed program was:" >&5
3726 cat conftest.$ac_ext >&5
3727 ac_cv_lib_l_yywrap=no
3729 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3730 LIBS=$ac_check_lib_save_LIBS
3732 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3733 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3734 if test $ac_cv_lib_l_yywrap = yes; then
3742 if test "x$LEX" != "x:"; then
3743 echo "$as_me:$LINENO: checking lex output file root" >&5
3744 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3745 if test "${ac_cv_prog_lex_root+set}" = set; then
3746 echo $ECHO_N "(cached) $ECHO_C" >&6
3748 # The minimal lex program is just a single line: %%. But some broken lexes
3749 # (Solaris, I think it was) want two %% lines, so accommodate them.
3750 cat >conftest.l <<_ACEOF
3754 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3755 (eval $LEX conftest.l) 2>&5
3757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3758 (exit $ac_status); }
3759 if test -f lex.yy.c; then
3760 ac_cv_prog_lex_root=lex.yy
3761 elif test -f lexyy.c; then
3762 ac_cv_prog_lex_root=lexyy
3764 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3765 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3766 { (exit 1); exit 1; }; }
3769 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3770 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3772 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3774 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3775 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3776 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3777 echo $ECHO_N "(cached) $ECHO_C" >&6
3779 # POSIX says lex can declare yytext either as a pointer or an array; the
3780 # default is implementation-dependent. Figure out which it is, since
3781 # not all implementations provide the %pointer and %array declarations.
3782 ac_cv_prog_lex_yytext_pointer=no
3783 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3785 LIBS="$LIBS $LEXLIB"
3786 cat >conftest.$ac_ext <<_ACEOF
3787 `cat $LEX_OUTPUT_ROOT.c`
3789 rm -f conftest.$ac_objext conftest$ac_exeext
3790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3791 (eval $ac_link) 2>&5
3793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3794 (exit $ac_status); } &&
3795 { ac_try='test -s conftest$ac_exeext'
3796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3800 (exit $ac_status); }; }; then
3801 ac_cv_prog_lex_yytext_pointer=yes
3803 echo "$as_me: failed program was:" >&5
3804 cat conftest.$ac_ext >&5
3806 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3808 rm -f "${LEX_OUTPUT_ROOT}.c"
3811 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3812 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3813 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3815 cat >>confdefs.h <<\_ACEOF
3816 #define YYTEXT_POINTER 1
3823 for ac_prog in $YACC bison yacc
3825 # Extract the first word of "$ac_prog", so it can be a program name with args.
3826 set dummy $ac_prog; ac_word=$2
3827 echo "$as_me:$LINENO: checking for $ac_word" >&5
3828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3829 if test "${ac_cv_prog_XYACC+set}" = set; then
3830 echo $ECHO_N "(cached) $ECHO_C" >&6
3832 if test -n "$XYACC"; then
3833 ac_cv_prog_XYACC="$XYACC" # Let the user override the test.
3835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3839 test -z "$as_dir" && as_dir=.
3840 for ac_exec_ext in '' $ac_executable_extensions; do
3841 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3842 ac_cv_prog_XYACC="$ac_prog"
3843 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3851 XYACC=$ac_cv_prog_XYACC
3852 if test -n "$XYACC"; then
3853 echo "$as_me:$LINENO: result: $XYACC" >&5
3854 echo "${ECHO_T}$XYACC" >&6
3856 echo "$as_me:$LINENO: result: no" >&5
3857 echo "${ECHO_T}no" >&6
3860 test -n "$XYACC" && break
3862 test -n "$XYACC" || XYACC="none"
3864 if test "$XYACC" = "none"
3866 { { echo "$as_me:$LINENO: error: no suitable bison/yacc found. Please install the 'bison' package." >&5
3867 echo "$as_me: error: no suitable bison/yacc found. Please install the 'bison' package." >&2;}
3868 { (exit 1); exit 1; }; }
3870 for ac_prog in $LEX flex lex
3872 # Extract the first word of "$ac_prog", so it can be a program name with args.
3873 set dummy $ac_prog; ac_word=$2
3874 echo "$as_me:$LINENO: checking for $ac_word" >&5
3875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3876 if test "${ac_cv_prog_XLEX+set}" = set; then
3877 echo $ECHO_N "(cached) $ECHO_C" >&6
3879 if test -n "$XLEX"; then
3880 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
3882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3886 test -z "$as_dir" && as_dir=.
3887 for ac_exec_ext in '' $ac_executable_extensions; do
3888 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3889 ac_cv_prog_XLEX="$ac_prog"
3890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3898 XLEX=$ac_cv_prog_XLEX
3899 if test -n "$XLEX"; then
3900 echo "$as_me:$LINENO: result: $XLEX" >&5
3901 echo "${ECHO_T}$XLEX" >&6
3903 echo "$as_me:$LINENO: result: no" >&5
3904 echo "${ECHO_T}no" >&6
3907 test -n "$XLEX" && break
3909 test -n "$XLEX" || XLEX="none"
3911 if test "$XLEX" = "none"
3913 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
3914 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
3915 { (exit 1); exit 1; }; }
3918 if test -n "$ac_tool_prefix"; then
3919 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3920 set dummy ${ac_tool_prefix}ar; ac_word=$2
3921 echo "$as_me:$LINENO: checking for $ac_word" >&5
3922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3923 if test "${ac_cv_prog_AR+set}" = set; then
3924 echo $ECHO_N "(cached) $ECHO_C" >&6
3926 if test -n "$AR"; then
3927 ac_cv_prog_AR="$AR" # Let the user override the test.
3929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3933 test -z "$as_dir" && as_dir=.
3934 for ac_exec_ext in '' $ac_executable_extensions; do
3935 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3936 ac_cv_prog_AR="${ac_tool_prefix}ar"
3937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3946 if test -n "$AR"; then
3947 echo "$as_me:$LINENO: result: $AR" >&5
3948 echo "${ECHO_T}$AR" >&6
3950 echo "$as_me:$LINENO: result: no" >&5
3951 echo "${ECHO_T}no" >&6
3955 if test -z "$ac_cv_prog_AR"; then
3957 # Extract the first word of "ar", so it can be a program name with args.
3958 set dummy ar; ac_word=$2
3959 echo "$as_me:$LINENO: checking for $ac_word" >&5
3960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3961 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3962 echo $ECHO_N "(cached) $ECHO_C" >&6
3964 if test -n "$ac_ct_AR"; then
3965 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3971 test -z "$as_dir" && as_dir=.
3972 for ac_exec_ext in '' $ac_executable_extensions; do
3973 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3974 ac_cv_prog_ac_ct_AR="ar"
3975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3981 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
3984 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3985 if test -n "$ac_ct_AR"; then
3986 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3987 echo "${ECHO_T}$ac_ct_AR" >&6
3989 echo "$as_me:$LINENO: result: no" >&5
3990 echo "${ECHO_T}no" >&6
3998 if test -n "$ac_tool_prefix"; then
3999 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4000 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4001 echo "$as_me:$LINENO: checking for $ac_word" >&5
4002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4003 if test "${ac_cv_prog_RANLIB+set}" = set; then
4004 echo $ECHO_N "(cached) $ECHO_C" >&6
4006 if test -n "$RANLIB"; then
4007 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4013 test -z "$as_dir" && as_dir=.
4014 for ac_exec_ext in '' $ac_executable_extensions; do
4015 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4016 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4025 RANLIB=$ac_cv_prog_RANLIB
4026 if test -n "$RANLIB"; then
4027 echo "$as_me:$LINENO: result: $RANLIB" >&5
4028 echo "${ECHO_T}$RANLIB" >&6
4030 echo "$as_me:$LINENO: result: no" >&5
4031 echo "${ECHO_T}no" >&6
4035 if test -z "$ac_cv_prog_RANLIB"; then
4036 ac_ct_RANLIB=$RANLIB
4037 # Extract the first word of "ranlib", so it can be a program name with args.
4038 set dummy ranlib; ac_word=$2
4039 echo "$as_me:$LINENO: checking for $ac_word" >&5
4040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4041 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4042 echo $ECHO_N "(cached) $ECHO_C" >&6
4044 if test -n "$ac_ct_RANLIB"; then
4045 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4051 test -z "$as_dir" && as_dir=.
4052 for ac_exec_ext in '' $ac_executable_extensions; do
4053 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4054 ac_cv_prog_ac_ct_RANLIB="ranlib"
4055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4061 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4064 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4065 if test -n "$ac_ct_RANLIB"; then
4066 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4067 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4069 echo "$as_me:$LINENO: result: no" >&5
4070 echo "${ECHO_T}no" >&6
4073 RANLIB=$ac_ct_RANLIB
4075 RANLIB="$ac_cv_prog_RANLIB"
4078 if test -n "$ac_tool_prefix"; then
4079 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4080 set dummy ${ac_tool_prefix}strip; ac_word=$2
4081 echo "$as_me:$LINENO: checking for $ac_word" >&5
4082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4083 if test "${ac_cv_prog_STRIP+set}" = set; then
4084 echo $ECHO_N "(cached) $ECHO_C" >&6
4086 if test -n "$STRIP"; then
4087 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4093 test -z "$as_dir" && as_dir=.
4094 for ac_exec_ext in '' $ac_executable_extensions; do
4095 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4096 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4105 STRIP=$ac_cv_prog_STRIP
4106 if test -n "$STRIP"; then
4107 echo "$as_me:$LINENO: result: $STRIP" >&5
4108 echo "${ECHO_T}$STRIP" >&6
4110 echo "$as_me:$LINENO: result: no" >&5
4111 echo "${ECHO_T}no" >&6
4115 if test -z "$ac_cv_prog_STRIP"; then
4117 # Extract the first word of "strip", so it can be a program name with args.
4118 set dummy strip; ac_word=$2
4119 echo "$as_me:$LINENO: checking for $ac_word" >&5
4120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4121 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4122 echo $ECHO_N "(cached) $ECHO_C" >&6
4124 if test -n "$ac_ct_STRIP"; then
4125 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4131 test -z "$as_dir" && as_dir=.
4132 for ac_exec_ext in '' $ac_executable_extensions; do
4133 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4134 ac_cv_prog_ac_ct_STRIP="strip"
4135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4141 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="strip"
4144 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4145 if test -n "$ac_ct_STRIP"; then
4146 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4147 echo "${ECHO_T}$ac_ct_STRIP" >&6
4149 echo "$as_me:$LINENO: result: no" >&5
4150 echo "${ECHO_T}no" >&6
4155 STRIP="$ac_cv_prog_STRIP"
4158 if test -n "$ac_tool_prefix"; then
4159 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
4160 set dummy ${ac_tool_prefix}windres; ac_word=$2
4161 echo "$as_me:$LINENO: checking for $ac_word" >&5
4162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4163 if test "${ac_cv_prog_WINDRES+set}" = set; then
4164 echo $ECHO_N "(cached) $ECHO_C" >&6
4166 if test -n "$WINDRES"; then
4167 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
4169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4173 test -z "$as_dir" && as_dir=.
4174 for ac_exec_ext in '' $ac_executable_extensions; do
4175 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4176 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
4177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4185 WINDRES=$ac_cv_prog_WINDRES
4186 if test -n "$WINDRES"; then
4187 echo "$as_me:$LINENO: result: $WINDRES" >&5
4188 echo "${ECHO_T}$WINDRES" >&6
4190 echo "$as_me:$LINENO: result: no" >&5
4191 echo "${ECHO_T}no" >&6
4195 if test -z "$ac_cv_prog_WINDRES"; then
4196 ac_ct_WINDRES=$WINDRES
4197 # Extract the first word of "windres", so it can be a program name with args.
4198 set dummy windres; ac_word=$2
4199 echo "$as_me:$LINENO: checking for $ac_word" >&5
4200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4201 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
4202 echo $ECHO_N "(cached) $ECHO_C" >&6
4204 if test -n "$ac_ct_WINDRES"; then
4205 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
4207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4211 test -z "$as_dir" && as_dir=.
4212 for ac_exec_ext in '' $ac_executable_extensions; do
4213 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4214 ac_cv_prog_ac_ct_WINDRES="windres"
4215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4221 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES="false"
4224 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
4225 if test -n "$ac_ct_WINDRES"; then
4226 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
4227 echo "${ECHO_T}$ac_ct_WINDRES" >&6
4229 echo "$as_me:$LINENO: result: no" >&5
4230 echo "${ECHO_T}no" >&6
4233 WINDRES=$ac_ct_WINDRES
4235 WINDRES="$ac_cv_prog_WINDRES"
4238 # Find a good install program. We prefer a C program (faster),
4239 # so one script is as good as another. But avoid the broken or
4240 # incompatible versions:
4241 # SysV /etc/install, /usr/sbin/install
4242 # SunOS /usr/etc/install
4243 # IRIX /sbin/install
4245 # AmigaOS /C/install, which installs bootblocks on floppy discs
4246 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4247 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4248 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4249 # ./install, which can be erroneously created by make from ./install.sh.
4250 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4251 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4252 if test -z "$INSTALL"; then
4253 if test "${ac_cv_path_install+set}" = set; then
4254 echo $ECHO_N "(cached) $ECHO_C" >&6
4256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4260 test -z "$as_dir" && as_dir=.
4261 # Account for people who put trailing slashes in PATH elements.
4263 ./ | .// | /cC/* | \
4264 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4267 # OSF1 and SCO ODT 3.0 have their own names for install.
4268 # Don't use installbsd from OSF since it installs stuff as root
4270 for ac_prog in ginstall scoinst install; do
4271 for ac_exec_ext in '' $ac_executable_extensions; do
4272 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4273 if test $ac_prog = install &&
4274 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4275 # AIX install. It has an incompatible calling convention.
4277 elif test $ac_prog = install &&
4278 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4279 # program-specific install script used by HP pwplus--don't use.
4282 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4294 if test "${ac_cv_path_install+set}" = set; then
4295 INSTALL=$ac_cv_path_install
4297 # As a last resort, use the slow shell script. We don't cache a
4298 # path for INSTALL within a source directory, because that will
4299 # break other packages using the cache if that directory is
4300 # removed, or if the path is relative.
4301 INSTALL=$ac_install_sh
4304 echo "$as_me:$LINENO: result: $INSTALL" >&5
4305 echo "${ECHO_T}$INSTALL" >&6
4307 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4308 # It thinks the first close brace ends the variable substitution.
4309 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4311 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4313 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4315 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4316 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4318 if test "$LN_S" = "ln -s"; then
4319 echo "$as_me:$LINENO: result: yes" >&5
4320 echo "${ECHO_T}yes" >&6
4322 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4323 echo "${ECHO_T}no, using $LN_S" >&6
4326 echo "$as_me:$LINENO: checking whether ln works" >&5
4327 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
4328 rm -f conf$$ conf$$.file
4330 if ln conf$$.file conf$$ 2>/dev/null; then
4333 echo "$as_me:$LINENO: result: yes" >&5
4334 echo "${ECHO_T}yes" >&6
4338 echo "$as_me:$LINENO: result: no, using $LN" >&5
4339 echo "${ECHO_T}no, using $LN" >&6
4341 rm -f conf$$ conf$$.file
4342 # Extract the first word of "c2man", so it can be a program name with args.
4343 set dummy c2man; ac_word=$2
4344 echo "$as_me:$LINENO: checking for $ac_word" >&5
4345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4346 if test "${ac_cv_prog_C2MAN+set}" = set; then
4347 echo $ECHO_N "(cached) $ECHO_C" >&6
4349 if test -n "$C2MAN"; then
4350 ac_cv_prog_C2MAN="$C2MAN" # Let the user override the test.
4352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4356 test -z "$as_dir" && as_dir=.
4357 for ac_exec_ext in '' $ac_executable_extensions; do
4358 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4359 ac_cv_prog_C2MAN="c2man"
4360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4366 test -z "$ac_cv_prog_C2MAN" && ac_cv_prog_C2MAN="\$(TOPSRCDIR)/tools/c2man.pl"
4369 C2MAN=$ac_cv_prog_C2MAN
4370 if test -n "$C2MAN"; then
4371 echo "$as_me:$LINENO: result: $C2MAN" >&5
4372 echo "${ECHO_T}$C2MAN" >&6
4374 echo "$as_me:$LINENO: result: no" >&5
4375 echo "${ECHO_T}no" >&6
4378 # Extract the first word of "ldconfig", so it can be a program name with args.
4379 set dummy ldconfig; ac_word=$2
4380 echo "$as_me:$LINENO: checking for $ac_word" >&5
4381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4382 if test "${ac_cv_path_LDCONFIG+set}" = set; then
4383 echo $ECHO_N "(cached) $ECHO_C" >&6
4387 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
4390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4391 for as_dir in /sbin /usr/sbin $PATH
4394 test -z "$as_dir" && as_dir=.
4395 for ac_exec_ext in '' $ac_executable_extensions; do
4396 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4397 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
4398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4404 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
4408 LDCONFIG=$ac_cv_path_LDCONFIG
4410 if test -n "$LDCONFIG"; then
4411 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
4412 echo "${ECHO_T}$LDCONFIG" >&6
4414 echo "$as_me:$LINENO: result: no" >&5
4415 echo "${ECHO_T}no" >&6
4421 if test -n "$ac_tool_prefix"; then
4422 # Extract the first word of "${ac_tool_prefix}ld -r --enable-stdcall-fixup", so it can be a program name with args.
4423 set dummy ${ac_tool_prefix}ld -r --enable-stdcall-fixup; ac_word=$2
4424 echo "$as_me:$LINENO: checking for $ac_word" >&5
4425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4426 if test "${ac_cv_prog_LDCOMBINE+set}" = set; then
4427 echo $ECHO_N "(cached) $ECHO_C" >&6
4429 if test -n "$LDCOMBINE"; then
4430 ac_cv_prog_LDCOMBINE="$LDCOMBINE" # Let the user override the test.
4432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4436 test -z "$as_dir" && as_dir=.
4437 for ac_exec_ext in '' $ac_executable_extensions; do
4438 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4439 ac_cv_prog_LDCOMBINE="${ac_tool_prefix}ld -r --enable-stdcall-fixup"
4440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4448 LDCOMBINE=$ac_cv_prog_LDCOMBINE
4449 if test -n "$LDCOMBINE"; then
4450 echo "$as_me:$LINENO: result: $LDCOMBINE" >&5
4451 echo "${ECHO_T}$LDCOMBINE" >&6
4453 echo "$as_me:$LINENO: result: no" >&5
4454 echo "${ECHO_T}no" >&6
4458 if test -z "$ac_cv_prog_LDCOMBINE"; then
4459 ac_ct_LDCOMBINE=$LDCOMBINE
4460 # Extract the first word of "ld -r --enable-stdcall-fixup", so it can be a program name with args.
4461 set dummy ld -r --enable-stdcall-fixup; ac_word=$2
4462 echo "$as_me:$LINENO: checking for $ac_word" >&5
4463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4464 if test "${ac_cv_prog_ac_ct_LDCOMBINE+set}" = set; then
4465 echo $ECHO_N "(cached) $ECHO_C" >&6
4467 if test -n "$ac_ct_LDCOMBINE"; then
4468 ac_cv_prog_ac_ct_LDCOMBINE="$ac_ct_LDCOMBINE" # Let the user override the test.
4470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4474 test -z "$as_dir" && as_dir=.
4475 for ac_exec_ext in '' $ac_executable_extensions; do
4476 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4477 ac_cv_prog_ac_ct_LDCOMBINE="ld -r --enable-stdcall-fixup"
4478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4484 test -z "$ac_cv_prog_ac_ct_LDCOMBINE" && ac_cv_prog_ac_ct_LDCOMBINE="ld -r --enable-stdcall-fixup"
4487 ac_ct_LDCOMBINE=$ac_cv_prog_ac_ct_LDCOMBINE
4488 if test -n "$ac_ct_LDCOMBINE"; then
4489 echo "$as_me:$LINENO: result: $ac_ct_LDCOMBINE" >&5
4490 echo "${ECHO_T}$ac_ct_LDCOMBINE" >&6
4492 echo "$as_me:$LINENO: result: no" >&5
4493 echo "${ECHO_T}no" >&6
4496 LDCOMBINE=$ac_ct_LDCOMBINE
4498 LDCOMBINE="$ac_cv_prog_LDCOMBINE"
4502 if test -n "$ac_tool_prefix"; then
4503 # Extract the first word of "${ac_tool_prefix}ld -r", so it can be a program name with args.
4504 set dummy ${ac_tool_prefix}ld -r; ac_word=$2
4505 echo "$as_me:$LINENO: checking for $ac_word" >&5
4506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4507 if test "${ac_cv_prog_LDCOMBINE+set}" = set; then
4508 echo $ECHO_N "(cached) $ECHO_C" >&6
4510 if test -n "$LDCOMBINE"; then
4511 ac_cv_prog_LDCOMBINE="$LDCOMBINE" # Let the user override the test.
4513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4517 test -z "$as_dir" && as_dir=.
4518 for ac_exec_ext in '' $ac_executable_extensions; do
4519 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4520 ac_cv_prog_LDCOMBINE="${ac_tool_prefix}ld -r"
4521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4529 LDCOMBINE=$ac_cv_prog_LDCOMBINE
4530 if test -n "$LDCOMBINE"; then
4531 echo "$as_me:$LINENO: result: $LDCOMBINE" >&5
4532 echo "${ECHO_T}$LDCOMBINE" >&6
4534 echo "$as_me:$LINENO: result: no" >&5
4535 echo "${ECHO_T}no" >&6
4539 if test -z "$ac_cv_prog_LDCOMBINE"; then
4540 ac_ct_LDCOMBINE=$LDCOMBINE
4541 # Extract the first word of "ld -r", so it can be a program name with args.
4542 set dummy ld -r; ac_word=$2
4543 echo "$as_me:$LINENO: checking for $ac_word" >&5
4544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4545 if test "${ac_cv_prog_ac_ct_LDCOMBINE+set}" = set; then
4546 echo $ECHO_N "(cached) $ECHO_C" >&6
4548 if test -n "$ac_ct_LDCOMBINE"; then
4549 ac_cv_prog_ac_ct_LDCOMBINE="$ac_ct_LDCOMBINE" # Let the user override the test.
4551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4555 test -z "$as_dir" && as_dir=.
4556 for ac_exec_ext in '' $ac_executable_extensions; do
4557 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4558 ac_cv_prog_ac_ct_LDCOMBINE="ld -r"
4559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4565 test -z "$ac_cv_prog_ac_ct_LDCOMBINE" && ac_cv_prog_ac_ct_LDCOMBINE="ld -r"
4568 ac_ct_LDCOMBINE=$ac_cv_prog_ac_ct_LDCOMBINE
4569 if test -n "$ac_ct_LDCOMBINE"; then
4570 echo "$as_me:$LINENO: result: $ac_ct_LDCOMBINE" >&5
4571 echo "${ECHO_T}$ac_ct_LDCOMBINE" >&6
4573 echo "$as_me:$LINENO: result: no" >&5
4574 echo "${ECHO_T}no" >&6
4577 LDCOMBINE=$ac_ct_LDCOMBINE
4579 LDCOMBINE="$ac_cv_prog_LDCOMBINE"
4584 for ac_prog in lclint lint
4586 # Extract the first word of "$ac_prog", so it can be a program name with args.
4587 set dummy $ac_prog; ac_word=$2
4588 echo "$as_me:$LINENO: checking for $ac_word" >&5
4589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4590 if test "${ac_cv_prog_LINT+set}" = set; then
4591 echo $ECHO_N "(cached) $ECHO_C" >&6
4593 if test -n "$LINT"; then
4594 ac_cv_prog_LINT="$LINT" # Let the user override the test.
4596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4600 test -z "$as_dir" && as_dir=.
4601 for ac_exec_ext in '' $ac_executable_extensions; do
4602 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4603 ac_cv_prog_LINT="$ac_prog"
4604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4612 LINT=$ac_cv_prog_LINT
4613 if test -n "$LINT"; then
4614 echo "$as_me:$LINENO: result: $LINT" >&5
4615 echo "${ECHO_T}$LINT" >&6
4617 echo "$as_me:$LINENO: result: no" >&5
4618 echo "${ECHO_T}no" >&6
4621 test -n "$LINT" && break
4624 if test "$LINT" = "lint"
4626 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4633 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
4634 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
4635 if test "${ac_cv_lib_m_sqrt+set}" = set; then
4636 echo $ECHO_N "(cached) $ECHO_C" >&6
4638 ac_check_lib_save_LIBS=$LIBS
4640 cat >conftest.$ac_ext <<_ACEOF
4641 #line $LINENO "configure"
4642 #include "confdefs.h"
4644 /* Override any gcc2 internal prototype to avoid an error. */
4648 /* We use char because int might match the return type of a gcc2
4649 builtin and then its argument prototype would still apply. */
4651 #ifdef F77_DUMMY_MAIN
4655 int F77_DUMMY_MAIN() { return 1; }
4665 rm -f conftest.$ac_objext conftest$ac_exeext
4666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4667 (eval $ac_link) 2>&5
4669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4670 (exit $ac_status); } &&
4671 { ac_try='test -s conftest$ac_exeext'
4672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4676 (exit $ac_status); }; }; then
4677 ac_cv_lib_m_sqrt=yes
4679 echo "$as_me: failed program was:" >&5
4680 cat conftest.$ac_ext >&5
4683 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4684 LIBS=$ac_check_lib_save_LIBS
4686 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
4687 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
4688 if test $ac_cv_lib_m_sqrt = yes; then
4689 cat >>confdefs.h <<_ACEOF
4698 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
4699 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
4700 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
4701 echo $ECHO_N "(cached) $ECHO_C" >&6
4703 ac_check_lib_save_LIBS=$LIBS
4705 cat >conftest.$ac_ext <<_ACEOF
4706 #line $LINENO "configure"
4707 #include "confdefs.h"
4709 /* Override any gcc2 internal prototype to avoid an error. */
4713 /* We use char because int might match the return type of a gcc2
4714 builtin and then its argument prototype would still apply. */
4715 char i386_set_ldt ();
4716 #ifdef F77_DUMMY_MAIN
4720 int F77_DUMMY_MAIN() { return 1; }
4730 rm -f conftest.$ac_objext conftest$ac_exeext
4731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4732 (eval $ac_link) 2>&5
4734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4735 (exit $ac_status); } &&
4736 { ac_try='test -s conftest$ac_exeext'
4737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741 (exit $ac_status); }; }; then
4742 ac_cv_lib_i386_i386_set_ldt=yes
4744 echo "$as_me: failed program was:" >&5
4745 cat conftest.$ac_ext >&5
4746 ac_cv_lib_i386_i386_set_ldt=no
4748 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4749 LIBS=$ac_check_lib_save_LIBS
4751 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
4752 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
4753 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
4754 cat >>confdefs.h <<_ACEOF
4755 #define HAVE_LIBI386 1
4763 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
4764 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
4765 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
4766 echo $ECHO_N "(cached) $ECHO_C" >&6
4768 ac_check_lib_save_LIBS=$LIBS
4769 LIBS="-lossaudio $LIBS"
4770 cat >conftest.$ac_ext <<_ACEOF
4771 #line $LINENO "configure"
4772 #include "confdefs.h"
4774 /* Override any gcc2 internal prototype to avoid an error. */
4778 /* We use char because int might match the return type of a gcc2
4779 builtin and then its argument prototype would still apply. */
4781 #ifdef F77_DUMMY_MAIN
4785 int F77_DUMMY_MAIN() { return 1; }
4795 rm -f conftest.$ac_objext conftest$ac_exeext
4796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4797 (eval $ac_link) 2>&5
4799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4800 (exit $ac_status); } &&
4801 { ac_try='test -s conftest$ac_exeext'
4802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4806 (exit $ac_status); }; }; then
4807 ac_cv_lib_ossaudio__oss_ioctl=yes
4809 echo "$as_me: failed program was:" >&5
4810 cat conftest.$ac_ext >&5
4811 ac_cv_lib_ossaudio__oss_ioctl=no
4813 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4814 LIBS=$ac_check_lib_save_LIBS
4816 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
4817 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
4818 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
4819 cat >>confdefs.h <<_ACEOF
4820 #define HAVE_LIBOSSAUDIO 1
4823 LIBS="-lossaudio $LIBS"
4828 for ac_func in iswalnum
4830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4831 echo "$as_me:$LINENO: checking for $ac_func" >&5
4832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4833 if eval "test \"\${$as_ac_var+set}\" = set"; then
4834 echo $ECHO_N "(cached) $ECHO_C" >&6
4836 cat >conftest.$ac_ext <<_ACEOF
4837 #line $LINENO "configure"
4838 #include "confdefs.h"
4839 /* System header to define __stub macros and hopefully few prototypes,
4840 which can conflict with char $ac_func (); below. */
4842 /* Override any gcc2 internal prototype to avoid an error. */
4846 /* We use char because int might match the return type of a gcc2
4847 builtin and then its argument prototype would still apply. */
4851 #ifdef F77_DUMMY_MAIN
4855 int F77_DUMMY_MAIN() { return 1; }
4860 /* The GNU C library defines this for functions which it implements
4861 to always fail with ENOSYS. Some functions are actually named
4862 something starting with __ and the normal name is an alias. */
4863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4873 rm -f conftest.$ac_objext conftest$ac_exeext
4874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4875 (eval $ac_link) 2>&5
4877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4878 (exit $ac_status); } &&
4879 { ac_try='test -s conftest$ac_exeext'
4880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4884 (exit $ac_status); }; }; then
4885 eval "$as_ac_var=yes"
4887 echo "$as_me: failed program was:" >&5
4888 cat conftest.$ac_ext >&5
4889 eval "$as_ac_var=no"
4891 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4895 if test `eval echo '${'$as_ac_var'}'` = yes; then
4896 cat >>confdefs.h <<_ACEOF
4897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4902 echo "$as_me:$LINENO: checking for iswalnum in -lw" >&5
4903 echo $ECHO_N "checking for iswalnum in -lw... $ECHO_C" >&6
4904 if test "${ac_cv_lib_w_iswalnum+set}" = set; then
4905 echo $ECHO_N "(cached) $ECHO_C" >&6
4907 ac_check_lib_save_LIBS=$LIBS
4909 cat >conftest.$ac_ext <<_ACEOF
4910 #line $LINENO "configure"
4911 #include "confdefs.h"
4913 /* Override any gcc2 internal prototype to avoid an error. */
4917 /* We use char because int might match the return type of a gcc2
4918 builtin and then its argument prototype would still apply. */
4920 #ifdef F77_DUMMY_MAIN
4924 int F77_DUMMY_MAIN() { return 1; }
4934 rm -f conftest.$ac_objext conftest$ac_exeext
4935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4936 (eval $ac_link) 2>&5
4938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4939 (exit $ac_status); } &&
4940 { ac_try='test -s conftest$ac_exeext'
4941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4945 (exit $ac_status); }; }; then
4946 ac_cv_lib_w_iswalnum=yes
4948 echo "$as_me: failed program was:" >&5
4949 cat conftest.$ac_ext >&5
4950 ac_cv_lib_w_iswalnum=no
4952 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4953 LIBS=$ac_check_lib_save_LIBS
4955 echo "$as_me:$LINENO: result: $ac_cv_lib_w_iswalnum" >&5
4956 echo "${ECHO_T}$ac_cv_lib_w_iswalnum" >&6
4957 if test $ac_cv_lib_w_iswalnum = yes; then
4958 cat >>confdefs.h <<_ACEOF
4970 for ac_func in gethostbyname
4972 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4973 echo "$as_me:$LINENO: checking for $ac_func" >&5
4974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4975 if eval "test \"\${$as_ac_var+set}\" = set"; then
4976 echo $ECHO_N "(cached) $ECHO_C" >&6
4978 cat >conftest.$ac_ext <<_ACEOF
4979 #line $LINENO "configure"
4980 #include "confdefs.h"
4981 /* System header to define __stub macros and hopefully few prototypes,
4982 which can conflict with char $ac_func (); below. */
4984 /* Override any gcc2 internal prototype to avoid an error. */
4988 /* We use char because int might match the return type of a gcc2
4989 builtin and then its argument prototype would still apply. */
4993 #ifdef F77_DUMMY_MAIN
4997 int F77_DUMMY_MAIN() { return 1; }
5002 /* The GNU C library defines this for functions which it implements
5003 to always fail with ENOSYS. Some functions are actually named
5004 something starting with __ and the normal name is an alias. */
5005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5015 rm -f conftest.$ac_objext conftest$ac_exeext
5016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5017 (eval $ac_link) 2>&5
5019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5020 (exit $ac_status); } &&
5021 { ac_try='test -s conftest$ac_exeext'
5022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5026 (exit $ac_status); }; }; then
5027 eval "$as_ac_var=yes"
5029 echo "$as_me: failed program was:" >&5
5030 cat conftest.$ac_ext >&5
5031 eval "$as_ac_var=no"
5033 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5037 if test `eval echo '${'$as_ac_var'}'` = yes; then
5038 cat >>confdefs.h <<_ACEOF
5039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5044 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5045 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
5046 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5047 echo $ECHO_N "(cached) $ECHO_C" >&6
5049 ac_check_lib_save_LIBS=$LIBS
5051 cat >conftest.$ac_ext <<_ACEOF
5052 #line $LINENO "configure"
5053 #include "confdefs.h"
5055 /* Override any gcc2 internal prototype to avoid an error. */
5059 /* We use char because int might match the return type of a gcc2
5060 builtin and then its argument prototype would still apply. */
5061 char gethostbyname ();
5062 #ifdef F77_DUMMY_MAIN
5066 int F77_DUMMY_MAIN() { return 1; }
5076 rm -f conftest.$ac_objext conftest$ac_exeext
5077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5078 (eval $ac_link) 2>&5
5080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5081 (exit $ac_status); } &&
5082 { ac_try='test -s conftest$ac_exeext'
5083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5087 (exit $ac_status); }; }; then
5088 ac_cv_lib_nsl_gethostbyname=yes
5090 echo "$as_me: failed program was:" >&5
5091 cat conftest.$ac_ext >&5
5092 ac_cv_lib_nsl_gethostbyname=no
5094 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5095 LIBS=$ac_check_lib_save_LIBS
5097 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5098 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
5099 if test $ac_cv_lib_nsl_gethostbyname = yes; then
5100 cat >>confdefs.h <<_ACEOF
5101 #define HAVE_LIBNSL 1
5112 for ac_func in connect
5114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5115 echo "$as_me:$LINENO: checking for $ac_func" >&5
5116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5117 if eval "test \"\${$as_ac_var+set}\" = set"; then
5118 echo $ECHO_N "(cached) $ECHO_C" >&6
5120 cat >conftest.$ac_ext <<_ACEOF
5121 #line $LINENO "configure"
5122 #include "confdefs.h"
5123 /* System header to define __stub macros and hopefully few prototypes,
5124 which can conflict with char $ac_func (); below. */
5126 /* Override any gcc2 internal prototype to avoid an error. */
5130 /* We use char because int might match the return type of a gcc2
5131 builtin and then its argument prototype would still apply. */
5135 #ifdef F77_DUMMY_MAIN
5139 int F77_DUMMY_MAIN() { return 1; }
5144 /* The GNU C library defines this for functions which it implements
5145 to always fail with ENOSYS. Some functions are actually named
5146 something starting with __ and the normal name is an alias. */
5147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5157 rm -f conftest.$ac_objext conftest$ac_exeext
5158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5159 (eval $ac_link) 2>&5
5161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5162 (exit $ac_status); } &&
5163 { ac_try='test -s conftest$ac_exeext'
5164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5168 (exit $ac_status); }; }; then
5169 eval "$as_ac_var=yes"
5171 echo "$as_me: failed program was:" >&5
5172 cat conftest.$ac_ext >&5
5173 eval "$as_ac_var=no"
5175 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5178 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5179 if test `eval echo '${'$as_ac_var'}'` = yes; then
5180 cat >>confdefs.h <<_ACEOF
5181 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5186 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
5187 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
5188 if test "${ac_cv_lib_socket_connect+set}" = set; then
5189 echo $ECHO_N "(cached) $ECHO_C" >&6
5191 ac_check_lib_save_LIBS=$LIBS
5192 LIBS="-lsocket $LIBS"
5193 cat >conftest.$ac_ext <<_ACEOF
5194 #line $LINENO "configure"
5195 #include "confdefs.h"
5197 /* Override any gcc2 internal prototype to avoid an error. */
5201 /* We use char because int might match the return type of a gcc2
5202 builtin and then its argument prototype would still apply. */
5204 #ifdef F77_DUMMY_MAIN
5208 int F77_DUMMY_MAIN() { return 1; }
5218 rm -f conftest.$ac_objext conftest$ac_exeext
5219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5220 (eval $ac_link) 2>&5
5222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5223 (exit $ac_status); } &&
5224 { ac_try='test -s conftest$ac_exeext'
5225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5229 (exit $ac_status); }; }; then
5230 ac_cv_lib_socket_connect=yes
5232 echo "$as_me: failed program was:" >&5
5233 cat conftest.$ac_ext >&5
5234 ac_cv_lib_socket_connect=no
5236 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5237 LIBS=$ac_check_lib_save_LIBS
5239 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
5240 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
5241 if test $ac_cv_lib_socket_connect = yes; then
5242 cat >>confdefs.h <<_ACEOF
5243 #define HAVE_LIBSOCKET 1
5246 LIBS="-lsocket $LIBS"
5254 for ac_func in inet_aton
5256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5257 echo "$as_me:$LINENO: checking for $ac_func" >&5
5258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5259 if eval "test \"\${$as_ac_var+set}\" = set"; then
5260 echo $ECHO_N "(cached) $ECHO_C" >&6
5262 cat >conftest.$ac_ext <<_ACEOF
5263 #line $LINENO "configure"
5264 #include "confdefs.h"
5265 /* System header to define __stub macros and hopefully few prototypes,
5266 which can conflict with char $ac_func (); below. */
5268 /* Override any gcc2 internal prototype to avoid an error. */
5272 /* We use char because int might match the return type of a gcc2
5273 builtin and then its argument prototype would still apply. */
5277 #ifdef F77_DUMMY_MAIN
5281 int F77_DUMMY_MAIN() { return 1; }
5286 /* The GNU C library defines this for functions which it implements
5287 to always fail with ENOSYS. Some functions are actually named
5288 something starting with __ and the normal name is an alias. */
5289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5299 rm -f conftest.$ac_objext conftest$ac_exeext
5300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5301 (eval $ac_link) 2>&5
5303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5304 (exit $ac_status); } &&
5305 { ac_try='test -s conftest$ac_exeext'
5306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5310 (exit $ac_status); }; }; then
5311 eval "$as_ac_var=yes"
5313 echo "$as_me: failed program was:" >&5
5314 cat conftest.$ac_ext >&5
5315 eval "$as_ac_var=no"
5317 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5320 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5321 if test `eval echo '${'$as_ac_var'}'` = yes; then
5322 cat >>confdefs.h <<_ACEOF
5323 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5328 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
5329 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
5330 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
5331 echo $ECHO_N "(cached) $ECHO_C" >&6
5333 ac_check_lib_save_LIBS=$LIBS
5334 LIBS="-lresolv $LIBS"
5335 cat >conftest.$ac_ext <<_ACEOF
5336 #line $LINENO "configure"
5337 #include "confdefs.h"
5339 /* Override any gcc2 internal prototype to avoid an error. */
5343 /* We use char because int might match the return type of a gcc2
5344 builtin and then its argument prototype would still apply. */
5346 #ifdef F77_DUMMY_MAIN
5350 int F77_DUMMY_MAIN() { return 1; }
5360 rm -f conftest.$ac_objext conftest$ac_exeext
5361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5362 (eval $ac_link) 2>&5
5364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5365 (exit $ac_status); } &&
5366 { ac_try='test -s conftest$ac_exeext'
5367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5371 (exit $ac_status); }; }; then
5372 ac_cv_lib_resolv_inet_aton=yes
5374 echo "$as_me: failed program was:" >&5
5375 cat conftest.$ac_ext >&5
5376 ac_cv_lib_resolv_inet_aton=no
5378 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5379 LIBS=$ac_check_lib_save_LIBS
5381 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
5382 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
5383 if test $ac_cv_lib_resolv_inet_aton = yes; then
5384 cat >>confdefs.h <<_ACEOF
5385 #define HAVE_LIBRESOLV 1
5388 LIBS="-lresolv $LIBS"
5396 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
5397 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
5398 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
5399 echo $ECHO_N "(cached) $ECHO_C" >&6
5401 ac_check_lib_save_LIBS=$LIBS
5403 cat >conftest.$ac_ext <<_ACEOF
5404 #line $LINENO "configure"
5405 #include "confdefs.h"
5407 /* Override any gcc2 internal prototype to avoid an error. */
5411 /* We use char because int might match the return type of a gcc2
5412 builtin and then its argument prototype would still apply. */
5413 char _xpg4_setrunelocale ();
5414 #ifdef F77_DUMMY_MAIN
5418 int F77_DUMMY_MAIN() { return 1; }
5423 _xpg4_setrunelocale ();
5428 rm -f conftest.$ac_objext conftest$ac_exeext
5429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5430 (eval $ac_link) 2>&5
5432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5433 (exit $ac_status); } &&
5434 { ac_try='test -s conftest$ac_exeext'
5435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5439 (exit $ac_status); }; }; then
5440 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
5442 echo "$as_me: failed program was:" >&5
5443 cat conftest.$ac_ext >&5
5444 ac_cv_lib_xpg4__xpg4_setrunelocale=no
5446 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5447 LIBS=$ac_check_lib_save_LIBS
5449 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
5450 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
5451 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
5452 cat >>confdefs.h <<_ACEOF
5453 #define HAVE_LIBXPG4 1
5461 echo "$as_me:$LINENO: checking for mmap in -lmmap" >&5
5462 echo $ECHO_N "checking for mmap in -lmmap... $ECHO_C" >&6
5463 if test "${ac_cv_lib_mmap_mmap+set}" = set; then
5464 echo $ECHO_N "(cached) $ECHO_C" >&6
5466 ac_check_lib_save_LIBS=$LIBS
5468 cat >conftest.$ac_ext <<_ACEOF
5469 #line $LINENO "configure"
5470 #include "confdefs.h"
5472 /* Override any gcc2 internal prototype to avoid an error. */
5476 /* We use char because int might match the return type of a gcc2
5477 builtin and then its argument prototype would still apply. */
5479 #ifdef F77_DUMMY_MAIN
5483 int F77_DUMMY_MAIN() { return 1; }
5493 rm -f conftest.$ac_objext conftest$ac_exeext
5494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5495 (eval $ac_link) 2>&5
5497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5498 (exit $ac_status); } &&
5499 { ac_try='test -s conftest$ac_exeext'
5500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5504 (exit $ac_status); }; }; then
5505 ac_cv_lib_mmap_mmap=yes
5507 echo "$as_me: failed program was:" >&5
5508 cat conftest.$ac_ext >&5
5509 ac_cv_lib_mmap_mmap=no
5511 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5512 LIBS=$ac_check_lib_save_LIBS
5514 echo "$as_me:$LINENO: result: $ac_cv_lib_mmap_mmap" >&5
5515 echo "${ECHO_T}$ac_cv_lib_mmap_mmap" >&6
5516 if test $ac_cv_lib_mmap_mmap = yes; then
5517 cat >>confdefs.h <<_ACEOF
5518 #define HAVE_LIBMMAP 1
5528 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5529 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5530 if test "${ac_cv_header_stdc+set}" = set; then
5531 echo $ECHO_N "(cached) $ECHO_C" >&6
5533 cat >conftest.$ac_ext <<_ACEOF
5534 #line $LINENO "configure"
5535 #include "confdefs.h"
5542 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5543 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5545 egrep -v '^ *\+' conftest.er1 >conftest.err
5547 cat conftest.err >&5
5548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5549 (exit $ac_status); } >/dev/null; then
5550 if test -s conftest.err; then
5551 ac_cpp_err=$ac_c_preproc_warn_flag
5558 if test -z "$ac_cpp_err"; then
5559 ac_cv_header_stdc=yes
5561 echo "$as_me: failed program was:" >&5
5562 cat conftest.$ac_ext >&5
5563 ac_cv_header_stdc=no
5565 rm -f conftest.err conftest.$ac_ext
5567 if test $ac_cv_header_stdc = yes; then
5568 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5569 cat >conftest.$ac_ext <<_ACEOF
5570 #line $LINENO "configure"
5571 #include "confdefs.h"
5575 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5576 egrep "memchr" >/dev/null 2>&1; then
5579 ac_cv_header_stdc=no
5585 if test $ac_cv_header_stdc = yes; then
5586 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5587 cat >conftest.$ac_ext <<_ACEOF
5588 #line $LINENO "configure"
5589 #include "confdefs.h"
5593 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5594 egrep "free" >/dev/null 2>&1; then
5597 ac_cv_header_stdc=no
5603 if test $ac_cv_header_stdc = yes; then
5604 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5605 if test "$cross_compiling" = yes; then
5608 cat >conftest.$ac_ext <<_ACEOF
5609 #line $LINENO "configure"
5610 #include "confdefs.h"
5612 #if ((' ' & 0x0FF) == 0x020)
5613 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5614 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5616 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
5617 || ('j' <= (c) && (c) <= 'r') \
5618 || ('s' <= (c) && (c) <= 'z'))
5619 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5622 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5627 for (i = 0; i < 256; i++)
5628 if (XOR (islower (i), ISLOWER (i))
5629 || toupper (i) != TOUPPER (i))
5634 rm -f conftest$ac_exeext
5635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5636 (eval $ac_link) 2>&5
5638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5639 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5644 (exit $ac_status); }; }; then
5647 echo "$as_me: program exited with status $ac_status" >&5
5648 echo "$as_me: failed program was:" >&5
5649 cat conftest.$ac_ext >&5
5651 ac_cv_header_stdc=no
5653 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5657 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5658 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5659 if test $ac_cv_header_stdc = yes; then
5661 cat >>confdefs.h <<\_ACEOF
5662 #define STDC_HEADERS 1
5667 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5677 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5678 inttypes.h stdint.h unistd.h
5680 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5681 echo "$as_me:$LINENO: checking for $ac_header" >&5
5682 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5683 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5684 echo $ECHO_N "(cached) $ECHO_C" >&6
5686 cat >conftest.$ac_ext <<_ACEOF
5687 #line $LINENO "configure"
5688 #include "confdefs.h"
5689 $ac_includes_default
5691 #include <$ac_header>
5693 rm -f conftest.$ac_objext
5694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5695 (eval $ac_compile) 2>&5
5697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5698 (exit $ac_status); } &&
5699 { ac_try='test -s conftest.$ac_objext'
5700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5704 (exit $ac_status); }; }; then
5705 eval "$as_ac_Header=yes"
5707 echo "$as_me: failed program was:" >&5
5708 cat conftest.$ac_ext >&5
5709 eval "$as_ac_Header=no"
5711 rm -f conftest.$ac_objext conftest.$ac_ext
5713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5714 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5715 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5716 cat >>confdefs.h <<_ACEOF
5717 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5726 for ac_header in jpeglib.h
5728 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5729 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5730 echo "$as_me:$LINENO: checking for $ac_header" >&5
5731 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5732 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5733 echo $ECHO_N "(cached) $ECHO_C" >&6
5735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5736 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5738 # Is the header compilable?
5739 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5740 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5741 cat >conftest.$ac_ext <<_ACEOF
5742 #line $LINENO "configure"
5743 #include "confdefs.h"
5744 $ac_includes_default
5745 #include <$ac_header>
5747 rm -f conftest.$ac_objext
5748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5749 (eval $ac_compile) 2>&5
5751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5752 (exit $ac_status); } &&
5753 { ac_try='test -s conftest.$ac_objext'
5754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5758 (exit $ac_status); }; }; then
5759 ac_header_compiler=yes
5761 echo "$as_me: failed program was:" >&5
5762 cat conftest.$ac_ext >&5
5763 ac_header_compiler=no
5765 rm -f conftest.$ac_objext conftest.$ac_ext
5766 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5767 echo "${ECHO_T}$ac_header_compiler" >&6
5769 # Is the header present?
5770 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5771 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5772 cat >conftest.$ac_ext <<_ACEOF
5773 #line $LINENO "configure"
5774 #include "confdefs.h"
5775 #include <$ac_header>
5777 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5778 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5780 egrep -v '^ *\+' conftest.er1 >conftest.err
5782 cat conftest.err >&5
5783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5784 (exit $ac_status); } >/dev/null; then
5785 if test -s conftest.err; then
5786 ac_cpp_err=$ac_c_preproc_warn_flag
5793 if test -z "$ac_cpp_err"; then
5794 ac_header_preproc=yes
5796 echo "$as_me: failed program was:" >&5
5797 cat conftest.$ac_ext >&5
5798 ac_header_preproc=no
5800 rm -f conftest.err conftest.$ac_ext
5801 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5802 echo "${ECHO_T}$ac_header_preproc" >&6
5804 # So? What about this header?
5805 case $ac_header_compiler:$ac_header_preproc in
5807 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5808 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5809 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5810 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5812 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5813 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5814 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5815 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5816 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5817 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5819 echo "$as_me:$LINENO: checking for $ac_header" >&5
5820 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5821 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5822 echo $ECHO_N "(cached) $ECHO_C" >&6
5824 eval "$as_ac_Header=$ac_header_preproc"
5826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5827 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5830 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5831 cat >>confdefs.h <<_ACEOF
5832 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5834 echo "$as_me:$LINENO: checking for jpeg_start_decompress in -ljpeg" >&5
5835 echo $ECHO_N "checking for jpeg_start_decompress in -ljpeg... $ECHO_C" >&6
5836 if test "${ac_cv_lib_jpeg_jpeg_start_decompress+set}" = set; then
5837 echo $ECHO_N "(cached) $ECHO_C" >&6
5839 ac_check_lib_save_LIBS=$LIBS
5841 cat >conftest.$ac_ext <<_ACEOF
5842 #line $LINENO "configure"
5843 #include "confdefs.h"
5845 /* Override any gcc2 internal prototype to avoid an error. */
5849 /* We use char because int might match the return type of a gcc2
5850 builtin and then its argument prototype would still apply. */
5851 char jpeg_start_decompress ();
5852 #ifdef F77_DUMMY_MAIN
5856 int F77_DUMMY_MAIN() { return 1; }
5861 jpeg_start_decompress ();
5866 rm -f conftest.$ac_objext conftest$ac_exeext
5867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5868 (eval $ac_link) 2>&5
5870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5871 (exit $ac_status); } &&
5872 { ac_try='test -s conftest$ac_exeext'
5873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5877 (exit $ac_status); }; }; then
5878 ac_cv_lib_jpeg_jpeg_start_decompress=yes
5880 echo "$as_me: failed program was:" >&5
5881 cat conftest.$ac_ext >&5
5882 ac_cv_lib_jpeg_jpeg_start_decompress=no
5884 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5885 LIBS=$ac_check_lib_save_LIBS
5887 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_start_decompress" >&5
5888 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_start_decompress" >&6
5889 if test $ac_cv_lib_jpeg_jpeg_start_decompress = yes; then
5891 cat >>confdefs.h <<\_ACEOF
5892 #define HAVE_LIBJPEG 1
5913 if test "$have_x" = "yes"
5916 ac_save_CPPFLAGS="$CPPFLAGS"
5917 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
5920 for ac_header in X11/Xlib.h
5922 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5923 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5924 echo "$as_me:$LINENO: checking for $ac_header" >&5
5925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5926 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5927 echo $ECHO_N "(cached) $ECHO_C" >&6
5929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5930 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5932 # Is the header compilable?
5933 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5934 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5935 cat >conftest.$ac_ext <<_ACEOF
5936 #line $LINENO "configure"
5937 #include "confdefs.h"
5938 $ac_includes_default
5939 #include <$ac_header>
5941 rm -f conftest.$ac_objext
5942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5943 (eval $ac_compile) 2>&5
5945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5946 (exit $ac_status); } &&
5947 { ac_try='test -s conftest.$ac_objext'
5948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5952 (exit $ac_status); }; }; then
5953 ac_header_compiler=yes
5955 echo "$as_me: failed program was:" >&5
5956 cat conftest.$ac_ext >&5
5957 ac_header_compiler=no
5959 rm -f conftest.$ac_objext conftest.$ac_ext
5960 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5961 echo "${ECHO_T}$ac_header_compiler" >&6
5963 # Is the header present?
5964 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5965 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5966 cat >conftest.$ac_ext <<_ACEOF
5967 #line $LINENO "configure"
5968 #include "confdefs.h"
5969 #include <$ac_header>
5971 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5972 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5974 egrep -v '^ *\+' conftest.er1 >conftest.err
5976 cat conftest.err >&5
5977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5978 (exit $ac_status); } >/dev/null; then
5979 if test -s conftest.err; then
5980 ac_cpp_err=$ac_c_preproc_warn_flag
5987 if test -z "$ac_cpp_err"; then
5988 ac_header_preproc=yes
5990 echo "$as_me: failed program was:" >&5
5991 cat conftest.$ac_ext >&5
5992 ac_header_preproc=no
5994 rm -f conftest.err conftest.$ac_ext
5995 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5996 echo "${ECHO_T}$ac_header_preproc" >&6
5998 # So? What about this header?
5999 case $ac_header_compiler:$ac_header_preproc in
6001 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6002 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6003 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6004 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6006 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6007 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6008 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6009 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6010 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6011 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6013 echo "$as_me:$LINENO: checking for $ac_header" >&5
6014 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6015 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6016 echo $ECHO_N "(cached) $ECHO_C" >&6
6018 eval "$as_ac_Header=$ac_header_preproc"
6020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6021 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6024 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6025 cat >>confdefs.h <<_ACEOF
6026 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6030 for ac_header in X11/XKBlib.h
6032 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6033 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6034 echo "$as_me:$LINENO: checking for $ac_header" >&5
6035 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6036 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6037 echo $ECHO_N "(cached) $ECHO_C" >&6
6039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6040 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6042 # Is the header compilable?
6043 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6044 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6045 cat >conftest.$ac_ext <<_ACEOF
6046 #line $LINENO "configure"
6047 #include "confdefs.h"
6048 $ac_includes_default
6049 #include <$ac_header>
6051 rm -f conftest.$ac_objext
6052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6053 (eval $ac_compile) 2>&5
6055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6056 (exit $ac_status); } &&
6057 { ac_try='test -s conftest.$ac_objext'
6058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6062 (exit $ac_status); }; }; then
6063 ac_header_compiler=yes
6065 echo "$as_me: failed program was:" >&5
6066 cat conftest.$ac_ext >&5
6067 ac_header_compiler=no
6069 rm -f conftest.$ac_objext conftest.$ac_ext
6070 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6071 echo "${ECHO_T}$ac_header_compiler" >&6
6073 # Is the header present?
6074 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6075 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6076 cat >conftest.$ac_ext <<_ACEOF
6077 #line $LINENO "configure"
6078 #include "confdefs.h"
6079 #include <$ac_header>
6081 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6082 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6084 egrep -v '^ *\+' conftest.er1 >conftest.err
6086 cat conftest.err >&5
6087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6088 (exit $ac_status); } >/dev/null; then
6089 if test -s conftest.err; then
6090 ac_cpp_err=$ac_c_preproc_warn_flag
6097 if test -z "$ac_cpp_err"; then
6098 ac_header_preproc=yes
6100 echo "$as_me: failed program was:" >&5
6101 cat conftest.$ac_ext >&5
6102 ac_header_preproc=no
6104 rm -f conftest.err conftest.$ac_ext
6105 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6106 echo "${ECHO_T}$ac_header_preproc" >&6
6108 # So? What about this header?
6109 case $ac_header_compiler:$ac_header_preproc in
6111 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6112 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6113 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6114 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6116 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6117 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6118 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6119 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6120 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6121 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6123 echo "$as_me:$LINENO: checking for $ac_header" >&5
6124 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6125 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6126 echo $ECHO_N "(cached) $ECHO_C" >&6
6128 eval "$as_ac_Header=$ac_header_preproc"
6130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6131 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6134 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6135 cat >>confdefs.h <<_ACEOF
6136 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6138 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
6139 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
6140 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
6141 echo $ECHO_N "(cached) $ECHO_C" >&6
6143 ac_check_lib_save_LIBS=$LIBS
6144 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6145 cat >conftest.$ac_ext <<_ACEOF
6146 #line $LINENO "configure"
6147 #include "confdefs.h"
6149 /* Override any gcc2 internal prototype to avoid an error. */
6153 /* We use char because int might match the return type of a gcc2
6154 builtin and then its argument prototype would still apply. */
6155 char XkbQueryExtension ();
6156 #ifdef F77_DUMMY_MAIN
6160 int F77_DUMMY_MAIN() { return 1; }
6165 XkbQueryExtension ();
6170 rm -f conftest.$ac_objext conftest$ac_exeext
6171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6172 (eval $ac_link) 2>&5
6174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6175 (exit $ac_status); } &&
6176 { ac_try='test -s conftest$ac_exeext'
6177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6181 (exit $ac_status); }; }; then
6182 ac_cv_lib_X11_XkbQueryExtension=yes
6184 echo "$as_me: failed program was:" >&5
6185 cat conftest.$ac_ext >&5
6186 ac_cv_lib_X11_XkbQueryExtension=no
6188 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6189 LIBS=$ac_check_lib_save_LIBS
6191 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
6192 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
6193 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
6195 cat >>confdefs.h <<\_ACEOF
6203 { echo "$as_me:$LINENO: WARNING: Xkb extension not found, Wine will be built without it" >&5
6204 echo "$as_me: WARNING: Xkb extension not found, Wine will be built without it" >&2;}
6212 for ac_header in X11/extensions/XShm.h
6214 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6215 echo "$as_me:$LINENO: checking for $ac_header" >&5
6216 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6217 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6218 echo $ECHO_N "(cached) $ECHO_C" >&6
6220 cat >conftest.$ac_ext <<_ACEOF
6221 #line $LINENO "configure"
6222 #include "confdefs.h"
6223 #include <X11/Xlib.h>
6225 #include <$ac_header>
6227 rm -f conftest.$ac_objext
6228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6229 (eval $ac_compile) 2>&5
6231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6232 (exit $ac_status); } &&
6233 { ac_try='test -s conftest.$ac_objext'
6234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6238 (exit $ac_status); }; }; then
6239 eval "$as_ac_Header=yes"
6241 echo "$as_me: failed program was:" >&5
6242 cat conftest.$ac_ext >&5
6243 eval "$as_ac_Header=no"
6245 rm -f conftest.$ac_objext conftest.$ac_ext
6247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6248 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6249 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6250 cat >>confdefs.h <<_ACEOF
6251 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6253 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
6254 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
6255 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
6256 echo $ECHO_N "(cached) $ECHO_C" >&6
6258 ac_check_lib_save_LIBS=$LIBS
6259 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6260 cat >conftest.$ac_ext <<_ACEOF
6261 #line $LINENO "configure"
6262 #include "confdefs.h"
6264 /* Override any gcc2 internal prototype to avoid an error. */
6268 /* We use char because int might match the return type of a gcc2
6269 builtin and then its argument prototype would still apply. */
6270 char XShmQueryExtension ();
6271 #ifdef F77_DUMMY_MAIN
6275 int F77_DUMMY_MAIN() { return 1; }
6280 XShmQueryExtension ();
6285 rm -f conftest.$ac_objext conftest$ac_exeext
6286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6287 (eval $ac_link) 2>&5
6289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6290 (exit $ac_status); } &&
6291 { ac_try='test -s conftest$ac_exeext'
6292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6296 (exit $ac_status); }; }; then
6297 ac_cv_lib_Xext_XShmQueryExtension=yes
6299 echo "$as_me: failed program was:" >&5
6300 cat conftest.$ac_ext >&5
6301 ac_cv_lib_Xext_XShmQueryExtension=no
6303 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6304 LIBS=$ac_check_lib_save_LIBS
6306 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
6307 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
6308 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
6310 cat >>confdefs.h <<\_ACEOF
6311 #define HAVE_LIBXXSHM 1
6318 { echo "$as_me:$LINENO: WARNING: XShm extension not found, Wine will be built without it" >&5
6319 echo "$as_me: WARNING: XShm extension not found, Wine will be built without it" >&2;}
6326 for ac_header in X11/extensions/shape.h
6328 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6329 echo "$as_me:$LINENO: checking for $ac_header" >&5
6330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6331 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6332 echo $ECHO_N "(cached) $ECHO_C" >&6
6334 cat >conftest.$ac_ext <<_ACEOF
6335 #line $LINENO "configure"
6336 #include "confdefs.h"
6337 #include <X11/Xlib.h>
6339 #include <$ac_header>
6341 rm -f conftest.$ac_objext
6342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6343 (eval $ac_compile) 2>&5
6345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6346 (exit $ac_status); } &&
6347 { ac_try='test -s conftest.$ac_objext'
6348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6352 (exit $ac_status); }; }; then
6353 eval "$as_ac_Header=yes"
6355 echo "$as_me: failed program was:" >&5
6356 cat conftest.$ac_ext >&5
6357 eval "$as_ac_Header=no"
6359 rm -f conftest.$ac_objext conftest.$ac_ext
6361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6362 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6363 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6364 cat >>confdefs.h <<_ACEOF
6365 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6367 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
6368 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
6369 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
6370 echo $ECHO_N "(cached) $ECHO_C" >&6
6372 ac_check_lib_save_LIBS=$LIBS
6373 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6374 cat >conftest.$ac_ext <<_ACEOF
6375 #line $LINENO "configure"
6376 #include "confdefs.h"
6378 /* Override any gcc2 internal prototype to avoid an error. */
6382 /* We use char because int might match the return type of a gcc2
6383 builtin and then its argument prototype would still apply. */
6384 char XShapeQueryExtension ();
6385 #ifdef F77_DUMMY_MAIN
6389 int F77_DUMMY_MAIN() { return 1; }
6394 XShapeQueryExtension ();
6399 rm -f conftest.$ac_objext conftest$ac_exeext
6400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6401 (eval $ac_link) 2>&5
6403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6404 (exit $ac_status); } &&
6405 { ac_try='test -s conftest$ac_exeext'
6406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6410 (exit $ac_status); }; }; then
6411 ac_cv_lib_Xext_XShapeQueryExtension=yes
6413 echo "$as_me: failed program was:" >&5
6414 cat conftest.$ac_ext >&5
6415 ac_cv_lib_Xext_XShapeQueryExtension=no
6417 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6418 LIBS=$ac_check_lib_save_LIBS
6420 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
6421 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
6422 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
6424 cat >>confdefs.h <<\_ACEOF
6425 #define HAVE_LIBXSHAPE 1
6432 { echo "$as_me:$LINENO: WARNING: XShape extension not found, Wine will be built without it" >&5
6433 echo "$as_me: WARNING: XShape extension not found, Wine will be built without it" >&2;}
6440 for ac_header in X11/extensions/xf86dga.h
6442 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6443 echo "$as_me:$LINENO: checking for $ac_header" >&5
6444 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6446 echo $ECHO_N "(cached) $ECHO_C" >&6
6448 cat >conftest.$ac_ext <<_ACEOF
6449 #line $LINENO "configure"
6450 #include "confdefs.h"
6451 #include <X11/Xlib.h>
6453 #include <$ac_header>
6455 rm -f conftest.$ac_objext
6456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6457 (eval $ac_compile) 2>&5
6459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6460 (exit $ac_status); } &&
6461 { ac_try='test -s conftest.$ac_objext'
6462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6466 (exit $ac_status); }; }; then
6467 eval "$as_ac_Header=yes"
6469 echo "$as_me: failed program was:" >&5
6470 cat conftest.$ac_ext >&5
6471 eval "$as_ac_Header=no"
6473 rm -f conftest.$ac_objext conftest.$ac_ext
6475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6476 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6477 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6478 cat >>confdefs.h <<_ACEOF
6479 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6481 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
6482 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
6483 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
6484 echo $ECHO_N "(cached) $ECHO_C" >&6
6486 ac_check_lib_save_LIBS=$LIBS
6487 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6489 cat >conftest.$ac_ext <<_ACEOF
6490 #line $LINENO "configure"
6491 #include "confdefs.h"
6493 /* Override any gcc2 internal prototype to avoid an error. */
6497 /* We use char because int might match the return type of a gcc2
6498 builtin and then its argument prototype would still apply. */
6499 char XDGAQueryExtension ();
6500 #ifdef F77_DUMMY_MAIN
6504 int F77_DUMMY_MAIN() { return 1; }
6509 XDGAQueryExtension ();
6514 rm -f conftest.$ac_objext conftest$ac_exeext
6515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6516 (eval $ac_link) 2>&5
6518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6519 (exit $ac_status); } &&
6520 { ac_try='test -s conftest$ac_exeext'
6521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6525 (exit $ac_status); }; }; then
6526 ac_cv_lib_Xxf86dga_XDGAQueryExtension=yes
6528 echo "$as_me: failed program was:" >&5
6529 cat conftest.$ac_ext >&5
6530 ac_cv_lib_Xxf86dga_XDGAQueryExtension=no
6532 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6533 LIBS=$ac_check_lib_save_LIBS
6535 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
6536 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
6537 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
6539 cat >>confdefs.h <<\_ACEOF
6540 #define HAVE_LIBXXF86DGA2 1
6543 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
6546 echo "$as_me:$LINENO: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
6547 echo $ECHO_N "checking for XF86DGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
6548 if test "${ac_cv_lib_Xxf86dga_XF86DGAQueryExtension+set}" = set; then
6549 echo $ECHO_N "(cached) $ECHO_C" >&6
6551 ac_check_lib_save_LIBS=$LIBS
6552 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6554 cat >conftest.$ac_ext <<_ACEOF
6555 #line $LINENO "configure"
6556 #include "confdefs.h"
6558 /* Override any gcc2 internal prototype to avoid an error. */
6562 /* We use char because int might match the return type of a gcc2
6563 builtin and then its argument prototype would still apply. */
6564 char XF86DGAQueryExtension ();
6565 #ifdef F77_DUMMY_MAIN
6569 int F77_DUMMY_MAIN() { return 1; }
6574 XF86DGAQueryExtension ();
6579 rm -f conftest.$ac_objext conftest$ac_exeext
6580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6581 (eval $ac_link) 2>&5
6583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6584 (exit $ac_status); } &&
6585 { ac_try='test -s conftest$ac_exeext'
6586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6590 (exit $ac_status); }; }; then
6591 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=yes
6593 echo "$as_me: failed program was:" >&5
6594 cat conftest.$ac_ext >&5
6595 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=no
6597 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6598 LIBS=$ac_check_lib_save_LIBS
6600 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&5
6601 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&6
6602 if test $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension = yes; then
6604 cat >>confdefs.h <<\_ACEOF
6605 #define HAVE_LIBXXF86DGA 1
6608 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
6617 { echo "$as_me:$LINENO: WARNING: DGA extension not found, Wine will be built without it" >&5
6618 echo "$as_me: WARNING: DGA extension not found, Wine will be built without it" >&2;}
6625 for ac_header in X11/extensions/xf86vmode.h
6627 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6628 echo "$as_me:$LINENO: checking for $ac_header" >&5
6629 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6630 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6631 echo $ECHO_N "(cached) $ECHO_C" >&6
6633 cat >conftest.$ac_ext <<_ACEOF
6634 #line $LINENO "configure"
6635 #include "confdefs.h"
6636 #include <X11/Xlib.h>
6638 #include <$ac_header>
6640 rm -f conftest.$ac_objext
6641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6642 (eval $ac_compile) 2>&5
6644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6645 (exit $ac_status); } &&
6646 { ac_try='test -s conftest.$ac_objext'
6647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6651 (exit $ac_status); }; }; then
6652 eval "$as_ac_Header=yes"
6654 echo "$as_me: failed program was:" >&5
6655 cat conftest.$ac_ext >&5
6656 eval "$as_ac_Header=no"
6658 rm -f conftest.$ac_objext conftest.$ac_ext
6660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6661 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6662 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6663 cat >>confdefs.h <<_ACEOF
6664 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6666 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
6667 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
6668 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
6669 echo $ECHO_N "(cached) $ECHO_C" >&6
6671 ac_check_lib_save_LIBS=$LIBS
6672 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6674 cat >conftest.$ac_ext <<_ACEOF
6675 #line $LINENO "configure"
6676 #include "confdefs.h"
6678 /* Override any gcc2 internal prototype to avoid an error. */
6682 /* We use char because int might match the return type of a gcc2
6683 builtin and then its argument prototype would still apply. */
6684 char XF86VidModeQueryExtension ();
6685 #ifdef F77_DUMMY_MAIN
6689 int F77_DUMMY_MAIN() { return 1; }
6694 XF86VidModeQueryExtension ();
6699 rm -f conftest.$ac_objext conftest$ac_exeext
6700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6701 (eval $ac_link) 2>&5
6703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6704 (exit $ac_status); } &&
6705 { ac_try='test -s conftest$ac_exeext'
6706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6710 (exit $ac_status); }; }; then
6711 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
6713 echo "$as_me: failed program was:" >&5
6714 cat conftest.$ac_ext >&5
6715 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
6717 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6718 LIBS=$ac_check_lib_save_LIBS
6720 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
6721 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
6722 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
6724 cat >>confdefs.h <<\_ACEOF
6725 #define HAVE_LIBXXF86VM 1
6728 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
6734 { echo "$as_me:$LINENO: WARNING: XFree86 VMODE extension not found, Wine will be built without it" >&5
6735 echo "$as_me: WARNING: XFree86 VMODE extension not found, Wine will be built without it" >&2;}
6742 for ac_header in X11/extensions/Xvlib.h
6744 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6745 echo "$as_me:$LINENO: checking for $ac_header" >&5
6746 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6747 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6748 echo $ECHO_N "(cached) $ECHO_C" >&6
6750 cat >conftest.$ac_ext <<_ACEOF
6751 #line $LINENO "configure"
6752 #include "confdefs.h"
6753 #include <X11/Xlib.h>
6755 #include <$ac_header>
6757 rm -f conftest.$ac_objext
6758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6759 (eval $ac_compile) 2>&5
6761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6762 (exit $ac_status); } &&
6763 { ac_try='test -s conftest.$ac_objext'
6764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6768 (exit $ac_status); }; }; then
6769 eval "$as_ac_Header=yes"
6771 echo "$as_me: failed program was:" >&5
6772 cat conftest.$ac_ext >&5
6773 eval "$as_ac_Header=no"
6775 rm -f conftest.$ac_objext conftest.$ac_ext
6777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6778 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6779 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6780 cat >>confdefs.h <<_ACEOF
6781 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6783 echo "$as_me:$LINENO: checking for XvShmCreateImage in -lXv" >&5
6784 echo $ECHO_N "checking for XvShmCreateImage in -lXv... $ECHO_C" >&6
6785 if test "${ac_cv_lib_Xv_XvShmCreateImage+set}" = set; then
6786 echo $ECHO_N "(cached) $ECHO_C" >&6
6788 ac_check_lib_save_LIBS=$LIBS
6789 LIBS="-lXv $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6791 cat >conftest.$ac_ext <<_ACEOF
6792 #line $LINENO "configure"
6793 #include "confdefs.h"
6795 /* Override any gcc2 internal prototype to avoid an error. */
6799 /* We use char because int might match the return type of a gcc2
6800 builtin and then its argument prototype would still apply. */
6801 char XvShmCreateImage ();
6802 #ifdef F77_DUMMY_MAIN
6806 int F77_DUMMY_MAIN() { return 1; }
6811 XvShmCreateImage ();
6816 rm -f conftest.$ac_objext conftest$ac_exeext
6817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6818 (eval $ac_link) 2>&5
6820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6821 (exit $ac_status); } &&
6822 { ac_try='test -s conftest$ac_exeext'
6823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6827 (exit $ac_status); }; }; then
6828 ac_cv_lib_Xv_XvShmCreateImage=yes
6830 echo "$as_me: failed program was:" >&5
6831 cat conftest.$ac_ext >&5
6832 ac_cv_lib_Xv_XvShmCreateImage=no
6834 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6835 LIBS=$ac_check_lib_save_LIBS
6837 echo "$as_me:$LINENO: result: $ac_cv_lib_Xv_XvShmCreateImage" >&5
6838 echo "${ECHO_T}$ac_cv_lib_Xv_XvShmCreateImage" >&6
6839 if test $ac_cv_lib_Xv_XvShmCreateImage = yes; then
6841 cat >>confdefs.h <<\_ACEOF
6842 #define HAVE_XVIDEO 1
6845 X_PRE_LIBS="$X_PRE_LIBS -lXv"
6851 { echo "$as_me:$LINENO: WARNING: XVideo extension not found, Wine will be built without it" >&5
6852 echo "$as_me: WARNING: XVideo extension not found, Wine will be built without it" >&2;}
6859 for ac_header in X11/extensions/Xrender.h
6861 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6862 echo "$as_me:$LINENO: checking for $ac_header" >&5
6863 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6864 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6865 echo $ECHO_N "(cached) $ECHO_C" >&6
6867 cat >conftest.$ac_ext <<_ACEOF
6868 #line $LINENO "configure"
6869 #include "confdefs.h"
6870 #include <X11/Xlib.h>
6872 #include <$ac_header>
6874 rm -f conftest.$ac_objext
6875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6876 (eval $ac_compile) 2>&5
6878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6879 (exit $ac_status); } &&
6880 { ac_try='test -s conftest.$ac_objext'
6881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6885 (exit $ac_status); }; }; then
6886 eval "$as_ac_Header=yes"
6888 echo "$as_me: failed program was:" >&5
6889 cat conftest.$ac_ext >&5
6890 eval "$as_ac_Header=no"
6892 rm -f conftest.$ac_objext conftest.$ac_ext
6894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6895 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6896 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6897 cat >>confdefs.h <<_ACEOF
6898 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6911 if test "x$enable_opengl" != "xno"
6913 if test -f /usr/X11R6/lib/libGL.a -a ! -f /usr/X11R6/lib/libGL.so
6915 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
6916 This prevents linking to OpenGL. Delete the file and restart configure." >&5
6917 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
6918 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
6919 { (exit 1); exit 1; }; }
6924 for ac_header in GL/gl.h GL/glx.h
6926 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6927 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6928 echo "$as_me:$LINENO: checking for $ac_header" >&5
6929 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6930 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6931 echo $ECHO_N "(cached) $ECHO_C" >&6
6933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6934 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6936 # Is the header compilable?
6937 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6938 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6939 cat >conftest.$ac_ext <<_ACEOF
6940 #line $LINENO "configure"
6941 #include "confdefs.h"
6942 $ac_includes_default
6943 #include <$ac_header>
6945 rm -f conftest.$ac_objext
6946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6947 (eval $ac_compile) 2>&5
6949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6950 (exit $ac_status); } &&
6951 { ac_try='test -s conftest.$ac_objext'
6952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6956 (exit $ac_status); }; }; then
6957 ac_header_compiler=yes
6959 echo "$as_me: failed program was:" >&5
6960 cat conftest.$ac_ext >&5
6961 ac_header_compiler=no
6963 rm -f conftest.$ac_objext conftest.$ac_ext
6964 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6965 echo "${ECHO_T}$ac_header_compiler" >&6
6967 # Is the header present?
6968 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6969 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6970 cat >conftest.$ac_ext <<_ACEOF
6971 #line $LINENO "configure"
6972 #include "confdefs.h"
6973 #include <$ac_header>
6975 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6976 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6978 egrep -v '^ *\+' conftest.er1 >conftest.err
6980 cat conftest.err >&5
6981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6982 (exit $ac_status); } >/dev/null; then
6983 if test -s conftest.err; then
6984 ac_cpp_err=$ac_c_preproc_warn_flag
6991 if test -z "$ac_cpp_err"; then
6992 ac_header_preproc=yes
6994 echo "$as_me: failed program was:" >&5
6995 cat conftest.$ac_ext >&5
6996 ac_header_preproc=no
6998 rm -f conftest.err conftest.$ac_ext
6999 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7000 echo "${ECHO_T}$ac_header_preproc" >&6
7002 # So? What about this header?
7003 case $ac_header_compiler:$ac_header_preproc in
7005 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7006 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7007 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7008 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7010 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7011 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7012 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7013 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7014 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7015 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7017 echo "$as_me:$LINENO: checking for $ac_header" >&5
7018 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7019 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7020 echo $ECHO_N "(cached) $ECHO_C" >&6
7022 eval "$as_ac_Header=$ac_header_preproc"
7024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7025 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7028 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7029 cat >>confdefs.h <<_ACEOF
7030 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7037 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
7040 for ac_header in GL/glext.h
7042 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7043 echo "$as_me:$LINENO: checking for $ac_header" >&5
7044 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7046 echo $ECHO_N "(cached) $ECHO_C" >&6
7048 cat >conftest.$ac_ext <<_ACEOF
7049 #line $LINENO "configure"
7050 #include "confdefs.h"
7053 #include <$ac_header>
7055 rm -f conftest.$ac_objext
7056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7057 (eval $ac_compile) 2>&5
7059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7060 (exit $ac_status); } &&
7061 { ac_try='test -s conftest.$ac_objext'
7062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7066 (exit $ac_status); }; }; then
7067 eval "$as_ac_Header=yes"
7069 echo "$as_me: failed program was:" >&5
7070 cat conftest.$ac_ext >&5
7071 eval "$as_ac_Header=no"
7073 rm -f conftest.$ac_objext conftest.$ac_ext
7075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7076 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7077 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7078 cat >>confdefs.h <<_ACEOF
7079 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7086 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
7087 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
7088 if test "${wine_cv_opengl_version_OK+set}" = set; then
7089 echo $ECHO_N "(cached) $ECHO_C" >&6
7091 cat >conftest.$ac_ext <<_ACEOF
7092 #line $LINENO "configure"
7093 #include "confdefs.h"
7095 #ifdef F77_DUMMY_MAIN
7099 int F77_DUMMY_MAIN() { return 1; }
7104 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
7109 rm -f conftest.$ac_objext
7110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7111 (eval $ac_compile) 2>&5
7113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7114 (exit $ac_status); } &&
7115 { ac_try='test -s conftest.$ac_objext'
7116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7120 (exit $ac_status); }; }; then
7121 wine_cv_opengl_version_OK="yes"
7123 echo "$as_me: failed program was:" >&5
7124 cat conftest.$ac_ext >&5
7125 wine_cv_opengl_version_OK="no"
7128 rm -f conftest.$ac_objext conftest.$ac_ext
7131 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
7132 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
7134 echo "$as_me:$LINENO: checking for thread-safe OpenGL version" >&5
7135 echo $ECHO_N "checking for thread-safe OpenGL version... $ECHO_C" >&6
7136 if test "${wine_cv_opengl_version_threadsafe+set}" = set; then
7137 echo $ECHO_N "(cached) $ECHO_C" >&6
7141 cat >conftest.$ac_ext <<_ACEOF
7142 #line $LINENO "configure"
7143 #include "confdefs.h"
7145 #ifdef F77_DUMMY_MAIN
7149 int F77_DUMMY_MAIN() { return 1; }
7154 pthread_getspecific();
7159 rm -f conftest.$ac_objext conftest$ac_exeext
7160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7161 (eval $ac_link) 2>&5
7163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7164 (exit $ac_status); } &&
7165 { ac_try='test -s conftest$ac_exeext'
7166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7170 (exit $ac_status); }; }; then
7171 wine_cv_opengl_version_threadsafe="yes"
7173 echo "$as_me: failed program was:" >&5
7174 cat conftest.$ac_ext >&5
7175 wine_cv_opengl_version_threadsafe="no"
7177 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7181 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_threadsafe" >&5
7182 echo "${ECHO_T}$wine_cv_opengl_version_threadsafe" >&6
7184 if test "$wine_cv_opengl_version_OK" = "yes" -a \( "$wine_cv_opengl_version_threadsafe" = "no" -o "x$enable_opengl" = "xyes" \)
7186 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
7187 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
7188 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
7189 echo $ECHO_N "(cached) $ECHO_C" >&6
7191 ac_check_lib_save_LIBS=$LIBS
7192 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
7193 cat >conftest.$ac_ext <<_ACEOF
7194 #line $LINENO "configure"
7195 #include "confdefs.h"
7197 /* Override any gcc2 internal prototype to avoid an error. */
7201 /* We use char because int might match the return type of a gcc2
7202 builtin and then its argument prototype would still apply. */
7203 char glXCreateContext ();
7204 #ifdef F77_DUMMY_MAIN
7208 int F77_DUMMY_MAIN() { return 1; }
7213 glXCreateContext ();
7218 rm -f conftest.$ac_objext conftest$ac_exeext
7219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7220 (eval $ac_link) 2>&5
7222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7223 (exit $ac_status); } &&
7224 { ac_try='test -s conftest$ac_exeext'
7225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7229 (exit $ac_status); }; }; then
7230 ac_cv_lib_GL_glXCreateContext=yes
7232 echo "$as_me: failed program was:" >&5
7233 cat conftest.$ac_ext >&5
7234 ac_cv_lib_GL_glXCreateContext=no
7236 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7237 LIBS=$ac_check_lib_save_LIBS
7239 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
7240 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
7241 if test $ac_cv_lib_GL_glXCreateContext = yes; then
7242 X_PRE_LIBS="$X_PRE_LIBS -lGL"
7247 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
7249 OPENGLFILES='$(OPENGLFILES)'
7251 cat >>confdefs.h <<\_ACEOF
7252 #define HAVE_OPENGL 1
7256 echo "$as_me:$LINENO: checking for glXGetProcAddressARB in -lGL" >&5
7257 echo $ECHO_N "checking for glXGetProcAddressARB in -lGL... $ECHO_C" >&6
7258 if test "${ac_cv_lib_GL_glXGetProcAddressARB+set}" = set; then
7259 echo $ECHO_N "(cached) $ECHO_C" >&6
7261 ac_check_lib_save_LIBS=$LIBS
7262 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
7263 cat >conftest.$ac_ext <<_ACEOF
7264 #line $LINENO "configure"
7265 #include "confdefs.h"
7267 /* Override any gcc2 internal prototype to avoid an error. */
7271 /* We use char because int might match the return type of a gcc2
7272 builtin and then its argument prototype would still apply. */
7273 char glXGetProcAddressARB ();
7274 #ifdef F77_DUMMY_MAIN
7278 int F77_DUMMY_MAIN() { return 1; }
7283 glXGetProcAddressARB ();
7288 rm -f conftest.$ac_objext conftest$ac_exeext
7289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7290 (eval $ac_link) 2>&5
7292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7293 (exit $ac_status); } &&
7294 { ac_try='test -s conftest$ac_exeext'
7295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7299 (exit $ac_status); }; }; then
7300 ac_cv_lib_GL_glXGetProcAddressARB=yes
7302 echo "$as_me: failed program was:" >&5
7303 cat conftest.$ac_ext >&5
7304 ac_cv_lib_GL_glXGetProcAddressARB=no
7306 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7307 LIBS=$ac_check_lib_save_LIBS
7309 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXGetProcAddressARB" >&5
7310 echo "${ECHO_T}$ac_cv_lib_GL_glXGetProcAddressARB" >&6
7311 if test $ac_cv_lib_GL_glXGetProcAddressARB = yes; then
7313 cat >>confdefs.h <<\_ACEOF
7314 #define HAVE_GLX_GETPROCADDRESS 1
7320 if test "$ac_cv_lib_GL_glXGetProcAddressARB" = "yes"
7322 echo "$as_me:$LINENO: checking for OpenGL extension functions prototypes" >&5
7323 echo $ECHO_N "checking for OpenGL extension functions prototypes... $ECHO_C" >&6
7324 if test "${wine_cv_extension_prototypes+set}" = set; then
7325 echo $ECHO_N "(cached) $ECHO_C" >&6
7327 cat >conftest.$ac_ext <<_ACEOF
7328 #line $LINENO "configure"
7329 #include "confdefs.h"
7331 #ifdef HAVE_GL_GLEXT_H
7332 # include <GL/glext.h>
7335 #ifdef F77_DUMMY_MAIN
7339 int F77_DUMMY_MAIN() { return 1; }
7344 PFNGLCOLORTABLEEXTPROC test_proc;
7349 rm -f conftest.$ac_objext
7350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7351 (eval $ac_compile) 2>&5
7353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7354 (exit $ac_status); } &&
7355 { ac_try='test -s conftest.$ac_objext'
7356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7360 (exit $ac_status); }; }; then
7361 wine_cv_extension_prototypes="yes"
7363 echo "$as_me: failed program was:" >&5
7364 cat conftest.$ac_ext >&5
7365 wine_cv_extension_prototypes="no"
7368 rm -f conftest.$ac_objext conftest.$ac_ext
7371 echo "$as_me:$LINENO: result: $wine_cv_extension_prototypes" >&5
7372 echo "${ECHO_T}$wine_cv_extension_prototypes" >&6
7373 if test "$wine_cv_extension_prototypes" = "yes"
7376 cat >>confdefs.h <<\_ACEOF
7377 #define HAVE_GLEXT_PROTOTYPES 1
7384 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
7385 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
7386 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
7387 echo $ECHO_N "(cached) $ECHO_C" >&6
7389 ac_check_lib_save_LIBS=$LIBS
7390 LIBS="-lGLU $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
7392 cat >conftest.$ac_ext <<_ACEOF
7393 #line $LINENO "configure"
7394 #include "confdefs.h"
7396 /* Override any gcc2 internal prototype to avoid an error. */
7400 /* We use char because int might match the return type of a gcc2
7401 builtin and then its argument prototype would still apply. */
7403 #ifdef F77_DUMMY_MAIN
7407 int F77_DUMMY_MAIN() { return 1; }
7417 rm -f conftest.$ac_objext conftest$ac_exeext
7418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7419 (eval $ac_link) 2>&5
7421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7422 (exit $ac_status); } &&
7423 { ac_try='test -s conftest$ac_exeext'
7424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7428 (exit $ac_status); }; }; then
7429 ac_cv_lib_GLU_gluLookAt=yes
7431 echo "$as_me: failed program was:" >&5
7432 cat conftest.$ac_ext >&5
7433 ac_cv_lib_GLU_gluLookAt=no
7435 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7436 LIBS=$ac_check_lib_save_LIBS
7438 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
7439 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
7440 if test $ac_cv_lib_GLU_gluLookAt = yes; then
7441 X_PRE_LIBS="$X_PRE_LIBS -lGLU"
7442 GLU32FILES='$(GLU32FILES)'
7450 CPPFLAGS="$ac_save_CPPFLAGS"
7459 if test "x$with_curses" != "xno"
7462 for ac_header in ncurses.h
7464 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7465 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7466 echo "$as_me:$LINENO: checking for $ac_header" >&5
7467 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7468 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7469 echo $ECHO_N "(cached) $ECHO_C" >&6
7471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7472 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7474 # Is the header compilable?
7475 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7476 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7477 cat >conftest.$ac_ext <<_ACEOF
7478 #line $LINENO "configure"
7479 #include "confdefs.h"
7480 $ac_includes_default
7481 #include <$ac_header>
7483 rm -f conftest.$ac_objext
7484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7485 (eval $ac_compile) 2>&5
7487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7488 (exit $ac_status); } &&
7489 { ac_try='test -s conftest.$ac_objext'
7490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7494 (exit $ac_status); }; }; then
7495 ac_header_compiler=yes
7497 echo "$as_me: failed program was:" >&5
7498 cat conftest.$ac_ext >&5
7499 ac_header_compiler=no
7501 rm -f conftest.$ac_objext conftest.$ac_ext
7502 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7503 echo "${ECHO_T}$ac_header_compiler" >&6
7505 # Is the header present?
7506 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7507 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7508 cat >conftest.$ac_ext <<_ACEOF
7509 #line $LINENO "configure"
7510 #include "confdefs.h"
7511 #include <$ac_header>
7513 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7514 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7516 egrep -v '^ *\+' conftest.er1 >conftest.err
7518 cat conftest.err >&5
7519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7520 (exit $ac_status); } >/dev/null; then
7521 if test -s conftest.err; then
7522 ac_cpp_err=$ac_c_preproc_warn_flag
7529 if test -z "$ac_cpp_err"; then
7530 ac_header_preproc=yes
7532 echo "$as_me: failed program was:" >&5
7533 cat conftest.$ac_ext >&5
7534 ac_header_preproc=no
7536 rm -f conftest.err conftest.$ac_ext
7537 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7538 echo "${ECHO_T}$ac_header_preproc" >&6
7540 # So? What about this header?
7541 case $ac_header_compiler:$ac_header_preproc in
7543 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7544 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7545 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7546 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7548 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7549 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7550 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7551 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7552 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7553 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7555 echo "$as_me:$LINENO: checking for $ac_header" >&5
7556 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7558 echo $ECHO_N "(cached) $ECHO_C" >&6
7560 eval "$as_ac_Header=$ac_header_preproc"
7562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7563 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7566 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7567 cat >>confdefs.h <<_ACEOF
7568 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7570 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
7571 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
7572 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
7573 echo $ECHO_N "(cached) $ECHO_C" >&6
7575 ac_check_lib_save_LIBS=$LIBS
7576 LIBS="-lncurses $LIBS"
7577 cat >conftest.$ac_ext <<_ACEOF
7578 #line $LINENO "configure"
7579 #include "confdefs.h"
7581 /* Override any gcc2 internal prototype to avoid an error. */
7585 /* We use char because int might match the return type of a gcc2
7586 builtin and then its argument prototype would still apply. */
7588 #ifdef F77_DUMMY_MAIN
7592 int F77_DUMMY_MAIN() { return 1; }
7602 rm -f conftest.$ac_objext conftest$ac_exeext
7603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7604 (eval $ac_link) 2>&5
7606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7607 (exit $ac_status); } &&
7608 { ac_try='test -s conftest$ac_exeext'
7609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7613 (exit $ac_status); }; }; then
7614 ac_cv_lib_ncurses_waddch=yes
7616 echo "$as_me: failed program was:" >&5
7617 cat conftest.$ac_ext >&5
7618 ac_cv_lib_ncurses_waddch=no
7620 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7621 LIBS=$ac_check_lib_save_LIBS
7623 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
7624 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
7625 if test $ac_cv_lib_ncurses_waddch = yes; then
7627 cat >>confdefs.h <<\_ACEOF
7628 #define HAVE_LIBNCURSES 1
7631 CURSESLIBS="-lncurses"
7634 for ac_header in curses.h
7636 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7637 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7638 echo "$as_me:$LINENO: checking for $ac_header" >&5
7639 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7640 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7641 echo $ECHO_N "(cached) $ECHO_C" >&6
7643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7644 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7646 # Is the header compilable?
7647 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7648 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7649 cat >conftest.$ac_ext <<_ACEOF
7650 #line $LINENO "configure"
7651 #include "confdefs.h"
7652 $ac_includes_default
7653 #include <$ac_header>
7655 rm -f conftest.$ac_objext
7656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7657 (eval $ac_compile) 2>&5
7659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7660 (exit $ac_status); } &&
7661 { ac_try='test -s conftest.$ac_objext'
7662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7666 (exit $ac_status); }; }; then
7667 ac_header_compiler=yes
7669 echo "$as_me: failed program was:" >&5
7670 cat conftest.$ac_ext >&5
7671 ac_header_compiler=no
7673 rm -f conftest.$ac_objext conftest.$ac_ext
7674 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7675 echo "${ECHO_T}$ac_header_compiler" >&6
7677 # Is the header present?
7678 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7679 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7680 cat >conftest.$ac_ext <<_ACEOF
7681 #line $LINENO "configure"
7682 #include "confdefs.h"
7683 #include <$ac_header>
7685 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7686 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7688 egrep -v '^ *\+' conftest.er1 >conftest.err
7690 cat conftest.err >&5
7691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7692 (exit $ac_status); } >/dev/null; then
7693 if test -s conftest.err; then
7694 ac_cpp_err=$ac_c_preproc_warn_flag
7701 if test -z "$ac_cpp_err"; then
7702 ac_header_preproc=yes
7704 echo "$as_me: failed program was:" >&5
7705 cat conftest.$ac_ext >&5
7706 ac_header_preproc=no
7708 rm -f conftest.err conftest.$ac_ext
7709 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7710 echo "${ECHO_T}$ac_header_preproc" >&6
7712 # So? What about this header?
7713 case $ac_header_compiler:$ac_header_preproc in
7715 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7716 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7717 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7718 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7720 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7721 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7722 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7723 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7724 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7725 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7727 echo "$as_me:$LINENO: checking for $ac_header" >&5
7728 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7729 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7730 echo $ECHO_N "(cached) $ECHO_C" >&6
7732 eval "$as_ac_Header=$ac_header_preproc"
7734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7735 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7738 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7739 cat >>confdefs.h <<_ACEOF
7740 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7742 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
7743 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
7744 if test "${ac_cv_lib_curses_waddch+set}" = set; then
7745 echo $ECHO_N "(cached) $ECHO_C" >&6
7747 ac_check_lib_save_LIBS=$LIBS
7748 LIBS="-lcurses $LIBS"
7749 cat >conftest.$ac_ext <<_ACEOF
7750 #line $LINENO "configure"
7751 #include "confdefs.h"
7753 /* Override any gcc2 internal prototype to avoid an error. */
7757 /* We use char because int might match the return type of a gcc2
7758 builtin and then its argument prototype would still apply. */
7760 #ifdef F77_DUMMY_MAIN
7764 int F77_DUMMY_MAIN() { return 1; }
7774 rm -f conftest.$ac_objext conftest$ac_exeext
7775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7776 (eval $ac_link) 2>&5
7778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7779 (exit $ac_status); } &&
7780 { ac_try='test -s conftest$ac_exeext'
7781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7785 (exit $ac_status); }; }; then
7786 ac_cv_lib_curses_waddch=yes
7788 echo "$as_me: failed program was:" >&5
7789 cat conftest.$ac_ext >&5
7790 ac_cv_lib_curses_waddch=no
7792 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7793 LIBS=$ac_check_lib_save_LIBS
7795 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
7796 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
7797 if test $ac_cv_lib_curses_waddch = yes; then
7799 cat >>confdefs.h <<\_ACEOF
7800 #define HAVE_LIBCURSES 1
7803 CURSESLIBS="-lcurses"
7817 LIBS="$CURSESLIBS $LIBS"
7820 for ac_func in getbkgd resizeterm
7822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7823 echo "$as_me:$LINENO: checking for $ac_func" >&5
7824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7825 if eval "test \"\${$as_ac_var+set}\" = set"; then
7826 echo $ECHO_N "(cached) $ECHO_C" >&6
7828 cat >conftest.$ac_ext <<_ACEOF
7829 #line $LINENO "configure"
7830 #include "confdefs.h"
7831 /* System header to define __stub macros and hopefully few prototypes,
7832 which can conflict with char $ac_func (); below. */
7834 /* Override any gcc2 internal prototype to avoid an error. */
7838 /* We use char because int might match the return type of a gcc2
7839 builtin and then its argument prototype would still apply. */
7843 #ifdef F77_DUMMY_MAIN
7847 int F77_DUMMY_MAIN() { return 1; }
7852 /* The GNU C library defines this for functions which it implements
7853 to always fail with ENOSYS. Some functions are actually named
7854 something starting with __ and the normal name is an alias. */
7855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7865 rm -f conftest.$ac_objext conftest$ac_exeext
7866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7867 (eval $ac_link) 2>&5
7869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7870 (exit $ac_status); } &&
7871 { ac_try='test -s conftest$ac_exeext'
7872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7876 (exit $ac_status); }; }; then
7877 eval "$as_ac_var=yes"
7879 echo "$as_me: failed program was:" >&5
7880 cat conftest.$ac_ext >&5
7881 eval "$as_ac_var=no"
7883 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7887 if test `eval echo '${'$as_ac_var'}'` = yes; then
7888 cat >>confdefs.h <<_ACEOF
7889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7900 wine_cv_warn_cups_h=no
7901 echo "$as_me:$LINENO: checking for cupsGetPPD in -lcups" >&5
7902 echo $ECHO_N "checking for cupsGetPPD in -lcups... $ECHO_C" >&6
7903 if test "${ac_cv_lib_cups_cupsGetPPD+set}" = set; then
7904 echo $ECHO_N "(cached) $ECHO_C" >&6
7906 ac_check_lib_save_LIBS=$LIBS
7908 cat >conftest.$ac_ext <<_ACEOF
7909 #line $LINENO "configure"
7910 #include "confdefs.h"
7912 /* Override any gcc2 internal prototype to avoid an error. */
7916 /* We use char because int might match the return type of a gcc2
7917 builtin and then its argument prototype would still apply. */
7919 #ifdef F77_DUMMY_MAIN
7923 int F77_DUMMY_MAIN() { return 1; }
7933 rm -f conftest.$ac_objext conftest$ac_exeext
7934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7935 (eval $ac_link) 2>&5
7937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7938 (exit $ac_status); } &&
7939 { ac_try='test -s conftest$ac_exeext'
7940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7944 (exit $ac_status); }; }; then
7945 ac_cv_lib_cups_cupsGetPPD=yes
7947 echo "$as_me: failed program was:" >&5
7948 cat conftest.$ac_ext >&5
7949 ac_cv_lib_cups_cupsGetPPD=no
7951 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7952 LIBS=$ac_check_lib_save_LIBS
7954 echo "$as_me:$LINENO: result: $ac_cv_lib_cups_cupsGetPPD" >&5
7955 echo "${ECHO_T}$ac_cv_lib_cups_cupsGetPPD" >&6
7956 if test $ac_cv_lib_cups_cupsGetPPD = yes; then
7957 if test "${ac_cv_header_cups_cups_h+set}" = set; then
7958 echo "$as_me:$LINENO: checking for cups/cups.h" >&5
7959 echo $ECHO_N "checking for cups/cups.h... $ECHO_C" >&6
7960 if test "${ac_cv_header_cups_cups_h+set}" = set; then
7961 echo $ECHO_N "(cached) $ECHO_C" >&6
7963 echo "$as_me:$LINENO: result: $ac_cv_header_cups_cups_h" >&5
7964 echo "${ECHO_T}$ac_cv_header_cups_cups_h" >&6
7966 # Is the header compilable?
7967 echo "$as_me:$LINENO: checking cups/cups.h usability" >&5
7968 echo $ECHO_N "checking cups/cups.h usability... $ECHO_C" >&6
7969 cat >conftest.$ac_ext <<_ACEOF
7970 #line $LINENO "configure"
7971 #include "confdefs.h"
7972 $ac_includes_default
7973 #include <cups/cups.h>
7975 rm -f conftest.$ac_objext
7976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7977 (eval $ac_compile) 2>&5
7979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7980 (exit $ac_status); } &&
7981 { ac_try='test -s conftest.$ac_objext'
7982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7986 (exit $ac_status); }; }; then
7987 ac_header_compiler=yes
7989 echo "$as_me: failed program was:" >&5
7990 cat conftest.$ac_ext >&5
7991 ac_header_compiler=no
7993 rm -f conftest.$ac_objext conftest.$ac_ext
7994 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7995 echo "${ECHO_T}$ac_header_compiler" >&6
7997 # Is the header present?
7998 echo "$as_me:$LINENO: checking cups/cups.h presence" >&5
7999 echo $ECHO_N "checking cups/cups.h presence... $ECHO_C" >&6
8000 cat >conftest.$ac_ext <<_ACEOF
8001 #line $LINENO "configure"
8002 #include "confdefs.h"
8003 #include <cups/cups.h>
8005 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8006 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8008 egrep -v '^ *\+' conftest.er1 >conftest.err
8010 cat conftest.err >&5
8011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8012 (exit $ac_status); } >/dev/null; then
8013 if test -s conftest.err; then
8014 ac_cpp_err=$ac_c_preproc_warn_flag
8021 if test -z "$ac_cpp_err"; then
8022 ac_header_preproc=yes
8024 echo "$as_me: failed program was:" >&5
8025 cat conftest.$ac_ext >&5
8026 ac_header_preproc=no
8028 rm -f conftest.err conftest.$ac_ext
8029 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8030 echo "${ECHO_T}$ac_header_preproc" >&6
8032 # So? What about this header?
8033 case $ac_header_compiler:$ac_header_preproc in
8035 { echo "$as_me:$LINENO: WARNING: cups/cups.h: accepted by the compiler, rejected by the preprocessor!" >&5
8036 echo "$as_me: WARNING: cups/cups.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8037 { echo "$as_me:$LINENO: WARNING: cups/cups.h: proceeding with the preprocessor's result" >&5
8038 echo "$as_me: WARNING: cups/cups.h: proceeding with the preprocessor's result" >&2;};;
8040 { echo "$as_me:$LINENO: WARNING: cups/cups.h: present but cannot be compiled" >&5
8041 echo "$as_me: WARNING: cups/cups.h: present but cannot be compiled" >&2;}
8042 { echo "$as_me:$LINENO: WARNING: cups/cups.h: check for missing prerequisite headers?" >&5
8043 echo "$as_me: WARNING: cups/cups.h: check for missing prerequisite headers?" >&2;}
8044 { echo "$as_me:$LINENO: WARNING: cups/cups.h: proceeding with the preprocessor's result" >&5
8045 echo "$as_me: WARNING: cups/cups.h: proceeding with the preprocessor's result" >&2;};;
8047 echo "$as_me:$LINENO: checking for cups/cups.h" >&5
8048 echo $ECHO_N "checking for cups/cups.h... $ECHO_C" >&6
8049 if test "${ac_cv_header_cups_cups_h+set}" = set; then
8050 echo $ECHO_N "(cached) $ECHO_C" >&6
8052 ac_cv_header_cups_cups_h=$ac_header_preproc
8054 echo "$as_me:$LINENO: result: $ac_cv_header_cups_cups_h" >&5
8055 echo "${ECHO_T}$ac_cv_header_cups_cups_h" >&6
8058 if test $ac_cv_header_cups_cups_h = yes; then
8060 cat >>confdefs.h <<\_ACEOF
8066 wine_cv_warn_cups_h=yes
8075 # Extract the first word of "sane-config", so it can be a program name with args.
8076 set dummy sane-config; ac_word=$2
8077 echo "$as_me:$LINENO: checking for $ac_word" >&5
8078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8079 if test "${ac_cv_prog_sane_devel+set}" = set; then
8080 echo $ECHO_N "(cached) $ECHO_C" >&6
8082 if test -n "$sane_devel"; then
8083 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
8085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8089 test -z "$as_dir" && as_dir=.
8090 for ac_exec_ext in '' $ac_executable_extensions; do
8091 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8092 ac_cv_prog_sane_devel="sane-config"
8093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8099 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
8102 sane_devel=$ac_cv_prog_sane_devel
8103 if test -n "$sane_devel"; then
8104 echo "$as_me:$LINENO: result: $sane_devel" >&5
8105 echo "${ECHO_T}$sane_devel" >&6
8107 echo "$as_me:$LINENO: result: no" >&5
8108 echo "${ECHO_T}no" >&6
8111 if test "$sane_devel" = "no"
8116 SANELIBS="`$sane_devel --libs`"
8117 SANEINCL="`$sane_devel --cflags`"
8118 ac_save_CPPFLAGS="$CPPFLAGS"
8119 ac_save_LIBS="$LIBS"
8120 CPPFLAGS="$CPPFLAGS $SANEINCL"
8121 LIBS="$LIBS $SANELIBS"
8122 if test "${ac_cv_header_sane_sane_h+set}" = set; then
8123 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
8124 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
8125 if test "${ac_cv_header_sane_sane_h+set}" = set; then
8126 echo $ECHO_N "(cached) $ECHO_C" >&6
8128 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
8129 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
8131 # Is the header compilable?
8132 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
8133 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
8134 cat >conftest.$ac_ext <<_ACEOF
8135 #line $LINENO "configure"
8136 #include "confdefs.h"
8137 $ac_includes_default
8138 #include <sane/sane.h>
8140 rm -f conftest.$ac_objext
8141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8142 (eval $ac_compile) 2>&5
8144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8145 (exit $ac_status); } &&
8146 { ac_try='test -s conftest.$ac_objext'
8147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8151 (exit $ac_status); }; }; then
8152 ac_header_compiler=yes
8154 echo "$as_me: failed program was:" >&5
8155 cat conftest.$ac_ext >&5
8156 ac_header_compiler=no
8158 rm -f conftest.$ac_objext conftest.$ac_ext
8159 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8160 echo "${ECHO_T}$ac_header_compiler" >&6
8162 # Is the header present?
8163 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
8164 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
8165 cat >conftest.$ac_ext <<_ACEOF
8166 #line $LINENO "configure"
8167 #include "confdefs.h"
8168 #include <sane/sane.h>
8170 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8171 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8173 egrep -v '^ *\+' conftest.er1 >conftest.err
8175 cat conftest.err >&5
8176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8177 (exit $ac_status); } >/dev/null; then
8178 if test -s conftest.err; then
8179 ac_cpp_err=$ac_c_preproc_warn_flag
8186 if test -z "$ac_cpp_err"; then
8187 ac_header_preproc=yes
8189 echo "$as_me: failed program was:" >&5
8190 cat conftest.$ac_ext >&5
8191 ac_header_preproc=no
8193 rm -f conftest.err conftest.$ac_ext
8194 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8195 echo "${ECHO_T}$ac_header_preproc" >&6
8197 # So? What about this header?
8198 case $ac_header_compiler:$ac_header_preproc in
8200 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
8201 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8202 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
8203 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;};;
8205 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
8206 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
8207 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
8208 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
8209 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
8210 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;};;
8212 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
8213 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
8214 if test "${ac_cv_header_sane_sane_h+set}" = set; then
8215 echo $ECHO_N "(cached) $ECHO_C" >&6
8217 ac_cv_header_sane_sane_h=$ac_header_preproc
8219 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
8220 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
8223 if test $ac_cv_header_sane_sane_h = yes; then
8224 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
8225 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
8226 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
8227 echo $ECHO_N "(cached) $ECHO_C" >&6
8229 ac_check_lib_save_LIBS=$LIBS
8231 cat >conftest.$ac_ext <<_ACEOF
8232 #line $LINENO "configure"
8233 #include "confdefs.h"
8235 /* Override any gcc2 internal prototype to avoid an error. */
8239 /* We use char because int might match the return type of a gcc2
8240 builtin and then its argument prototype would still apply. */
8242 #ifdef F77_DUMMY_MAIN
8246 int F77_DUMMY_MAIN() { return 1; }
8256 rm -f conftest.$ac_objext conftest$ac_exeext
8257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8258 (eval $ac_link) 2>&5
8260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8261 (exit $ac_status); } &&
8262 { ac_try='test -s conftest$ac_exeext'
8263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8267 (exit $ac_status); }; }; then
8268 ac_cv_lib_sane_sane_open=yes
8270 echo "$as_me: failed program was:" >&5
8271 cat conftest.$ac_ext >&5
8272 ac_cv_lib_sane_sane_open=no
8274 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8275 LIBS=$ac_check_lib_save_LIBS
8277 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
8278 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
8279 if test $ac_cv_lib_sane_sane_open = yes; then
8281 cat >>confdefs.h <<\_ACEOF
8296 LIBS="$ac_save_LIBS"
8297 CPPFLAGS="$ac_save_CPPFLAGS"
8302 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
8303 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
8304 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
8305 echo $ECHO_N "(cached) $ECHO_C" >&6
8307 ac_check_lib_save_LIBS=$LIBS
8308 LIBS="-lfreetype $X_LIBS $LIBS"
8309 cat >conftest.$ac_ext <<_ACEOF
8310 #line $LINENO "configure"
8311 #include "confdefs.h"
8313 /* Override any gcc2 internal prototype to avoid an error. */
8317 /* We use char because int might match the return type of a gcc2
8318 builtin and then its argument prototype would still apply. */
8319 char FT_Init_FreeType ();
8320 #ifdef F77_DUMMY_MAIN
8324 int F77_DUMMY_MAIN() { return 1; }
8329 FT_Init_FreeType ();
8334 rm -f conftest.$ac_objext conftest$ac_exeext
8335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8336 (eval $ac_link) 2>&5
8338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8339 (exit $ac_status); } &&
8340 { ac_try='test -s conftest$ac_exeext'
8341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8345 (exit $ac_status); }; }; then
8346 ac_cv_lib_freetype_FT_Init_FreeType=yes
8348 echo "$as_me: failed program was:" >&5
8349 cat conftest.$ac_ext >&5
8350 ac_cv_lib_freetype_FT_Init_FreeType=no
8352 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8353 LIBS=$ac_check_lib_save_LIBS
8355 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
8356 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
8357 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
8363 if test "$ft_lib" = "no"
8366 wine_cv_msg_freetype=no
8368 # Extract the first word of "freetype-config", so it can be a program name with args.
8369 set dummy freetype-config; ac_word=$2
8370 echo "$as_me:$LINENO: checking for $ac_word" >&5
8371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8372 if test "${ac_cv_prog_ft_devel+set}" = set; then
8373 echo $ECHO_N "(cached) $ECHO_C" >&6
8375 if test -n "$ft_devel"; then
8376 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
8378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8382 test -z "$as_dir" && as_dir=.
8383 for ac_exec_ext in '' $ac_executable_extensions; do
8384 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8385 ac_cv_prog_ft_devel="freetype-config"
8386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8392 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
8395 ft_devel=$ac_cv_prog_ft_devel
8396 if test -n "$ft_devel"; then
8397 echo "$as_me:$LINENO: result: $ft_devel" >&5
8398 echo "${ECHO_T}$ft_devel" >&6
8400 echo "$as_me:$LINENO: result: no" >&5
8401 echo "${ECHO_T}no" >&6
8404 if test "$ft_devel" = "no"
8406 # Extract the first word of "freetype2-config", so it can be a program name with args.
8407 set dummy freetype2-config; ac_word=$2
8408 echo "$as_me:$LINENO: checking for $ac_word" >&5
8409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8410 if test "${ac_cv_prog_ft_devel2+set}" = set; then
8411 echo $ECHO_N "(cached) $ECHO_C" >&6
8413 if test -n "$ft_devel2"; then
8414 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
8416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8420 test -z "$as_dir" && as_dir=.
8421 for ac_exec_ext in '' $ac_executable_extensions; do
8422 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8423 ac_cv_prog_ft_devel2="freetype2-config"
8424 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8430 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
8433 ft_devel2=$ac_cv_prog_ft_devel2
8434 if test -n "$ft_devel2"; then
8435 echo "$as_me:$LINENO: result: $ft_devel2" >&5
8436 echo "${ECHO_T}$ft_devel2" >&6
8438 echo "$as_me:$LINENO: result: no" >&5
8439 echo "${ECHO_T}no" >&6
8442 if test "$ft_devel2" = "freetype2-config"
8447 if test "$ft_devel" = "no"
8450 wine_cv_msg_freetype=yes
8452 FREETYPEINCL=`$ft_devel --cflags`
8453 ac_save_CPPFLAGS="$CPPFLAGS"
8454 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
8463 for ac_header in freetype/freetype.h \
8464 freetype/ftglyph.h \
8465 freetype/tttables.h \
8466 freetype/ftnames.h \
8467 freetype/ftsnames.h \
8468 freetype/ttnameid.h \
8469 freetype/ftoutln.h \
8470 freetype/internal/sfnt.h
8472 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8473 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8474 echo "$as_me:$LINENO: checking for $ac_header" >&5
8475 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8476 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8477 echo $ECHO_N "(cached) $ECHO_C" >&6
8479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8480 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8482 # Is the header compilable?
8483 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8484 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8485 cat >conftest.$ac_ext <<_ACEOF
8486 #line $LINENO "configure"
8487 #include "confdefs.h"
8488 $ac_includes_default
8489 #include <$ac_header>
8491 rm -f conftest.$ac_objext
8492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8493 (eval $ac_compile) 2>&5
8495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8496 (exit $ac_status); } &&
8497 { ac_try='test -s conftest.$ac_objext'
8498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8502 (exit $ac_status); }; }; then
8503 ac_header_compiler=yes
8505 echo "$as_me: failed program was:" >&5
8506 cat conftest.$ac_ext >&5
8507 ac_header_compiler=no
8509 rm -f conftest.$ac_objext conftest.$ac_ext
8510 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8511 echo "${ECHO_T}$ac_header_compiler" >&6
8513 # Is the header present?
8514 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8515 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8516 cat >conftest.$ac_ext <<_ACEOF
8517 #line $LINENO "configure"
8518 #include "confdefs.h"
8519 #include <$ac_header>
8521 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8522 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8524 egrep -v '^ *\+' conftest.er1 >conftest.err
8526 cat conftest.err >&5
8527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8528 (exit $ac_status); } >/dev/null; then
8529 if test -s conftest.err; then
8530 ac_cpp_err=$ac_c_preproc_warn_flag
8537 if test -z "$ac_cpp_err"; then
8538 ac_header_preproc=yes
8540 echo "$as_me: failed program was:" >&5
8541 cat conftest.$ac_ext >&5
8542 ac_header_preproc=no
8544 rm -f conftest.err conftest.$ac_ext
8545 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8546 echo "${ECHO_T}$ac_header_preproc" >&6
8548 # So? What about this header?
8549 case $ac_header_compiler:$ac_header_preproc in
8551 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8552 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8553 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8554 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8556 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8557 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8558 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8559 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8560 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8561 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8563 echo "$as_me:$LINENO: checking for $ac_header" >&5
8564 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8565 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8566 echo $ECHO_N "(cached) $ECHO_C" >&6
8568 eval "$as_ac_Header=$ac_header_preproc"
8570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8571 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8574 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8575 cat >>confdefs.h <<_ACEOF
8576 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8583 cat >conftest.$ac_ext <<_ACEOF
8584 #line $LINENO "configure"
8585 #include "confdefs.h"
8586 #include <ft2build.h>
8587 #include <freetype/fttrigon.h>
8589 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8590 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8592 egrep -v '^ *\+' conftest.er1 >conftest.err
8594 cat conftest.err >&5
8595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8596 (exit $ac_status); } >/dev/null; then
8597 if test -s conftest.err; then
8598 ac_cpp_err=$ac_c_preproc_warn_flag
8605 if test -z "$ac_cpp_err"; then
8607 cat >>confdefs.h <<\_ACEOF
8608 #define HAVE_FREETYPE_FTTRIGON_H 1
8611 wine_cv_fttrigon=yes
8613 echo "$as_me: failed program was:" >&5
8614 cat conftest.$ac_ext >&5
8617 rm -f conftest.err conftest.$ac_ext
8618 CPPFLAGS="$ac_save_CPPFLAGS"
8619 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
8622 cat >>confdefs.h <<\_ACEOF
8623 #define HAVE_FREETYPE 1
8626 wine_cv_msg_freetype=no
8629 wine_cv_msg_freetype=yes
8635 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
8636 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
8637 if test "${ac_cv_c_ppdev+set}" = set; then
8638 echo $ECHO_N "(cached) $ECHO_C" >&6
8640 cat >conftest.$ac_ext <<_ACEOF
8641 #line $LINENO "configure"
8642 #include "confdefs.h"
8643 #include <linux/ppdev.h>
8644 #ifdef F77_DUMMY_MAIN
8648 int F77_DUMMY_MAIN() { return 1; }
8658 rm -f conftest.$ac_objext
8659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8660 (eval $ac_compile) 2>&5
8662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8663 (exit $ac_status); } &&
8664 { ac_try='test -s conftest.$ac_objext'
8665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8669 (exit $ac_status); }; }; then
8672 echo "$as_me: failed program was:" >&5
8673 cat conftest.$ac_ext >&5
8676 rm -f conftest.$ac_objext conftest.$ac_ext
8679 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
8680 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
8681 if test "$ac_cv_c_ppdev" = "yes"
8684 cat >>confdefs.h <<\_ACEOF
8685 #define HAVE_PPDEV 1
8690 echo "$as_me:$LINENO: checking for GNU style IPX support" >&5
8691 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
8692 if test "${ac_cv_c_ipx_gnu+set}" = set; then
8693 echo $ECHO_N "(cached) $ECHO_C" >&6
8695 cat >conftest.$ac_ext <<_ACEOF
8696 #line $LINENO "configure"
8697 #include "confdefs.h"
8698 #include <sys/socket.h>
8699 #include <netipx/ipx.h>
8700 #ifdef F77_DUMMY_MAIN
8704 int F77_DUMMY_MAIN() { return 1; }
8709 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
8714 rm -f conftest.$ac_objext
8715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8716 (eval $ac_compile) 2>&5
8718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8719 (exit $ac_status); } &&
8720 { ac_try='test -s conftest.$ac_objext'
8721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8725 (exit $ac_status); }; }; then
8726 ac_cv_c_ipx_gnu="yes"
8728 echo "$as_me: failed program was:" >&5
8729 cat conftest.$ac_ext >&5
8730 ac_cv_c_ipx_gnu="no"
8732 rm -f conftest.$ac_objext conftest.$ac_ext
8735 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_gnu" >&5
8736 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
8737 if test "$ac_cv_c_ipx_gnu" = "yes"
8740 cat >>confdefs.h <<\_ACEOF
8741 #define HAVE_IPX_GNU 1
8746 if test "$ac_cv_c_ipx_gnu" = "no"
8748 echo "$as_me:$LINENO: checking for linux style IPX support" >&5
8749 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
8750 if test "${ac_cv_c_ipx_linux+set}" = set; then
8751 echo $ECHO_N "(cached) $ECHO_C" >&6
8753 cat >conftest.$ac_ext <<_ACEOF
8754 #line $LINENO "configure"
8755 #include "confdefs.h"
8756 #include <sys/socket.h>
8757 #include <asm/types.h>
8758 #include <linux/ipx.h>
8759 #ifdef F77_DUMMY_MAIN
8763 int F77_DUMMY_MAIN() { return 1; }
8768 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
8773 rm -f conftest.$ac_objext
8774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8775 (eval $ac_compile) 2>&5
8777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8778 (exit $ac_status); } &&
8779 { ac_try='test -s conftest.$ac_objext'
8780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8784 (exit $ac_status); }; }; then
8785 ac_cv_c_ipx_linux="yes"
8787 echo "$as_me: failed program was:" >&5
8788 cat conftest.$ac_ext >&5
8789 ac_cv_c_ipx_linux="no"
8791 rm -f conftest.$ac_objext conftest.$ac_ext
8794 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_linux" >&5
8795 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
8796 if test "$ac_cv_c_ipx_linux" = "yes"
8799 cat >>confdefs.h <<\_ACEOF
8800 #define HAVE_IPX_LINUX 1
8809 for ac_header in sys/soundcard.h machine/soundcard.h soundcard.h
8811 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8812 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8813 echo "$as_me:$LINENO: checking for $ac_header" >&5
8814 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8815 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8816 echo $ECHO_N "(cached) $ECHO_C" >&6
8818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8819 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8821 # Is the header compilable?
8822 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8823 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8824 cat >conftest.$ac_ext <<_ACEOF
8825 #line $LINENO "configure"
8826 #include "confdefs.h"
8827 $ac_includes_default
8828 #include <$ac_header>
8830 rm -f conftest.$ac_objext
8831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8832 (eval $ac_compile) 2>&5
8834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8835 (exit $ac_status); } &&
8836 { ac_try='test -s conftest.$ac_objext'
8837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8841 (exit $ac_status); }; }; then
8842 ac_header_compiler=yes
8844 echo "$as_me: failed program was:" >&5
8845 cat conftest.$ac_ext >&5
8846 ac_header_compiler=no
8848 rm -f conftest.$ac_objext conftest.$ac_ext
8849 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8850 echo "${ECHO_T}$ac_header_compiler" >&6
8852 # Is the header present?
8853 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8854 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8855 cat >conftest.$ac_ext <<_ACEOF
8856 #line $LINENO "configure"
8857 #include "confdefs.h"
8858 #include <$ac_header>
8860 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8861 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8863 egrep -v '^ *\+' conftest.er1 >conftest.err
8865 cat conftest.err >&5
8866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8867 (exit $ac_status); } >/dev/null; then
8868 if test -s conftest.err; then
8869 ac_cpp_err=$ac_c_preproc_warn_flag
8876 if test -z "$ac_cpp_err"; then
8877 ac_header_preproc=yes
8879 echo "$as_me: failed program was:" >&5
8880 cat conftest.$ac_ext >&5
8881 ac_header_preproc=no
8883 rm -f conftest.err conftest.$ac_ext
8884 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8885 echo "${ECHO_T}$ac_header_preproc" >&6
8887 # So? What about this header?
8888 case $ac_header_compiler:$ac_header_preproc in
8890 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8891 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8892 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8893 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8895 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8896 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8897 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8898 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8899 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8900 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8902 echo "$as_me:$LINENO: checking for $ac_header" >&5
8903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8904 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8905 echo $ECHO_N "(cached) $ECHO_C" >&6
8907 eval "$as_ac_Header=$ac_header_preproc"
8909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8910 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8913 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8914 cat >>confdefs.h <<_ACEOF
8915 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8923 echo "$as_me:$LINENO: checking for Open Sound System" >&5
8924 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
8925 if test "${ac_cv_c_opensoundsystem+set}" = set; then
8926 echo $ECHO_N "(cached) $ECHO_C" >&6
8928 cat >conftest.$ac_ext <<_ACEOF
8929 #line $LINENO "configure"
8930 #include "confdefs.h"
8932 #if defined(HAVE_SYS_SOUNDCARD_H)
8933 #include <sys/soundcard.h>
8934 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
8935 #include <machine/soundcard.h>
8936 #elif defined(HAVE_SOUNDCARD_H)
8937 #include <soundcard.h>
8940 #ifdef F77_DUMMY_MAIN
8944 int F77_DUMMY_MAIN() { return 1; }
8951 /* check for one of the Open Sound System specific SNDCTL_ defines */
8952 #if !defined(SNDCTL_DSP_STEREO)
8953 #error No open sound system
8960 rm -f conftest.$ac_objext
8961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8962 (eval $ac_compile) 2>&5
8964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8965 (exit $ac_status); } &&
8966 { ac_try='test -s conftest.$ac_objext'
8967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8971 (exit $ac_status); }; }; then
8972 ac_cv_c_opensoundsystem="yes"
8974 echo "$as_me: failed program was:" >&5
8975 cat conftest.$ac_ext >&5
8976 ac_cv_c_opensoundsystem="no"
8978 rm -f conftest.$ac_objext conftest.$ac_ext
8980 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
8981 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
8983 if test "$ac_cv_c_opensoundsystem" = "yes"
8986 cat >>confdefs.h <<\_ACEOF
8992 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
8993 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
8994 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
8995 echo $ECHO_N "(cached) $ECHO_C" >&6
8997 cat >conftest.$ac_ext <<_ACEOF
8998 #line $LINENO "configure"
8999 #include "confdefs.h"
9001 #if defined(HAVE_SYS_SOUNDCARD_H)
9002 #include <sys/soundcard.h>
9003 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
9004 #include <machine/soundcard.h>
9005 #elif defined(HAVE_SOUNDCARD_H)
9006 #include <soundcard.h>
9009 #ifdef F77_DUMMY_MAIN
9013 int F77_DUMMY_MAIN() { return 1; }
9020 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
9021 #if !defined(SNDCTL_SEQ_SYNC)
9022 #error No open sound system MIDI interface
9029 rm -f conftest.$ac_objext
9030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9031 (eval $ac_compile) 2>&5
9033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9034 (exit $ac_status); } &&
9035 { ac_try='test -s conftest.$ac_objext'
9036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9040 (exit $ac_status); }; }; then
9041 ac_cv_c_opensoundsystem_midi="yes"
9043 echo "$as_me: failed program was:" >&5
9044 cat conftest.$ac_ext >&5
9045 ac_cv_c_opensoundsystem_midi="no"
9047 rm -f conftest.$ac_objext conftest.$ac_ext
9049 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
9050 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
9052 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
9055 cat >>confdefs.h <<\_ACEOF
9056 #define HAVE_OSS_MIDI 1
9061 # Extract the first word of "artsc-config", so it can be a program name with args.
9062 set dummy artsc-config; ac_word=$2
9063 echo "$as_me:$LINENO: checking for $ac_word" >&5
9064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9065 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
9066 echo $ECHO_N "(cached) $ECHO_C" >&6
9068 case $ARTSCCONFIG in
9070 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
9073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9077 test -z "$as_dir" && as_dir=.
9078 for ac_exec_ext in '' $ac_executable_extensions; do
9079 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9080 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
9081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9090 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
9092 if test -n "$ARTSCCONFIG"; then
9093 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
9094 echo "${ECHO_T}$ARTSCCONFIG" >&6
9096 echo "$as_me:$LINENO: result: no" >&5
9097 echo "${ECHO_T}no" >&6
9100 echo "$as_me:$LINENO: checking for aRts Sound server" >&5
9101 echo $ECHO_N "checking for aRts Sound server... $ECHO_C" >&6
9102 if test "${ac_cv_c_artsserver+set}" = set; then
9103 echo $ECHO_N "(cached) $ECHO_C" >&6
9105 if test x$ARTSCCONFIG = x -o x$ARTSCCONFIG = x'"$ARTSCCONFIG"';
9107 ac_cv_c_artsserver=no
9109 ARTSC_CFLAGS=`$ARTSCCONFIG --cflags`
9110 ARTSC_LIBS=`$ARTSCCONFIG --libs`
9111 ac_cv_c_artsserver=no
9112 save_CFLAGS="$CFLAGS"
9113 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
9114 cat >conftest.$ac_ext <<_ACEOF
9115 #line $LINENO "configure"
9116 #include "confdefs.h"
9120 #ifdef F77_DUMMY_MAIN
9124 int F77_DUMMY_MAIN() { return 1; }
9130 arts_stream_t stream;
9136 rm -f conftest.$ac_objext
9137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9138 (eval $ac_compile) 2>&5
9140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9141 (exit $ac_status); } &&
9142 { ac_try='test -s conftest.$ac_objext'
9143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9147 (exit $ac_status); }; }; then
9149 ac_cv_c_artsserver=yes
9152 echo "$as_me: failed program was:" >&5
9153 cat conftest.$ac_ext >&5
9155 rm -f conftest.$ac_objext conftest.$ac_ext
9156 CFLAGS="$save_CFLAGS"
9159 echo "$as_me:$LINENO: result: $ac_cv_c_artsserver" >&5
9160 echo "${ECHO_T}$ac_cv_c_artsserver" >&6
9162 if test "$ac_cv_c_artsserver" = "yes"
9164 ARTSLIBS=$ARTSC_LIBS
9166 ARTSINCL=$ARTSC_CFLAGS
9170 cat >>confdefs.h <<\_ACEOF
9177 echo "$as_me:$LINENO: checking whether mmap64 works defined as mmap" >&5
9178 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
9179 if test "${ac_cv_mmap64_works+set}" = set; then
9180 echo $ECHO_N "(cached) $ECHO_C" >&6
9182 if test "$cross_compiling" = yes; then
9183 ac_cv_mmap64_works="no"
9185 cat >conftest.$ac_ext <<_ACEOF
9186 #line $LINENO "configure"
9187 #include "confdefs.h"
9189 #define _FILE_OFFSET_BITS 64
9193 #include <sys/mman.h>
9196 int main(int argc,char **argv) {
9197 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
9198 if (fd == -1) exit(1);
9200 unlink("conftest.map");
9204 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
9210 fprintf(stderr,"success!\n");
9216 rm -f conftest$ac_exeext
9217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9218 (eval $ac_link) 2>&5
9220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9221 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9226 (exit $ac_status); }; }; then
9227 ac_cv_mmap64_works="yes"
9229 echo "$as_me: program exited with status $ac_status" >&5
9230 echo "$as_me: failed program was:" >&5
9231 cat conftest.$ac_ext >&5
9233 ac_cv_mmap64_works="no"
9235 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9238 echo "$as_me:$LINENO: result: $ac_cv_mmap64_works" >&5
9239 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
9241 if test "$ac_cv_mmap64_works" = "yes"
9244 cat >>confdefs.h <<\_ACEOF
9245 #define _FILE_OFFSET_BITS 64
9251 if test "x${GCC}" = "xyes"
9253 CFLAGS="$CFLAGS -Wall"
9254 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
9255 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
9256 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
9257 echo $ECHO_N "(cached) $ECHO_C" >&6
9259 if test "$cross_compiling" = yes; then
9260 ac_cv_c_gcc_strength_bug="yes"
9262 cat >conftest.$ac_ext <<_ACEOF
9263 #line $LINENO "configure"
9264 #include "confdefs.h"
9266 int L[4] = {0,1,2,3};
9268 static int Array[3];
9271 for(i=0; i<B; i++) Array[i] = i - 3;
9272 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
9275 exit( Array[1] != -2 || L[2] != 3);
9278 rm -f conftest$ac_exeext
9279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9280 (eval $ac_link) 2>&5
9282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9283 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9288 (exit $ac_status); }; }; then
9289 ac_cv_c_gcc_strength_bug="no"
9291 echo "$as_me: program exited with status $ac_status" >&5
9292 echo "$as_me: failed program was:" >&5
9293 cat conftest.$ac_ext >&5
9295 ac_cv_c_gcc_strength_bug="yes"
9297 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9300 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
9301 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
9302 if test "$ac_cv_c_gcc_strength_bug" = "yes"
9304 CFLAGS="$CFLAGS -fno-strength-reduce"
9307 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
9308 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
9309 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
9310 echo $ECHO_N "(cached) $ECHO_C" >&6
9312 ac_wine_try_cflags_saved=$CFLAGS
9313 CFLAGS="$CFLAGS -mpreferred-stack-boundary=2"
9314 cat >conftest.$ac_ext <<_ACEOF
9315 #line $LINENO "configure"
9316 #include "confdefs.h"
9318 #ifdef F77_DUMMY_MAIN
9322 int F77_DUMMY_MAIN() { return 1; }
9332 rm -f conftest.$ac_objext conftest$ac_exeext
9333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9334 (eval $ac_link) 2>&5
9336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9337 (exit $ac_status); } &&
9338 { ac_try='test -s conftest$ac_exeext'
9339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9343 (exit $ac_status); }; }; then
9344 ac_cv_c_gcc_stack_boundary="yes"
9346 echo "$as_me: failed program was:" >&5
9347 cat conftest.$ac_ext >&5
9348 ac_cv_c_gcc_stack_boundary="no"
9350 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9351 CFLAGS=$ac_wine_try_cflags_saved
9353 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
9354 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
9355 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
9357 CFLAGS="$CFLAGS -mpreferred-stack-boundary=2"
9362 echo "$as_me:$LINENO: checking whether .type must sit inside a .def directive" >&5
9363 echo $ECHO_N "checking whether .type must sit inside a .def directive... $ECHO_C" >&6
9364 if test "${ac_cv_c_type_in_def+set}" = set; then
9365 echo $ECHO_N "(cached) $ECHO_C" >&6
9367 ac_try_asm_link_saved_libs=$LIBS
9368 LIBS="conftest_asm.s $LIBS"
9369 cat > conftest_asm.s <<EOF
9371 .def _ac_test; .scl 2; .type 32; .endef
9375 cat >conftest.$ac_ext <<_ACEOF
9376 #line $LINENO "configure"
9377 #include "confdefs.h"
9379 #ifdef F77_DUMMY_MAIN
9383 int F77_DUMMY_MAIN() { return 1; }
9393 rm -f conftest.$ac_objext conftest$ac_exeext
9394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9395 (eval $ac_link) 2>&5
9397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9398 (exit $ac_status); } &&
9399 { ac_try='test -s conftest$ac_exeext'
9400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9404 (exit $ac_status); }; }; then
9405 ac_cv_c_type_in_def="yes"
9407 echo "$as_me: failed program was:" >&5
9408 cat conftest.$ac_ext >&5
9409 ac_cv_c_type_in_def="no"
9411 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9412 rm -f conftest_asm.s
9413 LIBS=$ac_try_asm_link_saved_libs
9415 echo "$as_me:$LINENO: result: $ac_cv_c_type_in_def" >&5
9416 echo "${ECHO_T}$ac_cv_c_type_in_def" >&6
9417 if test "$ac_cv_c_type_in_def" = "yes"
9420 cat >>confdefs.h <<\_ACEOF
9421 #define NEED_TYPE_IN_DEF 1
9427 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
9428 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
9429 if test "${ac_cv_c_extern_prefix+set}" = set; then
9430 echo $ECHO_N "(cached) $ECHO_C" >&6
9432 ac_try_asm_link_saved_libs=$LIBS
9433 LIBS="conftest_asm.s $LIBS"
9434 cat > conftest_asm.s <<EOF
9439 cat >conftest.$ac_ext <<_ACEOF
9440 #line $LINENO "configure"
9441 #include "confdefs.h"
9443 #ifdef F77_DUMMY_MAIN
9447 int F77_DUMMY_MAIN() { return 1; }
9452 if (ac_test) return 1
9457 rm -f conftest.$ac_objext conftest$ac_exeext
9458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9459 (eval $ac_link) 2>&5
9461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9462 (exit $ac_status); } &&
9463 { ac_try='test -s conftest$ac_exeext'
9464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9468 (exit $ac_status); }; }; then
9469 ac_cv_c_extern_prefix="yes"
9471 echo "$as_me: failed program was:" >&5
9472 cat conftest.$ac_ext >&5
9473 ac_cv_c_extern_prefix="no"
9475 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9476 rm -f conftest_asm.s
9477 LIBS=$ac_try_asm_link_saved_libs
9479 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
9480 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
9481 if test "$ac_cv_c_extern_prefix" = "yes"
9484 cat >>confdefs.h <<\_ACEOF
9485 #define NEED_UNDERSCORE_PREFIX 1
9491 echo "$as_me:$LINENO: checking whether stdcall symbols need to be decorated" >&5
9492 echo $ECHO_N "checking whether stdcall symbols need to be decorated... $ECHO_C" >&6
9493 if test "${ac_cv_c_stdcall_decoration+set}" = set; then
9494 echo $ECHO_N "(cached) $ECHO_C" >&6
9496 ac_try_asm_link_saved_libs=$LIBS
9497 LIBS="conftest_asm.s $LIBS"
9498 cat > conftest_asm.s <<EOF
9504 cat >conftest.$ac_ext <<_ACEOF
9505 #line $LINENO "configure"
9506 #include "confdefs.h"
9507 extern void __attribute__((__stdcall__)) ac_test(void);
9508 #ifdef F77_DUMMY_MAIN
9512 int F77_DUMMY_MAIN() { return 1; }
9522 rm -f conftest.$ac_objext conftest$ac_exeext
9523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9524 (eval $ac_link) 2>&5
9526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9527 (exit $ac_status); } &&
9528 { ac_try='test -s conftest$ac_exeext'
9529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9533 (exit $ac_status); }; }; then
9534 ac_cv_c_stdcall_decoration="yes"
9536 echo "$as_me: failed program was:" >&5
9537 cat conftest.$ac_ext >&5
9538 ac_cv_c_stdcall_decoration="no"
9540 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9541 rm -f conftest_asm.s
9542 LIBS=$ac_try_asm_link_saved_libs
9544 echo "$as_me:$LINENO: result: $ac_cv_c_stdcall_decoration" >&5
9545 echo "${ECHO_T}$ac_cv_c_stdcall_decoration" >&6
9546 if test "$ac_cv_c_stdcall_decoration" = "yes"
9549 cat >>confdefs.h <<\_ACEOF
9550 #define NEED_STDCALL_DECORATION 1
9556 echo "$as_me:$LINENO: checking whether assembler accepts .string" >&5
9557 echo $ECHO_N "checking whether assembler accepts .string... $ECHO_C" >&6
9558 if test "${ac_cv_c_asm_string+set}" = set; then
9559 echo $ECHO_N "(cached) $ECHO_C" >&6
9561 ac_try_asm_link_saved_libs=$LIBS
9562 LIBS="conftest_asm.s $LIBS"
9563 cat > conftest_asm.s <<EOF
9566 cat >conftest.$ac_ext <<_ACEOF
9567 #line $LINENO "configure"
9568 #include "confdefs.h"
9570 #ifdef F77_DUMMY_MAIN
9574 int F77_DUMMY_MAIN() { return 1; }
9584 rm -f conftest.$ac_objext conftest$ac_exeext
9585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9586 (eval $ac_link) 2>&5
9588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9589 (exit $ac_status); } &&
9590 { ac_try='test -s conftest$ac_exeext'
9591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9595 (exit $ac_status); }; }; then
9596 ac_cv_c_asm_string="yes"
9598 echo "$as_me: failed program was:" >&5
9599 cat conftest.$ac_ext >&5
9600 ac_cv_c_asm_string="no"
9602 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9603 rm -f conftest_asm.s
9604 LIBS=$ac_try_asm_link_saved_libs
9606 echo "$as_me:$LINENO: result: $ac_cv_c_asm_string" >&5
9607 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
9608 if test "$ac_cv_c_asm_string" = "yes"
9611 cat >>confdefs.h <<\_ACEOF
9612 #define HAVE_ASM_STRING 1
9624 if test -n "$ac_tool_prefix"; then
9625 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
9626 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
9627 echo "$as_me:$LINENO: checking for $ac_word" >&5
9628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9629 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
9630 echo $ECHO_N "(cached) $ECHO_C" >&6
9632 if test -n "$DLLWRAP"; then
9633 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
9635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9639 test -z "$as_dir" && as_dir=.
9640 for ac_exec_ext in '' $ac_executable_extensions; do
9641 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9642 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
9643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9651 DLLWRAP=$ac_cv_prog_DLLWRAP
9652 if test -n "$DLLWRAP"; then
9653 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
9654 echo "${ECHO_T}$DLLWRAP" >&6
9656 echo "$as_me:$LINENO: result: no" >&5
9657 echo "${ECHO_T}no" >&6
9661 if test -z "$ac_cv_prog_DLLWRAP"; then
9662 ac_ct_DLLWRAP=$DLLWRAP
9663 # Extract the first word of "dllwrap", so it can be a program name with args.
9664 set dummy dllwrap; ac_word=$2
9665 echo "$as_me:$LINENO: checking for $ac_word" >&5
9666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9667 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
9668 echo $ECHO_N "(cached) $ECHO_C" >&6
9670 if test -n "$ac_ct_DLLWRAP"; then
9671 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
9673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9677 test -z "$as_dir" && as_dir=.
9678 for ac_exec_ext in '' $ac_executable_extensions; do
9679 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9680 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
9681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9687 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP="false"
9690 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
9691 if test -n "$ac_ct_DLLWRAP"; then
9692 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
9693 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
9695 echo "$as_me:$LINENO: result: no" >&5
9696 echo "${ECHO_T}no" >&6
9699 DLLWRAP=$ac_ct_DLLWRAP
9701 DLLWRAP="$ac_cv_prog_DLLWRAP"
9704 if test "$DLLWRAP" = "false"; then
9712 for ac_header in dlfcn.h
9714 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9715 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9716 echo "$as_me:$LINENO: checking for $ac_header" >&5
9717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9718 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9719 echo $ECHO_N "(cached) $ECHO_C" >&6
9721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9722 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9724 # Is the header compilable?
9725 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9726 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9727 cat >conftest.$ac_ext <<_ACEOF
9728 #line $LINENO "configure"
9729 #include "confdefs.h"
9730 $ac_includes_default
9731 #include <$ac_header>
9733 rm -f conftest.$ac_objext
9734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9735 (eval $ac_compile) 2>&5
9737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9738 (exit $ac_status); } &&
9739 { ac_try='test -s conftest.$ac_objext'
9740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9744 (exit $ac_status); }; }; then
9745 ac_header_compiler=yes
9747 echo "$as_me: failed program was:" >&5
9748 cat conftest.$ac_ext >&5
9749 ac_header_compiler=no
9751 rm -f conftest.$ac_objext conftest.$ac_ext
9752 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9753 echo "${ECHO_T}$ac_header_compiler" >&6
9755 # Is the header present?
9756 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9757 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9758 cat >conftest.$ac_ext <<_ACEOF
9759 #line $LINENO "configure"
9760 #include "confdefs.h"
9761 #include <$ac_header>
9763 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9764 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9766 egrep -v '^ *\+' conftest.er1 >conftest.err
9768 cat conftest.err >&5
9769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9770 (exit $ac_status); } >/dev/null; then
9771 if test -s conftest.err; then
9772 ac_cpp_err=$ac_c_preproc_warn_flag
9779 if test -z "$ac_cpp_err"; then
9780 ac_header_preproc=yes
9782 echo "$as_me: failed program was:" >&5
9783 cat conftest.$ac_ext >&5
9784 ac_header_preproc=no
9786 rm -f conftest.err conftest.$ac_ext
9787 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9788 echo "${ECHO_T}$ac_header_preproc" >&6
9790 # So? What about this header?
9791 case $ac_header_compiler:$ac_header_preproc in
9793 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9794 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9795 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9796 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9798 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9799 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9800 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9801 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9802 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9803 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9805 echo "$as_me:$LINENO: checking for $ac_header" >&5
9806 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9807 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9808 echo $ECHO_N "(cached) $ECHO_C" >&6
9810 eval "$as_ac_Header=$ac_header_preproc"
9812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9813 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9816 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9817 cat >>confdefs.h <<_ACEOF
9818 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9821 for ac_func in dlopen
9823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9824 echo "$as_me:$LINENO: checking for $ac_func" >&5
9825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9826 if eval "test \"\${$as_ac_var+set}\" = set"; then
9827 echo $ECHO_N "(cached) $ECHO_C" >&6
9829 cat >conftest.$ac_ext <<_ACEOF
9830 #line $LINENO "configure"
9831 #include "confdefs.h"
9832 /* System header to define __stub macros and hopefully few prototypes,
9833 which can conflict with char $ac_func (); below. */
9835 /* Override any gcc2 internal prototype to avoid an error. */
9839 /* We use char because int might match the return type of a gcc2
9840 builtin and then its argument prototype would still apply. */
9844 #ifdef F77_DUMMY_MAIN
9848 int F77_DUMMY_MAIN() { return 1; }
9853 /* The GNU C library defines this for functions which it implements
9854 to always fail with ENOSYS. Some functions are actually named
9855 something starting with __ and the normal name is an alias. */
9856 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9866 rm -f conftest.$ac_objext conftest$ac_exeext
9867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9868 (eval $ac_link) 2>&5
9870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9871 (exit $ac_status); } &&
9872 { ac_try='test -s conftest$ac_exeext'
9873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9877 (exit $ac_status); }; }; then
9878 eval "$as_ac_var=yes"
9880 echo "$as_me: failed program was:" >&5
9881 cat conftest.$ac_ext >&5
9882 eval "$as_ac_var=no"
9884 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9887 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9888 if test `eval echo '${'$as_ac_var'}'` = yes; then
9889 cat >>confdefs.h <<_ACEOF
9890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9894 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9895 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9896 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9897 echo $ECHO_N "(cached) $ECHO_C" >&6
9899 ac_check_lib_save_LIBS=$LIBS
9901 cat >conftest.$ac_ext <<_ACEOF
9902 #line $LINENO "configure"
9903 #include "confdefs.h"
9905 /* Override any gcc2 internal prototype to avoid an error. */
9909 /* We use char because int might match the return type of a gcc2
9910 builtin and then its argument prototype would still apply. */
9912 #ifdef F77_DUMMY_MAIN
9916 int F77_DUMMY_MAIN() { return 1; }
9926 rm -f conftest.$ac_objext conftest$ac_exeext
9927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9928 (eval $ac_link) 2>&5
9930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9931 (exit $ac_status); } &&
9932 { ac_try='test -s conftest$ac_exeext'
9933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9937 (exit $ac_status); }; }; then
9938 ac_cv_lib_dl_dlopen=yes
9940 echo "$as_me: failed program was:" >&5
9941 cat conftest.$ac_ext >&5
9942 ac_cv_lib_dl_dlopen=no
9944 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9945 LIBS=$ac_check_lib_save_LIBS
9947 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9948 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9949 if test $ac_cv_lib_dl_dlopen = yes; then
9951 cat >>confdefs.h <<\_ACEOF
9952 #define HAVE_DLOPEN 1
9970 if test "$LIBEXT" = "so"
9972 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
9973 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
9974 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
9975 echo $ECHO_N "(cached) $ECHO_C" >&6
9977 ac_wine_try_cflags_saved=$CFLAGS
9978 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
9979 cat >conftest.$ac_ext <<_ACEOF
9980 #line $LINENO "configure"
9981 #include "confdefs.h"
9983 #ifdef F77_DUMMY_MAIN
9987 int F77_DUMMY_MAIN() { return 1; }
9997 rm -f conftest.$ac_objext conftest$ac_exeext
9998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9999 (eval $ac_link) 2>&5
10001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10002 (exit $ac_status); } &&
10003 { ac_try='test -s conftest$ac_exeext'
10004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10005 (eval $ac_try) 2>&5
10007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10008 (exit $ac_status); }; }; then
10009 ac_cv_c_dll_gnuelf="yes"
10011 echo "$as_me: failed program was:" >&5
10012 cat conftest.$ac_ext >&5
10013 ac_cv_c_dll_gnuelf="no"
10015 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10016 CFLAGS=$ac_wine_try_cflags_saved
10018 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
10019 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
10020 if test "$ac_cv_c_dll_gnuelf" = "yes"
10022 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
10023 LDDLLFLAGS="-Wl,-Bsymbolic"
10025 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
10026 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
10027 if test "${ac_cv_c_dll_unixware+set}" = set; then
10028 echo $ECHO_N "(cached) $ECHO_C" >&6
10030 ac_wine_try_cflags_saved=$CFLAGS
10031 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
10032 cat >conftest.$ac_ext <<_ACEOF
10033 #line $LINENO "configure"
10034 #include "confdefs.h"
10036 #ifdef F77_DUMMY_MAIN
10037 # ifdef __cplusplus
10040 int F77_DUMMY_MAIN() { return 1; }
10050 rm -f conftest.$ac_objext conftest$ac_exeext
10051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10052 (eval $ac_link) 2>&5
10054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10055 (exit $ac_status); } &&
10056 { ac_try='test -s conftest$ac_exeext'
10057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10058 (eval $ac_try) 2>&5
10060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10061 (exit $ac_status); }; }; then
10062 ac_cv_c_dll_unixware="yes"
10064 echo "$as_me: failed program was:" >&5
10065 cat conftest.$ac_ext >&5
10066 ac_cv_c_dll_unixware="no"
10068 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10069 CFLAGS=$ac_wine_try_cflags_saved
10071 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
10072 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
10073 if test "$ac_cv_c_dll_unixware" = "yes"
10075 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
10076 LDDLLFLAGS="-Wl,-B,symbolic"
10083 if test "$LIBEXT" = "a"; then
10084 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
10085 It is currently not possible to build Wine without shared library
10086 (.so) support to allow transparent switch between .so and .dll files.
10087 If you are using Linux, you will need a newer binutils.
10089 echo "$as_me: error: could not find a way to build shared libraries.
10090 It is currently not possible to build Wine without shared library
10091 (.so) support to allow transparent switch between .so and .dll files.
10092 If you are using Linux, you will need a newer binutils.
10094 { (exit 1); exit 1; }; }
10099 if test "$LIBEXT" = "so"; then
10102 elif test "$LIBEXT" = "dll"; then
10103 #DLLFLAGS="-fPIC" # -fPIC doesn't work(at least in cygwin-b20) - FIXME
10109 LDPATH="PATH=\"\$(TOOLSDIR)/library:\$(TOOLSDIR)/unicode:\$\$PATH\"" ;;
10111 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/library:\$(TOOLSDIR)/unicode:\$\$LD_LIBRARY_PATH\"" ;;
10123 if test "$LIBEXT" = "so"
10125 # Extract the first word of "ldd", so it can be a program name with args.
10126 set dummy ldd; ac_word=$2
10127 echo "$as_me:$LINENO: checking for $ac_word" >&5
10128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10129 if test "${ac_cv_path_LDD+set}" = set; then
10130 echo $ECHO_N "(cached) $ECHO_C" >&6
10134 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
10137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10138 for as_dir in /sbin:/usr/sbin:$PATH
10141 test -z "$as_dir" && as_dir=.
10142 for ac_exec_ext in '' $ac_executable_extensions; do
10143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10144 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
10145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10151 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
10155 LDD=$ac_cv_path_LDD
10157 if test -n "$LDD"; then
10158 echo "$as_me:$LINENO: result: $LDD" >&5
10159 echo "${ECHO_T}$LDD" >&6
10161 echo "$as_me:$LINENO: result: no" >&5
10162 echo "${ECHO_T}no" >&6
10166 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
10167 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
10168 if test "${ac_cv_lib_soname_X11+set}" = set; then
10169 echo $ECHO_N "(cached) $ECHO_C" >&6
10171 ac_get_soname_save_LIBS=$LIBS
10172 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10173 cat >conftest.$ac_ext <<_ACEOF
10174 #line $LINENO "configure"
10175 #include "confdefs.h"
10177 /* Override any gcc2 internal prototype to avoid an error. */
10181 /* We use char because int might match the return type of a gcc2
10182 builtin and then its argument prototype would still apply. */
10183 char XCreateWindow ();
10184 #ifdef F77_DUMMY_MAIN
10185 # ifdef __cplusplus
10188 int F77_DUMMY_MAIN() { return 1; }
10198 rm -f conftest.$ac_objext conftest$ac_exeext
10199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10200 (eval $ac_link) 2>&5
10202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10203 (exit $ac_status); } &&
10204 { ac_try='test -s conftest$ac_exeext'
10205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10206 (eval $ac_try) 2>&5
10208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10209 (exit $ac_status); }; }; then
10210 ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
10211 if test "x$ac_cv_lib_soname_X11" = "x"
10213 ac_cv_lib_soname_X11="libX11.so"
10216 echo "$as_me: failed program was:" >&5
10217 cat conftest.$ac_ext >&5
10218 ac_cv_lib_soname_X11="libX11.so"
10220 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10221 LIBS=$ac_get_soname_save_LIBS
10223 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
10224 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
10225 if test "x$ac_cv_lib_soname_X11" != xNONE
10227 cat >>confdefs.h <<_ACEOF
10228 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
10232 echo "$as_me:$LINENO: checking for -lXext soname" >&5
10233 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
10234 if test "${ac_cv_lib_soname_Xext+set}" = set; then
10235 echo $ECHO_N "(cached) $ECHO_C" >&6
10237 ac_get_soname_save_LIBS=$LIBS
10238 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
10239 cat >conftest.$ac_ext <<_ACEOF
10240 #line $LINENO "configure"
10241 #include "confdefs.h"
10243 /* Override any gcc2 internal prototype to avoid an error. */
10247 /* We use char because int might match the return type of a gcc2
10248 builtin and then its argument prototype would still apply. */
10249 char XextCreateExtension ();
10250 #ifdef F77_DUMMY_MAIN
10251 # ifdef __cplusplus
10254 int F77_DUMMY_MAIN() { return 1; }
10259 XextCreateExtension ();
10264 rm -f conftest.$ac_objext conftest$ac_exeext
10265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10266 (eval $ac_link) 2>&5
10268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10269 (exit $ac_status); } &&
10270 { ac_try='test -s conftest$ac_exeext'
10271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10272 (eval $ac_try) 2>&5
10274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10275 (exit $ac_status); }; }; then
10276 ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
10277 if test "x$ac_cv_lib_soname_Xext" = "x"
10279 ac_cv_lib_soname_Xext="libXext.so"
10282 echo "$as_me: failed program was:" >&5
10283 cat conftest.$ac_ext >&5
10284 ac_cv_lib_soname_Xext="libXext.so"
10286 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10287 LIBS=$ac_get_soname_save_LIBS
10289 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
10290 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
10291 if test "x$ac_cv_lib_soname_Xext" != xNONE
10293 cat >>confdefs.h <<_ACEOF
10294 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10298 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
10299 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
10300 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10301 echo $ECHO_N "(cached) $ECHO_C" >&6
10303 ac_get_soname_save_LIBS=$LIBS
10304 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10305 cat >conftest.$ac_ext <<_ACEOF
10306 #line $LINENO "configure"
10307 #include "confdefs.h"
10309 /* Override any gcc2 internal prototype to avoid an error. */
10313 /* We use char because int might match the return type of a gcc2
10314 builtin and then its argument prototype would still apply. */
10315 char XRenderQueryExtension ();
10316 #ifdef F77_DUMMY_MAIN
10317 # ifdef __cplusplus
10320 int F77_DUMMY_MAIN() { return 1; }
10325 XRenderQueryExtension ();
10330 rm -f conftest.$ac_objext conftest$ac_exeext
10331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10332 (eval $ac_link) 2>&5
10334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10335 (exit $ac_status); } &&
10336 { ac_try='test -s conftest$ac_exeext'
10337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10338 (eval $ac_try) 2>&5
10340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10341 (exit $ac_status); }; }; then
10342 ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
10343 if test "x$ac_cv_lib_soname_Xrender" = "x"
10345 ac_cv_lib_soname_Xrender="libXrender.so"
10348 echo "$as_me: failed program was:" >&5
10349 cat conftest.$ac_ext >&5
10350 ac_cv_lib_soname_Xrender="libXrender.so"
10352 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10353 LIBS=$ac_get_soname_save_LIBS
10355 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10356 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
10357 if test "x$ac_cv_lib_soname_Xrender" != xNONE
10359 cat >>confdefs.h <<_ACEOF
10360 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10364 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
10365 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
10366 if test "${ac_cv_lib_soname_freetype+set}" = set; then
10367 echo $ECHO_N "(cached) $ECHO_C" >&6
10369 ac_get_soname_save_LIBS=$LIBS
10370 LIBS="-lfreetype $X_LIBS $LIBS"
10371 cat >conftest.$ac_ext <<_ACEOF
10372 #line $LINENO "configure"
10373 #include "confdefs.h"
10375 /* Override any gcc2 internal prototype to avoid an error. */
10379 /* We use char because int might match the return type of a gcc2
10380 builtin and then its argument prototype would still apply. */
10381 char FT_Init_FreeType ();
10382 #ifdef F77_DUMMY_MAIN
10383 # ifdef __cplusplus
10386 int F77_DUMMY_MAIN() { return 1; }
10391 FT_Init_FreeType ();
10396 rm -f conftest.$ac_objext conftest$ac_exeext
10397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10398 (eval $ac_link) 2>&5
10400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10401 (exit $ac_status); } &&
10402 { ac_try='test -s conftest$ac_exeext'
10403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10404 (eval $ac_try) 2>&5
10406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10407 (exit $ac_status); }; }; then
10408 ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
10409 if test "x$ac_cv_lib_soname_freetype" = "x"
10411 ac_cv_lib_soname_freetype="libfreetype.so"
10414 echo "$as_me: failed program was:" >&5
10415 cat conftest.$ac_ext >&5
10416 ac_cv_lib_soname_freetype="libfreetype.so"
10418 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10419 LIBS=$ac_get_soname_save_LIBS
10421 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
10422 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
10423 if test "x$ac_cv_lib_soname_freetype" != xNONE
10425 cat >>confdefs.h <<_ACEOF
10426 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10433 wine_cv_libc_reentrant=no
10434 echo "$as_me:$LINENO: checking for reentrant libc: __errno_location" >&5
10435 echo $ECHO_N "checking for reentrant libc: __errno_location... $ECHO_C" >&6
10436 if test "${wine_cv_libc_r___errno_location+set}" = set; then
10437 echo $ECHO_N "(cached) $ECHO_C" >&6
10439 if test "$cross_compiling" = yes; then
10440 wine_cv_libc_r___errno_location=yes
10442 cat >conftest.$ac_ext <<_ACEOF
10443 #line $LINENO "configure"
10444 #include "confdefs.h"
10447 int *__errno_location(){return &myerrno;}
10448 main(){connect(0,buf,255); exit(!myerrno);}
10450 rm -f conftest$ac_exeext
10451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10452 (eval $ac_link) 2>&5
10454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10455 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10457 (eval $ac_try) 2>&5
10459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10460 (exit $ac_status); }; }; then
10461 wine_cv_libc_r___errno_location=yes
10463 echo "$as_me: program exited with status $ac_status" >&5
10464 echo "$as_me: failed program was:" >&5
10465 cat conftest.$ac_ext >&5
10466 ( exit $ac_status )
10467 wine_cv_libc_r___errno_location=no
10469 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10472 echo "$as_me:$LINENO: result: $wine_cv_libc_r___errno_location" >&5
10473 echo "${ECHO_T}$wine_cv_libc_r___errno_location" >&6
10474 if test "$wine_cv_libc_r___errno_location" = "yes"; then
10475 wine_cv_libc_reentrant=__errno_location
10477 echo "$as_me:$LINENO: checking for reentrant libc: __error" >&5
10478 echo $ECHO_N "checking for reentrant libc: __error... $ECHO_C" >&6
10479 if test "${wine_cv_libc_r___error+set}" = set; then
10480 echo $ECHO_N "(cached) $ECHO_C" >&6
10482 if test "$cross_compiling" = yes; then
10483 wine_cv_libc_r___error=yes
10485 cat >conftest.$ac_ext <<_ACEOF
10486 #line $LINENO "configure"
10487 #include "confdefs.h"
10490 int *__error(){return &myerrno;}
10491 main(){connect(0,buf,255); exit(!myerrno);}
10493 rm -f conftest$ac_exeext
10494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10495 (eval $ac_link) 2>&5
10497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10498 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10500 (eval $ac_try) 2>&5
10502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10503 (exit $ac_status); }; }; then
10504 wine_cv_libc_r___error=yes
10506 echo "$as_me: program exited with status $ac_status" >&5
10507 echo "$as_me: failed program was:" >&5
10508 cat conftest.$ac_ext >&5
10509 ( exit $ac_status )
10510 wine_cv_libc_r___error=no
10512 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10515 echo "$as_me:$LINENO: result: $wine_cv_libc_r___error" >&5
10516 echo "${ECHO_T}$wine_cv_libc_r___error" >&6
10517 if test "$wine_cv_libc_r___error" = "yes"; then
10518 wine_cv_libc_reentrant=__error
10520 echo "$as_me:$LINENO: checking for reentrant libc: ___errno" >&5
10521 echo $ECHO_N "checking for reentrant libc: ___errno... $ECHO_C" >&6
10522 if test "${wine_cv_libc_r____errno+set}" = set; then
10523 echo $ECHO_N "(cached) $ECHO_C" >&6
10525 if test "$cross_compiling" = yes; then
10526 wine_cv_libc_r____errno=yes
10528 cat >conftest.$ac_ext <<_ACEOF
10529 #line $LINENO "configure"
10530 #include "confdefs.h"
10533 int *___errno(){return &myerrno;}
10534 main(){connect(0,buf,255); exit(!myerrno);}
10536 rm -f conftest$ac_exeext
10537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10538 (eval $ac_link) 2>&5
10540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10541 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10543 (eval $ac_try) 2>&5
10545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10546 (exit $ac_status); }; }; then
10547 wine_cv_libc_r____errno=yes
10549 echo "$as_me: program exited with status $ac_status" >&5
10550 echo "$as_me: failed program was:" >&5
10551 cat conftest.$ac_ext >&5
10552 ( exit $ac_status )
10553 wine_cv_libc_r____errno=no
10555 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10558 echo "$as_me:$LINENO: result: $wine_cv_libc_r____errno" >&5
10559 echo "${ECHO_T}$wine_cv_libc_r____errno" >&6
10560 if test "$wine_cv_libc_r____errno" = "yes"; then
10561 wine_cv_libc_reentrant=___errno
10563 echo "$as_me:$LINENO: checking for reentrant libc: __thr_errno" >&5
10564 echo $ECHO_N "checking for reentrant libc: __thr_errno... $ECHO_C" >&6
10565 if test "${wine_cv_libc_r___thr_errno+set}" = set; then
10566 echo $ECHO_N "(cached) $ECHO_C" >&6
10568 if test "$cross_compiling" = yes; then
10569 wine_cv_libc_r___thr_errno=yes
10571 cat >conftest.$ac_ext <<_ACEOF
10572 #line $LINENO "configure"
10573 #include "confdefs.h"
10576 int *__thr_errno(){return &myerrno;}
10577 main(){connect(0,buf,255); exit(!myerrno);}
10579 rm -f conftest$ac_exeext
10580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10581 (eval $ac_link) 2>&5
10583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10584 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10586 (eval $ac_try) 2>&5
10588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10589 (exit $ac_status); }; }; then
10590 wine_cv_libc_r___thr_errno=yes
10592 echo "$as_me: program exited with status $ac_status" >&5
10593 echo "$as_me: failed program was:" >&5
10594 cat conftest.$ac_ext >&5
10595 ( exit $ac_status )
10596 wine_cv_libc_r___thr_errno=no
10598 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10601 echo "$as_me:$LINENO: result: $wine_cv_libc_r___thr_errno" >&5
10602 echo "${ECHO_T}$wine_cv_libc_r___thr_errno" >&6
10603 if test "$wine_cv_libc_r___thr_errno" = "yes"; then
10604 wine_cv_libc_reentrant=__thr_errno
10606 echo "$as_me:$LINENO: checking for reentrant libc: __errno" >&5
10607 echo $ECHO_N "checking for reentrant libc: __errno... $ECHO_C" >&6
10608 if test "${wine_cv_libc_r___errno+set}" = set; then
10609 echo $ECHO_N "(cached) $ECHO_C" >&6
10611 if test "$cross_compiling" = yes; then
10612 wine_cv_libc_r___errno=yes
10614 cat >conftest.$ac_ext <<_ACEOF
10615 #line $LINENO "configure"
10616 #include "confdefs.h"
10619 int *__errno(){return &myerrno;}
10620 main(){connect(0,buf,255); exit(!myerrno);}
10622 rm -f conftest$ac_exeext
10623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10624 (eval $ac_link) 2>&5
10626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10627 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10629 (eval $ac_try) 2>&5
10631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10632 (exit $ac_status); }; }; then
10633 wine_cv_libc_r___errno=yes
10635 echo "$as_me: program exited with status $ac_status" >&5
10636 echo "$as_me: failed program was:" >&5
10637 cat conftest.$ac_ext >&5
10638 ( exit $ac_status )
10639 wine_cv_libc_r___errno=no
10641 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10644 echo "$as_me:$LINENO: result: $wine_cv_libc_r___errno" >&5
10645 echo "${ECHO_T}$wine_cv_libc_r___errno" >&6
10646 if test "$wine_cv_libc_r___errno" = "yes"; then
10647 wine_cv_libc_reentrant=__errno
10660 if test "$wine_cv_libc_reentrant" != "no"
10663 cat >>confdefs.h <<_ACEOF
10664 #define ERRNO_LOCATION $wine_cv_libc_reentrant
10670 if test "$have_x" = "yes"
10672 echo "$as_me:$LINENO: checking for reentrant X libraries" >&5
10673 echo $ECHO_N "checking for reentrant X libraries... $ECHO_C" >&6
10674 if test "${wine_cv_x_reentrant+set}" = set; then
10675 echo $ECHO_N "(cached) $ECHO_C" >&6
10678 for dir in "$x_libraries" /usr/lib /usr/local/lib /lib; do
10679 if test -r $dir/libX11.so; then
10680 libX11_check="-D $dir/libX11.so"
10683 if test -r $dir/libX11.a; then
10684 libX11_check="$dir/libX11.a"
10688 if test "$libX11_check" != "none"; then
10689 if nm $libX11_check | grep $wine_cv_libc_reentrant >/dev/null 2>&1
10691 wine_cv_x_reentrant=yes
10693 wine_cv_x_reentrant=no
10696 wine_cv_x_reentrant=unknown
10699 echo "$as_me:$LINENO: result: $wine_cv_x_reentrant" >&5
10700 echo "${ECHO_T}$wine_cv_x_reentrant" >&6
10704 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
10705 # for constant arguments. Useless!
10706 echo "$as_me:$LINENO: checking for working alloca.h" >&5
10707 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
10708 if test "${ac_cv_working_alloca_h+set}" = set; then
10709 echo $ECHO_N "(cached) $ECHO_C" >&6
10711 cat >conftest.$ac_ext <<_ACEOF
10712 #line $LINENO "configure"
10713 #include "confdefs.h"
10714 #include <alloca.h>
10715 #ifdef F77_DUMMY_MAIN
10716 # ifdef __cplusplus
10719 int F77_DUMMY_MAIN() { return 1; }
10724 char *p = (char *) alloca (2 * sizeof (int));
10729 rm -f conftest.$ac_objext conftest$ac_exeext
10730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10731 (eval $ac_link) 2>&5
10733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10734 (exit $ac_status); } &&
10735 { ac_try='test -s conftest$ac_exeext'
10736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10737 (eval $ac_try) 2>&5
10739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10740 (exit $ac_status); }; }; then
10741 ac_cv_working_alloca_h=yes
10743 echo "$as_me: failed program was:" >&5
10744 cat conftest.$ac_ext >&5
10745 ac_cv_working_alloca_h=no
10747 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10749 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
10750 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
10751 if test $ac_cv_working_alloca_h = yes; then
10753 cat >>confdefs.h <<\_ACEOF
10754 #define HAVE_ALLOCA_H 1
10759 echo "$as_me:$LINENO: checking for alloca" >&5
10760 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
10761 if test "${ac_cv_func_alloca_works+set}" = set; then
10762 echo $ECHO_N "(cached) $ECHO_C" >&6
10764 cat >conftest.$ac_ext <<_ACEOF
10765 #line $LINENO "configure"
10766 #include "confdefs.h"
10768 # define alloca __builtin_alloca
10771 # include <malloc.h>
10772 # define alloca _alloca
10775 # include <alloca.h>
10780 # ifndef alloca /* predefined by HP cc +Olibcalls */
10788 #ifdef F77_DUMMY_MAIN
10789 # ifdef __cplusplus
10792 int F77_DUMMY_MAIN() { return 1; }
10797 char *p = (char *) alloca (1);
10802 rm -f conftest.$ac_objext conftest$ac_exeext
10803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10804 (eval $ac_link) 2>&5
10806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10807 (exit $ac_status); } &&
10808 { ac_try='test -s conftest$ac_exeext'
10809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10810 (eval $ac_try) 2>&5
10812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10813 (exit $ac_status); }; }; then
10814 ac_cv_func_alloca_works=yes
10816 echo "$as_me: failed program was:" >&5
10817 cat conftest.$ac_ext >&5
10818 ac_cv_func_alloca_works=no
10820 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10822 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
10823 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
10825 if test $ac_cv_func_alloca_works = yes; then
10827 cat >>confdefs.h <<\_ACEOF
10828 #define HAVE_ALLOCA 1
10832 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
10833 # that cause trouble. Some versions do not even contain alloca or
10834 # contain a buggy version. If you still want to use their alloca,
10835 # use ar to extract alloca.o from them instead of compiling alloca.c.
10837 ALLOCA=alloca.$ac_objext
10839 cat >>confdefs.h <<\_ACEOF
10844 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
10845 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
10846 if test "${ac_cv_os_cray+set}" = set; then
10847 echo $ECHO_N "(cached) $ECHO_C" >&6
10849 cat >conftest.$ac_ext <<_ACEOF
10850 #line $LINENO "configure"
10851 #include "confdefs.h"
10852 #if defined(CRAY) && ! defined(CRAY2)
10859 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10860 egrep "webecray" >/dev/null 2>&1; then
10868 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
10869 echo "${ECHO_T}$ac_cv_os_cray" >&6
10870 if test $ac_cv_os_cray = yes; then
10871 for ac_func in _getb67 GETB67 getb67; do
10872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10873 echo "$as_me:$LINENO: checking for $ac_func" >&5
10874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10875 if eval "test \"\${$as_ac_var+set}\" = set"; then
10876 echo $ECHO_N "(cached) $ECHO_C" >&6
10878 cat >conftest.$ac_ext <<_ACEOF
10879 #line $LINENO "configure"
10880 #include "confdefs.h"
10881 /* System header to define __stub macros and hopefully few prototypes,
10882 which can conflict with char $ac_func (); below. */
10883 #include <assert.h>
10884 /* Override any gcc2 internal prototype to avoid an error. */
10888 /* We use char because int might match the return type of a gcc2
10889 builtin and then its argument prototype would still apply. */
10893 #ifdef F77_DUMMY_MAIN
10894 # ifdef __cplusplus
10897 int F77_DUMMY_MAIN() { return 1; }
10902 /* The GNU C library defines this for functions which it implements
10903 to always fail with ENOSYS. Some functions are actually named
10904 something starting with __ and the normal name is an alias. */
10905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10915 rm -f conftest.$ac_objext conftest$ac_exeext
10916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10917 (eval $ac_link) 2>&5
10919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10920 (exit $ac_status); } &&
10921 { ac_try='test -s conftest$ac_exeext'
10922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10923 (eval $ac_try) 2>&5
10925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10926 (exit $ac_status); }; }; then
10927 eval "$as_ac_var=yes"
10929 echo "$as_me: failed program was:" >&5
10930 cat conftest.$ac_ext >&5
10931 eval "$as_ac_var=no"
10933 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10937 if test `eval echo '${'$as_ac_var'}'` = yes; then
10939 cat >>confdefs.h <<_ACEOF
10940 #define CRAY_STACKSEG_END $ac_func
10949 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
10950 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
10951 if test "${ac_cv_c_stack_direction+set}" = set; then
10952 echo $ECHO_N "(cached) $ECHO_C" >&6
10954 if test "$cross_compiling" = yes; then
10955 ac_cv_c_stack_direction=0
10957 cat >conftest.$ac_ext <<_ACEOF
10958 #line $LINENO "configure"
10959 #include "confdefs.h"
10961 find_stack_direction ()
10963 static char *addr = 0;
10968 return find_stack_direction ();
10971 return (&dummy > addr) ? 1 : -1;
10977 exit (find_stack_direction () < 0);
10980 rm -f conftest$ac_exeext
10981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10982 (eval $ac_link) 2>&5
10984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10985 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10987 (eval $ac_try) 2>&5
10989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10990 (exit $ac_status); }; }; then
10991 ac_cv_c_stack_direction=1
10993 echo "$as_me: program exited with status $ac_status" >&5
10994 echo "$as_me: failed program was:" >&5
10995 cat conftest.$ac_ext >&5
10996 ( exit $ac_status )
10997 ac_cv_c_stack_direction=-1
10999 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11002 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
11003 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
11005 cat >>confdefs.h <<_ACEOF
11006 #define STACK_DIRECTION $ac_cv_c_stack_direction
11107 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11108 echo "$as_me:$LINENO: checking for $ac_func" >&5
11109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11110 if eval "test \"\${$as_ac_var+set}\" = set"; then
11111 echo $ECHO_N "(cached) $ECHO_C" >&6
11113 cat >conftest.$ac_ext <<_ACEOF
11114 #line $LINENO "configure"
11115 #include "confdefs.h"
11116 /* System header to define __stub macros and hopefully few prototypes,
11117 which can conflict with char $ac_func (); below. */
11118 #include <assert.h>
11119 /* Override any gcc2 internal prototype to avoid an error. */
11123 /* We use char because int might match the return type of a gcc2
11124 builtin and then its argument prototype would still apply. */
11128 #ifdef F77_DUMMY_MAIN
11129 # ifdef __cplusplus
11132 int F77_DUMMY_MAIN() { return 1; }
11137 /* The GNU C library defines this for functions which it implements
11138 to always fail with ENOSYS. Some functions are actually named
11139 something starting with __ and the normal name is an alias. */
11140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11150 rm -f conftest.$ac_objext conftest$ac_exeext
11151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11152 (eval $ac_link) 2>&5
11154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11155 (exit $ac_status); } &&
11156 { ac_try='test -s conftest$ac_exeext'
11157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11158 (eval $ac_try) 2>&5
11160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11161 (exit $ac_status); }; }; then
11162 eval "$as_ac_var=yes"
11164 echo "$as_me: failed program was:" >&5
11165 cat conftest.$ac_ext >&5
11166 eval "$as_ac_var=no"
11168 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11172 if test `eval echo '${'$as_ac_var'}'` = yes; then
11173 cat >>confdefs.h <<_ACEOF
11174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11270 netinet/in_systm.h \
11317 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11318 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11319 echo "$as_me:$LINENO: checking for $ac_header" >&5
11320 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11321 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11322 echo $ECHO_N "(cached) $ECHO_C" >&6
11324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11325 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11327 # Is the header compilable?
11328 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11329 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11330 cat >conftest.$ac_ext <<_ACEOF
11331 #line $LINENO "configure"
11332 #include "confdefs.h"
11333 $ac_includes_default
11334 #include <$ac_header>
11336 rm -f conftest.$ac_objext
11337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11338 (eval $ac_compile) 2>&5
11340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11341 (exit $ac_status); } &&
11342 { ac_try='test -s conftest.$ac_objext'
11343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11344 (eval $ac_try) 2>&5
11346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11347 (exit $ac_status); }; }; then
11348 ac_header_compiler=yes
11350 echo "$as_me: failed program was:" >&5
11351 cat conftest.$ac_ext >&5
11352 ac_header_compiler=no
11354 rm -f conftest.$ac_objext conftest.$ac_ext
11355 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11356 echo "${ECHO_T}$ac_header_compiler" >&6
11358 # Is the header present?
11359 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11360 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11361 cat >conftest.$ac_ext <<_ACEOF
11362 #line $LINENO "configure"
11363 #include "confdefs.h"
11364 #include <$ac_header>
11366 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11367 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11369 egrep -v '^ *\+' conftest.er1 >conftest.err
11371 cat conftest.err >&5
11372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11373 (exit $ac_status); } >/dev/null; then
11374 if test -s conftest.err; then
11375 ac_cpp_err=$ac_c_preproc_warn_flag
11382 if test -z "$ac_cpp_err"; then
11383 ac_header_preproc=yes
11385 echo "$as_me: failed program was:" >&5
11386 cat conftest.$ac_ext >&5
11387 ac_header_preproc=no
11389 rm -f conftest.err conftest.$ac_ext
11390 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11391 echo "${ECHO_T}$ac_header_preproc" >&6
11393 # So? What about this header?
11394 case $ac_header_compiler:$ac_header_preproc in
11396 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11397 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11398 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11399 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11401 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11402 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11403 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11404 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11405 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11406 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11408 echo "$as_me:$LINENO: checking for $ac_header" >&5
11409 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11410 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11411 echo $ECHO_N "(cached) $ECHO_C" >&6
11413 eval "$as_ac_Header=$ac_header_preproc"
11415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11416 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11419 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11420 cat >>confdefs.h <<_ACEOF
11421 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11428 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
11429 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
11430 if test "${ac_cv_header_stat_broken+set}" = set; then
11431 echo $ECHO_N "(cached) $ECHO_C" >&6
11433 cat >conftest.$ac_ext <<_ACEOF
11434 #line $LINENO "configure"
11435 #include "confdefs.h"
11436 #include <sys/types.h>
11437 #include <sys/stat.h>
11439 #if defined(S_ISBLK) && defined(S_IFDIR)
11440 # if S_ISBLK (S_IFDIR)
11445 #if defined(S_ISBLK) && defined(S_IFCHR)
11446 # if S_ISBLK (S_IFCHR)
11451 #if defined(S_ISLNK) && defined(S_IFREG)
11452 # if S_ISLNK (S_IFREG)
11457 #if defined(S_ISSOCK) && defined(S_IFREG)
11458 # if S_ISSOCK (S_IFREG)
11464 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11465 egrep "You lose" >/dev/null 2>&1; then
11466 ac_cv_header_stat_broken=yes
11468 ac_cv_header_stat_broken=no
11473 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
11474 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
11475 if test $ac_cv_header_stat_broken = yes; then
11477 cat >>confdefs.h <<\_ACEOF
11478 #define STAT_MACROS_BROKEN 1
11485 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11486 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11487 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11488 echo $ECHO_N "(cached) $ECHO_C" >&6
11490 ac_cv_prog_cc_stdc=no
11492 cat >conftest.$ac_ext <<_ACEOF
11493 #line $LINENO "configure"
11494 #include "confdefs.h"
11495 #include <stdarg.h>
11497 #include <sys/types.h>
11498 #include <sys/stat.h>
11499 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11500 struct buf { int x; };
11501 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11502 static char *e (p, i)
11508 static char *f (char * (*g) (char **, int), char **p, ...)
11513 s = g (p, va_arg (v,int));
11517 int test (int i, double x);
11518 struct s1 {int (*f) (int a);};
11519 struct s2 {int (*f) (double a);};
11520 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11523 #ifdef F77_DUMMY_MAIN
11524 # ifdef __cplusplus
11527 int F77_DUMMY_MAIN() { return 1; }
11532 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11537 # Don't try gcc -ansi; that turns off useful extensions and
11538 # breaks some systems' header files.
11539 # AIX -qlanglvl=ansi
11540 # Ultrix and OSF/1 -std1
11541 # HP-UX 10.20 and later -Ae
11542 # HP-UX older versions -Aa -D_HPUX_SOURCE
11543 # SVR4 -Xc -D__EXTENSIONS__
11544 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11546 CC="$ac_save_CC $ac_arg"
11547 rm -f conftest.$ac_objext
11548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11549 (eval $ac_compile) 2>&5
11551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11552 (exit $ac_status); } &&
11553 { ac_try='test -s conftest.$ac_objext'
11554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11555 (eval $ac_try) 2>&5
11557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11558 (exit $ac_status); }; }; then
11559 ac_cv_prog_cc_stdc=$ac_arg
11562 echo "$as_me: failed program was:" >&5
11563 cat conftest.$ac_ext >&5
11565 rm -f conftest.$ac_objext
11567 rm -f conftest.$ac_ext conftest.$ac_objext
11572 case "x$ac_cv_prog_cc_stdc" in
11574 echo "$as_me:$LINENO: result: none needed" >&5
11575 echo "${ECHO_T}none needed" >&6 ;;
11577 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11578 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11579 CC="$CC $ac_cv_prog_cc_stdc" ;;
11582 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
11583 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
11584 if test "${ac_cv_c_const+set}" = set; then
11585 echo $ECHO_N "(cached) $ECHO_C" >&6
11587 cat >conftest.$ac_ext <<_ACEOF
11588 #line $LINENO "configure"
11589 #include "confdefs.h"
11591 #ifdef F77_DUMMY_MAIN
11592 # ifdef __cplusplus
11595 int F77_DUMMY_MAIN() { return 1; }
11600 /* FIXME: Include the comments suggested by Paul. */
11601 #ifndef __cplusplus
11602 /* Ultrix mips cc rejects this. */
11603 typedef int charset[2];
11605 /* SunOS 4.1.1 cc rejects this. */
11606 char const *const *ccp;
11608 /* NEC SVR4.0.2 mips cc rejects this. */
11609 struct point {int x, y;};
11610 static struct point const zero = {0,0};
11611 /* AIX XL C 1.02.0.0 rejects this.
11612 It does not let you subtract one const X* pointer from another in
11613 an arm of an if-expression whose if-part is not a constant
11615 const char *g = "string";
11616 ccp = &g + (g ? g-g : 0);
11617 /* HPUX 7.0 cc rejects these. */
11620 ccp = (char const *const *) p;
11621 { /* SCO 3.2v4 cc rejects this. */
11623 char const *s = 0 ? (char *) 0 : (char const *) 0;
11627 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11628 int x[] = {25, 17};
11629 const int *foo = &x[0];
11632 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11633 typedef const int *iptr;
11637 { /* AIX XL C 1.02.0.0 rejects this saying
11638 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11639 struct s { int j; const int *ap[3]; };
11640 struct s *b; b->j = 5;
11642 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11643 const int foo = 10;
11651 rm -f conftest.$ac_objext
11652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11653 (eval $ac_compile) 2>&5
11655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11656 (exit $ac_status); } &&
11657 { ac_try='test -s conftest.$ac_objext'
11658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11659 (eval $ac_try) 2>&5
11661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11662 (exit $ac_status); }; }; then
11665 echo "$as_me: failed program was:" >&5
11666 cat conftest.$ac_ext >&5
11669 rm -f conftest.$ac_objext conftest.$ac_ext
11671 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
11672 echo "${ECHO_T}$ac_cv_c_const" >&6
11673 if test $ac_cv_c_const = no; then
11675 cat >>confdefs.h <<\_ACEOF
11681 echo "$as_me:$LINENO: checking for inline" >&5
11682 echo $ECHO_N "checking for inline... $ECHO_C" >&6
11683 if test "${ac_cv_c_inline+set}" = set; then
11684 echo $ECHO_N "(cached) $ECHO_C" >&6
11687 for ac_kw in inline __inline__ __inline; do
11688 cat >conftest.$ac_ext <<_ACEOF
11689 #line $LINENO "configure"
11690 #include "confdefs.h"
11691 #ifndef __cplusplus
11692 static $ac_kw int static_foo () {return 0; }
11693 $ac_kw int foo () {return 0; }
11697 rm -f conftest.$ac_objext
11698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11699 (eval $ac_compile) 2>&5
11701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11702 (exit $ac_status); } &&
11703 { ac_try='test -s conftest.$ac_objext'
11704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11705 (eval $ac_try) 2>&5
11707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11708 (exit $ac_status); }; }; then
11709 ac_cv_c_inline=$ac_kw; break
11711 echo "$as_me: failed program was:" >&5
11712 cat conftest.$ac_ext >&5
11714 rm -f conftest.$ac_objext conftest.$ac_ext
11718 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
11719 echo "${ECHO_T}$ac_cv_c_inline" >&6
11720 case $ac_cv_c_inline in
11723 cat >>confdefs.h <<\_ACEOF
11727 *) cat >>confdefs.h <<_ACEOF
11728 #define inline $ac_cv_c_inline
11733 echo "$as_me:$LINENO: checking for mode_t" >&5
11734 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
11735 if test "${ac_cv_type_mode_t+set}" = set; then
11736 echo $ECHO_N "(cached) $ECHO_C" >&6
11738 cat >conftest.$ac_ext <<_ACEOF
11739 #line $LINENO "configure"
11740 #include "confdefs.h"
11741 $ac_includes_default
11742 #ifdef F77_DUMMY_MAIN
11743 # ifdef __cplusplus
11746 int F77_DUMMY_MAIN() { return 1; }
11753 if (sizeof (mode_t))
11759 rm -f conftest.$ac_objext
11760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11761 (eval $ac_compile) 2>&5
11763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11764 (exit $ac_status); } &&
11765 { ac_try='test -s conftest.$ac_objext'
11766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11767 (eval $ac_try) 2>&5
11769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11770 (exit $ac_status); }; }; then
11771 ac_cv_type_mode_t=yes
11773 echo "$as_me: failed program was:" >&5
11774 cat conftest.$ac_ext >&5
11775 ac_cv_type_mode_t=no
11777 rm -f conftest.$ac_objext conftest.$ac_ext
11779 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
11780 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
11781 if test $ac_cv_type_mode_t = yes; then
11783 cat >>confdefs.h <<_ACEOF
11784 #define HAVE_MODE_T 1
11789 echo "$as_me:$LINENO: checking for off_t" >&5
11790 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
11791 if test "${ac_cv_type_off_t+set}" = set; then
11792 echo $ECHO_N "(cached) $ECHO_C" >&6
11794 cat >conftest.$ac_ext <<_ACEOF
11795 #line $LINENO "configure"
11796 #include "confdefs.h"
11797 $ac_includes_default
11798 #ifdef F77_DUMMY_MAIN
11799 # ifdef __cplusplus
11802 int F77_DUMMY_MAIN() { return 1; }
11809 if (sizeof (off_t))
11815 rm -f conftest.$ac_objext
11816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11817 (eval $ac_compile) 2>&5
11819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11820 (exit $ac_status); } &&
11821 { ac_try='test -s conftest.$ac_objext'
11822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11823 (eval $ac_try) 2>&5
11825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11826 (exit $ac_status); }; }; then
11827 ac_cv_type_off_t=yes
11829 echo "$as_me: failed program was:" >&5
11830 cat conftest.$ac_ext >&5
11831 ac_cv_type_off_t=no
11833 rm -f conftest.$ac_objext conftest.$ac_ext
11835 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
11836 echo "${ECHO_T}$ac_cv_type_off_t" >&6
11837 if test $ac_cv_type_off_t = yes; then
11839 cat >>confdefs.h <<_ACEOF
11840 #define HAVE_OFF_T 1
11845 echo "$as_me:$LINENO: checking for pid_t" >&5
11846 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
11847 if test "${ac_cv_type_pid_t+set}" = set; then
11848 echo $ECHO_N "(cached) $ECHO_C" >&6
11850 cat >conftest.$ac_ext <<_ACEOF
11851 #line $LINENO "configure"
11852 #include "confdefs.h"
11853 $ac_includes_default
11854 #ifdef F77_DUMMY_MAIN
11855 # ifdef __cplusplus
11858 int F77_DUMMY_MAIN() { return 1; }
11865 if (sizeof (pid_t))
11871 rm -f conftest.$ac_objext
11872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11873 (eval $ac_compile) 2>&5
11875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11876 (exit $ac_status); } &&
11877 { ac_try='test -s conftest.$ac_objext'
11878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11879 (eval $ac_try) 2>&5
11881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11882 (exit $ac_status); }; }; then
11883 ac_cv_type_pid_t=yes
11885 echo "$as_me: failed program was:" >&5
11886 cat conftest.$ac_ext >&5
11887 ac_cv_type_pid_t=no
11889 rm -f conftest.$ac_objext conftest.$ac_ext
11891 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
11892 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
11893 if test $ac_cv_type_pid_t = yes; then
11895 cat >>confdefs.h <<_ACEOF
11896 #define HAVE_PID_T 1
11901 echo "$as_me:$LINENO: checking for size_t" >&5
11902 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
11903 if test "${ac_cv_type_size_t+set}" = set; then
11904 echo $ECHO_N "(cached) $ECHO_C" >&6
11906 cat >conftest.$ac_ext <<_ACEOF
11907 #line $LINENO "configure"
11908 #include "confdefs.h"
11909 $ac_includes_default
11910 #ifdef F77_DUMMY_MAIN
11911 # ifdef __cplusplus
11914 int F77_DUMMY_MAIN() { return 1; }
11921 if (sizeof (size_t))
11927 rm -f conftest.$ac_objext
11928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11929 (eval $ac_compile) 2>&5
11931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11932 (exit $ac_status); } &&
11933 { ac_try='test -s conftest.$ac_objext'
11934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11935 (eval $ac_try) 2>&5
11937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11938 (exit $ac_status); }; }; then
11939 ac_cv_type_size_t=yes
11941 echo "$as_me: failed program was:" >&5
11942 cat conftest.$ac_ext >&5
11943 ac_cv_type_size_t=no
11945 rm -f conftest.$ac_objext conftest.$ac_ext
11947 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
11948 echo "${ECHO_T}$ac_cv_type_size_t" >&6
11949 if test $ac_cv_type_size_t = yes; then
11951 cat >>confdefs.h <<_ACEOF
11952 #define HAVE_SIZE_T 1
11957 echo "$as_me:$LINENO: checking for ssize_t" >&5
11958 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
11959 if test "${ac_cv_type_ssize_t+set}" = set; then
11960 echo $ECHO_N "(cached) $ECHO_C" >&6
11962 cat >conftest.$ac_ext <<_ACEOF
11963 #line $LINENO "configure"
11964 #include "confdefs.h"
11965 $ac_includes_default
11966 #ifdef F77_DUMMY_MAIN
11967 # ifdef __cplusplus
11970 int F77_DUMMY_MAIN() { return 1; }
11977 if (sizeof (ssize_t))
11983 rm -f conftest.$ac_objext
11984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11985 (eval $ac_compile) 2>&5
11987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11988 (exit $ac_status); } &&
11989 { ac_try='test -s conftest.$ac_objext'
11990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11991 (eval $ac_try) 2>&5
11993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11994 (exit $ac_status); }; }; then
11995 ac_cv_type_ssize_t=yes
11997 echo "$as_me: failed program was:" >&5
11998 cat conftest.$ac_ext >&5
11999 ac_cv_type_ssize_t=no
12001 rm -f conftest.$ac_objext conftest.$ac_ext
12003 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
12004 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
12005 if test $ac_cv_type_ssize_t = yes; then
12007 cat >>confdefs.h <<_ACEOF
12008 #define HAVE_SSIZE_T 1
12014 echo "$as_me:$LINENO: checking for long long" >&5
12015 echo $ECHO_N "checking for long long... $ECHO_C" >&6
12016 if test "${ac_cv_type_long_long+set}" = set; then
12017 echo $ECHO_N "(cached) $ECHO_C" >&6
12019 cat >conftest.$ac_ext <<_ACEOF
12020 #line $LINENO "configure"
12021 #include "confdefs.h"
12022 $ac_includes_default
12023 #ifdef F77_DUMMY_MAIN
12024 # ifdef __cplusplus
12027 int F77_DUMMY_MAIN() { return 1; }
12032 if ((long long *) 0)
12034 if (sizeof (long long))
12040 rm -f conftest.$ac_objext
12041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12042 (eval $ac_compile) 2>&5
12044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12045 (exit $ac_status); } &&
12046 { ac_try='test -s conftest.$ac_objext'
12047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12048 (eval $ac_try) 2>&5
12050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12051 (exit $ac_status); }; }; then
12052 ac_cv_type_long_long=yes
12054 echo "$as_me: failed program was:" >&5
12055 cat conftest.$ac_ext >&5
12056 ac_cv_type_long_long=no
12058 rm -f conftest.$ac_objext conftest.$ac_ext
12060 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
12061 echo "${ECHO_T}$ac_cv_type_long_long" >&6
12063 echo "$as_me:$LINENO: checking size of long long" >&5
12064 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
12065 if test "${ac_cv_sizeof_long_long+set}" = set; then
12066 echo $ECHO_N "(cached) $ECHO_C" >&6
12068 if test "$ac_cv_type_long_long" = yes; then
12069 # The cast to unsigned long works around a bug in the HP C Compiler
12070 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12071 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12072 # This bug is HP SR number 8606223364.
12073 if test "$cross_compiling" = yes; then
12074 # Depending upon the size, compute the lo and hi bounds.
12075 cat >conftest.$ac_ext <<_ACEOF
12076 #line $LINENO "configure"
12077 #include "confdefs.h"
12078 $ac_includes_default
12079 #ifdef F77_DUMMY_MAIN
12080 # ifdef __cplusplus
12083 int F77_DUMMY_MAIN() { return 1; }
12088 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
12095 rm -f conftest.$ac_objext
12096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12097 (eval $ac_compile) 2>&5
12099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12100 (exit $ac_status); } &&
12101 { ac_try='test -s conftest.$ac_objext'
12102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12103 (eval $ac_try) 2>&5
12105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12106 (exit $ac_status); }; }; then
12109 cat >conftest.$ac_ext <<_ACEOF
12110 #line $LINENO "configure"
12111 #include "confdefs.h"
12112 $ac_includes_default
12113 #ifdef F77_DUMMY_MAIN
12114 # ifdef __cplusplus
12117 int F77_DUMMY_MAIN() { return 1; }
12122 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
12129 rm -f conftest.$ac_objext
12130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12131 (eval $ac_compile) 2>&5
12133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12134 (exit $ac_status); } &&
12135 { ac_try='test -s conftest.$ac_objext'
12136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12137 (eval $ac_try) 2>&5
12139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12140 (exit $ac_status); }; }; then
12141 ac_hi=$ac_mid; break
12143 echo "$as_me: failed program was:" >&5
12144 cat conftest.$ac_ext >&5
12145 ac_lo=`expr $ac_mid + 1`
12146 if test $ac_lo -le $ac_mid; then
12150 ac_mid=`expr 2 '*' $ac_mid + 1`
12152 rm -f conftest.$ac_objext conftest.$ac_ext
12155 echo "$as_me: failed program was:" >&5
12156 cat conftest.$ac_ext >&5
12157 cat >conftest.$ac_ext <<_ACEOF
12158 #line $LINENO "configure"
12159 #include "confdefs.h"
12160 $ac_includes_default
12161 #ifdef F77_DUMMY_MAIN
12162 # ifdef __cplusplus
12165 int F77_DUMMY_MAIN() { return 1; }
12170 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
12177 rm -f conftest.$ac_objext
12178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12179 (eval $ac_compile) 2>&5
12181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12182 (exit $ac_status); } &&
12183 { ac_try='test -s conftest.$ac_objext'
12184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12185 (eval $ac_try) 2>&5
12187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12188 (exit $ac_status); }; }; then
12191 cat >conftest.$ac_ext <<_ACEOF
12192 #line $LINENO "configure"
12193 #include "confdefs.h"
12194 $ac_includes_default
12195 #ifdef F77_DUMMY_MAIN
12196 # ifdef __cplusplus
12199 int F77_DUMMY_MAIN() { return 1; }
12204 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
12211 rm -f conftest.$ac_objext
12212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12213 (eval $ac_compile) 2>&5
12215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12216 (exit $ac_status); } &&
12217 { ac_try='test -s conftest.$ac_objext'
12218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12219 (eval $ac_try) 2>&5
12221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12222 (exit $ac_status); }; }; then
12223 ac_lo=$ac_mid; break
12225 echo "$as_me: failed program was:" >&5
12226 cat conftest.$ac_ext >&5
12227 ac_hi=`expr '(' $ac_mid ')' - 1`
12228 if test $ac_mid -le $ac_hi; then
12232 ac_mid=`expr 2 '*' $ac_mid`
12234 rm -f conftest.$ac_objext conftest.$ac_ext
12237 echo "$as_me: failed program was:" >&5
12238 cat conftest.$ac_ext >&5
12241 rm -f conftest.$ac_objext conftest.$ac_ext
12243 rm -f conftest.$ac_objext conftest.$ac_ext
12244 # Binary search between lo and hi bounds.
12245 while test "x$ac_lo" != "x$ac_hi"; do
12246 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12247 cat >conftest.$ac_ext <<_ACEOF
12248 #line $LINENO "configure"
12249 #include "confdefs.h"
12250 $ac_includes_default
12251 #ifdef F77_DUMMY_MAIN
12252 # ifdef __cplusplus
12255 int F77_DUMMY_MAIN() { return 1; }
12260 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
12267 rm -f conftest.$ac_objext
12268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12269 (eval $ac_compile) 2>&5
12271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12272 (exit $ac_status); } &&
12273 { ac_try='test -s conftest.$ac_objext'
12274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12275 (eval $ac_try) 2>&5
12277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12278 (exit $ac_status); }; }; then
12281 echo "$as_me: failed program was:" >&5
12282 cat conftest.$ac_ext >&5
12283 ac_lo=`expr '(' $ac_mid ')' + 1`
12285 rm -f conftest.$ac_objext conftest.$ac_ext
12288 ?*) ac_cv_sizeof_long_long=$ac_lo;;
12289 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77" >&5
12290 echo "$as_me: error: cannot compute sizeof (long long), 77" >&2;}
12291 { (exit 1); exit 1; }; } ;;
12294 if test "$cross_compiling" = yes; then
12295 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
12296 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
12297 { (exit 1); exit 1; }; }
12299 cat >conftest.$ac_ext <<_ACEOF
12300 #line $LINENO "configure"
12301 #include "confdefs.h"
12302 $ac_includes_default
12303 long longval () { return (long) (sizeof (long long)); }
12304 unsigned long ulongval () { return (long) (sizeof (long long)); }
12306 #include <stdlib.h>
12307 #ifdef F77_DUMMY_MAIN
12308 # ifdef __cplusplus
12311 int F77_DUMMY_MAIN() { return 1; }
12317 FILE *f = fopen ("conftest.val", "w");
12320 if (((long) (sizeof (long long))) < 0)
12322 long i = longval ();
12323 if (i != ((long) (sizeof (long long))))
12325 fprintf (f, "%ld\n", i);
12329 unsigned long i = ulongval ();
12330 if (i != ((long) (sizeof (long long))))
12332 fprintf (f, "%lu\n", i);
12334 exit (ferror (f) || fclose (f) != 0);
12340 rm -f conftest$ac_exeext
12341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12342 (eval $ac_link) 2>&5
12344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12345 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12347 (eval $ac_try) 2>&5
12349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12350 (exit $ac_status); }; }; then
12351 ac_cv_sizeof_long_long=`cat conftest.val`
12353 echo "$as_me: program exited with status $ac_status" >&5
12354 echo "$as_me: failed program was:" >&5
12355 cat conftest.$ac_ext >&5
12356 ( exit $ac_status )
12357 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77" >&5
12358 echo "$as_me: error: cannot compute sizeof (long long), 77" >&2;}
12359 { (exit 1); exit 1; }; }
12361 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12366 ac_cv_sizeof_long_long=0
12369 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
12370 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
12371 cat >>confdefs.h <<_ACEOF
12372 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12377 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
12378 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
12379 if test "${wine_cv_linux_input_h+set}" = set; then
12380 echo $ECHO_N "(cached) $ECHO_C" >&6
12382 cat >conftest.$ac_ext <<_ACEOF
12383 #line $LINENO "configure"
12384 #include "confdefs.h"
12386 #include <linux/input.h>
12388 #ifdef F77_DUMMY_MAIN
12389 # ifdef __cplusplus
12392 int F77_DUMMY_MAIN() { return 1; }
12398 int foo = EVIOCGBIT(EV_ABS,42);
12399 int bar = BTN_PINKIE;
12406 rm -f conftest.$ac_objext
12407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12408 (eval $ac_compile) 2>&5
12410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12411 (exit $ac_status); } &&
12412 { ac_try='test -s conftest.$ac_objext'
12413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12414 (eval $ac_try) 2>&5
12416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12417 (exit $ac_status); }; }; then
12418 wine_cv_linux_input_h=yes
12420 echo "$as_me: failed program was:" >&5
12421 cat conftest.$ac_ext >&5
12422 wine_cv_linux_input_h=no
12424 rm -f conftest.$ac_objext conftest.$ac_ext
12427 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
12428 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
12429 if test "$wine_cv_linux_input_h" = "yes"
12432 cat >>confdefs.h <<\_ACEOF
12433 #define HAVE_CORRECT_LINUXINPUT_H 1
12439 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
12440 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
12441 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
12442 echo $ECHO_N "(cached) $ECHO_C" >&6
12444 cat >conftest.$ac_ext <<_ACEOF
12445 #line $LINENO "configure"
12446 #include "confdefs.h"
12450 #ifdef F77_DUMMY_MAIN
12451 # ifdef __cplusplus
12454 int F77_DUMMY_MAIN() { return 1; }
12462 struct hostent *result;
12469 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
12470 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
12476 rm -f conftest.$ac_objext
12477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12478 (eval $ac_compile) 2>&5
12480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12481 (exit $ac_status); } &&
12482 { ac_try='test -s conftest.$ac_objext'
12483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12484 (eval $ac_try) 2>&5
12486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12487 (exit $ac_status); }; }; then
12488 wine_cv_linux_gethostbyname_r_6=yes
12490 echo "$as_me: failed program was:" >&5
12491 cat conftest.$ac_ext >&5
12492 wine_cv_linux_gethostbyname_r_6=no
12495 rm -f conftest.$ac_objext conftest.$ac_ext
12498 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
12499 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
12500 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
12503 cat >>confdefs.h <<\_ACEOF
12504 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
12509 if test "$ac_cv_header_linux_joystick_h" = "yes"
12511 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
12512 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
12513 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
12514 echo $ECHO_N "(cached) $ECHO_C" >&6
12516 cat >conftest.$ac_ext <<_ACEOF
12517 #line $LINENO "configure"
12518 #include "confdefs.h"
12520 #include <sys/ioctl.h>
12521 #include <linux/joystick.h>
12523 struct js_event blub;
12524 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
12525 #error "no 2.2 header"
12528 #ifdef F77_DUMMY_MAIN
12529 # ifdef __cplusplus
12532 int F77_DUMMY_MAIN() { return 1; }
12542 rm -f conftest.$ac_objext
12543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12544 (eval $ac_compile) 2>&5
12546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12547 (exit $ac_status); } &&
12548 { ac_try='test -s conftest.$ac_objext'
12549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12550 (eval $ac_try) 2>&5
12552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12553 (exit $ac_status); }; }; then
12554 wine_cv_linux_joystick_22_api=yes
12556 echo "$as_me: failed program was:" >&5
12557 cat conftest.$ac_ext >&5
12558 wine_cv_linux_joystick_22_api=no
12560 rm -f conftest.$ac_objext conftest.$ac_ext
12563 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
12564 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
12565 if test "$wine_cv_linux_joystick_22_api" = "yes"
12568 cat >>confdefs.h <<\_ACEOF
12569 #define HAVE_LINUX_22_JOYSTICK_API 1
12576 if test "$ac_cv_header_sys_vfs_h" = "yes"
12578 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
12579 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
12580 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
12581 echo $ECHO_N "(cached) $ECHO_C" >&6
12583 cat >conftest.$ac_ext <<_ACEOF
12584 #line $LINENO "configure"
12585 #include "confdefs.h"
12587 #include <sys/types.h>
12588 #ifdef HAVE_SYS_PARAM_H
12589 # include <sys/param.h>
12591 #include <sys/vfs.h>
12593 #ifdef F77_DUMMY_MAIN
12594 # ifdef __cplusplus
12597 int F77_DUMMY_MAIN() { return 1; }
12603 struct statfs stfs;
12605 memset(&stfs,0,sizeof(stfs));
12611 rm -f conftest.$ac_objext
12612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12613 (eval $ac_compile) 2>&5
12615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12616 (exit $ac_status); } &&
12617 { ac_try='test -s conftest.$ac_objext'
12618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12619 (eval $ac_try) 2>&5
12621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12622 (exit $ac_status); }; }; then
12623 wine_cv_sys_vfs_has_statfs=yes
12625 echo "$as_me: failed program was:" >&5
12626 cat conftest.$ac_ext >&5
12627 wine_cv_sys_vfs_has_statfs=no
12630 rm -f conftest.$ac_objext conftest.$ac_ext
12633 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
12634 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
12635 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
12638 cat >>confdefs.h <<\_ACEOF
12639 #define STATFS_DEFINED_BY_SYS_VFS 1
12645 if test "$ac_cv_header_sys_statfs_h" = "yes"
12647 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
12648 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
12649 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
12650 echo $ECHO_N "(cached) $ECHO_C" >&6
12652 cat >conftest.$ac_ext <<_ACEOF
12653 #line $LINENO "configure"
12654 #include "confdefs.h"
12656 #include <sys/types.h>
12657 #ifdef HAVE_SYS_PARAM_H
12658 # include <sys/param.h>
12660 #include <sys/statfs.h>
12662 #ifdef F77_DUMMY_MAIN
12663 # ifdef __cplusplus
12666 int F77_DUMMY_MAIN() { return 1; }
12672 struct statfs stfs;
12678 rm -f conftest.$ac_objext
12679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12680 (eval $ac_compile) 2>&5
12682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12683 (exit $ac_status); } &&
12684 { ac_try='test -s conftest.$ac_objext'
12685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12686 (eval $ac_try) 2>&5
12688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12689 (exit $ac_status); }; }; then
12690 wine_cv_sys_statfs_has_statfs=yes
12692 echo "$as_me: failed program was:" >&5
12693 cat conftest.$ac_ext >&5
12694 wine_cv_sys_statfs_has_statfs=no
12697 rm -f conftest.$ac_objext conftest.$ac_ext
12700 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
12701 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
12702 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
12705 cat >>confdefs.h <<\_ACEOF
12706 #define STATFS_DEFINED_BY_SYS_STATFS 1
12712 if test "$ac_cv_header_sys_mount_h" = "yes"
12714 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
12715 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
12716 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
12717 echo $ECHO_N "(cached) $ECHO_C" >&6
12719 cat >conftest.$ac_ext <<_ACEOF
12720 #line $LINENO "configure"
12721 #include "confdefs.h"
12723 #include <sys/types.h>
12724 #ifdef HAVE_SYS_PARAM_H
12725 # include <sys/param.h>
12727 #include <sys/mount.h>
12729 #ifdef F77_DUMMY_MAIN
12730 # ifdef __cplusplus
12733 int F77_DUMMY_MAIN() { return 1; }
12739 struct statfs stfs;
12745 rm -f conftest.$ac_objext
12746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12747 (eval $ac_compile) 2>&5
12749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12750 (exit $ac_status); } &&
12751 { ac_try='test -s conftest.$ac_objext'
12752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12753 (eval $ac_try) 2>&5
12755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12756 (exit $ac_status); }; }; then
12757 wine_cv_sys_mount_has_statfs=yes
12759 echo "$as_me: failed program was:" >&5
12760 cat conftest.$ac_ext >&5
12761 wine_cv_sys_mount_has_statfs=no
12764 rm -f conftest.$ac_objext conftest.$ac_ext
12767 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
12768 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
12769 if test "$wine_cv_sys_mount_has_statfs" = "yes"
12772 cat >>confdefs.h <<\_ACEOF
12773 #define STATFS_DEFINED_BY_SYS_MOUNT 1
12780 echo "$as_me:$LINENO: checking for f_bfree in struct statfs" >&5
12781 echo $ECHO_N "checking for f_bfree in struct statfs... $ECHO_C" >&6
12782 if test "${ac_cv_c_statfs_f_bfree+set}" = set; then
12783 echo $ECHO_N "(cached) $ECHO_C" >&6
12785 cat >conftest.$ac_ext <<_ACEOF
12786 #line $LINENO "configure"
12787 #include "confdefs.h"
12788 #include <sys/types.h>
12789 #ifdef HAVE_SYS_PARAM_H
12790 # include <sys/param.h>
12792 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
12793 # include <sys/mount.h>
12795 # ifdef STATFS_DEFINED_BY_SYS_VFS
12796 # include <sys/vfs.h>
12798 # ifdef STATFS_DEFINED_BY_SYS_STATFS
12799 # include <sys/statfs.h>
12803 #ifdef F77_DUMMY_MAIN
12804 # ifdef __cplusplus
12807 int F77_DUMMY_MAIN() { return 1; }
12812 struct statfs s; s.f_bfree = 0
12817 rm -f conftest.$ac_objext
12818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12819 (eval $ac_compile) 2>&5
12821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12822 (exit $ac_status); } &&
12823 { ac_try='test -s conftest.$ac_objext'
12824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12825 (eval $ac_try) 2>&5
12827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12828 (exit $ac_status); }; }; then
12829 ac_cv_c_statfs_f_bfree="yes"
12831 echo "$as_me: failed program was:" >&5
12832 cat conftest.$ac_ext >&5
12833 ac_cv_c_statfs_f_bfree="no"
12835 rm -f conftest.$ac_objext conftest.$ac_ext
12837 echo "$as_me:$LINENO: result: $ac_cv_c_statfs_f_bfree" >&5
12838 echo "${ECHO_T}$ac_cv_c_statfs_f_bfree" >&6
12839 if test "x$ac_cv_c_statfs_f_bfree" = "xyes"; then
12841 cat >>confdefs.h <<\_ACEOF
12842 #define STATFS_HAS_BFREE 1
12849 echo "$as_me:$LINENO: checking for f_bavail in struct statfs" >&5
12850 echo $ECHO_N "checking for f_bavail in struct statfs... $ECHO_C" >&6
12851 if test "${ac_cv_c_statfs_f_bavail+set}" = set; then
12852 echo $ECHO_N "(cached) $ECHO_C" >&6
12854 cat >conftest.$ac_ext <<_ACEOF
12855 #line $LINENO "configure"
12856 #include "confdefs.h"
12857 #include <sys/types.h>
12858 #ifdef HAVE_SYS_PARAM_H
12859 # include <sys/param.h>
12861 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
12862 # include <sys/mount.h>
12864 # ifdef STATFS_DEFINED_BY_SYS_VFS
12865 # include <sys/vfs.h>
12867 # ifdef STATFS_DEFINED_BY_SYS_STATFS
12868 # include <sys/statfs.h>
12872 #ifdef F77_DUMMY_MAIN
12873 # ifdef __cplusplus
12876 int F77_DUMMY_MAIN() { return 1; }
12881 struct statfs s; s.f_bavail = 0
12886 rm -f conftest.$ac_objext
12887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12888 (eval $ac_compile) 2>&5
12890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12891 (exit $ac_status); } &&
12892 { ac_try='test -s conftest.$ac_objext'
12893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12894 (eval $ac_try) 2>&5
12896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12897 (exit $ac_status); }; }; then
12898 ac_cv_c_statfs_f_bavail="yes"
12900 echo "$as_me: failed program was:" >&5
12901 cat conftest.$ac_ext >&5
12902 ac_cv_c_statfs_f_bavail="no"
12904 rm -f conftest.$ac_objext conftest.$ac_ext
12906 echo "$as_me:$LINENO: result: $ac_cv_c_statfs_f_bavail" >&5
12907 echo "${ECHO_T}$ac_cv_c_statfs_f_bavail" >&6
12908 if test "x$ac_cv_c_statfs_f_bavail" = "xyes"; then
12910 cat >>confdefs.h <<\_ACEOF
12911 #define STATFS_HAS_BAVAIL 1
12918 echo "$as_me:$LINENO: checking for msg_accrights in struct msghdr" >&5
12919 echo $ECHO_N "checking for msg_accrights in struct msghdr... $ECHO_C" >&6
12920 if test "${ac_cv_c_msghdr_msg_accrights+set}" = set; then
12921 echo $ECHO_N "(cached) $ECHO_C" >&6
12923 cat >conftest.$ac_ext <<_ACEOF
12924 #line $LINENO "configure"
12925 #include "confdefs.h"
12926 #include <sys/types.h>
12927 #include <sys/socket.h>
12928 #ifdef F77_DUMMY_MAIN
12929 # ifdef __cplusplus
12932 int F77_DUMMY_MAIN() { return 1; }
12937 struct msghdr s; s.msg_accrights = 0
12942 rm -f conftest.$ac_objext
12943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12944 (eval $ac_compile) 2>&5
12946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12947 (exit $ac_status); } &&
12948 { ac_try='test -s conftest.$ac_objext'
12949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12950 (eval $ac_try) 2>&5
12952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12953 (exit $ac_status); }; }; then
12954 ac_cv_c_msghdr_msg_accrights="yes"
12956 echo "$as_me: failed program was:" >&5
12957 cat conftest.$ac_ext >&5
12958 ac_cv_c_msghdr_msg_accrights="no"
12960 rm -f conftest.$ac_objext conftest.$ac_ext
12962 echo "$as_me:$LINENO: result: $ac_cv_c_msghdr_msg_accrights" >&5
12963 echo "${ECHO_T}$ac_cv_c_msghdr_msg_accrights" >&6
12964 if test "x$ac_cv_c_msghdr_msg_accrights" = "xyes"; then
12966 cat >>confdefs.h <<\_ACEOF
12967 #define HAVE_MSGHDR_ACCRIGHTS 1
12974 echo "$as_me:$LINENO: checking for sa_len in struct sockaddr" >&5
12975 echo $ECHO_N "checking for sa_len in struct sockaddr... $ECHO_C" >&6
12976 if test "${ac_cv_c_sockaddr_sa_len+set}" = set; then
12977 echo $ECHO_N "(cached) $ECHO_C" >&6
12979 cat >conftest.$ac_ext <<_ACEOF
12980 #line $LINENO "configure"
12981 #include "confdefs.h"
12982 #include <sys/types.h>
12983 #include <sys/socket.h>
12984 #ifdef F77_DUMMY_MAIN
12985 # ifdef __cplusplus
12988 int F77_DUMMY_MAIN() { return 1; }
12993 struct sockaddr s; s.sa_len = 0
12998 rm -f conftest.$ac_objext
12999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13000 (eval $ac_compile) 2>&5
13002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13003 (exit $ac_status); } &&
13004 { ac_try='test -s conftest.$ac_objext'
13005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13006 (eval $ac_try) 2>&5
13008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13009 (exit $ac_status); }; }; then
13010 ac_cv_c_sockaddr_sa_len="yes"
13012 echo "$as_me: failed program was:" >&5
13013 cat conftest.$ac_ext >&5
13014 ac_cv_c_sockaddr_sa_len="no"
13016 rm -f conftest.$ac_objext conftest.$ac_ext
13018 echo "$as_me:$LINENO: result: $ac_cv_c_sockaddr_sa_len" >&5
13019 echo "${ECHO_T}$ac_cv_c_sockaddr_sa_len" >&6
13020 if test "x$ac_cv_c_sockaddr_sa_len" = "xyes"; then
13022 cat >>confdefs.h <<\_ACEOF
13023 #define HAVE_SOCKADDR_SA_LEN 1
13030 echo "$as_me:$LINENO: checking for sun_len in struct sockaddr_un" >&5
13031 echo $ECHO_N "checking for sun_len in struct sockaddr_un... $ECHO_C" >&6
13032 if test "${ac_cv_c_sockaddr_un_sun_len+set}" = set; then
13033 echo $ECHO_N "(cached) $ECHO_C" >&6
13035 cat >conftest.$ac_ext <<_ACEOF
13036 #line $LINENO "configure"
13037 #include "confdefs.h"
13038 #include <sys/types.h>
13039 #include <sys/socket.h>
13040 #include <sys/un.h>
13041 #ifdef F77_DUMMY_MAIN
13042 # ifdef __cplusplus
13045 int F77_DUMMY_MAIN() { return 1; }
13050 struct sockaddr_un s; s.sun_len = 0
13055 rm -f conftest.$ac_objext
13056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13057 (eval $ac_compile) 2>&5
13059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13060 (exit $ac_status); } &&
13061 { ac_try='test -s conftest.$ac_objext'
13062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13063 (eval $ac_try) 2>&5
13065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13066 (exit $ac_status); }; }; then
13067 ac_cv_c_sockaddr_un_sun_len="yes"
13069 echo "$as_me: failed program was:" >&5
13070 cat conftest.$ac_ext >&5
13071 ac_cv_c_sockaddr_un_sun_len="no"
13073 rm -f conftest.$ac_objext conftest.$ac_ext
13075 echo "$as_me:$LINENO: result: $ac_cv_c_sockaddr_un_sun_len" >&5
13076 echo "${ECHO_T}$ac_cv_c_sockaddr_un_sun_len" >&6
13077 if test "x$ac_cv_c_sockaddr_un_sun_len" = "xyes"; then
13079 cat >>confdefs.h <<\_ACEOF
13080 #define HAVE_SOCKADDR_SUN_LEN 1
13090 echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
13091 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
13092 if test "${ac_cv_cpp_def_i386+set}" = set; then
13093 echo $ECHO_N "(cached) $ECHO_C" >&6
13095 cat >conftest.$ac_ext <<_ACEOF
13096 #line $LINENO "configure"
13097 #include "confdefs.h"
13102 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13103 egrep "yes" >/dev/null 2>&1; then
13104 ac_cv_cpp_def_i386="yes"
13106 ac_cv_cpp_def_i386="no"
13111 echo "$as_me:$LINENO: result: $ac_cv_cpp_def_i386" >&5
13112 echo "${ECHO_T}$ac_cv_cpp_def_i386" >&6
13115 if test "$ac_cv_cpp_def_i386" = "yes"
13117 CFLAGS="$CFLAGS -D__i386__"
13118 LINTFLAGS="$LINTFLAGS -D__i386__"
13125 ac_config_commands="$ac_config_commands controls"
13127 ac_config_commands="$ac_config_commands dlls/ddraw/d3ddevice"
13129 ac_config_commands="$ac_config_commands dlls/ddraw/dclipper"
13131 ac_config_commands="$ac_config_commands dlls/ddraw/ddraw"
13133 ac_config_commands="$ac_config_commands dlls/ddraw/direct3d"
13135 ac_config_commands="$ac_config_commands dlls/ddraw/dpalette"
13137 ac_config_commands="$ac_config_commands dlls/ddraw/dsurface"
13139 ac_config_commands="$ac_config_commands dlls/dinput/joystick"
13141 ac_config_commands="$ac_config_commands dlls/dinput/keyboard"
13143 ac_config_commands="$ac_config_commands dlls/dinput/mouse"
13145 ac_config_commands="$ac_config_commands dlls/gdi/enhmfdrv"
13147 ac_config_commands="$ac_config_commands dlls/gdi/mfdrv"
13149 ac_config_commands="$ac_config_commands dlls/gdi/win16drv"
13151 ac_config_commands="$ac_config_commands dlls/kernel/messages"
13153 ac_config_commands="$ac_config_commands dlls/kernel/tests"
13155 ac_config_commands="$ac_config_commands dlls/oleaut32/tests"
13157 ac_config_commands="$ac_config_commands dlls/shlwapi/tests"
13159 ac_config_commands="$ac_config_commands dlls/user/dde"
13161 ac_config_commands="$ac_config_commands dlls/user/resources"
13163 ac_config_commands="$ac_config_commands dlls/user/tests"
13165 ac_config_commands="$ac_config_commands dlls/wineps/data"
13167 ac_config_commands="$ac_config_commands dlls/winsock/tests"
13169 ac_config_commands="$ac_config_commands files"
13171 ac_config_commands="$ac_config_commands graphics"
13173 ac_config_commands="$ac_config_commands graphics/x11drv"
13175 ac_config_commands="$ac_config_commands if1632"
13177 ac_config_commands="$ac_config_commands include/wine"
13179 ac_config_commands="$ac_config_commands loader"
13181 ac_config_commands="$ac_config_commands loader/ne"
13183 ac_config_commands="$ac_config_commands memory"
13185 ac_config_commands="$ac_config_commands misc"
13187 ac_config_commands="$ac_config_commands msdos"
13189 ac_config_commands="$ac_config_commands objects"
13191 ac_config_commands="$ac_config_commands programs/regapi/tests"
13193 ac_config_commands="$ac_config_commands programs/winetest/tests"
13195 ac_config_commands="$ac_config_commands relay32"
13197 ac_config_commands="$ac_config_commands scheduler"
13199 ac_config_commands="$ac_config_commands win32"
13201 ac_config_commands="$ac_config_commands windows"
13204 MAKE_RULES=Make.rules
13207 MAKE_DLL_RULES=dlls/Makedll.rules
13210 MAKE_PROG_RULES=programs/Makeprog.rules
13213 ac_config_files="$ac_config_files Make.rules dlls/Makedll.rules programs/Makeprog.rules Makefile debugger/Makefile dlls/Makefile dlls/advapi32/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/comcat/Makefile dlls/comctl32/Makefile dlls/commdlg/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dsound/Makefile dlls/gdi/Makefile dlls/glu32/Makefile dlls/icmp/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/kernel/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/msdmo/Makefile dlls/msimg32/Makefile dlls/msisys/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt20/Makefile dlls/msvideo/Makefile dlls/netapi32/Makefile dlls/ntdll/Makefile dlls/odbc32/Makefile dlls/ole32/Makefile dlls/oleaut32/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/serialui/Makefile dlls/setupapi/Makefile dlls/shdocvw/Makefile dlls/shell32/Makefile dlls/shfolder/Makefile dlls/shlwapi/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/version/Makefile dlls/win32s/Makefile dlls/winaspi/Makefile dlls/winedos/Makefile dlls/wineps/Makefile dlls/wininet/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/winearts/Makefile dlls/winmm/wineoss/Makefile dlls/winnls/Makefile dlls/winsock/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/winemine/Makefile programs/winepath/Makefile programs/winetest/Makefile programs/winhelp/Makefile programs/winver/Makefile server/Makefile tools/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/wmc/Makefile tools/wrc/Makefile tsx11/Makefile unicode/Makefile"
13216 cat >confcache <<\_ACEOF
13217 # This file is a shell script that caches the results of configure
13218 # tests run on this system so they can be shared between configure
13219 # scripts and configure runs, see configure's option --config-cache.
13220 # It is not useful on other systems. If it contains results you don't
13221 # want to keep, you may remove or edit it.
13223 # config.status only pays attention to the cache file if you give it
13224 # the --recheck option to rerun configure.
13226 # `ac_cv_env_foo' variables (set or unset) will be overriden when
13227 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13228 # following values.
13232 # The following way of writing the cache mishandles newlines in values,
13233 # but we know of no workaround that is simple, portable, and efficient.
13234 # So, don't put newlines in cache variables' values.
13235 # Ultrix sh set writes to stderr and can't be redirected directly,
13236 # and sets the high bit in the cache file unless we assign to the vars.
13239 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13241 # `set' does not quote correctly, so add quotes (double-quote
13242 # substitution turns \\\\ into \\, and sed turns \\ into \).
13245 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13248 # `set' quotes correctly as required by POSIX, so do not add quotes.
13250 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
13257 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13259 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13261 if cmp -s $cache_file confcache; then :; else
13262 if test -w $cache_file; then
13263 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
13264 cat confcache >$cache_file
13266 echo "not updating unwritable cache $cache_file"
13271 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13272 # Let make expand exec_prefix.
13273 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13275 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13276 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13277 # trailing colons and then remove the whole line if VPATH becomes empty
13278 # (actually we leave an empty line to preserve line numbers).
13279 if test "x$srcdir" = x.; then
13280 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13281 s/:*\$(srcdir):*/:/;
13282 s/:*\${srcdir}:*/:/;
13284 s/^\([^=]*=[ ]*\):*/\1/;
13290 DEFS=-DHAVE_CONFIG_H
13293 : ${CONFIG_STATUS=./config.status}
13294 ac_clean_files_save=$ac_clean_files
13295 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13296 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13297 echo "$as_me: creating $CONFIG_STATUS" >&6;}
13298 cat >$CONFIG_STATUS <<_ACEOF
13300 # Generated by $as_me.
13301 # Run this file to recreate the current configuration.
13302 # Compiler output produced by configure, useful for debugging
13303 # configure, is in config.log if it exists.
13306 SHELL=\${CONFIG_SHELL-$SHELL}
13309 cat >>$CONFIG_STATUS <<\_ACEOF
13311 ## --------------------- ##
13312 ## M4sh Initialization. ##
13313 ## --------------------- ##
13315 # Be Bourne compatible
13316 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
13319 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
13324 # Support unset when possible.
13325 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
13331 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
13332 { $as_unset LANG || test "${LANG+set}" != set; } ||
13333 { LANG=C; export LANG; }
13334 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
13335 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
13336 { LC_ALL=C; export LC_ALL; }
13337 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
13338 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
13339 { LC_TIME=C; export LC_TIME; }
13340 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
13341 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
13342 { LC_CTYPE=C; export LC_CTYPE; }
13343 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
13344 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
13345 { LANGUAGE=C; export LANGUAGE; }
13346 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
13347 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
13348 { LC_COLLATE=C; export LC_COLLATE; }
13349 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
13350 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
13351 { LC_NUMERIC=C; export LC_NUMERIC; }
13352 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
13353 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
13354 { LC_MESSAGES=C; export LC_MESSAGES; }
13357 # Name of the executable.
13358 as_me=`(basename "$0") 2>/dev/null ||
13359 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13360 X"$0" : 'X\(//\)$' \| \
13361 X"$0" : 'X\(/\)$' \| \
13362 . : '\(.\)' 2>/dev/null ||
13364 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
13365 /^X\/\(\/\/\)$/{ s//\1/; q; }
13366 /^X\/\(\/\).*/{ s//\1/; q; }
13369 # PATH needs CR, and LINENO needs CR and PATH.
13370 # Avoid depending upon Character Ranges.
13371 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13372 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13373 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13374 as_cr_digits='0123456789'
13375 as_cr_alnum=$as_cr_Letters$as_cr_digits
13377 # The user is always right.
13378 if test "${PATH_SEPARATOR+set}" != set; then
13379 echo "#! /bin/sh" >conftest.sh
13380 echo "exit 0" >>conftest.sh
13381 chmod +x conftest.sh
13382 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
13391 as_lineno_1=$LINENO
13392 as_lineno_2=$LINENO
13393 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
13394 test "x$as_lineno_1" != "x$as_lineno_2" &&
13395 test "x$as_lineno_3" = "x$as_lineno_2" || {
13396 # Find who we are. Look in the path if we contain no path at all
13399 *[\\/]* ) as_myself=$0 ;;
13400 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13401 for as_dir in $PATH
13404 test -z "$as_dir" && as_dir=.
13405 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13410 # We did not find ourselves, most probably we were run as `sh COMMAND'
13411 # in which case we are not to be found in the path.
13412 if test "x$as_myself" = x; then
13415 if test ! -f "$as_myself"; then
13416 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
13417 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
13418 { (exit 1); exit 1; }; }
13420 case $CONFIG_SHELL in
13422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13423 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
13426 test -z "$as_dir" && as_dir=.
13427 for as_base in sh bash ksh sh5; do
13430 if ("$as_dir/$as_base" -c '
13431 as_lineno_1=$LINENO
13432 as_lineno_2=$LINENO
13433 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
13434 test "x$as_lineno_1" != "x$as_lineno_2" &&
13435 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
13436 CONFIG_SHELL=$as_dir/$as_base
13437 export CONFIG_SHELL
13438 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
13446 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13447 # uniformly replaced by the line number. The first 'sed' inserts a
13448 # line-number line before each line; the second 'sed' does the real
13449 # work. The second script uses 'N' to pair each line-number line
13450 # with the numbered line, and appends trailing '-' during
13451 # substitution so that $LINENO is not a special case at line end.
13452 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13453 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
13454 sed '=' <$as_myself |
13459 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
13462 s,^['$as_cr_digits']*\n,,
13463 ' >$as_me.lineno &&
13464 chmod +x $as_me.lineno ||
13465 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
13466 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
13467 { (exit 1); exit 1; }; }
13469 # Don't try to exec as it changes $[0], causing all sort of problems
13470 # (the dirname of $[0] is not the place where we might find the
13471 # original and so on. Autoconf is especially sensible to this).
13473 # Exit status is that of the last command.
13478 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
13479 *c*,-n*) ECHO_N= ECHO_C='
13481 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
13482 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
13485 if expr a : '\(a\)' >/dev/null 2>&1; then
13491 rm -f conf$$ conf$$.exe conf$$.file
13493 if ln -s conf$$.file conf$$ 2>/dev/null; then
13494 # We could just check for DJGPP; but this test a) works b) is more generic
13495 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
13496 if test -f conf$$.exe; then
13497 # Don't use ln at all; we don't have any links
13502 elif ln conf$$.file conf$$ 2>/dev/null; then
13507 rm -f conf$$ conf$$.exe conf$$.file
13509 as_executable_p="test -f"
13511 # Sed expression to map a string onto a valid CPP name.
13512 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
13514 # Sed expression to map a string onto a valid variable name.
13515 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
13519 # We need space, tab and new line, in precisely that order.
13525 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
13529 # Open the log real soon, to keep \$[0] and so on meaningful, and to
13530 # report actual input values of CONFIG_FILES etc. instead of their
13531 # values after options handling. Logging --version etc. is OK.
13535 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13536 ## Running $as_me. ##
13541 This file was extended by Wine $as_me 20020509, which was
13542 generated by GNU Autoconf 2.53. Invocation command line was
13544 CONFIG_FILES = $CONFIG_FILES
13545 CONFIG_HEADERS = $CONFIG_HEADERS
13546 CONFIG_LINKS = $CONFIG_LINKS
13547 CONFIG_COMMANDS = $CONFIG_COMMANDS
13551 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
13555 # Files that config.status was made for.
13556 if test -n "$ac_config_files"; then
13557 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
13560 if test -n "$ac_config_headers"; then
13561 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
13564 if test -n "$ac_config_links"; then
13565 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
13568 if test -n "$ac_config_commands"; then
13569 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
13572 cat >>$CONFIG_STATUS <<\_ACEOF
13575 \`$as_me' instantiates files from templates according to the
13576 current configuration.
13578 Usage: $0 [OPTIONS] [FILE]...
13580 -h, --help print this help, then exit
13581 -V, --version print version number, then exit
13582 -d, --debug don't remove temporary files
13583 --recheck update $as_me by reconfiguring in the same conditions
13584 --file=FILE[:TEMPLATE]
13585 instantiate the configuration file FILE
13586 --header=FILE[:TEMPLATE]
13587 instantiate the configuration header FILE
13589 Configuration files:
13592 Configuration headers:
13595 Configuration commands:
13598 Report bugs to <bug-autoconf@gnu.org>."
13601 cat >>$CONFIG_STATUS <<_ACEOF
13603 Wine config.status 20020509
13604 configured by $0, generated by GNU Autoconf 2.53,
13605 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
13607 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
13608 Free Software Foundation, Inc.
13609 This config.status script is free software; the Free Software Foundation
13610 gives unlimited permission to copy, distribute and modify it."
13615 cat >>$CONFIG_STATUS <<\_ACEOF
13616 # If no file are specified by the user, then we need to provide default
13617 # value. By we need to know if files were specified by the user.
13623 ac_option=`expr "x$1" : 'x\([^=]*\)='`
13624 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
13626 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
13630 *) # This is not an option, so the user has probably given explicit
13632 ac_need_defaults=false;;
13636 # Handling of the options.
13638 cat >>$CONFIG_STATUS <<_ACEOF
13639 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13640 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
13641 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
13643 cat >>$CONFIG_STATUS <<\_ACEOF
13644 --version | --vers* | -V )
13645 echo "$ac_cs_version"; exit 0 ;;
13647 # Conflict between --help and --header
13648 { { echo "$as_me:$LINENO: error: ambiguous option: $1
13649 Try \`$0 --help' for more information." >&5
13650 echo "$as_me: error: ambiguous option: $1
13651 Try \`$0 --help' for more information." >&2;}
13652 { (exit 1); exit 1; }; };;
13653 --help | --hel | -h )
13654 echo "$ac_cs_usage"; exit 0 ;;
13655 --debug | --d* | -d )
13657 --file | --fil | --fi | --f )
13659 CONFIG_FILES="$CONFIG_FILES $1"
13660 ac_need_defaults=false;;
13661 --header | --heade | --head | --hea )
13663 CONFIG_HEADERS="$CONFIG_HEADERS $1"
13664 ac_need_defaults=false;;
13666 # This is an error.
13667 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
13668 Try \`$0 --help' for more information." >&5
13669 echo "$as_me: error: unrecognized option: $1
13670 Try \`$0 --help' for more information." >&2;}
13671 { (exit 1); exit 1; }; } ;;
13673 *) ac_config_targets="$ac_config_targets $1" ;;
13685 cat >>$CONFIG_STATUS <<\_ACEOF
13686 for ac_config_target in $ac_config_targets
13688 case "$ac_config_target" in
13689 # Handling of arguments.
13690 "Make.rules" ) CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
13691 "dlls/Makedll.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
13692 "programs/Makeprog.rules" ) CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
13693 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13694 "debugger/Makefile" ) CONFIG_FILES="$CONFIG_FILES debugger/Makefile" ;;
13695 "dlls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
13696 "dlls/advapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
13697 "dlls/avicap32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
13698 "dlls/avifil32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
13699 "dlls/comcat/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
13700 "dlls/comctl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
13701 "dlls/commdlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/commdlg/Makefile" ;;
13702 "dlls/crtdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
13703 "dlls/crypt32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
13704 "dlls/dciman32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
13705 "dlls/ddraw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
13706 "dlls/devenum/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
13707 "dlls/dinput/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
13708 "dlls/dplay/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
13709 "dlls/dplayx/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
13710 "dlls/dsound/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
13711 "dlls/gdi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/Makefile" ;;
13712 "dlls/glu32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
13713 "dlls/icmp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
13714 "dlls/imagehlp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
13715 "dlls/imm32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
13716 "dlls/kernel/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/Makefile" ;;
13717 "dlls/lzexpand/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
13718 "dlls/mapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
13719 "dlls/mpr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
13720 "dlls/msacm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/Makefile" ;;
13721 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
13722 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
13723 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
13724 "dlls/msdmo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
13725 "dlls/msimg32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
13726 "dlls/msisys/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msisys/Makefile" ;;
13727 "dlls/msnet32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
13728 "dlls/msrle32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
13729 "dlls/msvcrt/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
13730 "dlls/msvcrt20/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
13731 "dlls/msvideo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvideo/Makefile" ;;
13732 "dlls/netapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
13733 "dlls/ntdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
13734 "dlls/odbc32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
13735 "dlls/ole32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
13736 "dlls/oleaut32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
13737 "dlls/olecli/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olecli/Makefile" ;;
13738 "dlls/oledlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
13739 "dlls/olepro32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
13740 "dlls/olesvr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olesvr/Makefile" ;;
13741 "dlls/opengl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
13742 "dlls/psapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
13743 "dlls/qcap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
13744 "dlls/quartz/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
13745 "dlls/rasapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
13746 "dlls/richedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/richedit/Makefile" ;;
13747 "dlls/rpcrt4/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
13748 "dlls/serialui/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
13749 "dlls/setupapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
13750 "dlls/shdocvw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
13751 "dlls/shell32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
13752 "dlls/shfolder/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
13753 "dlls/shlwapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
13754 "dlls/snmpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
13755 "dlls/sti/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
13756 "dlls/tapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
13757 "dlls/ttydrv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
13758 "dlls/twain/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/twain/Makefile" ;;
13759 "dlls/url/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
13760 "dlls/urlmon/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
13761 "dlls/user/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/Makefile" ;;
13762 "dlls/version/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
13763 "dlls/win32s/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/win32s/Makefile" ;;
13764 "dlls/winaspi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winaspi/Makefile" ;;
13765 "dlls/winedos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
13766 "dlls/wineps/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wineps/Makefile" ;;
13767 "dlls/wininet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
13768 "dlls/winmm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
13769 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
13770 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
13771 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
13772 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
13773 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
13774 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
13775 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
13776 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
13777 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
13778 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
13779 "dlls/winnls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winnls/Makefile" ;;
13780 "dlls/winsock/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/Makefile" ;;
13781 "dlls/winspool/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/Makefile" ;;
13782 "dlls/wintrust/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
13783 "dlls/wow32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
13784 "dlls/wsock32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
13785 "dlls/x11drv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/x11drv/Makefile" ;;
13786 "documentation/Makefile" ) CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
13787 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
13788 "library/Makefile" ) CONFIG_FILES="$CONFIG_FILES library/Makefile" ;;
13789 "miscemu/Makefile" ) CONFIG_FILES="$CONFIG_FILES miscemu/Makefile" ;;
13790 "ole/Makefile" ) CONFIG_FILES="$CONFIG_FILES ole/Makefile" ;;
13791 "programs/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
13792 "programs/avitools/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/avitools/Makefile" ;;
13793 "programs/clock/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
13794 "programs/cmdlgtst/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
13795 "programs/control/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
13796 "programs/expand/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
13797 "programs/notepad/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
13798 "programs/osversioncheck/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/osversioncheck/Makefile" ;;
13799 "programs/progman/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
13800 "programs/regapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regapi/Makefile" ;;
13801 "programs/regedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
13802 "programs/regsvr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
13803 "programs/regtest/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regtest/Makefile" ;;
13804 "programs/uninstaller/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
13805 "programs/view/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
13806 "programs/wcmd/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wcmd/Makefile" ;;
13807 "programs/wineconsole/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
13808 "programs/winemine/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
13809 "programs/winepath/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
13810 "programs/winetest/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
13811 "programs/winhelp/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
13812 "programs/winver/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
13813 "server/Makefile" ) CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
13814 "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
13815 "tools/winapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winapi/Makefile" ;;
13816 "tools/winebuild/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
13817 "tools/winedump/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
13818 "tools/wmc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
13819 "tools/wrc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
13820 "tsx11/Makefile" ) CONFIG_FILES="$CONFIG_FILES tsx11/Makefile" ;;
13821 "unicode/Makefile" ) CONFIG_FILES="$CONFIG_FILES unicode/Makefile" ;;
13822 "controls" ) CONFIG_COMMANDS="$CONFIG_COMMANDS controls" ;;
13823 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
13824 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
13825 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
13826 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
13827 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
13828 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
13829 "dlls/dinput/joystick" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/dinput/joystick" ;;
13830 "dlls/dinput/keyboard" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/dinput/keyboard" ;;
13831 "dlls/dinput/mouse" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/dinput/mouse" ;;
13832 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
13833 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
13834 "dlls/gdi/win16drv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/win16drv" ;;
13835 "dlls/kernel/messages" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel/messages" ;;
13836 "dlls/kernel/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel/tests" ;;
13837 "dlls/oleaut32/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/oleaut32/tests" ;;
13838 "dlls/shlwapi/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/shlwapi/tests" ;;
13839 "dlls/user/dde" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/dde" ;;
13840 "dlls/user/resources" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/resources" ;;
13841 "dlls/user/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/tests" ;;
13842 "dlls/wineps/data" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps/data" ;;
13843 "dlls/winsock/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/winsock/tests" ;;
13844 "files" ) CONFIG_COMMANDS="$CONFIG_COMMANDS files" ;;
13845 "graphics" ) CONFIG_COMMANDS="$CONFIG_COMMANDS graphics" ;;
13846 "graphics/x11drv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS graphics/x11drv" ;;
13847 "if1632" ) CONFIG_COMMANDS="$CONFIG_COMMANDS if1632" ;;
13848 "include/wine" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
13849 "loader" ) CONFIG_COMMANDS="$CONFIG_COMMANDS loader" ;;
13850 "loader/ne" ) CONFIG_COMMANDS="$CONFIG_COMMANDS loader/ne" ;;
13851 "memory" ) CONFIG_COMMANDS="$CONFIG_COMMANDS memory" ;;
13852 "misc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS misc" ;;
13853 "msdos" ) CONFIG_COMMANDS="$CONFIG_COMMANDS msdos" ;;
13854 "objects" ) CONFIG_COMMANDS="$CONFIG_COMMANDS objects" ;;
13855 "programs/regapi/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS programs/regapi/tests" ;;
13856 "programs/winetest/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS programs/winetest/tests" ;;
13857 "relay32" ) CONFIG_COMMANDS="$CONFIG_COMMANDS relay32" ;;
13858 "scheduler" ) CONFIG_COMMANDS="$CONFIG_COMMANDS scheduler" ;;
13859 "win32" ) CONFIG_COMMANDS="$CONFIG_COMMANDS win32" ;;
13860 "windows" ) CONFIG_COMMANDS="$CONFIG_COMMANDS windows" ;;
13861 "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
13862 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13863 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13864 { (exit 1); exit 1; }; };;
13868 # If the user did not use the arguments to specify the items to instantiate,
13869 # then the envvar interface is used. Set only those that are not.
13870 # We use the long form for the default assignment because of an extremely
13871 # bizarre bug on SunOS 4.1.3.
13872 if $ac_need_defaults; then
13873 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13874 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13875 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13878 # Create a temporary directory, and hook for its removal unless debugging.
13881 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
13882 trap '{ (exit 1); exit 1; }' 1 2 13 15
13885 # Create a (secure) tmp directory for tmp files.
13888 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
13889 test -n "$tmp" && test -d "$tmp"
13892 tmp=$TMPDIR/cs$$-$RANDOM
13893 (umask 077 && mkdir $tmp)
13896 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
13897 { (exit 1); exit 1; }
13902 cat >>$CONFIG_STATUS <<_ACEOF
13905 # CONFIG_FILES section.
13908 # No need to generate the scripts if there are no CONFIG_FILES.
13909 # This happens for instance when ./config.status config.h
13910 if test -n "\$CONFIG_FILES"; then
13911 # Protect against being on the right side of a sed subst in config.status.
13912 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
13913 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
13914 s,@SHELL@,$SHELL,;t t
13915 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
13916 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
13917 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
13918 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
13919 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
13920 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
13921 s,@exec_prefix@,$exec_prefix,;t t
13922 s,@prefix@,$prefix,;t t
13923 s,@program_transform_name@,$program_transform_name,;t t
13924 s,@bindir@,$bindir,;t t
13925 s,@sbindir@,$sbindir,;t t
13926 s,@libexecdir@,$libexecdir,;t t
13927 s,@datadir@,$datadir,;t t
13928 s,@sysconfdir@,$sysconfdir,;t t
13929 s,@sharedstatedir@,$sharedstatedir,;t t
13930 s,@localstatedir@,$localstatedir,;t t
13931 s,@libdir@,$libdir,;t t
13932 s,@includedir@,$includedir,;t t
13933 s,@oldincludedir@,$oldincludedir,;t t
13934 s,@infodir@,$infodir,;t t
13935 s,@mandir@,$mandir,;t t
13936 s,@build_alias@,$build_alias,;t t
13937 s,@host_alias@,$host_alias,;t t
13938 s,@target_alias@,$target_alias,;t t
13939 s,@DEFS@,$DEFS,;t t
13940 s,@ECHO_C@,$ECHO_C,;t t
13941 s,@ECHO_N@,$ECHO_N,;t t
13942 s,@ECHO_T@,$ECHO_T,;t t
13943 s,@LIBS@,$LIBS,;t t
13944 s,@OPTIONS@,$OPTIONS,;t t
13945 s,@build@,$build,;t t
13946 s,@build_cpu@,$build_cpu,;t t
13947 s,@build_vendor@,$build_vendor,;t t
13948 s,@build_os@,$build_os,;t t
13949 s,@host@,$host,;t t
13950 s,@host_cpu@,$host_cpu,;t t
13951 s,@host_vendor@,$host_vendor,;t t
13952 s,@host_os@,$host_os,;t t
13953 s,@SET_MAKE@,$SET_MAKE,;t t
13955 s,@CFLAGS@,$CFLAGS,;t t
13956 s,@LDFLAGS@,$LDFLAGS,;t t
13957 s,@CPPFLAGS@,$CPPFLAGS,;t t
13958 s,@ac_ct_CC@,$ac_ct_CC,;t t
13959 s,@EXEEXT@,$EXEEXT,;t t
13960 s,@OBJEXT@,$OBJEXT,;t t
13962 s,@TOOLSDIR@,$TOOLSDIR,;t t
13963 s,@X_CFLAGS@,$X_CFLAGS,;t t
13964 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
13965 s,@X_LIBS@,$X_LIBS,;t t
13966 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
13967 s,@YACC@,$YACC,;t t
13969 s,@LEXLIB@,$LEXLIB,;t t
13970 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
13971 s,@XYACC@,$XYACC,;t t
13972 s,@XLEX@,$XLEX,;t t
13974 s,@ac_ct_AR@,$ac_ct_AR,;t t
13975 s,@RANLIB@,$RANLIB,;t t
13976 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
13977 s,@STRIP@,$STRIP,;t t
13978 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
13979 s,@WINDRES@,$WINDRES,;t t
13980 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
13981 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13982 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13983 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13984 s,@LN_S@,$LN_S,;t t
13986 s,@C2MAN@,$C2MAN,;t t
13987 s,@LDCONFIG@,$LDCONFIG,;t t
13988 s,@LDCOMBINE@,$LDCOMBINE,;t t
13989 s,@ac_ct_LDCOMBINE@,$ac_ct_LDCOMBINE,;t t
13990 s,@LINT@,$LINT,;t t
13991 s,@LINTFLAGS@,$LINTFLAGS,;t t
13992 s,@JPEGLIB@,$JPEGLIB,;t t
13993 s,@XLIB@,$XLIB,;t t
13994 s,@XFILES@,$XFILES,;t t
13995 s,@OPENGLFILES@,$OPENGLFILES,;t t
13996 s,@GLU32FILES@,$GLU32FILES,;t t
13997 s,@CURSESLIBS@,$CURSESLIBS,;t t
13998 s,@CUPSLIBS@,$CUPSLIBS,;t t
13999 s,@sane_devel@,$sane_devel,;t t
14000 s,@SANELIBS@,$SANELIBS,;t t
14001 s,@SANEINCL@,$SANEINCL,;t t
14002 s,@ft_devel@,$ft_devel,;t t
14003 s,@ft_devel2@,$ft_devel2,;t t
14004 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
14005 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
14006 s,@ARTSLIBS@,$ARTSLIBS,;t t
14007 s,@ARTSINCL@,$ARTSINCL,;t t
14008 s,@DLLWRAP@,$DLLWRAP,;t t
14009 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
14010 s,@DLLIBS@,$DLLIBS,;t t
14011 s,@DLLFLAGS@,$DLLFLAGS,;t t
14012 s,@DLLEXT@,$DLLEXT,;t t
14013 s,@LDSHARED@,$LDSHARED,;t t
14014 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
14015 s,@LIBEXT@,$LIBEXT,;t t
14016 s,@LDPATH@,$LDPATH,;t t
14018 s,@ALLOCA@,$ALLOCA,;t t
14019 /@MAKE_RULES@/r $MAKE_RULES
14020 s,@MAKE_RULES@,,;t t
14021 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
14022 s,@MAKE_DLL_RULES@,,;t t
14023 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
14024 s,@MAKE_PROG_RULES@,,;t t
14029 cat >>$CONFIG_STATUS <<\_ACEOF
14030 # Split the substitutions into bite-sized pieces for seds with
14031 # small command number limits, like on Digital OSF/1 and HP-UX.
14032 ac_max_sed_lines=48
14033 ac_sed_frag=1 # Number of current file.
14034 ac_beg=1 # First line for current file.
14035 ac_end=$ac_max_sed_lines # Line after last line for current file.
14038 while $ac_more_lines; do
14039 if test $ac_beg -gt 1; then
14040 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
14042 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
14044 if test ! -s $tmp/subs.frag; then
14045 ac_more_lines=false
14047 # The purpose of the label and of the branching condition is to
14048 # speed up the sed processing (if there are no `@' at all, there
14049 # is no need to browse any of the substitutions).
14050 # These are the two extra sed commands mentioned above.
14052 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
14053 if test -z "$ac_sed_cmds"; then
14054 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
14056 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
14058 ac_sed_frag=`expr $ac_sed_frag + 1`
14060 ac_end=`expr $ac_end + $ac_max_sed_lines`
14063 if test -z "$ac_sed_cmds"; then
14066 fi # test -n "$CONFIG_FILES"
14069 cat >>$CONFIG_STATUS <<\_ACEOF
14070 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
14071 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14073 - | *:- | *:-:* ) # input from stdin
14075 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
14076 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
14077 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
14078 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
14079 * ) ac_file_in=$ac_file.in ;;
14082 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
14083 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
14084 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14085 X"$ac_file" : 'X\(//\)[^/]' \| \
14086 X"$ac_file" : 'X\(//\)$' \| \
14087 X"$ac_file" : 'X\(/\)' \| \
14088 . : '\(.\)' 2>/dev/null ||
14090 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14091 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14092 /^X\(\/\/\)$/{ s//\1/; q; }
14093 /^X\(\/\).*/{ s//\1/; q; }
14095 { case "$ac_dir" in
14096 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
14100 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
14101 case $as_mkdir_dir in
14102 # Skip DOS drivespec
14103 ?:) as_incr_dir=$as_mkdir_dir ;;
14105 as_incr_dir=$as_incr_dir/$as_mkdir_dir
14106 test -d "$as_incr_dir" ||
14107 mkdir "$as_incr_dir" ||
14108 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
14109 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
14110 { (exit 1); exit 1; }; }
14117 if test "$ac_dir" != .; then
14118 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14119 # A "../" for each directory in $ac_dir_suffix.
14120 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
14122 ac_dir_suffix= ac_top_builddir=
14126 .) # No --srcdir option. We are building in place.
14128 if test -z "$ac_top_builddir"; then
14131 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
14133 [\\/]* | ?:[\\/]* ) # Absolute path.
14134 ac_srcdir=$srcdir$ac_dir_suffix;
14135 ac_top_srcdir=$srcdir ;;
14136 *) # Relative path.
14137 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
14138 ac_top_srcdir=$ac_top_builddir$srcdir ;;
14140 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
14142 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
14143 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
14144 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
14145 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
14149 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14150 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
14153 if test x"$ac_file" != x-; then
14154 { echo "$as_me:$LINENO: creating $ac_file" >&5
14155 echo "$as_me: creating $ac_file" >&6;}
14158 # Let's still pretend it is `configure' which instantiates (i.e., don't
14159 # use $as_me), people would be surprised to read:
14160 # /* config.h. Generated by config.status. */
14161 if test x"$ac_file" = x-; then
14164 configure_input="$ac_file. "
14166 configure_input=$configure_input"Generated from `echo $ac_file_in |
14167 sed 's,.*/,,'` by configure."
14169 # First look for the input files in the build tree, otherwise in the
14171 ac_file_inputs=`IFS=:
14172 for f in $ac_file_in; do
14174 -) echo $tmp/stdin ;;
14176 # Absolute (can't be DOS-style, as IFS=:)
14177 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14178 echo "$as_me: error: cannot find input file: $f" >&2;}
14179 { (exit 1); exit 1; }; }
14182 if test -f "$f"; then
14185 elif test -f "$srcdir/$f"; then
14190 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14191 echo "$as_me: error: cannot find input file: $f" >&2;}
14192 { (exit 1); exit 1; }; }
14195 done` || { (exit 1); exit 1; }
14197 cat >>$CONFIG_STATUS <<_ACEOF
14201 cat >>$CONFIG_STATUS <<\_ACEOF
14203 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14204 s,@configure_input@,$configure_input,;t t
14205 s,@srcdir@,$ac_srcdir,;t t
14206 s,@abs_srcdir@,$ac_abs_srcdir,;t t
14207 s,@top_srcdir@,$ac_top_srcdir,;t t
14208 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
14209 s,@builddir@,$ac_builddir,;t t
14210 s,@abs_builddir@,$ac_abs_builddir,;t t
14211 s,@top_builddir@,$ac_top_builddir,;t t
14212 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
14213 s,@INSTALL@,$ac_INSTALL,;t t
14214 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
14216 if test x"$ac_file" != x-; then
14217 mv $tmp/out $ac_file
14225 cat >>$CONFIG_STATUS <<\_ACEOF
14228 # CONFIG_HEADER section.
14231 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
14232 # NAME is the cpp macro being defined and VALUE is the value it is being given.
14234 # ac_d sets the value in "#define NAME VALUE" lines.
14235 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
14236 ac_dB='[ ].*$,\1#\2'
14239 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
14240 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
14241 ac_uB='$,\1#\2define\3'
14245 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
14246 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14248 - | *:- | *:-:* ) # input from stdin
14250 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
14251 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
14252 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
14253 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
14254 * ) ac_file_in=$ac_file.in ;;
14257 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
14258 echo "$as_me: creating $ac_file" >&6;}
14260 # First look for the input files in the build tree, otherwise in the
14262 ac_file_inputs=`IFS=:
14263 for f in $ac_file_in; do
14265 -) echo $tmp/stdin ;;
14267 # Absolute (can't be DOS-style, as IFS=:)
14268 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14269 echo "$as_me: error: cannot find input file: $f" >&2;}
14270 { (exit 1); exit 1; }; }
14273 if test -f "$f"; then
14276 elif test -f "$srcdir/$f"; then
14281 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14282 echo "$as_me: error: cannot find input file: $f" >&2;}
14283 { (exit 1); exit 1; }; }
14286 done` || { (exit 1); exit 1; }
14287 # Remove the trailing spaces.
14288 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
14292 # Transform confdefs.h into two sed scripts, `conftest.defines' and
14293 # `conftest.undefs', that substitutes the proper values into
14294 # config.h.in to produce config.h. The first handles `#define'
14295 # templates, and the second `#undef' templates.
14296 # And first: Protect against being on the right side of a sed subst in
14297 # config.status. Protect against being in an unquoted here document
14298 # in config.status.
14299 rm -f conftest.defines conftest.undefs
14300 # Using a here document instead of a string reduces the quoting nightmare.
14301 # Putting comments in sed scripts is not portable.
14303 # `end' is used to avoid that the second main sed command (meant for
14304 # 0-ary CPP macros) applies to n-ary macro definitions.
14305 # See the Autoconf documentation for `clear'.
14306 cat >confdef2sed.sed <<\_ACEOF
14311 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
14313 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
14316 # If some macros were called several times there might be several times
14317 # the same #defines, which is useless. Nevertheless, we may not want to
14318 # sort them, since we want the *last* AC-DEFINE to be honored.
14319 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
14320 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
14321 rm -f confdef2sed.sed
14323 # This sed command replaces #undef with comments. This is necessary, for
14324 # example, in the case of _POSIX_SOURCE, which is predefined and required
14325 # on some systems where configure will not decide to define it.
14326 cat >>conftest.undefs <<\_ACEOF
14327 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
14330 # Break up conftest.defines because some shells have a limit on the size
14331 # of here documents, and old seds have small limits too (100 cmds).
14332 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
14333 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
14334 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
14335 echo ' :' >>$CONFIG_STATUS
14336 rm -f conftest.tail
14337 while grep . conftest.defines >/dev/null
14339 # Write a limited-size here document to $tmp/defines.sed.
14340 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
14341 # Speed up: don't consider the non `#define' lines.
14342 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
14343 # Work around the forget-to-reset-the-flag bug.
14344 echo 't clr' >>$CONFIG_STATUS
14345 echo ': clr' >>$CONFIG_STATUS
14346 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
14348 sed -f $tmp/defines.sed $tmp/in >$tmp/out
14350 mv $tmp/out $tmp/in
14352 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
14353 rm -f conftest.defines
14354 mv conftest.tail conftest.defines
14356 rm -f conftest.defines
14357 echo ' fi # egrep' >>$CONFIG_STATUS
14358 echo >>$CONFIG_STATUS
14360 # Break up conftest.undefs because some shells have a limit on the size
14361 # of here documents, and old seds have small limits too (100 cmds).
14362 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
14363 rm -f conftest.tail
14364 while grep . conftest.undefs >/dev/null
14366 # Write a limited-size here document to $tmp/undefs.sed.
14367 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
14368 # Speed up: don't consider the non `#undef'
14369 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
14370 # Work around the forget-to-reset-the-flag bug.
14371 echo 't clr' >>$CONFIG_STATUS
14372 echo ': clr' >>$CONFIG_STATUS
14373 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
14375 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
14377 mv $tmp/out $tmp/in
14379 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
14380 rm -f conftest.undefs
14381 mv conftest.tail conftest.undefs
14383 rm -f conftest.undefs
14385 cat >>$CONFIG_STATUS <<\_ACEOF
14386 # Let's still pretend it is `configure' which instantiates (i.e., don't
14387 # use $as_me), people would be surprised to read:
14388 # /* config.h. Generated by config.status. */
14389 if test x"$ac_file" = x-; then
14390 echo "/* Generated by configure. */" >$tmp/config.h
14392 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
14394 cat $tmp/in >>$tmp/config.h
14396 if test x"$ac_file" != x-; then
14397 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
14398 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14399 echo "$as_me: $ac_file is unchanged" >&6;}
14401 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
14402 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14403 X"$ac_file" : 'X\(//\)[^/]' \| \
14404 X"$ac_file" : 'X\(//\)$' \| \
14405 X"$ac_file" : 'X\(/\)' \| \
14406 . : '\(.\)' 2>/dev/null ||
14408 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14409 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14410 /^X\(\/\/\)$/{ s//\1/; q; }
14411 /^X\(\/\).*/{ s//\1/; q; }
14413 { case "$ac_dir" in
14414 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
14418 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
14419 case $as_mkdir_dir in
14420 # Skip DOS drivespec
14421 ?:) as_incr_dir=$as_mkdir_dir ;;
14423 as_incr_dir=$as_incr_dir/$as_mkdir_dir
14424 test -d "$as_incr_dir" ||
14425 mkdir "$as_incr_dir" ||
14426 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
14427 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
14428 { (exit 1); exit 1; }; }
14434 mv $tmp/config.h $ac_file
14438 rm -f $tmp/config.h
14442 cat >>$CONFIG_STATUS <<\_ACEOF
14445 # CONFIG_COMMANDS section.
14447 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
14448 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
14449 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
14450 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
14451 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14452 X"$ac_dest" : 'X\(//\)[^/]' \| \
14453 X"$ac_dest" : 'X\(//\)$' \| \
14454 X"$ac_dest" : 'X\(/\)' \| \
14455 . : '\(.\)' 2>/dev/null ||
14457 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14458 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14459 /^X\(\/\/\)$/{ s//\1/; q; }
14460 /^X\(\/\).*/{ s//\1/; q; }
14464 if test "$ac_dir" != .; then
14465 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14466 # A "../" for each directory in $ac_dir_suffix.
14467 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
14469 ac_dir_suffix= ac_top_builddir=
14473 .) # No --srcdir option. We are building in place.
14475 if test -z "$ac_top_builddir"; then
14478 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
14480 [\\/]* | ?:[\\/]* ) # Absolute path.
14481 ac_srcdir=$srcdir$ac_dir_suffix;
14482 ac_top_srcdir=$srcdir ;;
14483 *) # Relative path.
14484 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
14485 ac_top_srcdir=$ac_top_builddir$srcdir ;;
14487 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
14489 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
14490 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
14491 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
14492 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
14495 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
14496 echo "$as_me: executing $ac_dest commands" >&6;}
14498 controls ) test -d "controls" || ({ echo "$as_me:$LINENO: creating controls" >&5
14499 echo "$as_me: creating controls" >&6;} && mkdir "controls") ;;
14500 dlls/ddraw/d3ddevice ) test -d "dlls/ddraw/d3ddevice" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/d3ddevice" >&5
14501 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir "dlls/ddraw/d3ddevice") ;;
14502 dlls/ddraw/dclipper ) test -d "dlls/ddraw/dclipper" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dclipper" >&5
14503 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir "dlls/ddraw/dclipper") ;;
14504 dlls/ddraw/ddraw ) test -d "dlls/ddraw/ddraw" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/ddraw" >&5
14505 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir "dlls/ddraw/ddraw") ;;
14506 dlls/ddraw/direct3d ) test -d "dlls/ddraw/direct3d" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/direct3d" >&5
14507 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir "dlls/ddraw/direct3d") ;;
14508 dlls/ddraw/dpalette ) test -d "dlls/ddraw/dpalette" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dpalette" >&5
14509 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir "dlls/ddraw/dpalette") ;;
14510 dlls/ddraw/dsurface ) test -d "dlls/ddraw/dsurface" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dsurface" >&5
14511 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir "dlls/ddraw/dsurface") ;;
14512 dlls/dinput/joystick ) test -d "dlls/dinput/joystick" || ({ echo "$as_me:$LINENO: creating dlls/dinput/joystick" >&5
14513 echo "$as_me: creating dlls/dinput/joystick" >&6;} && mkdir "dlls/dinput/joystick") ;;
14514 dlls/dinput/keyboard ) test -d "dlls/dinput/keyboard" || ({ echo "$as_me:$LINENO: creating dlls/dinput/keyboard" >&5
14515 echo "$as_me: creating dlls/dinput/keyboard" >&6;} && mkdir "dlls/dinput/keyboard") ;;
14516 dlls/dinput/mouse ) test -d "dlls/dinput/mouse" || ({ echo "$as_me:$LINENO: creating dlls/dinput/mouse" >&5
14517 echo "$as_me: creating dlls/dinput/mouse" >&6;} && mkdir "dlls/dinput/mouse") ;;
14518 dlls/gdi/enhmfdrv ) test -d "dlls/gdi/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
14519 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir "dlls/gdi/enhmfdrv") ;;
14520 dlls/gdi/mfdrv ) test -d "dlls/gdi/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
14521 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir "dlls/gdi/mfdrv") ;;
14522 dlls/gdi/win16drv ) test -d "dlls/gdi/win16drv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/win16drv" >&5
14523 echo "$as_me: creating dlls/gdi/win16drv" >&6;} && mkdir "dlls/gdi/win16drv") ;;
14524 dlls/kernel/messages ) test -d "dlls/kernel/messages" || ({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
14525 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir "dlls/kernel/messages") ;;
14526 dlls/kernel/tests ) test -d "dlls/kernel/tests" || ({ echo "$as_me:$LINENO: creating dlls/kernel/tests" >&5
14527 echo "$as_me: creating dlls/kernel/tests" >&6;} && mkdir "dlls/kernel/tests") ;;
14528 dlls/oleaut32/tests ) test -d "dlls/oleaut32/tests" || ({ echo "$as_me:$LINENO: creating dlls/oleaut32/tests" >&5
14529 echo "$as_me: creating dlls/oleaut32/tests" >&6;} && mkdir "dlls/oleaut32/tests") ;;
14530 dlls/shlwapi/tests ) test -d "dlls/shlwapi/tests" || ({ echo "$as_me:$LINENO: creating dlls/shlwapi/tests" >&5
14531 echo "$as_me: creating dlls/shlwapi/tests" >&6;} && mkdir "dlls/shlwapi/tests") ;;
14532 dlls/user/dde ) test -d "dlls/user/dde" || ({ echo "$as_me:$LINENO: creating dlls/user/dde" >&5
14533 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir "dlls/user/dde") ;;
14534 dlls/user/resources ) test -d "dlls/user/resources" || ({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
14535 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir "dlls/user/resources") ;;
14536 dlls/user/tests ) test -d "dlls/user/tests" || ({ echo "$as_me:$LINENO: creating dlls/user/tests" >&5
14537 echo "$as_me: creating dlls/user/tests" >&6;} && mkdir "dlls/user/tests") ;;
14538 dlls/wineps/data ) test -d "dlls/wineps/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
14539 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir "dlls/wineps/data") ;;
14540 dlls/winsock/tests ) test -d "dlls/winsock/tests" || ({ echo "$as_me:$LINENO: creating dlls/winsock/tests" >&5
14541 echo "$as_me: creating dlls/winsock/tests" >&6;} && mkdir "dlls/winsock/tests") ;;
14542 files ) test -d "files" || ({ echo "$as_me:$LINENO: creating files" >&5
14543 echo "$as_me: creating files" >&6;} && mkdir "files") ;;
14544 graphics ) test -d "graphics" || ({ echo "$as_me:$LINENO: creating graphics" >&5
14545 echo "$as_me: creating graphics" >&6;} && mkdir "graphics") ;;
14546 graphics/x11drv ) test -d "graphics/x11drv" || ({ echo "$as_me:$LINENO: creating graphics/x11drv" >&5
14547 echo "$as_me: creating graphics/x11drv" >&6;} && mkdir "graphics/x11drv") ;;
14548 if1632 ) test -d "if1632" || ({ echo "$as_me:$LINENO: creating if1632" >&5
14549 echo "$as_me: creating if1632" >&6;} && mkdir "if1632") ;;
14550 include/wine ) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
14551 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
14552 loader ) test -d "loader" || ({ echo "$as_me:$LINENO: creating loader" >&5
14553 echo "$as_me: creating loader" >&6;} && mkdir "loader") ;;
14554 loader/ne ) test -d "loader/ne" || ({ echo "$as_me:$LINENO: creating loader/ne" >&5
14555 echo "$as_me: creating loader/ne" >&6;} && mkdir "loader/ne") ;;
14556 memory ) test -d "memory" || ({ echo "$as_me:$LINENO: creating memory" >&5
14557 echo "$as_me: creating memory" >&6;} && mkdir "memory") ;;
14558 misc ) test -d "misc" || ({ echo "$as_me:$LINENO: creating misc" >&5
14559 echo "$as_me: creating misc" >&6;} && mkdir "misc") ;;
14560 msdos ) test -d "msdos" || ({ echo "$as_me:$LINENO: creating msdos" >&5
14561 echo "$as_me: creating msdos" >&6;} && mkdir "msdos") ;;
14562 objects ) test -d "objects" || ({ echo "$as_me:$LINENO: creating objects" >&5
14563 echo "$as_me: creating objects" >&6;} && mkdir "objects") ;;
14564 programs/regapi/tests ) test -d "programs/regapi/tests" || ({ echo "$as_me:$LINENO: creating programs/regapi/tests" >&5
14565 echo "$as_me: creating programs/regapi/tests" >&6;} && mkdir "programs/regapi/tests") ;;
14566 programs/winetest/tests ) test -d "programs/winetest/tests" || ({ echo "$as_me:$LINENO: creating programs/winetest/tests" >&5
14567 echo "$as_me: creating programs/winetest/tests" >&6;} && mkdir "programs/winetest/tests") ;;
14568 relay32 ) test -d "relay32" || ({ echo "$as_me:$LINENO: creating relay32" >&5
14569 echo "$as_me: creating relay32" >&6;} && mkdir "relay32") ;;
14570 scheduler ) test -d "scheduler" || ({ echo "$as_me:$LINENO: creating scheduler" >&5
14571 echo "$as_me: creating scheduler" >&6;} && mkdir "scheduler") ;;
14572 win32 ) test -d "win32" || ({ echo "$as_me:$LINENO: creating win32" >&5
14573 echo "$as_me: creating win32" >&6;} && mkdir "win32") ;;
14574 windows ) test -d "windows" || ({ echo "$as_me:$LINENO: creating windows" >&5
14575 echo "$as_me: creating windows" >&6;} && mkdir "windows") ;;
14580 cat >>$CONFIG_STATUS <<\_ACEOF
14582 { (exit 0); exit 0; }
14584 chmod +x $CONFIG_STATUS
14585 ac_clean_files=$ac_clean_files_save
14588 # configure is writing to config.log, and then calls config.status.
14589 # config.status does its own redirection, appending to config.log.
14590 # Unfortunately, on DOS this fails, as config.log is still kept open
14591 # by configure, so config.status won't be able to write to it; its
14592 # output is simply discarded. So we exec the FD to /dev/null,
14593 # effectively closing config.log, so it can be properly (re)opened and
14594 # appended to by config.status. When coming back to configure, we
14595 # need to make the FD available again.
14596 if test "$no_create" != yes; then
14599 $SHELL $CONFIG_STATUS || ac_cs_success=false
14601 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14602 # would make configure fail if this is the last instruction.
14603 $ac_cs_success || { (exit 1); exit 1; }
14607 if test "$have_x" = "no"
14610 echo "*** Warning: X development files not found. Wine will be built without"
14611 echo "*** X support, which currently does not work, and would probably not be"
14612 echo "*** what you want anyway. You will need to install devel packages of"
14613 echo "*** Xlib/Xfree86 at the very least."
14616 if test "$ac_cv_lib_ncurses_resizeterm" = "no" -a "$ac_cv_lib_ncurses_waddch" = "yes"
14619 echo "*** Warning: resizeterm not found in ncurses. Wine will be built without"
14620 echo "*** terminal resize support. Consider upgrading ncurses."
14623 if test "$wine_cv_libc_reentrant" = "no"
14626 echo "*** Warning: non-reentrant libc detected. Wine will be built without"
14627 echo "*** threading support. Consider upgrading libc to a more recent"
14628 echo "*** reentrant version of libc."
14631 if test "$have_x" = "yes" -a "$wine_cv_x_reentrant" != "yes"
14634 echo "*** Warning: non-reentrant X11 library detected. Multi-threaded"
14635 echo "*** applications won't work properly. You should upgrade your X11 library."
14638 if test "$wine_cv_opengl_version_OK" = "no"
14641 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
14642 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
14645 if test "$wine_cv_opengl_version_threadsafe" = "yes" -a "x$enable_opengl" = "x"
14648 echo "*** Warning: the OpenGL version you have installed relies on libpthread for"
14649 echo "*** thread-safety. To prevent crashes, OpenGL support has been removed."
14650 echo "*** A fix for glibc 2.1.3 that seems to work is included in this version of Wine,"
14651 echo "*** start configure with '--enable-opengl' to force OpenGL support."
14654 if test "$wine_cv_opengl_version_threadsafe" = "yes" -a "x$enable_opengl" = "xyes"
14657 echo "*** Warning: you explicitly linked in a thread-safe OpenGL version. If you"
14658 echo "*** experience unusual crashes on DirectDraw games, try first to disable OpenGL"
14659 echo "*** support before reporting bugs."
14662 if test "$wine_cv_warn_cups_h" = "yes"
14665 echo "*** Note: You have cups runtime libraries, but no development"
14666 echo "*** libraries. Install the cups-devel package or whichever package"
14667 echo "*** contains cups.h to enable CUPS support in Wine."
14670 if test "$wine_cv_msg_freetype" = "yes"
14673 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
14674 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
14675 echo "*** freetype-devel package (or its equivalent on your distribution) to"
14676 echo "*** enable Wine to use TrueType fonts."
14680 echo "Configure finished. Do 'make depend && make' to compile Wine."