2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.53 for Wine 20020411.
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='20020411'
258 PACKAGE_STRING='Wine 20020411'
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 20020411 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]
823 --target=TARGET configure for building compilers for TARGET [HOST]
827 if test -n "$ac_init_help"; then
828 case $ac_init_help in
829 short | recursive ) echo "Configuration of Wine 20020411:";;
834 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
835 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
836 --disable-debug compile out all debugging messages
837 --disable-trace compile out TRACE messages
838 --enable-opengl force usage of OpenGL even if the latter is
839 thread-safe via pthread
842 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
843 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
844 --without-curses do not use curses
845 --without-reentrant-x compile for use with non-reentrant X libraries
846 --with-x use the X Window System
848 Some influential environment variables:
849 CC C compiler command
850 CFLAGS C compiler flags
851 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
852 nonstandard directory <lib dir>
853 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
854 headers in a nonstandard directory <include dir>
857 Use these variables to override the choices made by `configure' or to help
858 it to find libraries and programs with nonstandard names/locations.
863 if test "$ac_init_help" = "recursive"; then
864 # If there are subdirs, report their specific --help.
866 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
867 test -d $ac_dir || continue
870 if test "$ac_dir" != .; then
871 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
872 # A "../" for each directory in $ac_dir_suffix.
873 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
875 ac_dir_suffix= ac_top_builddir=
879 .) # No --srcdir option. We are building in place.
881 if test -z "$ac_top_builddir"; then
884 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
886 [\\/]* | ?:[\\/]* ) # Absolute path.
887 ac_srcdir=$srcdir$ac_dir_suffix;
888 ac_top_srcdir=$srcdir ;;
890 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
891 ac_top_srcdir=$ac_top_builddir$srcdir ;;
893 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
895 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
896 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
897 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
898 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
901 # Check for guested configure; otherwise get Cygnus style configure.
902 if test -f $ac_srcdir/configure.gnu; then
904 $SHELL $ac_srcdir/configure.gnu --help=recursive
905 elif test -f $ac_srcdir/configure; then
907 $SHELL $ac_srcdir/configure --help=recursive
908 elif test -f $ac_srcdir/configure.ac ||
909 test -f $ac_srcdir/configure.in; then
913 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
919 test -n "$ac_init_help" && exit 0
920 if $ac_init_version; then
922 Wine configure 20020411
923 generated by GNU Autoconf 2.53
925 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
926 Free Software Foundation, Inc.
927 This configure script is free software; the Free Software Foundation
928 gives unlimited permission to copy, distribute and modify it.
934 This file contains any messages produced by compilers while
935 running configure, to aid debugging if configure makes a mistake.
937 It was created by Wine $as_me 20020411, which was
938 generated by GNU Autoconf 2.53. Invocation command line was
949 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
950 uname -m = `(uname -m) 2>/dev/null || echo unknown`
951 uname -r = `(uname -r) 2>/dev/null || echo unknown`
952 uname -s = `(uname -s) 2>/dev/null || echo unknown`
953 uname -v = `(uname -v) 2>/dev/null || echo unknown`
955 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
956 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
958 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
959 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
960 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
961 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
962 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
963 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
964 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
972 test -z "$as_dir" && as_dir=.
988 # Keep a trace of the command line.
989 # Strip out --no-create and --no-recursion so they do not pile up.
990 # Also quote any args containing shell meta-characters.
996 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
997 | --no-cr | --no-c | -n ) continue ;;
998 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
999 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1001 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1002 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1004 case " $ac_configure_args " in
1005 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1006 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1009 # Get rid of the leading space.
1012 # When interrupted or exit'd, cleanup temporary files, and complete
1013 # config.log. We remove comments because anyway the quotes in there
1014 # would cause problems or look ugly.
1015 # WARNING: Be sure not to use single quotes in there, as some shells,
1016 # such as our DU 5.0 friend, will then `close' the trap.
1017 trap 'exit_status=$?
1018 # Save into config.log some information that might help in debugging.
1022 ## ---------------- ##
1023 ## Cache variables. ##
1024 ## ---------------- ##
1027 # The following way of writing the cache mishandles newlines in values,
1030 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1033 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1034 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1038 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1043 if test -s confdefs.h; then
1050 sed "/^$/d" confdefs.h
1053 test "$ac_signal" != 0 &&
1054 echo "$as_me: caught signal $ac_signal"
1055 echo "$as_me: exit $exit_status"
1057 rm -f core core.* *.core &&
1058 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1061 for ac_signal in 1 2 13 15; do
1062 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1066 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1067 rm -rf conftest* confdefs.h
1068 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1071 # Predefined preprocessor variables.
1073 cat >>confdefs.h <<_ACEOF
1074 #define PACKAGE_NAME "$PACKAGE_NAME"
1078 cat >>confdefs.h <<_ACEOF
1079 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1083 cat >>confdefs.h <<_ACEOF
1084 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1088 cat >>confdefs.h <<_ACEOF
1089 #define PACKAGE_STRING "$PACKAGE_STRING"
1093 cat >>confdefs.h <<_ACEOF
1094 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1098 # Let the site file select an alternate cache file if it wants to.
1099 # Prefer explicitly selected file to automatically selected ones.
1100 if test -z "$CONFIG_SITE"; then
1101 if test "x$prefix" != xNONE; then
1102 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1104 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1107 for ac_site_file in $CONFIG_SITE; do
1108 if test -r "$ac_site_file"; then
1109 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1110 echo "$as_me: loading site script $ac_site_file" >&6;}
1111 sed 's/^/| /' "$ac_site_file" >&5
1116 if test -r "$cache_file"; then
1117 # Some versions of bash will fail to source /dev/null (special
1118 # files actually), so we avoid doing that.
1119 if test -f "$cache_file"; then
1120 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1121 echo "$as_me: loading cache $cache_file" >&6;}
1123 [\\/]* | ?:[\\/]* ) . $cache_file;;
1124 *) . ./$cache_file;;
1128 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1129 echo "$as_me: creating cache $cache_file" >&6;}
1133 # Check that the precious variables saved in the cache have kept the same
1135 ac_cache_corrupted=false
1136 for ac_var in `(set) 2>&1 |
1137 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1138 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1139 eval ac_new_set=\$ac_env_${ac_var}_set
1140 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1141 eval ac_new_val="\$ac_env_${ac_var}_value"
1142 case $ac_old_set,$ac_new_set in
1144 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1145 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1146 ac_cache_corrupted=: ;;
1148 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1149 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1150 ac_cache_corrupted=: ;;
1153 if test "x$ac_old_val" != "x$ac_new_val"; then
1154 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1155 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1156 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1157 echo "$as_me: former value: $ac_old_val" >&2;}
1158 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1159 echo "$as_me: current value: $ac_new_val" >&2;}
1160 ac_cache_corrupted=:
1163 # Pass precious variables to config.status.
1164 if test "$ac_new_set" = set; then
1166 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1167 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1168 *) ac_arg=$ac_var=$ac_new_val ;;
1170 case " $ac_configure_args " in
1171 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1172 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1176 if $ac_cache_corrupted; then
1177 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1178 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1179 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1180 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1181 { (exit 1); exit 1; }; }
1185 ac_cpp='$CPP $CPPFLAGS'
1186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1216 ac_config_headers="$ac_config_headers include/config.h"
1219 for ac_dir in tools $srcdir/tools; do
1220 if test -f $ac_dir/install-sh; then
1222 ac_install_sh="$ac_aux_dir/install-sh -c"
1224 elif test -f $ac_dir/install.sh; then
1226 ac_install_sh="$ac_aux_dir/install.sh -c"
1228 elif test -f $ac_dir/shtool; then
1230 ac_install_sh="$ac_aux_dir/shtool install -c"
1234 if test -z "$ac_aux_dir"; then
1235 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&5
1236 echo "$as_me: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&2;}
1237 { (exit 1); exit 1; }; }
1239 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1240 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1241 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1245 LIBEXT=so # library type .so or .a
1247 # Check whether --enable-debug or --disable-debug was given.
1248 if test "${enable_debug+set}" = set; then
1249 enableval="$enable_debug"
1252 # Check whether --enable-trace or --disable-trace was given.
1253 if test "${enable_trace+set}" = set; then
1254 enableval="$enable_trace"
1257 # Check whether --enable-opengl or --disable-opengl was given.
1258 if test "${enable_opengl+set}" = set; then
1259 enableval="$enable_opengl"
1263 # Check whether --with-curses or --without-curses was given.
1264 if test "${with_curses+set}" = set; then
1265 withval="$with_curses"
1269 # Check whether --with-reentrant-x or --without-reentrant-x was given.
1270 if test "${with_reentrant_x+set}" = set; then
1271 withval="$with_reentrant_x"
1276 if test "x$enable_debug" = "xno"
1279 cat >>confdefs.h <<\_ACEOF
1280 #define NO_DEBUG_MSGS 1
1284 if test "x$enable_trace" = "xno" -o "x$enable_debug" = "xno"
1287 cat >>confdefs.h <<\_ACEOF
1288 #define NO_TRACE_MSGS 1
1294 # Make sure we can run config.sub.
1295 $ac_config_sub sun4 >/dev/null 2>&1 ||
1296 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1297 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1298 { (exit 1); exit 1; }; }
1300 echo "$as_me:$LINENO: checking build system type" >&5
1301 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1302 if test "${ac_cv_build+set}" = set; then
1303 echo $ECHO_N "(cached) $ECHO_C" >&6
1305 ac_cv_build_alias=$build_alias
1306 test -z "$ac_cv_build_alias" &&
1307 ac_cv_build_alias=`$ac_config_guess`
1308 test -z "$ac_cv_build_alias" &&
1309 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1310 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1311 { (exit 1); exit 1; }; }
1312 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1313 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1314 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1315 { (exit 1); exit 1; }; }
1318 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1319 echo "${ECHO_T}$ac_cv_build" >&6
1321 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1322 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1323 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1326 echo "$as_me:$LINENO: checking host system type" >&5
1327 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1328 if test "${ac_cv_host+set}" = set; then
1329 echo $ECHO_N "(cached) $ECHO_C" >&6
1331 ac_cv_host_alias=$host_alias
1332 test -z "$ac_cv_host_alias" &&
1333 ac_cv_host_alias=$ac_cv_build_alias
1334 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1335 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1336 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1337 { (exit 1); exit 1; }; }
1340 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1341 echo "${ECHO_T}$ac_cv_host" >&6
1343 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1344 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1345 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1348 echo "$as_me:$LINENO: checking target system type" >&5
1349 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1350 if test "${ac_cv_target+set}" = set; then
1351 echo $ECHO_N "(cached) $ECHO_C" >&6
1353 ac_cv_target_alias=$target_alias
1354 test "x$ac_cv_target_alias" = "x" &&
1355 ac_cv_target_alias=$ac_cv_host_alias
1356 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1357 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1358 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1359 { (exit 1); exit 1; }; }
1362 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1363 echo "${ECHO_T}$ac_cv_target" >&6
1364 target=$ac_cv_target
1365 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1366 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1367 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1370 # The aliases save the names the user supplied, while $host etc.
1371 # will get canonicalized.
1372 test -n "$target_alias" &&
1373 test "$program_prefix$program_suffix$program_transform_name" = \
1375 program_prefix=${target_alias}-
1376 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1377 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1378 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1379 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1380 echo $ECHO_N "(cached) $ECHO_C" >&6
1382 cat >conftest.make <<\_ACEOF
1384 @echo 'ac_maketemp="${MAKE}"'
1386 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1387 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1388 if test -n "$ac_maketemp"; then
1389 eval ac_cv_prog_make_${ac_make}_set=yes
1391 eval ac_cv_prog_make_${ac_make}_set=no
1395 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1396 echo "$as_me:$LINENO: result: yes" >&5
1397 echo "${ECHO_T}yes" >&6
1400 echo "$as_me:$LINENO: result: no" >&5
1401 echo "${ECHO_T}no" >&6
1402 SET_MAKE="MAKE=${MAKE-make}"
1406 ac_cpp='$CPP $CPPFLAGS'
1407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1410 if test -n "$ac_tool_prefix"; then
1411 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1412 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1413 echo "$as_me:$LINENO: checking for $ac_word" >&5
1414 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1415 if test "${ac_cv_prog_CC+set}" = set; then
1416 echo $ECHO_N "(cached) $ECHO_C" >&6
1418 if test -n "$CC"; then
1419 ac_cv_prog_CC="$CC" # Let the user override the test.
1421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1425 test -z "$as_dir" && as_dir=.
1426 for ac_exec_ext in '' $ac_executable_extensions; do
1427 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1428 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1429 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1438 if test -n "$CC"; then
1439 echo "$as_me:$LINENO: result: $CC" >&5
1440 echo "${ECHO_T}$CC" >&6
1442 echo "$as_me:$LINENO: result: no" >&5
1443 echo "${ECHO_T}no" >&6
1447 if test -z "$ac_cv_prog_CC"; then
1449 # Extract the first word of "gcc", so it can be a program name with args.
1450 set dummy gcc; ac_word=$2
1451 echo "$as_me:$LINENO: checking for $ac_word" >&5
1452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1453 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1454 echo $ECHO_N "(cached) $ECHO_C" >&6
1456 if test -n "$ac_ct_CC"; then
1457 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1463 test -z "$as_dir" && as_dir=.
1464 for ac_exec_ext in '' $ac_executable_extensions; do
1465 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1466 ac_cv_prog_ac_ct_CC="gcc"
1467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1475 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1476 if test -n "$ac_ct_CC"; then
1477 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1478 echo "${ECHO_T}$ac_ct_CC" >&6
1480 echo "$as_me:$LINENO: result: no" >&5
1481 echo "${ECHO_T}no" >&6
1489 if test -z "$CC"; then
1490 if test -n "$ac_tool_prefix"; then
1491 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1492 set dummy ${ac_tool_prefix}cc; ac_word=$2
1493 echo "$as_me:$LINENO: checking for $ac_word" >&5
1494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1495 if test "${ac_cv_prog_CC+set}" = set; then
1496 echo $ECHO_N "(cached) $ECHO_C" >&6
1498 if test -n "$CC"; then
1499 ac_cv_prog_CC="$CC" # Let the user override the test.
1501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1505 test -z "$as_dir" && as_dir=.
1506 for ac_exec_ext in '' $ac_executable_extensions; do
1507 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1508 ac_cv_prog_CC="${ac_tool_prefix}cc"
1509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1518 if test -n "$CC"; then
1519 echo "$as_me:$LINENO: result: $CC" >&5
1520 echo "${ECHO_T}$CC" >&6
1522 echo "$as_me:$LINENO: result: no" >&5
1523 echo "${ECHO_T}no" >&6
1527 if test -z "$ac_cv_prog_CC"; then
1529 # Extract the first word of "cc", so it can be a program name with args.
1530 set dummy cc; ac_word=$2
1531 echo "$as_me:$LINENO: checking for $ac_word" >&5
1532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1533 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1534 echo $ECHO_N "(cached) $ECHO_C" >&6
1536 if test -n "$ac_ct_CC"; then
1537 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1543 test -z "$as_dir" && as_dir=.
1544 for ac_exec_ext in '' $ac_executable_extensions; do
1545 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1546 ac_cv_prog_ac_ct_CC="cc"
1547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1555 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1556 if test -n "$ac_ct_CC"; then
1557 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1558 echo "${ECHO_T}$ac_ct_CC" >&6
1560 echo "$as_me:$LINENO: result: no" >&5
1561 echo "${ECHO_T}no" >&6
1570 if test -z "$CC"; then
1571 # Extract the first word of "cc", so it can be a program name with args.
1572 set dummy cc; ac_word=$2
1573 echo "$as_me:$LINENO: checking for $ac_word" >&5
1574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1575 if test "${ac_cv_prog_CC+set}" = set; then
1576 echo $ECHO_N "(cached) $ECHO_C" >&6
1578 if test -n "$CC"; then
1579 ac_cv_prog_CC="$CC" # Let the user override the test.
1582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1586 test -z "$as_dir" && as_dir=.
1587 for ac_exec_ext in '' $ac_executable_extensions; do
1588 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1589 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1590 ac_prog_rejected=yes
1594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1600 if test $ac_prog_rejected = yes; then
1601 # We found a bogon in the path, so make sure we never use it.
1602 set dummy $ac_cv_prog_CC
1604 if test $# != 0; then
1605 # We chose a different compiler from the bogus one.
1606 # However, it has the same basename, so the bogon will be chosen
1607 # first if we set CC to just the basename; use the full file name.
1609 set dummy "$as_dir/$ac_word" ${1+"$@"}
1617 if test -n "$CC"; then
1618 echo "$as_me:$LINENO: result: $CC" >&5
1619 echo "${ECHO_T}$CC" >&6
1621 echo "$as_me:$LINENO: result: no" >&5
1622 echo "${ECHO_T}no" >&6
1626 if test -z "$CC"; then
1627 if test -n "$ac_tool_prefix"; then
1630 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1631 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1632 echo "$as_me:$LINENO: checking for $ac_word" >&5
1633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1634 if test "${ac_cv_prog_CC+set}" = set; then
1635 echo $ECHO_N "(cached) $ECHO_C" >&6
1637 if test -n "$CC"; then
1638 ac_cv_prog_CC="$CC" # Let the user override the test.
1640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1644 test -z "$as_dir" && as_dir=.
1645 for ac_exec_ext in '' $ac_executable_extensions; do
1646 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1647 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1657 if test -n "$CC"; then
1658 echo "$as_me:$LINENO: result: $CC" >&5
1659 echo "${ECHO_T}$CC" >&6
1661 echo "$as_me:$LINENO: result: no" >&5
1662 echo "${ECHO_T}no" >&6
1665 test -n "$CC" && break
1668 if test -z "$CC"; then
1672 # Extract the first word of "$ac_prog", so it can be a program name with args.
1673 set dummy $ac_prog; ac_word=$2
1674 echo "$as_me:$LINENO: checking for $ac_word" >&5
1675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1676 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1677 echo $ECHO_N "(cached) $ECHO_C" >&6
1679 if test -n "$ac_ct_CC"; then
1680 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1686 test -z "$as_dir" && as_dir=.
1687 for ac_exec_ext in '' $ac_executable_extensions; do
1688 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1689 ac_cv_prog_ac_ct_CC="$ac_prog"
1690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1698 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1699 if test -n "$ac_ct_CC"; then
1700 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1701 echo "${ECHO_T}$ac_ct_CC" >&6
1703 echo "$as_me:$LINENO: result: no" >&5
1704 echo "${ECHO_T}no" >&6
1707 test -n "$ac_ct_CC" && break
1716 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1717 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1718 { (exit 1); exit 1; }; }
1720 # Provide some information about the compiler.
1721 echo "$as_me:$LINENO:" \
1722 "checking for C compiler version" >&5
1723 ac_compiler=`set X $ac_compile; echo $2`
1724 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1725 (eval $ac_compiler --version </dev/null >&5) 2>&5
1727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1728 (exit $ac_status); }
1729 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1730 (eval $ac_compiler -v </dev/null >&5) 2>&5
1732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1733 (exit $ac_status); }
1734 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1735 (eval $ac_compiler -V </dev/null >&5) 2>&5
1737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1738 (exit $ac_status); }
1740 cat >conftest.$ac_ext <<_ACEOF
1741 #line $LINENO "configure"
1742 #include "confdefs.h"
1744 #ifdef F77_DUMMY_MAIN
1748 int F77_DUMMY_MAIN() { return 1; }
1758 ac_clean_files_save=$ac_clean_files
1759 ac_clean_files="$ac_clean_files a.out a.exe"
1760 # Try to create an executable without -o first, disregard a.out.
1761 # It will help us diagnose broken compilers, and finding out an intuition
1763 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1764 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1765 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1766 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1767 (eval $ac_link_default) 2>&5
1769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1770 (exit $ac_status); }; then
1771 # Find the output, starting from the most likely. This scheme is
1772 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1775 # Be careful to initialize this variable, since it used to be cached.
1776 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1778 for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
1779 ls a.out conftest 2>/dev/null;
1780 ls a.* conftest.* 2>/dev/null`; do
1782 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
1783 a.out ) # We found the default executable, but exeext='' is most
1786 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1787 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1794 echo "$as_me: failed program was:" >&5
1795 cat conftest.$ac_ext >&5
1796 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
1797 echo "$as_me: error: C compiler cannot create executables" >&2;}
1798 { (exit 77); exit 77; }; }
1801 ac_exeext=$ac_cv_exeext
1802 echo "$as_me:$LINENO: result: $ac_file" >&5
1803 echo "${ECHO_T}$ac_file" >&6
1805 # Check the compiler produces executables we can run. If not, either
1806 # the compiler is broken, or we cross compile.
1807 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1808 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1809 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1810 # If not cross compiling, check that we can run a simple program.
1811 if test "$cross_compiling" != yes; then
1812 if { ac_try='./$ac_file'
1813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1817 (exit $ac_status); }; }; then
1820 if test "$cross_compiling" = maybe; then
1823 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1824 If you meant to cross compile, use \`--host'." >&5
1825 echo "$as_me: error: cannot run C compiled programs.
1826 If you meant to cross compile, use \`--host'." >&2;}
1827 { (exit 1); exit 1; }; }
1831 echo "$as_me:$LINENO: result: yes" >&5
1832 echo "${ECHO_T}yes" >&6
1834 rm -f a.out a.exe conftest$ac_cv_exeext
1835 ac_clean_files=$ac_clean_files_save
1836 # Check the compiler produces executables we can run. If not, either
1837 # the compiler is broken, or we cross compile.
1838 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1839 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1840 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1841 echo "${ECHO_T}$cross_compiling" >&6
1843 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1844 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1846 (eval $ac_link) 2>&5
1848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1849 (exit $ac_status); }; then
1850 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1851 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1852 # work properly (i.e., refer to `conftest.exe'), while it won't with
1854 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1856 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1857 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1864 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
1865 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
1866 { (exit 1); exit 1; }; }
1869 rm -f conftest$ac_cv_exeext
1870 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1871 echo "${ECHO_T}$ac_cv_exeext" >&6
1873 rm -f conftest.$ac_ext
1874 EXEEXT=$ac_cv_exeext
1876 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1877 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1878 if test "${ac_cv_objext+set}" = set; then
1879 echo $ECHO_N "(cached) $ECHO_C" >&6
1881 cat >conftest.$ac_ext <<_ACEOF
1882 #line $LINENO "configure"
1883 #include "confdefs.h"
1885 #ifdef F77_DUMMY_MAIN
1889 int F77_DUMMY_MAIN() { return 1; }
1899 rm -f conftest.o conftest.obj
1900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1901 (eval $ac_compile) 2>&5
1903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1904 (exit $ac_status); }; then
1905 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1907 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1908 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1913 echo "$as_me: failed program was:" >&5
1914 cat conftest.$ac_ext >&5
1915 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
1916 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
1917 { (exit 1); exit 1; }; }
1920 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1922 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1923 echo "${ECHO_T}$ac_cv_objext" >&6
1924 OBJEXT=$ac_cv_objext
1926 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1927 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1928 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1929 echo $ECHO_N "(cached) $ECHO_C" >&6
1931 cat >conftest.$ac_ext <<_ACEOF
1932 #line $LINENO "configure"
1933 #include "confdefs.h"
1935 #ifdef F77_DUMMY_MAIN
1939 int F77_DUMMY_MAIN() { return 1; }
1952 rm -f conftest.$ac_objext
1953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1954 (eval $ac_compile) 2>&5
1956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1957 (exit $ac_status); } &&
1958 { ac_try='test -s conftest.$ac_objext'
1959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1963 (exit $ac_status); }; }; then
1966 echo "$as_me: failed program was:" >&5
1967 cat conftest.$ac_ext >&5
1970 rm -f conftest.$ac_objext conftest.$ac_ext
1971 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1974 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1975 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1976 GCC=`test $ac_compiler_gnu = yes && echo yes`
1977 ac_test_CFLAGS=${CFLAGS+set}
1978 ac_save_CFLAGS=$CFLAGS
1980 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1981 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1982 if test "${ac_cv_prog_cc_g+set}" = set; then
1983 echo $ECHO_N "(cached) $ECHO_C" >&6
1985 cat >conftest.$ac_ext <<_ACEOF
1986 #line $LINENO "configure"
1987 #include "confdefs.h"
1989 #ifdef F77_DUMMY_MAIN
1993 int F77_DUMMY_MAIN() { return 1; }
2003 rm -f conftest.$ac_objext
2004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2005 (eval $ac_compile) 2>&5
2007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2008 (exit $ac_status); } &&
2009 { ac_try='test -s conftest.$ac_objext'
2010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2014 (exit $ac_status); }; }; then
2017 echo "$as_me: failed program was:" >&5
2018 cat conftest.$ac_ext >&5
2021 rm -f conftest.$ac_objext conftest.$ac_ext
2023 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2024 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2025 if test "$ac_test_CFLAGS" = set; then
2026 CFLAGS=$ac_save_CFLAGS
2027 elif test $ac_cv_prog_cc_g = yes; then
2028 if test "$GCC" = yes; then
2034 if test "$GCC" = yes; then
2040 # Some people use a C++ compiler to compile C. Since we use `exit',
2041 # in C++ we need to declare it. In case someone uses the same compiler
2042 # for both compiling C and C++ we need to have the C++ compiler decide
2043 # the declaration of exit, since it's the most demanding environment.
2044 cat >conftest.$ac_ext <<_ACEOF
2049 rm -f conftest.$ac_objext
2050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2051 (eval $ac_compile) 2>&5
2053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2054 (exit $ac_status); } &&
2055 { ac_try='test -s conftest.$ac_objext'
2056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2060 (exit $ac_status); }; }; then
2061 for ac_declaration in \
2063 '#include <stdlib.h>' \
2064 'extern "C" void std::exit (int) throw (); using std::exit;' \
2065 'extern "C" void std::exit (int); using std::exit;' \
2066 'extern "C" void exit (int) throw ();' \
2067 'extern "C" void exit (int);' \
2070 cat >conftest.$ac_ext <<_ACEOF
2071 #line $LINENO "configure"
2072 #include "confdefs.h"
2075 #ifdef F77_DUMMY_MAIN
2079 int F77_DUMMY_MAIN() { return 1; }
2089 rm -f conftest.$ac_objext
2090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2091 (eval $ac_compile) 2>&5
2093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2094 (exit $ac_status); } &&
2095 { ac_try='test -s conftest.$ac_objext'
2096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2100 (exit $ac_status); }; }; then
2103 echo "$as_me: failed program was:" >&5
2104 cat conftest.$ac_ext >&5
2107 rm -f conftest.$ac_objext conftest.$ac_ext
2108 cat >conftest.$ac_ext <<_ACEOF
2109 #line $LINENO "configure"
2110 #include "confdefs.h"
2112 #ifdef F77_DUMMY_MAIN
2116 int F77_DUMMY_MAIN() { return 1; }
2126 rm -f conftest.$ac_objext
2127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2128 (eval $ac_compile) 2>&5
2130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2131 (exit $ac_status); } &&
2132 { ac_try='test -s conftest.$ac_objext'
2133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2137 (exit $ac_status); }; }; then
2140 echo "$as_me: failed program was:" >&5
2141 cat conftest.$ac_ext >&5
2143 rm -f conftest.$ac_objext conftest.$ac_ext
2146 if test -n "$ac_declaration"; then
2147 echo '#ifdef __cplusplus' >>confdefs.h
2148 echo $ac_declaration >>confdefs.h
2149 echo '#endif' >>confdefs.h
2153 echo "$as_me: failed program was:" >&5
2154 cat conftest.$ac_ext >&5
2156 rm -f conftest.$ac_objext conftest.$ac_ext
2158 ac_cpp='$CPP $CPPFLAGS'
2159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2164 ac_cpp='$CPP $CPPFLAGS'
2165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2168 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2169 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2170 # On Suns, sometimes $CPP names a directory.
2171 if test -n "$CPP" && test -d "$CPP"; then
2174 if test -z "$CPP"; then
2175 if test "${ac_cv_prog_CPP+set}" = set; then
2176 echo $ECHO_N "(cached) $ECHO_C" >&6
2178 # Double quotes because CPP needs to be expanded
2179 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2182 for ac_c_preproc_warn_flag in '' yes
2184 # Use a header file that comes with gcc, so configuring glibc
2185 # with a fresh cross-compiler works.
2186 # On the NeXT, cc -E runs the code through the compiler's parser,
2187 # not just through cpp. "Syntax error" is here to catch this case.
2188 cat >conftest.$ac_ext <<_ACEOF
2189 #line $LINENO "configure"
2190 #include "confdefs.h"
2194 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2195 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2197 egrep -v '^ *\+' conftest.er1 >conftest.err
2199 cat conftest.err >&5
2200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2201 (exit $ac_status); } >/dev/null; then
2202 if test -s conftest.err; then
2203 ac_cpp_err=$ac_c_preproc_warn_flag
2210 if test -z "$ac_cpp_err"; then
2213 echo "$as_me: failed program was:" >&5
2214 cat conftest.$ac_ext >&5
2215 # Broken: fails on valid input.
2218 rm -f conftest.err conftest.$ac_ext
2220 # OK, works on sane cases. Now check whether non-existent headers
2221 # can be detected and how.
2222 cat >conftest.$ac_ext <<_ACEOF
2223 #line $LINENO "configure"
2224 #include "confdefs.h"
2225 #include <ac_nonexistent.h>
2227 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2228 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2230 egrep -v '^ *\+' conftest.er1 >conftest.err
2232 cat conftest.err >&5
2233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2234 (exit $ac_status); } >/dev/null; then
2235 if test -s conftest.err; then
2236 ac_cpp_err=$ac_c_preproc_warn_flag
2243 if test -z "$ac_cpp_err"; then
2244 # Broken: success on invalid input.
2247 echo "$as_me: failed program was:" >&5
2248 cat conftest.$ac_ext >&5
2249 # Passes both tests.
2253 rm -f conftest.err conftest.$ac_ext
2256 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2257 rm -f conftest.err conftest.$ac_ext
2258 if $ac_preproc_ok; then
2270 echo "$as_me:$LINENO: result: $CPP" >&5
2271 echo "${ECHO_T}$CPP" >&6
2273 for ac_c_preproc_warn_flag in '' yes
2275 # Use a header file that comes with gcc, so configuring glibc
2276 # with a fresh cross-compiler works.
2277 # On the NeXT, cc -E runs the code through the compiler's parser,
2278 # not just through cpp. "Syntax error" is here to catch this case.
2279 cat >conftest.$ac_ext <<_ACEOF
2280 #line $LINENO "configure"
2281 #include "confdefs.h"
2285 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2286 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2288 egrep -v '^ *\+' conftest.er1 >conftest.err
2290 cat conftest.err >&5
2291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2292 (exit $ac_status); } >/dev/null; then
2293 if test -s conftest.err; then
2294 ac_cpp_err=$ac_c_preproc_warn_flag
2301 if test -z "$ac_cpp_err"; then
2304 echo "$as_me: failed program was:" >&5
2305 cat conftest.$ac_ext >&5
2306 # Broken: fails on valid input.
2309 rm -f conftest.err conftest.$ac_ext
2311 # OK, works on sane cases. Now check whether non-existent headers
2312 # can be detected and how.
2313 cat >conftest.$ac_ext <<_ACEOF
2314 #line $LINENO "configure"
2315 #include "confdefs.h"
2316 #include <ac_nonexistent.h>
2318 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2319 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2321 egrep -v '^ *\+' conftest.er1 >conftest.err
2323 cat conftest.err >&5
2324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2325 (exit $ac_status); } >/dev/null; then
2326 if test -s conftest.err; then
2327 ac_cpp_err=$ac_c_preproc_warn_flag
2334 if test -z "$ac_cpp_err"; then
2335 # Broken: success on invalid input.
2338 echo "$as_me: failed program was:" >&5
2339 cat conftest.$ac_ext >&5
2340 # Passes both tests.
2344 rm -f conftest.err conftest.$ac_ext
2347 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2348 rm -f conftest.err conftest.$ac_ext
2349 if $ac_preproc_ok; then
2352 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2353 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2354 { (exit 1); exit 1; }; }
2358 ac_cpp='$CPP $CPPFLAGS'
2359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2365 echo "$as_me:$LINENO: checking for X" >&5
2366 echo $ECHO_N "checking for X... $ECHO_C" >&6
2369 # Check whether --with-x or --without-x was given.
2370 if test "${with_x+set}" = set; then
2374 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
2375 if test "x$with_x" = xno; then
2376 # The user explicitly disabled X.
2379 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
2380 # Both variables are already set.
2383 if test "${ac_cv_have_x+set}" = set; then
2384 echo $ECHO_N "(cached) $ECHO_C" >&6
2386 # One or both of the vars are not set, and there is no cached value.
2387 ac_x_includes=no ac_x_libraries=no
2389 if mkdir conftest.dir; then
2391 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
2392 cat >Imakefile <<'_ACEOF'
2394 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
2396 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
2397 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2398 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
2399 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
2400 for ac_extension in a so sl; do
2401 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
2402 test -f $ac_im_libdir/libX11.$ac_extension; then
2403 ac_im_usrlibdir=$ac_im_libdir; break
2406 # Screen out bogus values from the imake configuration. They are
2407 # bogus both because they are the default anyway, and because
2408 # using them would break gcc on systems where it needs fixed includes.
2409 case $ac_im_incroot in
2411 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
2413 case $ac_im_usrlibdir in
2415 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
2422 # Standard set of common directories for X headers.
2423 # Check X11 before X11Rn because it is often a symlink to the current release.
2435 /usr/local/X11/include
2436 /usr/local/X11R6/include
2437 /usr/local/X11R5/include
2438 /usr/local/X11R4/include
2440 /usr/local/include/X11
2441 /usr/local/include/X11R6
2442 /usr/local/include/X11R5
2443 /usr/local/include/X11R4
2447 /usr/XFree86/include/X11
2451 /usr/unsupported/include
2453 /usr/local/x11r5/include
2454 /usr/lpp/Xamples/include
2456 /usr/openwin/include
2457 /usr/openwin/share/include'
2459 if test "$ac_x_includes" = no; then
2460 # Guess where to find include files, by looking for Intrinsic.h.
2461 # First, try using that file with no special directory specified.
2462 cat >conftest.$ac_ext <<_ACEOF
2463 #line $LINENO "configure"
2464 #include "confdefs.h"
2465 #include <X11/Intrinsic.h>
2467 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2468 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2470 egrep -v '^ *\+' conftest.er1 >conftest.err
2472 cat conftest.err >&5
2473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2474 (exit $ac_status); } >/dev/null; then
2475 if test -s conftest.err; then
2476 ac_cpp_err=$ac_c_preproc_warn_flag
2483 if test -z "$ac_cpp_err"; then
2484 # We can compile using X headers with no special include directory.
2487 echo "$as_me: failed program was:" >&5
2488 cat conftest.$ac_ext >&5
2489 for ac_dir in $ac_x_header_dirs; do
2490 if test -r "$ac_dir/X11/Intrinsic.h"; then
2491 ac_x_includes=$ac_dir
2496 rm -f conftest.err conftest.$ac_ext
2497 fi # $ac_x_includes = no
2499 if test "$ac_x_libraries" = no; then
2500 # Check for the libraries.
2501 # See if we find them without any special options.
2502 # Don't add to $LIBS permanently.
2505 cat >conftest.$ac_ext <<_ACEOF
2506 #line $LINENO "configure"
2507 #include "confdefs.h"
2508 #include <X11/Intrinsic.h>
2509 #ifdef F77_DUMMY_MAIN
2513 int F77_DUMMY_MAIN() { return 1; }
2523 rm -f conftest.$ac_objext conftest$ac_exeext
2524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2525 (eval $ac_link) 2>&5
2527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2528 (exit $ac_status); } &&
2529 { ac_try='test -s conftest$ac_exeext'
2530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2534 (exit $ac_status); }; }; then
2536 # We can link X programs with no special library path.
2539 echo "$as_me: failed program was:" >&5
2540 cat conftest.$ac_ext >&5
2542 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
2544 # Don't even attempt the hair of trying to link an X program!
2545 for ac_extension in a so sl; do
2546 if test -r $ac_dir/libXt.$ac_extension; then
2547 ac_x_libraries=$ac_dir
2553 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2554 fi # $ac_x_libraries = no
2556 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
2557 # Didn't find X anywhere. Cache the known absence of X.
2558 ac_cv_have_x="have_x=no"
2560 # Record where we found X for the cache.
2561 ac_cv_have_x="have_x=yes \
2562 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
2567 eval "$ac_cv_have_x"
2570 if test "$have_x" != yes; then
2571 echo "$as_me:$LINENO: result: $have_x" >&5
2572 echo "${ECHO_T}$have_x" >&6
2575 # If each of the values was on the command line, it overrides each guess.
2576 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
2577 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
2578 # Update the cache value to reflect the command line values.
2579 ac_cv_have_x="have_x=yes \
2580 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
2581 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
2582 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
2585 if test "$no_x" = yes; then
2586 # Not all programs may use this symbol, but it does not hurt to define it.
2588 cat >>confdefs.h <<\_ACEOF
2589 #define X_DISPLAY_MISSING 1
2592 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
2594 if test -n "$x_includes"; then
2595 X_CFLAGS="$X_CFLAGS -I$x_includes"
2598 # It would also be nice to do this for all -L options, not just this one.
2599 if test -n "$x_libraries"; then
2600 X_LIBS="$X_LIBS -L$x_libraries"
2601 # For Solaris; some versions of Sun CC require a space after -R and
2602 # others require no space. Words are not sufficient . . . .
2603 case `(uname -sr) 2>/dev/null` in
2605 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
2606 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
2607 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
2608 cat >conftest.$ac_ext <<_ACEOF
2609 #line $LINENO "configure"
2610 #include "confdefs.h"
2612 #ifdef F77_DUMMY_MAIN
2616 int F77_DUMMY_MAIN() { return 1; }
2626 rm -f conftest.$ac_objext conftest$ac_exeext
2627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2628 (eval $ac_link) 2>&5
2630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2631 (exit $ac_status); } &&
2632 { ac_try='test -s conftest$ac_exeext'
2633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2637 (exit $ac_status); }; }; then
2640 echo "$as_me: failed program was:" >&5
2641 cat conftest.$ac_ext >&5
2644 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2645 if test $ac_R_nospace = yes; then
2646 echo "$as_me:$LINENO: result: no" >&5
2647 echo "${ECHO_T}no" >&6
2648 X_LIBS="$X_LIBS -R$x_libraries"
2650 LIBS="$ac_xsave_LIBS -R $x_libraries"
2651 cat >conftest.$ac_ext <<_ACEOF
2652 #line $LINENO "configure"
2653 #include "confdefs.h"
2655 #ifdef F77_DUMMY_MAIN
2659 int F77_DUMMY_MAIN() { return 1; }
2669 rm -f conftest.$ac_objext conftest$ac_exeext
2670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2671 (eval $ac_link) 2>&5
2673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2674 (exit $ac_status); } &&
2675 { ac_try='test -s conftest$ac_exeext'
2676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2680 (exit $ac_status); }; }; then
2683 echo "$as_me: failed program was:" >&5
2684 cat conftest.$ac_ext >&5
2687 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2688 if test $ac_R_space = yes; then
2689 echo "$as_me:$LINENO: result: yes" >&5
2690 echo "${ECHO_T}yes" >&6
2691 X_LIBS="$X_LIBS -R $x_libraries"
2693 echo "$as_me:$LINENO: result: neither works" >&5
2694 echo "${ECHO_T}neither works" >&6
2701 # Check for system-dependent libraries X programs must link with.
2702 # Do this before checking for the system-independent R6 libraries
2703 # (-lICE), since we may need -lsocket or whatever for X linking.
2705 if test "$ISC" = yes; then
2706 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
2708 # Martyn Johnson says this is needed for Ultrix, if the X
2709 # libraries were built with DECnet support. And Karl Berry says
2710 # the Alpha needs dnet_stub (dnet does not exist).
2711 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
2712 cat >conftest.$ac_ext <<_ACEOF
2713 #line $LINENO "configure"
2714 #include "confdefs.h"
2716 /* Override any gcc2 internal prototype to avoid an error. */
2720 /* We use char because int might match the return type of a gcc2
2721 builtin and then its argument prototype would still apply. */
2722 char XOpenDisplay ();
2723 #ifdef F77_DUMMY_MAIN
2727 int F77_DUMMY_MAIN() { return 1; }
2737 rm -f conftest.$ac_objext conftest$ac_exeext
2738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2739 (eval $ac_link) 2>&5
2741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742 (exit $ac_status); } &&
2743 { ac_try='test -s conftest$ac_exeext'
2744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748 (exit $ac_status); }; }; then
2751 echo "$as_me: failed program was:" >&5
2752 cat conftest.$ac_ext >&5
2753 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
2754 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
2755 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
2756 echo $ECHO_N "(cached) $ECHO_C" >&6
2758 ac_check_lib_save_LIBS=$LIBS
2760 cat >conftest.$ac_ext <<_ACEOF
2761 #line $LINENO "configure"
2762 #include "confdefs.h"
2764 /* Override any gcc2 internal prototype to avoid an error. */
2768 /* We use char because int might match the return type of a gcc2
2769 builtin and then its argument prototype would still apply. */
2771 #ifdef F77_DUMMY_MAIN
2775 int F77_DUMMY_MAIN() { return 1; }
2785 rm -f conftest.$ac_objext conftest$ac_exeext
2786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2787 (eval $ac_link) 2>&5
2789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2790 (exit $ac_status); } &&
2791 { ac_try='test -s conftest$ac_exeext'
2792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2796 (exit $ac_status); }; }; then
2797 ac_cv_lib_dnet_dnet_ntoa=yes
2799 echo "$as_me: failed program was:" >&5
2800 cat conftest.$ac_ext >&5
2801 ac_cv_lib_dnet_dnet_ntoa=no
2803 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2804 LIBS=$ac_check_lib_save_LIBS
2806 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
2807 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
2808 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
2809 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
2812 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
2813 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
2814 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
2815 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
2816 echo $ECHO_N "(cached) $ECHO_C" >&6
2818 ac_check_lib_save_LIBS=$LIBS
2819 LIBS="-ldnet_stub $LIBS"
2820 cat >conftest.$ac_ext <<_ACEOF
2821 #line $LINENO "configure"
2822 #include "confdefs.h"
2824 /* Override any gcc2 internal prototype to avoid an error. */
2828 /* We use char because int might match the return type of a gcc2
2829 builtin and then its argument prototype would still apply. */
2831 #ifdef F77_DUMMY_MAIN
2835 int F77_DUMMY_MAIN() { return 1; }
2845 rm -f conftest.$ac_objext conftest$ac_exeext
2846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2847 (eval $ac_link) 2>&5
2849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850 (exit $ac_status); } &&
2851 { ac_try='test -s conftest$ac_exeext'
2852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856 (exit $ac_status); }; }; then
2857 ac_cv_lib_dnet_stub_dnet_ntoa=yes
2859 echo "$as_me: failed program was:" >&5
2860 cat conftest.$ac_ext >&5
2861 ac_cv_lib_dnet_stub_dnet_ntoa=no
2863 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2864 LIBS=$ac_check_lib_save_LIBS
2866 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
2867 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
2868 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
2869 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
2874 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2875 LIBS="$ac_xsave_LIBS"
2877 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
2878 # to get the SysV transport functions.
2879 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
2881 # The nsl library prevents programs from opening the X display
2882 # on Irix 5.2, according to T.E. Dickey.
2883 # The functions gethostbyname, getservbyname, and inet_addr are
2884 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
2885 echo "$as_me:$LINENO: checking for gethostbyname" >&5
2886 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
2887 if test "${ac_cv_func_gethostbyname+set}" = set; then
2888 echo $ECHO_N "(cached) $ECHO_C" >&6
2890 cat >conftest.$ac_ext <<_ACEOF
2891 #line $LINENO "configure"
2892 #include "confdefs.h"
2893 /* System header to define __stub macros and hopefully few prototypes,
2894 which can conflict with char gethostbyname (); below. */
2896 /* Override any gcc2 internal prototype to avoid an error. */
2900 /* We use char because int might match the return type of a gcc2
2901 builtin and then its argument prototype would still apply. */
2902 char gethostbyname ();
2905 #ifdef F77_DUMMY_MAIN
2909 int F77_DUMMY_MAIN() { return 1; }
2914 /* The GNU C library defines this for functions which it implements
2915 to always fail with ENOSYS. Some functions are actually named
2916 something starting with __ and the normal name is an alias. */
2917 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
2927 rm -f conftest.$ac_objext conftest$ac_exeext
2928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2929 (eval $ac_link) 2>&5
2931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2932 (exit $ac_status); } &&
2933 { ac_try='test -s conftest$ac_exeext'
2934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2938 (exit $ac_status); }; }; then
2939 ac_cv_func_gethostbyname=yes
2941 echo "$as_me: failed program was:" >&5
2942 cat conftest.$ac_ext >&5
2943 ac_cv_func_gethostbyname=no
2945 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2947 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
2948 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
2950 if test $ac_cv_func_gethostbyname = no; then
2951 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
2952 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
2953 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
2954 echo $ECHO_N "(cached) $ECHO_C" >&6
2956 ac_check_lib_save_LIBS=$LIBS
2958 cat >conftest.$ac_ext <<_ACEOF
2959 #line $LINENO "configure"
2960 #include "confdefs.h"
2962 /* Override any gcc2 internal prototype to avoid an error. */
2966 /* We use char because int might match the return type of a gcc2
2967 builtin and then its argument prototype would still apply. */
2968 char gethostbyname ();
2969 #ifdef F77_DUMMY_MAIN
2973 int F77_DUMMY_MAIN() { return 1; }
2983 rm -f conftest.$ac_objext conftest$ac_exeext
2984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2985 (eval $ac_link) 2>&5
2987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2988 (exit $ac_status); } &&
2989 { ac_try='test -s conftest$ac_exeext'
2990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2994 (exit $ac_status); }; }; then
2995 ac_cv_lib_nsl_gethostbyname=yes
2997 echo "$as_me: failed program was:" >&5
2998 cat conftest.$ac_ext >&5
2999 ac_cv_lib_nsl_gethostbyname=no
3001 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3002 LIBS=$ac_check_lib_save_LIBS
3004 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3005 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3006 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3007 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
3010 if test $ac_cv_lib_nsl_gethostbyname = no; then
3011 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3012 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3013 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3014 echo $ECHO_N "(cached) $ECHO_C" >&6
3016 ac_check_lib_save_LIBS=$LIBS
3018 cat >conftest.$ac_ext <<_ACEOF
3019 #line $LINENO "configure"
3020 #include "confdefs.h"
3022 /* Override any gcc2 internal prototype to avoid an error. */
3026 /* We use char because int might match the return type of a gcc2
3027 builtin and then its argument prototype would still apply. */
3028 char gethostbyname ();
3029 #ifdef F77_DUMMY_MAIN
3033 int F77_DUMMY_MAIN() { return 1; }
3043 rm -f conftest.$ac_objext conftest$ac_exeext
3044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3045 (eval $ac_link) 2>&5
3047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3048 (exit $ac_status); } &&
3049 { ac_try='test -s conftest$ac_exeext'
3050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3054 (exit $ac_status); }; }; then
3055 ac_cv_lib_bsd_gethostbyname=yes
3057 echo "$as_me: failed program was:" >&5
3058 cat conftest.$ac_ext >&5
3059 ac_cv_lib_bsd_gethostbyname=no
3061 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3062 LIBS=$ac_check_lib_save_LIBS
3064 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3065 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3066 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3067 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
3073 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3074 # socket/setsockopt and other routines are undefined under SCO ODT
3075 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3076 # on later versions), says Simon Leinen: it contains gethostby*
3077 # variants that don't use the nameserver (or something). -lsocket
3078 # must be given before -lnsl if both are needed. We assume that
3079 # if connect needs -lnsl, so does gethostbyname.
3080 echo "$as_me:$LINENO: checking for connect" >&5
3081 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3082 if test "${ac_cv_func_connect+set}" = set; then
3083 echo $ECHO_N "(cached) $ECHO_C" >&6
3085 cat >conftest.$ac_ext <<_ACEOF
3086 #line $LINENO "configure"
3087 #include "confdefs.h"
3088 /* System header to define __stub macros and hopefully few prototypes,
3089 which can conflict with char connect (); below. */
3091 /* Override any gcc2 internal prototype to avoid an error. */
3095 /* We use char because int might match the return type of a gcc2
3096 builtin and then its argument prototype would still apply. */
3100 #ifdef F77_DUMMY_MAIN
3104 int F77_DUMMY_MAIN() { return 1; }
3109 /* The GNU C library defines this for functions which it implements
3110 to always fail with ENOSYS. Some functions are actually named
3111 something starting with __ and the normal name is an alias. */
3112 #if defined (__stub_connect) || defined (__stub___connect)
3122 rm -f conftest.$ac_objext conftest$ac_exeext
3123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3124 (eval $ac_link) 2>&5
3126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3127 (exit $ac_status); } &&
3128 { ac_try='test -s conftest$ac_exeext'
3129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3133 (exit $ac_status); }; }; then
3134 ac_cv_func_connect=yes
3136 echo "$as_me: failed program was:" >&5
3137 cat conftest.$ac_ext >&5
3138 ac_cv_func_connect=no
3140 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3142 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
3143 echo "${ECHO_T}$ac_cv_func_connect" >&6
3145 if test $ac_cv_func_connect = no; then
3146 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
3147 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
3148 if test "${ac_cv_lib_socket_connect+set}" = set; then
3149 echo $ECHO_N "(cached) $ECHO_C" >&6
3151 ac_check_lib_save_LIBS=$LIBS
3152 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
3153 cat >conftest.$ac_ext <<_ACEOF
3154 #line $LINENO "configure"
3155 #include "confdefs.h"
3157 /* Override any gcc2 internal prototype to avoid an error. */
3161 /* We use char because int might match the return type of a gcc2
3162 builtin and then its argument prototype would still apply. */
3164 #ifdef F77_DUMMY_MAIN
3168 int F77_DUMMY_MAIN() { return 1; }
3178 rm -f conftest.$ac_objext conftest$ac_exeext
3179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3180 (eval $ac_link) 2>&5
3182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3183 (exit $ac_status); } &&
3184 { ac_try='test -s conftest$ac_exeext'
3185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3189 (exit $ac_status); }; }; then
3190 ac_cv_lib_socket_connect=yes
3192 echo "$as_me: failed program was:" >&5
3193 cat conftest.$ac_ext >&5
3194 ac_cv_lib_socket_connect=no
3196 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3197 LIBS=$ac_check_lib_save_LIBS
3199 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
3200 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
3201 if test $ac_cv_lib_socket_connect = yes; then
3202 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
3207 # Guillermo Gomez says -lposix is necessary on A/UX.
3208 echo "$as_me:$LINENO: checking for remove" >&5
3209 echo $ECHO_N "checking for remove... $ECHO_C" >&6
3210 if test "${ac_cv_func_remove+set}" = set; then
3211 echo $ECHO_N "(cached) $ECHO_C" >&6
3213 cat >conftest.$ac_ext <<_ACEOF
3214 #line $LINENO "configure"
3215 #include "confdefs.h"
3216 /* System header to define __stub macros and hopefully few prototypes,
3217 which can conflict with char remove (); below. */
3219 /* Override any gcc2 internal prototype to avoid an error. */
3223 /* We use char because int might match the return type of a gcc2
3224 builtin and then its argument prototype would still apply. */
3228 #ifdef F77_DUMMY_MAIN
3232 int F77_DUMMY_MAIN() { return 1; }
3237 /* The GNU C library defines this for functions which it implements
3238 to always fail with ENOSYS. Some functions are actually named
3239 something starting with __ and the normal name is an alias. */
3240 #if defined (__stub_remove) || defined (__stub___remove)
3250 rm -f conftest.$ac_objext conftest$ac_exeext
3251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3252 (eval $ac_link) 2>&5
3254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3255 (exit $ac_status); } &&
3256 { ac_try='test -s conftest$ac_exeext'
3257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3261 (exit $ac_status); }; }; then
3262 ac_cv_func_remove=yes
3264 echo "$as_me: failed program was:" >&5
3265 cat conftest.$ac_ext >&5
3266 ac_cv_func_remove=no
3268 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3270 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
3271 echo "${ECHO_T}$ac_cv_func_remove" >&6
3273 if test $ac_cv_func_remove = no; then
3274 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
3275 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
3276 if test "${ac_cv_lib_posix_remove+set}" = set; then
3277 echo $ECHO_N "(cached) $ECHO_C" >&6
3279 ac_check_lib_save_LIBS=$LIBS
3280 LIBS="-lposix $LIBS"
3281 cat >conftest.$ac_ext <<_ACEOF
3282 #line $LINENO "configure"
3283 #include "confdefs.h"
3285 /* Override any gcc2 internal prototype to avoid an error. */
3289 /* We use char because int might match the return type of a gcc2
3290 builtin and then its argument prototype would still apply. */
3292 #ifdef F77_DUMMY_MAIN
3296 int F77_DUMMY_MAIN() { return 1; }
3306 rm -f conftest.$ac_objext conftest$ac_exeext
3307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3308 (eval $ac_link) 2>&5
3310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311 (exit $ac_status); } &&
3312 { ac_try='test -s conftest$ac_exeext'
3313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3317 (exit $ac_status); }; }; then
3318 ac_cv_lib_posix_remove=yes
3320 echo "$as_me: failed program was:" >&5
3321 cat conftest.$ac_ext >&5
3322 ac_cv_lib_posix_remove=no
3324 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3325 LIBS=$ac_check_lib_save_LIBS
3327 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
3328 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
3329 if test $ac_cv_lib_posix_remove = yes; then
3330 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
3335 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
3336 echo "$as_me:$LINENO: checking for shmat" >&5
3337 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
3338 if test "${ac_cv_func_shmat+set}" = set; then
3339 echo $ECHO_N "(cached) $ECHO_C" >&6
3341 cat >conftest.$ac_ext <<_ACEOF
3342 #line $LINENO "configure"
3343 #include "confdefs.h"
3344 /* System header to define __stub macros and hopefully few prototypes,
3345 which can conflict with char shmat (); below. */
3347 /* Override any gcc2 internal prototype to avoid an error. */
3351 /* We use char because int might match the return type of a gcc2
3352 builtin and then its argument prototype would still apply. */
3356 #ifdef F77_DUMMY_MAIN
3360 int F77_DUMMY_MAIN() { return 1; }
3365 /* The GNU C library defines this for functions which it implements
3366 to always fail with ENOSYS. Some functions are actually named
3367 something starting with __ and the normal name is an alias. */
3368 #if defined (__stub_shmat) || defined (__stub___shmat)
3378 rm -f conftest.$ac_objext conftest$ac_exeext
3379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3380 (eval $ac_link) 2>&5
3382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3383 (exit $ac_status); } &&
3384 { ac_try='test -s conftest$ac_exeext'
3385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389 (exit $ac_status); }; }; then
3390 ac_cv_func_shmat=yes
3392 echo "$as_me: failed program was:" >&5
3393 cat conftest.$ac_ext >&5
3396 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3398 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
3399 echo "${ECHO_T}$ac_cv_func_shmat" >&6
3401 if test $ac_cv_func_shmat = no; then
3402 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
3403 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
3404 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
3405 echo $ECHO_N "(cached) $ECHO_C" >&6
3407 ac_check_lib_save_LIBS=$LIBS
3409 cat >conftest.$ac_ext <<_ACEOF
3410 #line $LINENO "configure"
3411 #include "confdefs.h"
3413 /* Override any gcc2 internal prototype to avoid an error. */
3417 /* We use char because int might match the return type of a gcc2
3418 builtin and then its argument prototype would still apply. */
3420 #ifdef F77_DUMMY_MAIN
3424 int F77_DUMMY_MAIN() { return 1; }
3434 rm -f conftest.$ac_objext conftest$ac_exeext
3435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3436 (eval $ac_link) 2>&5
3438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3439 (exit $ac_status); } &&
3440 { ac_try='test -s conftest$ac_exeext'
3441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3445 (exit $ac_status); }; }; then
3446 ac_cv_lib_ipc_shmat=yes
3448 echo "$as_me: failed program was:" >&5
3449 cat conftest.$ac_ext >&5
3450 ac_cv_lib_ipc_shmat=no
3452 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3453 LIBS=$ac_check_lib_save_LIBS
3455 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
3456 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
3457 if test $ac_cv_lib_ipc_shmat = yes; then
3458 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
3464 # Check for libraries that X11R6 Xt/Xaw programs need.
3465 ac_save_LDFLAGS=$LDFLAGS
3466 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
3467 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
3468 # check for ICE first), but we must link in the order -lSM -lICE or
3469 # we get undefined symbols. So assume we have SM if we have ICE.
3470 # These have to be linked with before -lX11, unlike the other
3471 # libraries we check for below, so use a different variable.
3472 # John Interrante, Karl Berry
3473 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
3474 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
3475 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
3476 echo $ECHO_N "(cached) $ECHO_C" >&6
3478 ac_check_lib_save_LIBS=$LIBS
3479 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
3480 cat >conftest.$ac_ext <<_ACEOF
3481 #line $LINENO "configure"
3482 #include "confdefs.h"
3484 /* Override any gcc2 internal prototype to avoid an error. */
3488 /* We use char because int might match the return type of a gcc2
3489 builtin and then its argument prototype would still apply. */
3490 char IceConnectionNumber ();
3491 #ifdef F77_DUMMY_MAIN
3495 int F77_DUMMY_MAIN() { return 1; }
3500 IceConnectionNumber ();
3505 rm -f conftest.$ac_objext conftest$ac_exeext
3506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3507 (eval $ac_link) 2>&5
3509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3510 (exit $ac_status); } &&
3511 { ac_try='test -s conftest$ac_exeext'
3512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3516 (exit $ac_status); }; }; then
3517 ac_cv_lib_ICE_IceConnectionNumber=yes
3519 echo "$as_me: failed program was:" >&5
3520 cat conftest.$ac_ext >&5
3521 ac_cv_lib_ICE_IceConnectionNumber=no
3523 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3524 LIBS=$ac_check_lib_save_LIBS
3526 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
3527 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
3528 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
3529 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
3532 LDFLAGS=$ac_save_LDFLAGS
3536 for ac_prog in 'bison -y' byacc
3538 # Extract the first word of "$ac_prog", so it can be a program name with args.
3539 set dummy $ac_prog; ac_word=$2
3540 echo "$as_me:$LINENO: checking for $ac_word" >&5
3541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3542 if test "${ac_cv_prog_YACC+set}" = set; then
3543 echo $ECHO_N "(cached) $ECHO_C" >&6
3545 if test -n "$YACC"; then
3546 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3552 test -z "$as_dir" && as_dir=.
3553 for ac_exec_ext in '' $ac_executable_extensions; do
3554 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3555 ac_cv_prog_YACC="$ac_prog"
3556 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3564 YACC=$ac_cv_prog_YACC
3565 if test -n "$YACC"; then
3566 echo "$as_me:$LINENO: result: $YACC" >&5
3567 echo "${ECHO_T}$YACC" >&6
3569 echo "$as_me:$LINENO: result: no" >&5
3570 echo "${ECHO_T}no" >&6
3573 test -n "$YACC" && break
3575 test -n "$YACC" || YACC="yacc"
3577 for ac_prog in flex lex
3579 # Extract the first word of "$ac_prog", so it can be a program name with args.
3580 set dummy $ac_prog; ac_word=$2
3581 echo "$as_me:$LINENO: checking for $ac_word" >&5
3582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3583 if test "${ac_cv_prog_LEX+set}" = set; then
3584 echo $ECHO_N "(cached) $ECHO_C" >&6
3586 if test -n "$LEX"; then
3587 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3593 test -z "$as_dir" && as_dir=.
3594 for ac_exec_ext in '' $ac_executable_extensions; do
3595 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3596 ac_cv_prog_LEX="$ac_prog"
3597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3606 if test -n "$LEX"; then
3607 echo "$as_me:$LINENO: result: $LEX" >&5
3608 echo "${ECHO_T}$LEX" >&6
3610 echo "$as_me:$LINENO: result: no" >&5
3611 echo "${ECHO_T}no" >&6
3614 test -n "$LEX" && break
3616 test -n "$LEX" || LEX=":"
3618 if test -z "$LEXLIB"
3620 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3621 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3622 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3623 echo $ECHO_N "(cached) $ECHO_C" >&6
3625 ac_check_lib_save_LIBS=$LIBS
3627 cat >conftest.$ac_ext <<_ACEOF
3628 #line $LINENO "configure"
3629 #include "confdefs.h"
3631 /* Override any gcc2 internal prototype to avoid an error. */
3635 /* We use char because int might match the return type of a gcc2
3636 builtin and then its argument prototype would still apply. */
3638 #ifdef F77_DUMMY_MAIN
3642 int F77_DUMMY_MAIN() { return 1; }
3652 rm -f conftest.$ac_objext conftest$ac_exeext
3653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3654 (eval $ac_link) 2>&5
3656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3657 (exit $ac_status); } &&
3658 { ac_try='test -s conftest$ac_exeext'
3659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3663 (exit $ac_status); }; }; then
3664 ac_cv_lib_fl_yywrap=yes
3666 echo "$as_me: failed program was:" >&5
3667 cat conftest.$ac_ext >&5
3668 ac_cv_lib_fl_yywrap=no
3670 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3671 LIBS=$ac_check_lib_save_LIBS
3673 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3674 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3675 if test $ac_cv_lib_fl_yywrap = yes; then
3678 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3679 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3680 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3681 echo $ECHO_N "(cached) $ECHO_C" >&6
3683 ac_check_lib_save_LIBS=$LIBS
3685 cat >conftest.$ac_ext <<_ACEOF
3686 #line $LINENO "configure"
3687 #include "confdefs.h"
3689 /* Override any gcc2 internal prototype to avoid an error. */
3693 /* We use char because int might match the return type of a gcc2
3694 builtin and then its argument prototype would still apply. */
3696 #ifdef F77_DUMMY_MAIN
3700 int F77_DUMMY_MAIN() { return 1; }
3710 rm -f conftest.$ac_objext conftest$ac_exeext
3711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3712 (eval $ac_link) 2>&5
3714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3715 (exit $ac_status); } &&
3716 { ac_try='test -s conftest$ac_exeext'
3717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3721 (exit $ac_status); }; }; then
3722 ac_cv_lib_l_yywrap=yes
3724 echo "$as_me: failed program was:" >&5
3725 cat conftest.$ac_ext >&5
3726 ac_cv_lib_l_yywrap=no
3728 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3729 LIBS=$ac_check_lib_save_LIBS
3731 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3732 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3733 if test $ac_cv_lib_l_yywrap = yes; then
3741 if test "x$LEX" != "x:"; then
3742 echo "$as_me:$LINENO: checking lex output file root" >&5
3743 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3744 if test "${ac_cv_prog_lex_root+set}" = set; then
3745 echo $ECHO_N "(cached) $ECHO_C" >&6
3747 # The minimal lex program is just a single line: %%. But some broken lexes
3748 # (Solaris, I think it was) want two %% lines, so accommodate them.
3749 cat >conftest.l <<_ACEOF
3753 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3754 (eval $LEX conftest.l) 2>&5
3756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3757 (exit $ac_status); }
3758 if test -f lex.yy.c; then
3759 ac_cv_prog_lex_root=lex.yy
3760 elif test -f lexyy.c; then
3761 ac_cv_prog_lex_root=lexyy
3763 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3764 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3765 { (exit 1); exit 1; }; }
3768 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3769 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3771 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3773 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3774 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3775 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3776 echo $ECHO_N "(cached) $ECHO_C" >&6
3778 # POSIX says lex can declare yytext either as a pointer or an array; the
3779 # default is implementation-dependent. Figure out which it is, since
3780 # not all implementations provide the %pointer and %array declarations.
3781 ac_cv_prog_lex_yytext_pointer=no
3782 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3784 LIBS="$LIBS $LEXLIB"
3785 cat >conftest.$ac_ext <<_ACEOF
3786 `cat $LEX_OUTPUT_ROOT.c`
3788 rm -f conftest.$ac_objext conftest$ac_exeext
3789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3790 (eval $ac_link) 2>&5
3792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3793 (exit $ac_status); } &&
3794 { ac_try='test -s conftest$ac_exeext'
3795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3799 (exit $ac_status); }; }; then
3800 ac_cv_prog_lex_yytext_pointer=yes
3802 echo "$as_me: failed program was:" >&5
3803 cat conftest.$ac_ext >&5
3805 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3807 rm -f "${LEX_OUTPUT_ROOT}.c"
3810 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3811 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3812 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3814 cat >>confdefs.h <<\_ACEOF
3815 #define YYTEXT_POINTER 1
3822 for ac_prog in $YACC bison yacc
3824 # Extract the first word of "$ac_prog", so it can be a program name with args.
3825 set dummy $ac_prog; ac_word=$2
3826 echo "$as_me:$LINENO: checking for $ac_word" >&5
3827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3828 if test "${ac_cv_prog_XYACC+set}" = set; then
3829 echo $ECHO_N "(cached) $ECHO_C" >&6
3831 if test -n "$XYACC"; then
3832 ac_cv_prog_XYACC="$XYACC" # Let the user override the test.
3834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3838 test -z "$as_dir" && as_dir=.
3839 for ac_exec_ext in '' $ac_executable_extensions; do
3840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3841 ac_cv_prog_XYACC="$ac_prog"
3842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3850 XYACC=$ac_cv_prog_XYACC
3851 if test -n "$XYACC"; then
3852 echo "$as_me:$LINENO: result: $XYACC" >&5
3853 echo "${ECHO_T}$XYACC" >&6
3855 echo "$as_me:$LINENO: result: no" >&5
3856 echo "${ECHO_T}no" >&6
3859 test -n "$XYACC" && break
3861 test -n "$XYACC" || XYACC="none"
3863 if test "$XYACC" = "none"
3865 { { echo "$as_me:$LINENO: error: no suitable bison/yacc found. Please install the 'bison' package." >&5
3866 echo "$as_me: error: no suitable bison/yacc found. Please install the 'bison' package." >&2;}
3867 { (exit 1); exit 1; }; }
3869 for ac_prog in $LEX flex lex
3871 # Extract the first word of "$ac_prog", so it can be a program name with args.
3872 set dummy $ac_prog; ac_word=$2
3873 echo "$as_me:$LINENO: checking for $ac_word" >&5
3874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3875 if test "${ac_cv_prog_XLEX+set}" = set; then
3876 echo $ECHO_N "(cached) $ECHO_C" >&6
3878 if test -n "$XLEX"; then
3879 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
3881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3885 test -z "$as_dir" && as_dir=.
3886 for ac_exec_ext in '' $ac_executable_extensions; do
3887 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3888 ac_cv_prog_XLEX="$ac_prog"
3889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3897 XLEX=$ac_cv_prog_XLEX
3898 if test -n "$XLEX"; then
3899 echo "$as_me:$LINENO: result: $XLEX" >&5
3900 echo "${ECHO_T}$XLEX" >&6
3902 echo "$as_me:$LINENO: result: no" >&5
3903 echo "${ECHO_T}no" >&6
3906 test -n "$XLEX" && break
3908 test -n "$XLEX" || XLEX="none"
3910 if test "$XLEX" = "none"
3912 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
3913 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
3914 { (exit 1); exit 1; }; }
3916 if test -n "$ac_tool_prefix"; then
3917 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3918 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3919 echo "$as_me:$LINENO: checking for $ac_word" >&5
3920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3921 if test "${ac_cv_prog_RANLIB+set}" = set; then
3922 echo $ECHO_N "(cached) $ECHO_C" >&6
3924 if test -n "$RANLIB"; then
3925 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3931 test -z "$as_dir" && as_dir=.
3932 for ac_exec_ext in '' $ac_executable_extensions; do
3933 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3934 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3943 RANLIB=$ac_cv_prog_RANLIB
3944 if test -n "$RANLIB"; then
3945 echo "$as_me:$LINENO: result: $RANLIB" >&5
3946 echo "${ECHO_T}$RANLIB" >&6
3948 echo "$as_me:$LINENO: result: no" >&5
3949 echo "${ECHO_T}no" >&6
3953 if test -z "$ac_cv_prog_RANLIB"; then
3954 ac_ct_RANLIB=$RANLIB
3955 # Extract the first word of "ranlib", so it can be a program name with args.
3956 set dummy ranlib; ac_word=$2
3957 echo "$as_me:$LINENO: checking for $ac_word" >&5
3958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3959 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3960 echo $ECHO_N "(cached) $ECHO_C" >&6
3962 if test -n "$ac_ct_RANLIB"; then
3963 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3969 test -z "$as_dir" && as_dir=.
3970 for ac_exec_ext in '' $ac_executable_extensions; do
3971 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3972 ac_cv_prog_ac_ct_RANLIB="ranlib"
3973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3979 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3982 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3983 if test -n "$ac_ct_RANLIB"; then
3984 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3985 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3987 echo "$as_me:$LINENO: result: no" >&5
3988 echo "${ECHO_T}no" >&6
3991 RANLIB=$ac_ct_RANLIB
3993 RANLIB="$ac_cv_prog_RANLIB"
3996 # Find a good install program. We prefer a C program (faster),
3997 # so one script is as good as another. But avoid the broken or
3998 # incompatible versions:
3999 # SysV /etc/install, /usr/sbin/install
4000 # SunOS /usr/etc/install
4001 # IRIX /sbin/install
4003 # AmigaOS /C/install, which installs bootblocks on floppy discs
4004 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4005 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4006 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4007 # ./install, which can be erroneously created by make from ./install.sh.
4008 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4009 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4010 if test -z "$INSTALL"; then
4011 if test "${ac_cv_path_install+set}" = set; then
4012 echo $ECHO_N "(cached) $ECHO_C" >&6
4014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4018 test -z "$as_dir" && as_dir=.
4019 # Account for people who put trailing slashes in PATH elements.
4021 ./ | .// | /cC/* | \
4022 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4025 # OSF1 and SCO ODT 3.0 have their own names for install.
4026 # Don't use installbsd from OSF since it installs stuff as root
4028 for ac_prog in ginstall scoinst install; do
4029 for ac_exec_ext in '' $ac_executable_extensions; do
4030 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4031 if test $ac_prog = install &&
4032 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4033 # AIX install. It has an incompatible calling convention.
4035 elif test $ac_prog = install &&
4036 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4037 # program-specific install script used by HP pwplus--don't use.
4040 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4052 if test "${ac_cv_path_install+set}" = set; then
4053 INSTALL=$ac_cv_path_install
4055 # As a last resort, use the slow shell script. We don't cache a
4056 # path for INSTALL within a source directory, because that will
4057 # break other packages using the cache if that directory is
4058 # removed, or if the path is relative.
4059 INSTALL=$ac_install_sh
4062 echo "$as_me:$LINENO: result: $INSTALL" >&5
4063 echo "${ECHO_T}$INSTALL" >&6
4065 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4066 # It thinks the first close brace ends the variable substitution.
4067 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4069 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4071 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4073 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4074 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4076 if test "$LN_S" = "ln -s"; then
4077 echo "$as_me:$LINENO: result: yes" >&5
4078 echo "${ECHO_T}yes" >&6
4080 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4081 echo "${ECHO_T}no, using $LN_S" >&6
4084 # Extract the first word of "c2man", so it can be a program name with args.
4085 set dummy c2man; ac_word=$2
4086 echo "$as_me:$LINENO: checking for $ac_word" >&5
4087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4088 if test "${ac_cv_prog_C2MAN+set}" = set; then
4089 echo $ECHO_N "(cached) $ECHO_C" >&6
4091 if test -n "$C2MAN"; then
4092 ac_cv_prog_C2MAN="$C2MAN" # Let the user override the test.
4094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4098 test -z "$as_dir" && as_dir=.
4099 for ac_exec_ext in '' $ac_executable_extensions; do
4100 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4101 ac_cv_prog_C2MAN="c2man"
4102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4108 test -z "$ac_cv_prog_C2MAN" && ac_cv_prog_C2MAN="\$(TOPSRCDIR)/tools/c2man.pl"
4111 C2MAN=$ac_cv_prog_C2MAN
4112 if test -n "$C2MAN"; then
4113 echo "$as_me:$LINENO: result: $C2MAN" >&5
4114 echo "${ECHO_T}$C2MAN" >&6
4116 echo "$as_me:$LINENO: result: no" >&5
4117 echo "${ECHO_T}no" >&6
4120 # Extract the first word of "ldconfig", so it can be a program name with args.
4121 set dummy ldconfig; ac_word=$2
4122 echo "$as_me:$LINENO: checking for $ac_word" >&5
4123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4124 if test "${ac_cv_path_LDCONFIG+set}" = set; then
4125 echo $ECHO_N "(cached) $ECHO_C" >&6
4129 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
4132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4133 for as_dir in /sbin /usr/sbin $PATH
4136 test -z "$as_dir" && as_dir=.
4137 for ac_exec_ext in '' $ac_executable_extensions; do
4138 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4139 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
4140 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4146 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
4150 LDCONFIG=$ac_cv_path_LDCONFIG
4152 if test -n "$LDCONFIG"; then
4153 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
4154 echo "${ECHO_T}$LDCONFIG" >&6
4156 echo "$as_me:$LINENO: result: no" >&5
4157 echo "${ECHO_T}no" >&6
4161 for ac_prog in lclint lint
4163 # Extract the first word of "$ac_prog", so it can be a program name with args.
4164 set dummy $ac_prog; ac_word=$2
4165 echo "$as_me:$LINENO: checking for $ac_word" >&5
4166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4167 if test "${ac_cv_prog_LINT+set}" = set; then
4168 echo $ECHO_N "(cached) $ECHO_C" >&6
4170 if test -n "$LINT"; then
4171 ac_cv_prog_LINT="$LINT" # Let the user override the test.
4173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4177 test -z "$as_dir" && as_dir=.
4178 for ac_exec_ext in '' $ac_executable_extensions; do
4179 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4180 ac_cv_prog_LINT="$ac_prog"
4181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4189 LINT=$ac_cv_prog_LINT
4190 if test -n "$LINT"; then
4191 echo "$as_me:$LINENO: result: $LINT" >&5
4192 echo "${ECHO_T}$LINT" >&6
4194 echo "$as_me:$LINENO: result: no" >&5
4195 echo "${ECHO_T}no" >&6
4198 test -n "$LINT" && break
4201 if test "$LINT" = "lint"
4203 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4209 *cygwin*) LDCOMBINE="ld -r --enable-stdcall-fixup" ;;
4210 *) LDCOMBINE="ld -r" ;;
4216 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
4217 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
4218 if test "${ac_cv_lib_m_sqrt+set}" = set; then
4219 echo $ECHO_N "(cached) $ECHO_C" >&6
4221 ac_check_lib_save_LIBS=$LIBS
4223 cat >conftest.$ac_ext <<_ACEOF
4224 #line $LINENO "configure"
4225 #include "confdefs.h"
4227 /* Override any gcc2 internal prototype to avoid an error. */
4231 /* We use char because int might match the return type of a gcc2
4232 builtin and then its argument prototype would still apply. */
4234 #ifdef F77_DUMMY_MAIN
4238 int F77_DUMMY_MAIN() { return 1; }
4248 rm -f conftest.$ac_objext conftest$ac_exeext
4249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4250 (eval $ac_link) 2>&5
4252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4253 (exit $ac_status); } &&
4254 { ac_try='test -s conftest$ac_exeext'
4255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4259 (exit $ac_status); }; }; then
4260 ac_cv_lib_m_sqrt=yes
4262 echo "$as_me: failed program was:" >&5
4263 cat conftest.$ac_ext >&5
4266 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4267 LIBS=$ac_check_lib_save_LIBS
4269 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
4270 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
4271 if test $ac_cv_lib_m_sqrt = yes; then
4272 cat >>confdefs.h <<_ACEOF
4281 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
4282 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
4283 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
4284 echo $ECHO_N "(cached) $ECHO_C" >&6
4286 ac_check_lib_save_LIBS=$LIBS
4288 cat >conftest.$ac_ext <<_ACEOF
4289 #line $LINENO "configure"
4290 #include "confdefs.h"
4292 /* Override any gcc2 internal prototype to avoid an error. */
4296 /* We use char because int might match the return type of a gcc2
4297 builtin and then its argument prototype would still apply. */
4298 char i386_set_ldt ();
4299 #ifdef F77_DUMMY_MAIN
4303 int F77_DUMMY_MAIN() { return 1; }
4313 rm -f conftest.$ac_objext conftest$ac_exeext
4314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4315 (eval $ac_link) 2>&5
4317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4318 (exit $ac_status); } &&
4319 { ac_try='test -s conftest$ac_exeext'
4320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4324 (exit $ac_status); }; }; then
4325 ac_cv_lib_i386_i386_set_ldt=yes
4327 echo "$as_me: failed program was:" >&5
4328 cat conftest.$ac_ext >&5
4329 ac_cv_lib_i386_i386_set_ldt=no
4331 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4332 LIBS=$ac_check_lib_save_LIBS
4334 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
4335 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
4336 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
4337 cat >>confdefs.h <<_ACEOF
4338 #define HAVE_LIBI386 1
4346 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
4347 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
4348 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
4349 echo $ECHO_N "(cached) $ECHO_C" >&6
4351 ac_check_lib_save_LIBS=$LIBS
4352 LIBS="-lossaudio $LIBS"
4353 cat >conftest.$ac_ext <<_ACEOF
4354 #line $LINENO "configure"
4355 #include "confdefs.h"
4357 /* Override any gcc2 internal prototype to avoid an error. */
4361 /* We use char because int might match the return type of a gcc2
4362 builtin and then its argument prototype would still apply. */
4364 #ifdef F77_DUMMY_MAIN
4368 int F77_DUMMY_MAIN() { return 1; }
4378 rm -f conftest.$ac_objext conftest$ac_exeext
4379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4380 (eval $ac_link) 2>&5
4382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4383 (exit $ac_status); } &&
4384 { ac_try='test -s conftest$ac_exeext'
4385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4389 (exit $ac_status); }; }; then
4390 ac_cv_lib_ossaudio__oss_ioctl=yes
4392 echo "$as_me: failed program was:" >&5
4393 cat conftest.$ac_ext >&5
4394 ac_cv_lib_ossaudio__oss_ioctl=no
4396 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4397 LIBS=$ac_check_lib_save_LIBS
4399 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
4400 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
4401 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
4402 cat >>confdefs.h <<_ACEOF
4403 #define HAVE_LIBOSSAUDIO 1
4406 LIBS="-lossaudio $LIBS"
4411 for ac_func in iswalnum
4413 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4414 echo "$as_me:$LINENO: checking for $ac_func" >&5
4415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4416 if eval "test \"\${$as_ac_var+set}\" = set"; then
4417 echo $ECHO_N "(cached) $ECHO_C" >&6
4419 cat >conftest.$ac_ext <<_ACEOF
4420 #line $LINENO "configure"
4421 #include "confdefs.h"
4422 /* System header to define __stub macros and hopefully few prototypes,
4423 which can conflict with char $ac_func (); below. */
4425 /* Override any gcc2 internal prototype to avoid an error. */
4429 /* We use char because int might match the return type of a gcc2
4430 builtin and then its argument prototype would still apply. */
4434 #ifdef F77_DUMMY_MAIN
4438 int F77_DUMMY_MAIN() { return 1; }
4443 /* The GNU C library defines this for functions which it implements
4444 to always fail with ENOSYS. Some functions are actually named
4445 something starting with __ and the normal name is an alias. */
4446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4456 rm -f conftest.$ac_objext conftest$ac_exeext
4457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4458 (eval $ac_link) 2>&5
4460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4461 (exit $ac_status); } &&
4462 { ac_try='test -s conftest$ac_exeext'
4463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4467 (exit $ac_status); }; }; then
4468 eval "$as_ac_var=yes"
4470 echo "$as_me: failed program was:" >&5
4471 cat conftest.$ac_ext >&5
4472 eval "$as_ac_var=no"
4474 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4478 if test `eval echo '${'$as_ac_var'}'` = yes; then
4479 cat >>confdefs.h <<_ACEOF
4480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4485 echo "$as_me:$LINENO: checking for iswalnum in -lw" >&5
4486 echo $ECHO_N "checking for iswalnum in -lw... $ECHO_C" >&6
4487 if test "${ac_cv_lib_w_iswalnum+set}" = set; then
4488 echo $ECHO_N "(cached) $ECHO_C" >&6
4490 ac_check_lib_save_LIBS=$LIBS
4492 cat >conftest.$ac_ext <<_ACEOF
4493 #line $LINENO "configure"
4494 #include "confdefs.h"
4496 /* Override any gcc2 internal prototype to avoid an error. */
4500 /* We use char because int might match the return type of a gcc2
4501 builtin and then its argument prototype would still apply. */
4503 #ifdef F77_DUMMY_MAIN
4507 int F77_DUMMY_MAIN() { return 1; }
4517 rm -f conftest.$ac_objext conftest$ac_exeext
4518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4519 (eval $ac_link) 2>&5
4521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4522 (exit $ac_status); } &&
4523 { ac_try='test -s conftest$ac_exeext'
4524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4528 (exit $ac_status); }; }; then
4529 ac_cv_lib_w_iswalnum=yes
4531 echo "$as_me: failed program was:" >&5
4532 cat conftest.$ac_ext >&5
4533 ac_cv_lib_w_iswalnum=no
4535 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4536 LIBS=$ac_check_lib_save_LIBS
4538 echo "$as_me:$LINENO: result: $ac_cv_lib_w_iswalnum" >&5
4539 echo "${ECHO_T}$ac_cv_lib_w_iswalnum" >&6
4540 if test $ac_cv_lib_w_iswalnum = yes; then
4541 cat >>confdefs.h <<_ACEOF
4553 for ac_func in gethostbyname
4555 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4556 echo "$as_me:$LINENO: checking for $ac_func" >&5
4557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4558 if eval "test \"\${$as_ac_var+set}\" = set"; then
4559 echo $ECHO_N "(cached) $ECHO_C" >&6
4561 cat >conftest.$ac_ext <<_ACEOF
4562 #line $LINENO "configure"
4563 #include "confdefs.h"
4564 /* System header to define __stub macros and hopefully few prototypes,
4565 which can conflict with char $ac_func (); below. */
4567 /* Override any gcc2 internal prototype to avoid an error. */
4571 /* We use char because int might match the return type of a gcc2
4572 builtin and then its argument prototype would still apply. */
4576 #ifdef F77_DUMMY_MAIN
4580 int F77_DUMMY_MAIN() { return 1; }
4585 /* The GNU C library defines this for functions which it implements
4586 to always fail with ENOSYS. Some functions are actually named
4587 something starting with __ and the normal name is an alias. */
4588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4598 rm -f conftest.$ac_objext conftest$ac_exeext
4599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4600 (eval $ac_link) 2>&5
4602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4603 (exit $ac_status); } &&
4604 { ac_try='test -s conftest$ac_exeext'
4605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4609 (exit $ac_status); }; }; then
4610 eval "$as_ac_var=yes"
4612 echo "$as_me: failed program was:" >&5
4613 cat conftest.$ac_ext >&5
4614 eval "$as_ac_var=no"
4616 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4620 if test `eval echo '${'$as_ac_var'}'` = yes; then
4621 cat >>confdefs.h <<_ACEOF
4622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4627 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4628 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
4629 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4630 echo $ECHO_N "(cached) $ECHO_C" >&6
4632 ac_check_lib_save_LIBS=$LIBS
4634 cat >conftest.$ac_ext <<_ACEOF
4635 #line $LINENO "configure"
4636 #include "confdefs.h"
4638 /* Override any gcc2 internal prototype to avoid an error. */
4642 /* We use char because int might match the return type of a gcc2
4643 builtin and then its argument prototype would still apply. */
4644 char gethostbyname ();
4645 #ifdef F77_DUMMY_MAIN
4649 int F77_DUMMY_MAIN() { return 1; }
4659 rm -f conftest.$ac_objext conftest$ac_exeext
4660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4661 (eval $ac_link) 2>&5
4663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4664 (exit $ac_status); } &&
4665 { ac_try='test -s conftest$ac_exeext'
4666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4670 (exit $ac_status); }; }; then
4671 ac_cv_lib_nsl_gethostbyname=yes
4673 echo "$as_me: failed program was:" >&5
4674 cat conftest.$ac_ext >&5
4675 ac_cv_lib_nsl_gethostbyname=no
4677 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4678 LIBS=$ac_check_lib_save_LIBS
4680 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4681 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
4682 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4683 cat >>confdefs.h <<_ACEOF
4684 #define HAVE_LIBNSL 1
4695 for ac_func in connect
4697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4698 echo "$as_me:$LINENO: checking for $ac_func" >&5
4699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4700 if eval "test \"\${$as_ac_var+set}\" = set"; then
4701 echo $ECHO_N "(cached) $ECHO_C" >&6
4703 cat >conftest.$ac_ext <<_ACEOF
4704 #line $LINENO "configure"
4705 #include "confdefs.h"
4706 /* System header to define __stub macros and hopefully few prototypes,
4707 which can conflict with char $ac_func (); below. */
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. */
4718 #ifdef F77_DUMMY_MAIN
4722 int F77_DUMMY_MAIN() { return 1; }
4727 /* The GNU C library defines this for functions which it implements
4728 to always fail with ENOSYS. Some functions are actually named
4729 something starting with __ and the normal name is an alias. */
4730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4740 rm -f conftest.$ac_objext conftest$ac_exeext
4741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4742 (eval $ac_link) 2>&5
4744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4745 (exit $ac_status); } &&
4746 { ac_try='test -s conftest$ac_exeext'
4747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4751 (exit $ac_status); }; }; then
4752 eval "$as_ac_var=yes"
4754 echo "$as_me: failed program was:" >&5
4755 cat conftest.$ac_ext >&5
4756 eval "$as_ac_var=no"
4758 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4761 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4762 if test `eval echo '${'$as_ac_var'}'` = yes; then
4763 cat >>confdefs.h <<_ACEOF
4764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4769 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4770 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
4771 if test "${ac_cv_lib_socket_connect+set}" = set; then
4772 echo $ECHO_N "(cached) $ECHO_C" >&6
4774 ac_check_lib_save_LIBS=$LIBS
4775 LIBS="-lsocket $LIBS"
4776 cat >conftest.$ac_ext <<_ACEOF
4777 #line $LINENO "configure"
4778 #include "confdefs.h"
4780 /* Override any gcc2 internal prototype to avoid an error. */
4784 /* We use char because int might match the return type of a gcc2
4785 builtin and then its argument prototype would still apply. */
4787 #ifdef F77_DUMMY_MAIN
4791 int F77_DUMMY_MAIN() { return 1; }
4801 rm -f conftest.$ac_objext conftest$ac_exeext
4802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4803 (eval $ac_link) 2>&5
4805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4806 (exit $ac_status); } &&
4807 { ac_try='test -s conftest$ac_exeext'
4808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4812 (exit $ac_status); }; }; then
4813 ac_cv_lib_socket_connect=yes
4815 echo "$as_me: failed program was:" >&5
4816 cat conftest.$ac_ext >&5
4817 ac_cv_lib_socket_connect=no
4819 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4820 LIBS=$ac_check_lib_save_LIBS
4822 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4823 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
4824 if test $ac_cv_lib_socket_connect = yes; then
4825 cat >>confdefs.h <<_ACEOF
4826 #define HAVE_LIBSOCKET 1
4829 LIBS="-lsocket $LIBS"
4837 for ac_func in inet_aton
4839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4840 echo "$as_me:$LINENO: checking for $ac_func" >&5
4841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4842 if eval "test \"\${$as_ac_var+set}\" = set"; then
4843 echo $ECHO_N "(cached) $ECHO_C" >&6
4845 cat >conftest.$ac_ext <<_ACEOF
4846 #line $LINENO "configure"
4847 #include "confdefs.h"
4848 /* System header to define __stub macros and hopefully few prototypes,
4849 which can conflict with char $ac_func (); below. */
4851 /* Override any gcc2 internal prototype to avoid an error. */
4855 /* We use char because int might match the return type of a gcc2
4856 builtin and then its argument prototype would still apply. */
4860 #ifdef F77_DUMMY_MAIN
4864 int F77_DUMMY_MAIN() { return 1; }
4869 /* The GNU C library defines this for functions which it implements
4870 to always fail with ENOSYS. Some functions are actually named
4871 something starting with __ and the normal name is an alias. */
4872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4882 rm -f conftest.$ac_objext conftest$ac_exeext
4883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4884 (eval $ac_link) 2>&5
4886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4887 (exit $ac_status); } &&
4888 { ac_try='test -s conftest$ac_exeext'
4889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4893 (exit $ac_status); }; }; then
4894 eval "$as_ac_var=yes"
4896 echo "$as_me: failed program was:" >&5
4897 cat conftest.$ac_ext >&5
4898 eval "$as_ac_var=no"
4900 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4904 if test `eval echo '${'$as_ac_var'}'` = yes; then
4905 cat >>confdefs.h <<_ACEOF
4906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4911 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
4912 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
4913 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
4914 echo $ECHO_N "(cached) $ECHO_C" >&6
4916 ac_check_lib_save_LIBS=$LIBS
4917 LIBS="-lresolv $LIBS"
4918 cat >conftest.$ac_ext <<_ACEOF
4919 #line $LINENO "configure"
4920 #include "confdefs.h"
4922 /* Override any gcc2 internal prototype to avoid an error. */
4926 /* We use char because int might match the return type of a gcc2
4927 builtin and then its argument prototype would still apply. */
4929 #ifdef F77_DUMMY_MAIN
4933 int F77_DUMMY_MAIN() { return 1; }
4943 rm -f conftest.$ac_objext conftest$ac_exeext
4944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4945 (eval $ac_link) 2>&5
4947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4948 (exit $ac_status); } &&
4949 { ac_try='test -s conftest$ac_exeext'
4950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4954 (exit $ac_status); }; }; then
4955 ac_cv_lib_resolv_inet_aton=yes
4957 echo "$as_me: failed program was:" >&5
4958 cat conftest.$ac_ext >&5
4959 ac_cv_lib_resolv_inet_aton=no
4961 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4962 LIBS=$ac_check_lib_save_LIBS
4964 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
4965 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
4966 if test $ac_cv_lib_resolv_inet_aton = yes; then
4967 cat >>confdefs.h <<_ACEOF
4968 #define HAVE_LIBRESOLV 1
4971 LIBS="-lresolv $LIBS"
4979 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
4980 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
4981 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
4982 echo $ECHO_N "(cached) $ECHO_C" >&6
4984 ac_check_lib_save_LIBS=$LIBS
4986 cat >conftest.$ac_ext <<_ACEOF
4987 #line $LINENO "configure"
4988 #include "confdefs.h"
4990 /* Override any gcc2 internal prototype to avoid an error. */
4994 /* We use char because int might match the return type of a gcc2
4995 builtin and then its argument prototype would still apply. */
4996 char _xpg4_setrunelocale ();
4997 #ifdef F77_DUMMY_MAIN
5001 int F77_DUMMY_MAIN() { return 1; }
5006 _xpg4_setrunelocale ();
5011 rm -f conftest.$ac_objext conftest$ac_exeext
5012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5013 (eval $ac_link) 2>&5
5015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5016 (exit $ac_status); } &&
5017 { ac_try='test -s conftest$ac_exeext'
5018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5022 (exit $ac_status); }; }; then
5023 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
5025 echo "$as_me: failed program was:" >&5
5026 cat conftest.$ac_ext >&5
5027 ac_cv_lib_xpg4__xpg4_setrunelocale=no
5029 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5030 LIBS=$ac_check_lib_save_LIBS
5032 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
5033 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
5034 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
5035 cat >>confdefs.h <<_ACEOF
5036 #define HAVE_LIBXPG4 1
5044 echo "$as_me:$LINENO: checking for mmap in -lmmap" >&5
5045 echo $ECHO_N "checking for mmap in -lmmap... $ECHO_C" >&6
5046 if test "${ac_cv_lib_mmap_mmap+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. */
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_mmap_mmap=yes
5090 echo "$as_me: failed program was:" >&5
5091 cat conftest.$ac_ext >&5
5092 ac_cv_lib_mmap_mmap=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_mmap_mmap" >&5
5098 echo "${ECHO_T}$ac_cv_lib_mmap_mmap" >&6
5099 if test $ac_cv_lib_mmap_mmap = yes; then
5100 cat >>confdefs.h <<_ACEOF
5101 #define HAVE_LIBMMAP 1
5112 for ac_func in openpty
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
5185 echo "$as_me:$LINENO: checking for openpty in -lutil" >&5
5186 echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6
5187 if test "${ac_cv_lib_util_openpty+set}" = set; then
5188 echo $ECHO_N "(cached) $ECHO_C" >&6
5190 ac_check_lib_save_LIBS=$LIBS
5192 cat >conftest.$ac_ext <<_ACEOF
5193 #line $LINENO "configure"
5194 #include "confdefs.h"
5196 /* Override any gcc2 internal prototype to avoid an error. */
5200 /* We use char because int might match the return type of a gcc2
5201 builtin and then its argument prototype would still apply. */
5203 #ifdef F77_DUMMY_MAIN
5207 int F77_DUMMY_MAIN() { return 1; }
5217 rm -f conftest.$ac_objext conftest$ac_exeext
5218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5219 (eval $ac_link) 2>&5
5221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5222 (exit $ac_status); } &&
5223 { ac_try='test -s conftest$ac_exeext'
5224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5228 (exit $ac_status); }; }; then
5229 ac_cv_lib_util_openpty=yes
5231 echo "$as_me: failed program was:" >&5
5232 cat conftest.$ac_ext >&5
5233 ac_cv_lib_util_openpty=no
5235 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5236 LIBS=$ac_check_lib_save_LIBS
5238 echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5
5239 echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6
5240 if test $ac_cv_lib_util_openpty = yes; then
5241 cat >>confdefs.h <<\_ACEOF
5242 #define HAVE_OPENPTY 1
5255 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5256 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5257 if test "${ac_cv_header_stdc+set}" = set; then
5258 echo $ECHO_N "(cached) $ECHO_C" >&6
5260 cat >conftest.$ac_ext <<_ACEOF
5261 #line $LINENO "configure"
5262 #include "confdefs.h"
5269 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5270 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5272 egrep -v '^ *\+' conftest.er1 >conftest.err
5274 cat conftest.err >&5
5275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5276 (exit $ac_status); } >/dev/null; then
5277 if test -s conftest.err; then
5278 ac_cpp_err=$ac_c_preproc_warn_flag
5285 if test -z "$ac_cpp_err"; then
5286 ac_cv_header_stdc=yes
5288 echo "$as_me: failed program was:" >&5
5289 cat conftest.$ac_ext >&5
5290 ac_cv_header_stdc=no
5292 rm -f conftest.err conftest.$ac_ext
5294 if test $ac_cv_header_stdc = yes; then
5295 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5296 cat >conftest.$ac_ext <<_ACEOF
5297 #line $LINENO "configure"
5298 #include "confdefs.h"
5302 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5303 egrep "memchr" >/dev/null 2>&1; then
5306 ac_cv_header_stdc=no
5312 if test $ac_cv_header_stdc = yes; then
5313 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5314 cat >conftest.$ac_ext <<_ACEOF
5315 #line $LINENO "configure"
5316 #include "confdefs.h"
5320 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5321 egrep "free" >/dev/null 2>&1; then
5324 ac_cv_header_stdc=no
5330 if test $ac_cv_header_stdc = yes; then
5331 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5332 if test "$cross_compiling" = yes; then
5335 cat >conftest.$ac_ext <<_ACEOF
5336 #line $LINENO "configure"
5337 #include "confdefs.h"
5339 #if ((' ' & 0x0FF) == 0x020)
5340 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5341 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5343 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
5344 || ('j' <= (c) && (c) <= 'r') \
5345 || ('s' <= (c) && (c) <= 'z'))
5346 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5349 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5354 for (i = 0; i < 256; i++)
5355 if (XOR (islower (i), ISLOWER (i))
5356 || toupper (i) != TOUPPER (i))
5361 rm -f conftest$ac_exeext
5362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5363 (eval $ac_link) 2>&5
5365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5366 (exit $ac_status); } && { ac_try='./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
5374 echo "$as_me: program exited with status $ac_status" >&5
5375 echo "$as_me: failed program was:" >&5
5376 cat conftest.$ac_ext >&5
5378 ac_cv_header_stdc=no
5380 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5384 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5385 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5386 if test $ac_cv_header_stdc = yes; then
5388 cat >>confdefs.h <<\_ACEOF
5389 #define STDC_HEADERS 1
5394 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5404 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5405 inttypes.h stdint.h unistd.h
5407 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5408 echo "$as_me:$LINENO: checking for $ac_header" >&5
5409 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5410 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5411 echo $ECHO_N "(cached) $ECHO_C" >&6
5413 cat >conftest.$ac_ext <<_ACEOF
5414 #line $LINENO "configure"
5415 #include "confdefs.h"
5416 $ac_includes_default
5418 #include <$ac_header>
5420 rm -f conftest.$ac_objext
5421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5422 (eval $ac_compile) 2>&5
5424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5425 (exit $ac_status); } &&
5426 { ac_try='test -s conftest.$ac_objext'
5427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5431 (exit $ac_status); }; }; then
5432 eval "$as_ac_Header=yes"
5434 echo "$as_me: failed program was:" >&5
5435 cat conftest.$ac_ext >&5
5436 eval "$as_ac_Header=no"
5438 rm -f conftest.$ac_objext conftest.$ac_ext
5440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5441 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5442 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5443 cat >>confdefs.h <<_ACEOF
5444 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5453 for ac_header in dlfcn.h
5455 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5456 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5457 echo "$as_me:$LINENO: checking for $ac_header" >&5
5458 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5459 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5460 echo $ECHO_N "(cached) $ECHO_C" >&6
5462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5463 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5465 # Is the header compilable?
5466 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5467 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5468 cat >conftest.$ac_ext <<_ACEOF
5469 #line $LINENO "configure"
5470 #include "confdefs.h"
5471 $ac_includes_default
5472 #include <$ac_header>
5474 rm -f conftest.$ac_objext
5475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5476 (eval $ac_compile) 2>&5
5478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5479 (exit $ac_status); } &&
5480 { ac_try='test -s conftest.$ac_objext'
5481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5485 (exit $ac_status); }; }; then
5486 ac_header_compiler=yes
5488 echo "$as_me: failed program was:" >&5
5489 cat conftest.$ac_ext >&5
5490 ac_header_compiler=no
5492 rm -f conftest.$ac_objext conftest.$ac_ext
5493 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5494 echo "${ECHO_T}$ac_header_compiler" >&6
5496 # Is the header present?
5497 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5498 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5499 cat >conftest.$ac_ext <<_ACEOF
5500 #line $LINENO "configure"
5501 #include "confdefs.h"
5502 #include <$ac_header>
5504 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5505 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5507 egrep -v '^ *\+' conftest.er1 >conftest.err
5509 cat conftest.err >&5
5510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5511 (exit $ac_status); } >/dev/null; then
5512 if test -s conftest.err; then
5513 ac_cpp_err=$ac_c_preproc_warn_flag
5520 if test -z "$ac_cpp_err"; then
5521 ac_header_preproc=yes
5523 echo "$as_me: failed program was:" >&5
5524 cat conftest.$ac_ext >&5
5525 ac_header_preproc=no
5527 rm -f conftest.err conftest.$ac_ext
5528 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5529 echo "${ECHO_T}$ac_header_preproc" >&6
5531 # So? What about this header?
5532 case $ac_header_compiler:$ac_header_preproc in
5534 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5535 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5536 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5537 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5539 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5540 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5541 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5542 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5543 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5544 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5546 echo "$as_me:$LINENO: checking for $ac_header" >&5
5547 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5548 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5549 echo $ECHO_N "(cached) $ECHO_C" >&6
5551 eval "$as_ac_Header=$ac_header_preproc"
5553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5554 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5557 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5558 cat >>confdefs.h <<_ACEOF
5559 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5562 for ac_func in dlopen
5564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5565 echo "$as_me:$LINENO: checking for $ac_func" >&5
5566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5567 if eval "test \"\${$as_ac_var+set}\" = set"; then
5568 echo $ECHO_N "(cached) $ECHO_C" >&6
5570 cat >conftest.$ac_ext <<_ACEOF
5571 #line $LINENO "configure"
5572 #include "confdefs.h"
5573 /* System header to define __stub macros and hopefully few prototypes,
5574 which can conflict with char $ac_func (); below. */
5576 /* Override any gcc2 internal prototype to avoid an error. */
5580 /* We use char because int might match the return type of a gcc2
5581 builtin and then its argument prototype would still apply. */
5585 #ifdef F77_DUMMY_MAIN
5589 int F77_DUMMY_MAIN() { return 1; }
5594 /* The GNU C library defines this for functions which it implements
5595 to always fail with ENOSYS. Some functions are actually named
5596 something starting with __ and the normal name is an alias. */
5597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5607 rm -f conftest.$ac_objext conftest$ac_exeext
5608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5609 (eval $ac_link) 2>&5
5611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5612 (exit $ac_status); } &&
5613 { ac_try='test -s conftest$ac_exeext'
5614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5618 (exit $ac_status); }; }; then
5619 eval "$as_ac_var=yes"
5621 echo "$as_me: failed program was:" >&5
5622 cat conftest.$ac_ext >&5
5623 eval "$as_ac_var=no"
5625 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5629 if test `eval echo '${'$as_ac_var'}'` = yes; then
5630 cat >>confdefs.h <<_ACEOF
5631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5635 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
5636 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
5637 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
5638 echo $ECHO_N "(cached) $ECHO_C" >&6
5640 ac_check_lib_save_LIBS=$LIBS
5642 cat >conftest.$ac_ext <<_ACEOF
5643 #line $LINENO "configure"
5644 #include "confdefs.h"
5646 /* Override any gcc2 internal prototype to avoid an error. */
5650 /* We use char because int might match the return type of a gcc2
5651 builtin and then its argument prototype would still apply. */
5653 #ifdef F77_DUMMY_MAIN
5657 int F77_DUMMY_MAIN() { return 1; }
5667 rm -f conftest.$ac_objext conftest$ac_exeext
5668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5669 (eval $ac_link) 2>&5
5671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5672 (exit $ac_status); } &&
5673 { ac_try='test -s conftest$ac_exeext'
5674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5678 (exit $ac_status); }; }; then
5679 ac_cv_lib_dl_dlopen=yes
5681 echo "$as_me: failed program was:" >&5
5682 cat conftest.$ac_ext >&5
5683 ac_cv_lib_dl_dlopen=no
5685 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5686 LIBS=$ac_check_lib_save_LIBS
5688 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
5689 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
5690 if test $ac_cv_lib_dl_dlopen = yes; then
5692 cat >>confdefs.h <<\_ACEOF
5693 #define HAVE_DLOPEN 1
5716 for ac_header in jpeglib.h
5718 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5719 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5720 echo "$as_me:$LINENO: checking for $ac_header" >&5
5721 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5722 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5723 echo $ECHO_N "(cached) $ECHO_C" >&6
5725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5726 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5728 # Is the header compilable?
5729 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5730 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5731 cat >conftest.$ac_ext <<_ACEOF
5732 #line $LINENO "configure"
5733 #include "confdefs.h"
5734 $ac_includes_default
5735 #include <$ac_header>
5737 rm -f conftest.$ac_objext
5738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5739 (eval $ac_compile) 2>&5
5741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5742 (exit $ac_status); } &&
5743 { ac_try='test -s conftest.$ac_objext'
5744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5748 (exit $ac_status); }; }; then
5749 ac_header_compiler=yes
5751 echo "$as_me: failed program was:" >&5
5752 cat conftest.$ac_ext >&5
5753 ac_header_compiler=no
5755 rm -f conftest.$ac_objext conftest.$ac_ext
5756 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5757 echo "${ECHO_T}$ac_header_compiler" >&6
5759 # Is the header present?
5760 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5761 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5762 cat >conftest.$ac_ext <<_ACEOF
5763 #line $LINENO "configure"
5764 #include "confdefs.h"
5765 #include <$ac_header>
5767 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5768 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5770 egrep -v '^ *\+' conftest.er1 >conftest.err
5772 cat conftest.err >&5
5773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5774 (exit $ac_status); } >/dev/null; then
5775 if test -s conftest.err; then
5776 ac_cpp_err=$ac_c_preproc_warn_flag
5783 if test -z "$ac_cpp_err"; then
5784 ac_header_preproc=yes
5786 echo "$as_me: failed program was:" >&5
5787 cat conftest.$ac_ext >&5
5788 ac_header_preproc=no
5790 rm -f conftest.err conftest.$ac_ext
5791 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5792 echo "${ECHO_T}$ac_header_preproc" >&6
5794 # So? What about this header?
5795 case $ac_header_compiler:$ac_header_preproc in
5797 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5798 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5799 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5800 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5802 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5803 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5804 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5805 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5806 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5807 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5809 echo "$as_me:$LINENO: checking for $ac_header" >&5
5810 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5812 echo $ECHO_N "(cached) $ECHO_C" >&6
5814 eval "$as_ac_Header=$ac_header_preproc"
5816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5817 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5820 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5821 cat >>confdefs.h <<_ACEOF
5822 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5824 echo "$as_me:$LINENO: checking for jpeg_start_decompress in -ljpeg" >&5
5825 echo $ECHO_N "checking for jpeg_start_decompress in -ljpeg... $ECHO_C" >&6
5826 if test "${ac_cv_lib_jpeg_jpeg_start_decompress+set}" = set; then
5827 echo $ECHO_N "(cached) $ECHO_C" >&6
5829 ac_check_lib_save_LIBS=$LIBS
5831 cat >conftest.$ac_ext <<_ACEOF
5832 #line $LINENO "configure"
5833 #include "confdefs.h"
5835 /* Override any gcc2 internal prototype to avoid an error. */
5839 /* We use char because int might match the return type of a gcc2
5840 builtin and then its argument prototype would still apply. */
5841 char jpeg_start_decompress ();
5842 #ifdef F77_DUMMY_MAIN
5846 int F77_DUMMY_MAIN() { return 1; }
5851 jpeg_start_decompress ();
5856 rm -f conftest.$ac_objext conftest$ac_exeext
5857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5858 (eval $ac_link) 2>&5
5860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5861 (exit $ac_status); } &&
5862 { ac_try='test -s conftest$ac_exeext'
5863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5867 (exit $ac_status); }; }; then
5868 ac_cv_lib_jpeg_jpeg_start_decompress=yes
5870 echo "$as_me: failed program was:" >&5
5871 cat conftest.$ac_ext >&5
5872 ac_cv_lib_jpeg_jpeg_start_decompress=no
5874 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5875 LIBS=$ac_check_lib_save_LIBS
5877 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_start_decompress" >&5
5878 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_start_decompress" >&6
5879 if test $ac_cv_lib_jpeg_jpeg_start_decompress = yes; then
5881 cat >>confdefs.h <<\_ACEOF
5882 #define HAVE_LIBJPEG 1
5903 if test "$have_x" = "yes"
5906 ac_save_CPPFLAGS="$CPPFLAGS"
5907 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
5910 for ac_header in X11/Xlib.h
5912 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5913 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5914 echo "$as_me:$LINENO: checking for $ac_header" >&5
5915 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5916 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5917 echo $ECHO_N "(cached) $ECHO_C" >&6
5919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5920 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5922 # Is the header compilable?
5923 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5924 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5925 cat >conftest.$ac_ext <<_ACEOF
5926 #line $LINENO "configure"
5927 #include "confdefs.h"
5928 $ac_includes_default
5929 #include <$ac_header>
5931 rm -f conftest.$ac_objext
5932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5933 (eval $ac_compile) 2>&5
5935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5936 (exit $ac_status); } &&
5937 { ac_try='test -s conftest.$ac_objext'
5938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5942 (exit $ac_status); }; }; then
5943 ac_header_compiler=yes
5945 echo "$as_me: failed program was:" >&5
5946 cat conftest.$ac_ext >&5
5947 ac_header_compiler=no
5949 rm -f conftest.$ac_objext conftest.$ac_ext
5950 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5951 echo "${ECHO_T}$ac_header_compiler" >&6
5953 # Is the header present?
5954 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5955 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5956 cat >conftest.$ac_ext <<_ACEOF
5957 #line $LINENO "configure"
5958 #include "confdefs.h"
5959 #include <$ac_header>
5961 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5962 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5964 egrep -v '^ *\+' conftest.er1 >conftest.err
5966 cat conftest.err >&5
5967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5968 (exit $ac_status); } >/dev/null; then
5969 if test -s conftest.err; then
5970 ac_cpp_err=$ac_c_preproc_warn_flag
5977 if test -z "$ac_cpp_err"; then
5978 ac_header_preproc=yes
5980 echo "$as_me: failed program was:" >&5
5981 cat conftest.$ac_ext >&5
5982 ac_header_preproc=no
5984 rm -f conftest.err conftest.$ac_ext
5985 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5986 echo "${ECHO_T}$ac_header_preproc" >&6
5988 # So? What about this header?
5989 case $ac_header_compiler:$ac_header_preproc in
5991 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5992 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5993 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5994 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5996 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5997 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5998 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5999 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6000 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6001 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6003 echo "$as_me:$LINENO: checking for $ac_header" >&5
6004 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6005 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6006 echo $ECHO_N "(cached) $ECHO_C" >&6
6008 eval "$as_ac_Header=$ac_header_preproc"
6010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6011 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6014 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6015 cat >>confdefs.h <<_ACEOF
6016 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6020 for ac_header in X11/XKBlib.h
6022 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6023 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6024 echo "$as_me:$LINENO: checking for $ac_header" >&5
6025 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6026 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6027 echo $ECHO_N "(cached) $ECHO_C" >&6
6029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6030 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6032 # Is the header compilable?
6033 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6034 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6035 cat >conftest.$ac_ext <<_ACEOF
6036 #line $LINENO "configure"
6037 #include "confdefs.h"
6038 $ac_includes_default
6039 #include <$ac_header>
6041 rm -f conftest.$ac_objext
6042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6043 (eval $ac_compile) 2>&5
6045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6046 (exit $ac_status); } &&
6047 { ac_try='test -s conftest.$ac_objext'
6048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6052 (exit $ac_status); }; }; then
6053 ac_header_compiler=yes
6055 echo "$as_me: failed program was:" >&5
6056 cat conftest.$ac_ext >&5
6057 ac_header_compiler=no
6059 rm -f conftest.$ac_objext conftest.$ac_ext
6060 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6061 echo "${ECHO_T}$ac_header_compiler" >&6
6063 # Is the header present?
6064 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6065 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6066 cat >conftest.$ac_ext <<_ACEOF
6067 #line $LINENO "configure"
6068 #include "confdefs.h"
6069 #include <$ac_header>
6071 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6072 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6074 egrep -v '^ *\+' conftest.er1 >conftest.err
6076 cat conftest.err >&5
6077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6078 (exit $ac_status); } >/dev/null; then
6079 if test -s conftest.err; then
6080 ac_cpp_err=$ac_c_preproc_warn_flag
6087 if test -z "$ac_cpp_err"; then
6088 ac_header_preproc=yes
6090 echo "$as_me: failed program was:" >&5
6091 cat conftest.$ac_ext >&5
6092 ac_header_preproc=no
6094 rm -f conftest.err conftest.$ac_ext
6095 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6096 echo "${ECHO_T}$ac_header_preproc" >&6
6098 # So? What about this header?
6099 case $ac_header_compiler:$ac_header_preproc in
6101 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6102 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6103 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6104 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6106 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6107 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6108 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6109 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6110 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6111 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6113 echo "$as_me:$LINENO: checking for $ac_header" >&5
6114 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6115 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6116 echo $ECHO_N "(cached) $ECHO_C" >&6
6118 eval "$as_ac_Header=$ac_header_preproc"
6120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6121 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6124 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6125 cat >>confdefs.h <<_ACEOF
6126 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6128 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
6129 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
6130 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
6131 echo $ECHO_N "(cached) $ECHO_C" >&6
6133 ac_check_lib_save_LIBS=$LIBS
6134 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6135 cat >conftest.$ac_ext <<_ACEOF
6136 #line $LINENO "configure"
6137 #include "confdefs.h"
6139 /* Override any gcc2 internal prototype to avoid an error. */
6143 /* We use char because int might match the return type of a gcc2
6144 builtin and then its argument prototype would still apply. */
6145 char XkbQueryExtension ();
6146 #ifdef F77_DUMMY_MAIN
6150 int F77_DUMMY_MAIN() { return 1; }
6155 XkbQueryExtension ();
6160 rm -f conftest.$ac_objext conftest$ac_exeext
6161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6162 (eval $ac_link) 2>&5
6164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6165 (exit $ac_status); } &&
6166 { ac_try='test -s conftest$ac_exeext'
6167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6171 (exit $ac_status); }; }; then
6172 ac_cv_lib_X11_XkbQueryExtension=yes
6174 echo "$as_me: failed program was:" >&5
6175 cat conftest.$ac_ext >&5
6176 ac_cv_lib_X11_XkbQueryExtension=no
6178 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6179 LIBS=$ac_check_lib_save_LIBS
6181 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
6182 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
6183 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
6185 cat >>confdefs.h <<\_ACEOF
6193 { echo "$as_me:$LINENO: WARNING: Xkb extension not found, Wine will be built without it" >&5
6194 echo "$as_me: WARNING: Xkb extension not found, Wine will be built without it" >&2;}
6202 for ac_header in X11/extensions/XShm.h
6204 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6205 echo "$as_me:$LINENO: checking for $ac_header" >&5
6206 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6207 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6208 echo $ECHO_N "(cached) $ECHO_C" >&6
6210 cat >conftest.$ac_ext <<_ACEOF
6211 #line $LINENO "configure"
6212 #include "confdefs.h"
6213 #include <X11/Xlib.h>
6215 #include <$ac_header>
6217 rm -f conftest.$ac_objext
6218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6219 (eval $ac_compile) 2>&5
6221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6222 (exit $ac_status); } &&
6223 { ac_try='test -s conftest.$ac_objext'
6224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6228 (exit $ac_status); }; }; then
6229 eval "$as_ac_Header=yes"
6231 echo "$as_me: failed program was:" >&5
6232 cat conftest.$ac_ext >&5
6233 eval "$as_ac_Header=no"
6235 rm -f conftest.$ac_objext conftest.$ac_ext
6237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6238 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6239 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6240 cat >>confdefs.h <<_ACEOF
6241 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6243 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
6244 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
6245 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
6246 echo $ECHO_N "(cached) $ECHO_C" >&6
6248 ac_check_lib_save_LIBS=$LIBS
6249 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6250 cat >conftest.$ac_ext <<_ACEOF
6251 #line $LINENO "configure"
6252 #include "confdefs.h"
6254 /* Override any gcc2 internal prototype to avoid an error. */
6258 /* We use char because int might match the return type of a gcc2
6259 builtin and then its argument prototype would still apply. */
6260 char XShmQueryExtension ();
6261 #ifdef F77_DUMMY_MAIN
6265 int F77_DUMMY_MAIN() { return 1; }
6270 XShmQueryExtension ();
6275 rm -f conftest.$ac_objext conftest$ac_exeext
6276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6277 (eval $ac_link) 2>&5
6279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6280 (exit $ac_status); } &&
6281 { ac_try='test -s conftest$ac_exeext'
6282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6286 (exit $ac_status); }; }; then
6287 ac_cv_lib_Xext_XShmQueryExtension=yes
6289 echo "$as_me: failed program was:" >&5
6290 cat conftest.$ac_ext >&5
6291 ac_cv_lib_Xext_XShmQueryExtension=no
6293 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6294 LIBS=$ac_check_lib_save_LIBS
6296 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
6297 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
6298 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
6300 cat >>confdefs.h <<\_ACEOF
6301 #define HAVE_LIBXXSHM 1
6308 { echo "$as_me:$LINENO: WARNING: XShm extension not found, Wine will be built without it" >&5
6309 echo "$as_me: WARNING: XShm extension not found, Wine will be built without it" >&2;}
6316 for ac_header in X11/extensions/shape.h
6318 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6319 echo "$as_me:$LINENO: checking for $ac_header" >&5
6320 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6321 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6322 echo $ECHO_N "(cached) $ECHO_C" >&6
6324 cat >conftest.$ac_ext <<_ACEOF
6325 #line $LINENO "configure"
6326 #include "confdefs.h"
6327 #include <X11/Xlib.h>
6329 #include <$ac_header>
6331 rm -f conftest.$ac_objext
6332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6333 (eval $ac_compile) 2>&5
6335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6336 (exit $ac_status); } &&
6337 { ac_try='test -s conftest.$ac_objext'
6338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6342 (exit $ac_status); }; }; then
6343 eval "$as_ac_Header=yes"
6345 echo "$as_me: failed program was:" >&5
6346 cat conftest.$ac_ext >&5
6347 eval "$as_ac_Header=no"
6349 rm -f conftest.$ac_objext conftest.$ac_ext
6351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6352 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6353 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6354 cat >>confdefs.h <<_ACEOF
6355 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6357 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
6358 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
6359 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
6360 echo $ECHO_N "(cached) $ECHO_C" >&6
6362 ac_check_lib_save_LIBS=$LIBS
6363 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6364 cat >conftest.$ac_ext <<_ACEOF
6365 #line $LINENO "configure"
6366 #include "confdefs.h"
6368 /* Override any gcc2 internal prototype to avoid an error. */
6372 /* We use char because int might match the return type of a gcc2
6373 builtin and then its argument prototype would still apply. */
6374 char XShapeQueryExtension ();
6375 #ifdef F77_DUMMY_MAIN
6379 int F77_DUMMY_MAIN() { return 1; }
6384 XShapeQueryExtension ();
6389 rm -f conftest.$ac_objext conftest$ac_exeext
6390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6391 (eval $ac_link) 2>&5
6393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6394 (exit $ac_status); } &&
6395 { ac_try='test -s conftest$ac_exeext'
6396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6400 (exit $ac_status); }; }; then
6401 ac_cv_lib_Xext_XShapeQueryExtension=yes
6403 echo "$as_me: failed program was:" >&5
6404 cat conftest.$ac_ext >&5
6405 ac_cv_lib_Xext_XShapeQueryExtension=no
6407 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6408 LIBS=$ac_check_lib_save_LIBS
6410 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
6411 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
6412 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
6414 cat >>confdefs.h <<\_ACEOF
6415 #define HAVE_LIBXSHAPE 1
6422 { echo "$as_me:$LINENO: WARNING: XShape extension not found, Wine will be built without it" >&5
6423 echo "$as_me: WARNING: XShape extension not found, Wine will be built without it" >&2;}
6430 for ac_header in X11/extensions/xf86dga.h
6432 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6433 echo "$as_me:$LINENO: checking for $ac_header" >&5
6434 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6435 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6436 echo $ECHO_N "(cached) $ECHO_C" >&6
6438 cat >conftest.$ac_ext <<_ACEOF
6439 #line $LINENO "configure"
6440 #include "confdefs.h"
6441 #include <X11/Xlib.h>
6443 #include <$ac_header>
6445 rm -f conftest.$ac_objext
6446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6447 (eval $ac_compile) 2>&5
6449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6450 (exit $ac_status); } &&
6451 { ac_try='test -s conftest.$ac_objext'
6452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6456 (exit $ac_status); }; }; then
6457 eval "$as_ac_Header=yes"
6459 echo "$as_me: failed program was:" >&5
6460 cat conftest.$ac_ext >&5
6461 eval "$as_ac_Header=no"
6463 rm -f conftest.$ac_objext conftest.$ac_ext
6465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6466 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6467 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6468 cat >>confdefs.h <<_ACEOF
6469 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6471 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
6472 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
6473 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
6474 echo $ECHO_N "(cached) $ECHO_C" >&6
6476 ac_check_lib_save_LIBS=$LIBS
6477 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6479 cat >conftest.$ac_ext <<_ACEOF
6480 #line $LINENO "configure"
6481 #include "confdefs.h"
6483 /* Override any gcc2 internal prototype to avoid an error. */
6487 /* We use char because int might match the return type of a gcc2
6488 builtin and then its argument prototype would still apply. */
6489 char XDGAQueryExtension ();
6490 #ifdef F77_DUMMY_MAIN
6494 int F77_DUMMY_MAIN() { return 1; }
6499 XDGAQueryExtension ();
6504 rm -f conftest.$ac_objext conftest$ac_exeext
6505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6506 (eval $ac_link) 2>&5
6508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6509 (exit $ac_status); } &&
6510 { ac_try='test -s conftest$ac_exeext'
6511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6515 (exit $ac_status); }; }; then
6516 ac_cv_lib_Xxf86dga_XDGAQueryExtension=yes
6518 echo "$as_me: failed program was:" >&5
6519 cat conftest.$ac_ext >&5
6520 ac_cv_lib_Xxf86dga_XDGAQueryExtension=no
6522 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6523 LIBS=$ac_check_lib_save_LIBS
6525 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
6526 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
6527 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
6529 cat >>confdefs.h <<\_ACEOF
6530 #define HAVE_LIBXXF86DGA2 1
6533 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
6536 echo "$as_me:$LINENO: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
6537 echo $ECHO_N "checking for XF86DGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
6538 if test "${ac_cv_lib_Xxf86dga_XF86DGAQueryExtension+set}" = set; then
6539 echo $ECHO_N "(cached) $ECHO_C" >&6
6541 ac_check_lib_save_LIBS=$LIBS
6542 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6544 cat >conftest.$ac_ext <<_ACEOF
6545 #line $LINENO "configure"
6546 #include "confdefs.h"
6548 /* Override any gcc2 internal prototype to avoid an error. */
6552 /* We use char because int might match the return type of a gcc2
6553 builtin and then its argument prototype would still apply. */
6554 char XF86DGAQueryExtension ();
6555 #ifdef F77_DUMMY_MAIN
6559 int F77_DUMMY_MAIN() { return 1; }
6564 XF86DGAQueryExtension ();
6569 rm -f conftest.$ac_objext conftest$ac_exeext
6570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6571 (eval $ac_link) 2>&5
6573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6574 (exit $ac_status); } &&
6575 { ac_try='test -s conftest$ac_exeext'
6576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6580 (exit $ac_status); }; }; then
6581 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=yes
6583 echo "$as_me: failed program was:" >&5
6584 cat conftest.$ac_ext >&5
6585 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=no
6587 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6588 LIBS=$ac_check_lib_save_LIBS
6590 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&5
6591 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&6
6592 if test $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension = yes; then
6594 cat >>confdefs.h <<\_ACEOF
6595 #define HAVE_LIBXXF86DGA 1
6598 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
6607 { echo "$as_me:$LINENO: WARNING: DGA extension not found, Wine will be built without it" >&5
6608 echo "$as_me: WARNING: DGA extension not found, Wine will be built without it" >&2;}
6615 for ac_header in X11/extensions/xf86vmode.h
6617 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6618 echo "$as_me:$LINENO: checking for $ac_header" >&5
6619 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6620 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6621 echo $ECHO_N "(cached) $ECHO_C" >&6
6623 cat >conftest.$ac_ext <<_ACEOF
6624 #line $LINENO "configure"
6625 #include "confdefs.h"
6626 #include <X11/Xlib.h>
6628 #include <$ac_header>
6630 rm -f conftest.$ac_objext
6631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6632 (eval $ac_compile) 2>&5
6634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6635 (exit $ac_status); } &&
6636 { ac_try='test -s conftest.$ac_objext'
6637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6641 (exit $ac_status); }; }; then
6642 eval "$as_ac_Header=yes"
6644 echo "$as_me: failed program was:" >&5
6645 cat conftest.$ac_ext >&5
6646 eval "$as_ac_Header=no"
6648 rm -f conftest.$ac_objext conftest.$ac_ext
6650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6651 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6652 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6653 cat >>confdefs.h <<_ACEOF
6654 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6656 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
6657 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
6658 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
6659 echo $ECHO_N "(cached) $ECHO_C" >&6
6661 ac_check_lib_save_LIBS=$LIBS
6662 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6664 cat >conftest.$ac_ext <<_ACEOF
6665 #line $LINENO "configure"
6666 #include "confdefs.h"
6668 /* Override any gcc2 internal prototype to avoid an error. */
6672 /* We use char because int might match the return type of a gcc2
6673 builtin and then its argument prototype would still apply. */
6674 char XF86VidModeQueryExtension ();
6675 #ifdef F77_DUMMY_MAIN
6679 int F77_DUMMY_MAIN() { return 1; }
6684 XF86VidModeQueryExtension ();
6689 rm -f conftest.$ac_objext conftest$ac_exeext
6690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6691 (eval $ac_link) 2>&5
6693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6694 (exit $ac_status); } &&
6695 { ac_try='test -s conftest$ac_exeext'
6696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6700 (exit $ac_status); }; }; then
6701 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
6703 echo "$as_me: failed program was:" >&5
6704 cat conftest.$ac_ext >&5
6705 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
6707 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6708 LIBS=$ac_check_lib_save_LIBS
6710 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
6711 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
6712 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
6714 cat >>confdefs.h <<\_ACEOF
6715 #define HAVE_LIBXXF86VM 1
6718 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
6724 { echo "$as_me:$LINENO: WARNING: XFree86 VMODE extension not found, Wine will be built without it" >&5
6725 echo "$as_me: WARNING: XFree86 VMODE extension not found, Wine will be built without it" >&2;}
6732 for ac_header in X11/extensions/Xvlib.h
6734 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6735 echo "$as_me:$LINENO: checking for $ac_header" >&5
6736 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6737 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6738 echo $ECHO_N "(cached) $ECHO_C" >&6
6740 cat >conftest.$ac_ext <<_ACEOF
6741 #line $LINENO "configure"
6742 #include "confdefs.h"
6743 #include <X11/Xlib.h>
6745 #include <$ac_header>
6747 rm -f conftest.$ac_objext
6748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6749 (eval $ac_compile) 2>&5
6751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6752 (exit $ac_status); } &&
6753 { ac_try='test -s conftest.$ac_objext'
6754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6758 (exit $ac_status); }; }; then
6759 eval "$as_ac_Header=yes"
6761 echo "$as_me: failed program was:" >&5
6762 cat conftest.$ac_ext >&5
6763 eval "$as_ac_Header=no"
6765 rm -f conftest.$ac_objext conftest.$ac_ext
6767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6768 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6769 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6770 cat >>confdefs.h <<_ACEOF
6771 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6773 echo "$as_me:$LINENO: checking for XvShmCreateImage in -lXv" >&5
6774 echo $ECHO_N "checking for XvShmCreateImage in -lXv... $ECHO_C" >&6
6775 if test "${ac_cv_lib_Xv_XvShmCreateImage+set}" = set; then
6776 echo $ECHO_N "(cached) $ECHO_C" >&6
6778 ac_check_lib_save_LIBS=$LIBS
6779 LIBS="-lXv $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6781 cat >conftest.$ac_ext <<_ACEOF
6782 #line $LINENO "configure"
6783 #include "confdefs.h"
6785 /* Override any gcc2 internal prototype to avoid an error. */
6789 /* We use char because int might match the return type of a gcc2
6790 builtin and then its argument prototype would still apply. */
6791 char XvShmCreateImage ();
6792 #ifdef F77_DUMMY_MAIN
6796 int F77_DUMMY_MAIN() { return 1; }
6801 XvShmCreateImage ();
6806 rm -f conftest.$ac_objext conftest$ac_exeext
6807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6808 (eval $ac_link) 2>&5
6810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6811 (exit $ac_status); } &&
6812 { ac_try='test -s conftest$ac_exeext'
6813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6817 (exit $ac_status); }; }; then
6818 ac_cv_lib_Xv_XvShmCreateImage=yes
6820 echo "$as_me: failed program was:" >&5
6821 cat conftest.$ac_ext >&5
6822 ac_cv_lib_Xv_XvShmCreateImage=no
6824 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6825 LIBS=$ac_check_lib_save_LIBS
6827 echo "$as_me:$LINENO: result: $ac_cv_lib_Xv_XvShmCreateImage" >&5
6828 echo "${ECHO_T}$ac_cv_lib_Xv_XvShmCreateImage" >&6
6829 if test $ac_cv_lib_Xv_XvShmCreateImage = yes; then
6831 cat >>confdefs.h <<\_ACEOF
6832 #define HAVE_XVIDEO 1
6835 X_PRE_LIBS="$X_PRE_LIBS -lXv"
6841 { echo "$as_me:$LINENO: WARNING: XVideo extension not found, Wine will be built without it" >&5
6842 echo "$as_me: WARNING: XVideo extension not found, Wine will be built without it" >&2;}
6849 for ac_header in X11/extensions/Xrender.h
6851 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6852 echo "$as_me:$LINENO: checking for $ac_header" >&5
6853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6855 echo $ECHO_N "(cached) $ECHO_C" >&6
6857 cat >conftest.$ac_ext <<_ACEOF
6858 #line $LINENO "configure"
6859 #include "confdefs.h"
6860 #include <X11/Xlib.h>
6862 #include <$ac_header>
6864 rm -f conftest.$ac_objext
6865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6866 (eval $ac_compile) 2>&5
6868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6869 (exit $ac_status); } &&
6870 { ac_try='test -s conftest.$ac_objext'
6871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6875 (exit $ac_status); }; }; then
6876 eval "$as_ac_Header=yes"
6878 echo "$as_me: failed program was:" >&5
6879 cat conftest.$ac_ext >&5
6880 eval "$as_ac_Header=no"
6882 rm -f conftest.$ac_objext conftest.$ac_ext
6884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6885 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6886 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6887 cat >>confdefs.h <<_ACEOF
6888 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6890 echo "$as_me:$LINENO: checking for XRenderQueryExtension in -lXrender" >&5
6891 echo $ECHO_N "checking for XRenderQueryExtension in -lXrender... $ECHO_C" >&6
6892 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then
6893 echo $ECHO_N "(cached) $ECHO_C" >&6
6895 ac_check_lib_save_LIBS=$LIBS
6896 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6898 cat >conftest.$ac_ext <<_ACEOF
6899 #line $LINENO "configure"
6900 #include "confdefs.h"
6902 /* Override any gcc2 internal prototype to avoid an error. */
6906 /* We use char because int might match the return type of a gcc2
6907 builtin and then its argument prototype would still apply. */
6908 char XRenderQueryExtension ();
6909 #ifdef F77_DUMMY_MAIN
6913 int F77_DUMMY_MAIN() { return 1; }
6918 XRenderQueryExtension ();
6923 rm -f conftest.$ac_objext conftest$ac_exeext
6924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6925 (eval $ac_link) 2>&5
6927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6928 (exit $ac_status); } &&
6929 { ac_try='test -s conftest$ac_exeext'
6930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6934 (exit $ac_status); }; }; then
6935 ac_cv_lib_Xrender_XRenderQueryExtension=yes
6937 echo "$as_me: failed program was:" >&5
6938 cat conftest.$ac_ext >&5
6939 ac_cv_lib_Xrender_XRenderQueryExtension=no
6941 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6942 LIBS=$ac_check_lib_save_LIBS
6944 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
6945 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderQueryExtension" >&6
6946 if test $ac_cv_lib_Xrender_XRenderQueryExtension = yes; then
6948 cat >>confdefs.h <<\_ACEOF
6949 #define HAVE_LIBXRENDER 1
6952 X_PRE_LIBS="$X_PRE_LIBS -lXrender"
6958 { echo "$as_me:$LINENO: WARNING: XRender extension not found, Wine will be built without it" >&5
6959 echo "$as_me: WARNING: XRender extension not found, Wine will be built without it" >&2;}
6971 if test "x$enable_opengl" != "xno"
6973 if test -f /usr/X11R6/lib/libGL.a -a ! -f /usr/X11R6/lib/libGL.so
6975 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
6976 This prevents linking to OpenGL. Delete the file and restart configure." >&5
6977 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
6978 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
6979 { (exit 1); exit 1; }; }
6984 for ac_header in GL/gl.h GL/glx.h
6986 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6987 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6988 echo "$as_me:$LINENO: checking for $ac_header" >&5
6989 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6990 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6991 echo $ECHO_N "(cached) $ECHO_C" >&6
6993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6994 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6996 # Is the header compilable?
6997 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6998 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6999 cat >conftest.$ac_ext <<_ACEOF
7000 #line $LINENO "configure"
7001 #include "confdefs.h"
7002 $ac_includes_default
7003 #include <$ac_header>
7005 rm -f conftest.$ac_objext
7006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7007 (eval $ac_compile) 2>&5
7009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7010 (exit $ac_status); } &&
7011 { ac_try='test -s conftest.$ac_objext'
7012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7016 (exit $ac_status); }; }; then
7017 ac_header_compiler=yes
7019 echo "$as_me: failed program was:" >&5
7020 cat conftest.$ac_ext >&5
7021 ac_header_compiler=no
7023 rm -f conftest.$ac_objext conftest.$ac_ext
7024 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7025 echo "${ECHO_T}$ac_header_compiler" >&6
7027 # Is the header present?
7028 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7029 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7030 cat >conftest.$ac_ext <<_ACEOF
7031 #line $LINENO "configure"
7032 #include "confdefs.h"
7033 #include <$ac_header>
7035 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7036 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7038 egrep -v '^ *\+' conftest.er1 >conftest.err
7040 cat conftest.err >&5
7041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7042 (exit $ac_status); } >/dev/null; then
7043 if test -s conftest.err; then
7044 ac_cpp_err=$ac_c_preproc_warn_flag
7051 if test -z "$ac_cpp_err"; then
7052 ac_header_preproc=yes
7054 echo "$as_me: failed program was:" >&5
7055 cat conftest.$ac_ext >&5
7056 ac_header_preproc=no
7058 rm -f conftest.err conftest.$ac_ext
7059 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7060 echo "${ECHO_T}$ac_header_preproc" >&6
7062 # So? What about this header?
7063 case $ac_header_compiler:$ac_header_preproc in
7065 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7066 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7067 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7068 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7070 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7071 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7072 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7073 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7074 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7075 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7077 echo "$as_me:$LINENO: checking for $ac_header" >&5
7078 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7079 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7080 echo $ECHO_N "(cached) $ECHO_C" >&6
7082 eval "$as_ac_Header=$ac_header_preproc"
7084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7085 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7088 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7089 cat >>confdefs.h <<_ACEOF
7090 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7097 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
7100 for ac_header in GL/glext.h
7102 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7103 echo "$as_me:$LINENO: checking for $ac_header" >&5
7104 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7105 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7106 echo $ECHO_N "(cached) $ECHO_C" >&6
7108 cat >conftest.$ac_ext <<_ACEOF
7109 #line $LINENO "configure"
7110 #include "confdefs.h"
7113 #include <$ac_header>
7115 rm -f conftest.$ac_objext
7116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7117 (eval $ac_compile) 2>&5
7119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7120 (exit $ac_status); } &&
7121 { ac_try='test -s conftest.$ac_objext'
7122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7126 (exit $ac_status); }; }; then
7127 eval "$as_ac_Header=yes"
7129 echo "$as_me: failed program was:" >&5
7130 cat conftest.$ac_ext >&5
7131 eval "$as_ac_Header=no"
7133 rm -f conftest.$ac_objext conftest.$ac_ext
7135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7136 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7137 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7138 cat >>confdefs.h <<_ACEOF
7139 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7146 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
7147 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
7148 if test "${wine_cv_opengl_version_OK+set}" = set; then
7149 echo $ECHO_N "(cached) $ECHO_C" >&6
7151 cat >conftest.$ac_ext <<_ACEOF
7152 #line $LINENO "configure"
7153 #include "confdefs.h"
7155 #ifdef F77_DUMMY_MAIN
7159 int F77_DUMMY_MAIN() { return 1; }
7164 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
7169 rm -f conftest.$ac_objext
7170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7171 (eval $ac_compile) 2>&5
7173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7174 (exit $ac_status); } &&
7175 { ac_try='test -s conftest.$ac_objext'
7176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7180 (exit $ac_status); }; }; then
7181 wine_cv_opengl_version_OK="yes"
7183 echo "$as_me: failed program was:" >&5
7184 cat conftest.$ac_ext >&5
7185 wine_cv_opengl_version_OK="no"
7188 rm -f conftest.$ac_objext conftest.$ac_ext
7191 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
7192 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
7194 echo "$as_me:$LINENO: checking for thread-safe OpenGL version" >&5
7195 echo $ECHO_N "checking for thread-safe OpenGL version... $ECHO_C" >&6
7196 if test "${wine_cv_opengl_version_threadsafe+set}" = set; then
7197 echo $ECHO_N "(cached) $ECHO_C" >&6
7201 cat >conftest.$ac_ext <<_ACEOF
7202 #line $LINENO "configure"
7203 #include "confdefs.h"
7205 #ifdef F77_DUMMY_MAIN
7209 int F77_DUMMY_MAIN() { return 1; }
7214 pthread_getspecific();
7219 rm -f conftest.$ac_objext conftest$ac_exeext
7220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7221 (eval $ac_link) 2>&5
7223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7224 (exit $ac_status); } &&
7225 { ac_try='test -s conftest$ac_exeext'
7226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7230 (exit $ac_status); }; }; then
7231 wine_cv_opengl_version_threadsafe="yes"
7233 echo "$as_me: failed program was:" >&5
7234 cat conftest.$ac_ext >&5
7235 wine_cv_opengl_version_threadsafe="no"
7237 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7241 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_threadsafe" >&5
7242 echo "${ECHO_T}$wine_cv_opengl_version_threadsafe" >&6
7244 if test "$wine_cv_opengl_version_OK" = "yes" -a \( "$wine_cv_opengl_version_threadsafe" = "no" -o "x$enable_opengl" = "xyes" \)
7246 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
7247 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
7248 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
7249 echo $ECHO_N "(cached) $ECHO_C" >&6
7251 ac_check_lib_save_LIBS=$LIBS
7252 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
7253 cat >conftest.$ac_ext <<_ACEOF
7254 #line $LINENO "configure"
7255 #include "confdefs.h"
7257 /* Override any gcc2 internal prototype to avoid an error. */
7261 /* We use char because int might match the return type of a gcc2
7262 builtin and then its argument prototype would still apply. */
7263 char glXCreateContext ();
7264 #ifdef F77_DUMMY_MAIN
7268 int F77_DUMMY_MAIN() { return 1; }
7273 glXCreateContext ();
7278 rm -f conftest.$ac_objext conftest$ac_exeext
7279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7280 (eval $ac_link) 2>&5
7282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7283 (exit $ac_status); } &&
7284 { ac_try='test -s conftest$ac_exeext'
7285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7289 (exit $ac_status); }; }; then
7290 ac_cv_lib_GL_glXCreateContext=yes
7292 echo "$as_me: failed program was:" >&5
7293 cat conftest.$ac_ext >&5
7294 ac_cv_lib_GL_glXCreateContext=no
7296 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7297 LIBS=$ac_check_lib_save_LIBS
7299 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
7300 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
7301 if test $ac_cv_lib_GL_glXCreateContext = yes; then
7302 X_PRE_LIBS="$X_PRE_LIBS -lGL"
7307 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
7309 OPENGLFILES='$(OPENGLFILES)'
7311 cat >>confdefs.h <<\_ACEOF
7312 #define HAVE_OPENGL 1
7316 echo "$as_me:$LINENO: checking for glXGetProcAddressARB in -lGL" >&5
7317 echo $ECHO_N "checking for glXGetProcAddressARB in -lGL... $ECHO_C" >&6
7318 if test "${ac_cv_lib_GL_glXGetProcAddressARB+set}" = set; then
7319 echo $ECHO_N "(cached) $ECHO_C" >&6
7321 ac_check_lib_save_LIBS=$LIBS
7322 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
7323 cat >conftest.$ac_ext <<_ACEOF
7324 #line $LINENO "configure"
7325 #include "confdefs.h"
7327 /* Override any gcc2 internal prototype to avoid an error. */
7331 /* We use char because int might match the return type of a gcc2
7332 builtin and then its argument prototype would still apply. */
7333 char glXGetProcAddressARB ();
7334 #ifdef F77_DUMMY_MAIN
7338 int F77_DUMMY_MAIN() { return 1; }
7343 glXGetProcAddressARB ();
7348 rm -f conftest.$ac_objext conftest$ac_exeext
7349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7350 (eval $ac_link) 2>&5
7352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7353 (exit $ac_status); } &&
7354 { ac_try='test -s conftest$ac_exeext'
7355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7359 (exit $ac_status); }; }; then
7360 ac_cv_lib_GL_glXGetProcAddressARB=yes
7362 echo "$as_me: failed program was:" >&5
7363 cat conftest.$ac_ext >&5
7364 ac_cv_lib_GL_glXGetProcAddressARB=no
7366 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7367 LIBS=$ac_check_lib_save_LIBS
7369 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXGetProcAddressARB" >&5
7370 echo "${ECHO_T}$ac_cv_lib_GL_glXGetProcAddressARB" >&6
7371 if test $ac_cv_lib_GL_glXGetProcAddressARB = yes; then
7373 cat >>confdefs.h <<\_ACEOF
7374 #define HAVE_GLX_GETPROCADDRESS 1
7380 if test "$ac_cv_lib_GL_glXGetProcAddressARB" = "yes"
7382 echo "$as_me:$LINENO: checking for OpenGL extension functions prototypes" >&5
7383 echo $ECHO_N "checking for OpenGL extension functions prototypes... $ECHO_C" >&6
7384 if test "${wine_cv_extension_prototypes+set}" = set; then
7385 echo $ECHO_N "(cached) $ECHO_C" >&6
7387 cat >conftest.$ac_ext <<_ACEOF
7388 #line $LINENO "configure"
7389 #include "confdefs.h"
7391 #ifdef HAVE_GL_GLEXT_H
7392 # include <GL/glext.h>
7395 #ifdef F77_DUMMY_MAIN
7399 int F77_DUMMY_MAIN() { return 1; }
7404 PFNGLCOLORTABLEEXTPROC test_proc;
7409 rm -f conftest.$ac_objext
7410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7411 (eval $ac_compile) 2>&5
7413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7414 (exit $ac_status); } &&
7415 { ac_try='test -s conftest.$ac_objext'
7416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7420 (exit $ac_status); }; }; then
7421 wine_cv_extension_prototypes="yes"
7423 echo "$as_me: failed program was:" >&5
7424 cat conftest.$ac_ext >&5
7425 wine_cv_extension_prototypes="no"
7428 rm -f conftest.$ac_objext conftest.$ac_ext
7431 echo "$as_me:$LINENO: result: $wine_cv_extension_prototypes" >&5
7432 echo "${ECHO_T}$wine_cv_extension_prototypes" >&6
7433 if test "$wine_cv_extension_prototypes" = "yes"
7436 cat >>confdefs.h <<\_ACEOF
7437 #define HAVE_GLEXT_PROTOTYPES 1
7444 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
7445 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
7446 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
7447 echo $ECHO_N "(cached) $ECHO_C" >&6
7449 ac_check_lib_save_LIBS=$LIBS
7450 LIBS="-lGLU $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
7452 cat >conftest.$ac_ext <<_ACEOF
7453 #line $LINENO "configure"
7454 #include "confdefs.h"
7456 /* Override any gcc2 internal prototype to avoid an error. */
7460 /* We use char because int might match the return type of a gcc2
7461 builtin and then its argument prototype would still apply. */
7463 #ifdef F77_DUMMY_MAIN
7467 int F77_DUMMY_MAIN() { return 1; }
7477 rm -f conftest.$ac_objext conftest$ac_exeext
7478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7479 (eval $ac_link) 2>&5
7481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7482 (exit $ac_status); } &&
7483 { ac_try='test -s conftest$ac_exeext'
7484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7488 (exit $ac_status); }; }; then
7489 ac_cv_lib_GLU_gluLookAt=yes
7491 echo "$as_me: failed program was:" >&5
7492 cat conftest.$ac_ext >&5
7493 ac_cv_lib_GLU_gluLookAt=no
7495 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7496 LIBS=$ac_check_lib_save_LIBS
7498 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
7499 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
7500 if test $ac_cv_lib_GLU_gluLookAt = yes; then
7501 X_PRE_LIBS="$X_PRE_LIBS -lGLU"
7502 GLU32FILES='$(GLU32FILES)'
7510 CPPFLAGS="$ac_save_CPPFLAGS"
7519 if test "x$with_curses" != "xno"
7522 for ac_header in ncurses.h
7524 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7525 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7526 echo "$as_me:$LINENO: checking for $ac_header" >&5
7527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7528 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7529 echo $ECHO_N "(cached) $ECHO_C" >&6
7531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7532 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7534 # Is the header compilable?
7535 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7536 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7537 cat >conftest.$ac_ext <<_ACEOF
7538 #line $LINENO "configure"
7539 #include "confdefs.h"
7540 $ac_includes_default
7541 #include <$ac_header>
7543 rm -f conftest.$ac_objext
7544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7545 (eval $ac_compile) 2>&5
7547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7548 (exit $ac_status); } &&
7549 { ac_try='test -s conftest.$ac_objext'
7550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7554 (exit $ac_status); }; }; then
7555 ac_header_compiler=yes
7557 echo "$as_me: failed program was:" >&5
7558 cat conftest.$ac_ext >&5
7559 ac_header_compiler=no
7561 rm -f conftest.$ac_objext conftest.$ac_ext
7562 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7563 echo "${ECHO_T}$ac_header_compiler" >&6
7565 # Is the header present?
7566 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7567 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7568 cat >conftest.$ac_ext <<_ACEOF
7569 #line $LINENO "configure"
7570 #include "confdefs.h"
7571 #include <$ac_header>
7573 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7574 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7576 egrep -v '^ *\+' conftest.er1 >conftest.err
7578 cat conftest.err >&5
7579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7580 (exit $ac_status); } >/dev/null; then
7581 if test -s conftest.err; then
7582 ac_cpp_err=$ac_c_preproc_warn_flag
7589 if test -z "$ac_cpp_err"; then
7590 ac_header_preproc=yes
7592 echo "$as_me: failed program was:" >&5
7593 cat conftest.$ac_ext >&5
7594 ac_header_preproc=no
7596 rm -f conftest.err conftest.$ac_ext
7597 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7598 echo "${ECHO_T}$ac_header_preproc" >&6
7600 # So? What about this header?
7601 case $ac_header_compiler:$ac_header_preproc in
7603 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7604 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7605 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7606 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7608 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7609 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7610 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7611 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7612 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7613 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7615 echo "$as_me:$LINENO: checking for $ac_header" >&5
7616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7617 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7618 echo $ECHO_N "(cached) $ECHO_C" >&6
7620 eval "$as_ac_Header=$ac_header_preproc"
7622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7623 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7626 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7627 cat >>confdefs.h <<_ACEOF
7628 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7630 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
7631 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
7632 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
7633 echo $ECHO_N "(cached) $ECHO_C" >&6
7635 ac_check_lib_save_LIBS=$LIBS
7636 LIBS="-lncurses $LIBS"
7637 cat >conftest.$ac_ext <<_ACEOF
7638 #line $LINENO "configure"
7639 #include "confdefs.h"
7641 /* Override any gcc2 internal prototype to avoid an error. */
7645 /* We use char because int might match the return type of a gcc2
7646 builtin and then its argument prototype would still apply. */
7648 #ifdef F77_DUMMY_MAIN
7652 int F77_DUMMY_MAIN() { return 1; }
7662 rm -f conftest.$ac_objext conftest$ac_exeext
7663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7664 (eval $ac_link) 2>&5
7666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7667 (exit $ac_status); } &&
7668 { ac_try='test -s conftest$ac_exeext'
7669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7673 (exit $ac_status); }; }; then
7674 ac_cv_lib_ncurses_waddch=yes
7676 echo "$as_me: failed program was:" >&5
7677 cat conftest.$ac_ext >&5
7678 ac_cv_lib_ncurses_waddch=no
7680 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7681 LIBS=$ac_check_lib_save_LIBS
7683 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
7684 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
7685 if test $ac_cv_lib_ncurses_waddch = yes; then
7687 cat >>confdefs.h <<\_ACEOF
7688 #define HAVE_LIBNCURSES 1
7691 CURSESLIBS="-lncurses"
7694 for ac_header in curses.h
7696 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7697 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7698 echo "$as_me:$LINENO: checking for $ac_header" >&5
7699 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7700 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7701 echo $ECHO_N "(cached) $ECHO_C" >&6
7703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7704 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7706 # Is the header compilable?
7707 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7708 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7709 cat >conftest.$ac_ext <<_ACEOF
7710 #line $LINENO "configure"
7711 #include "confdefs.h"
7712 $ac_includes_default
7713 #include <$ac_header>
7715 rm -f conftest.$ac_objext
7716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7717 (eval $ac_compile) 2>&5
7719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7720 (exit $ac_status); } &&
7721 { ac_try='test -s conftest.$ac_objext'
7722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7726 (exit $ac_status); }; }; then
7727 ac_header_compiler=yes
7729 echo "$as_me: failed program was:" >&5
7730 cat conftest.$ac_ext >&5
7731 ac_header_compiler=no
7733 rm -f conftest.$ac_objext conftest.$ac_ext
7734 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7735 echo "${ECHO_T}$ac_header_compiler" >&6
7737 # Is the header present?
7738 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7739 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7740 cat >conftest.$ac_ext <<_ACEOF
7741 #line $LINENO "configure"
7742 #include "confdefs.h"
7743 #include <$ac_header>
7745 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7746 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7748 egrep -v '^ *\+' conftest.er1 >conftest.err
7750 cat conftest.err >&5
7751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7752 (exit $ac_status); } >/dev/null; then
7753 if test -s conftest.err; then
7754 ac_cpp_err=$ac_c_preproc_warn_flag
7761 if test -z "$ac_cpp_err"; then
7762 ac_header_preproc=yes
7764 echo "$as_me: failed program was:" >&5
7765 cat conftest.$ac_ext >&5
7766 ac_header_preproc=no
7768 rm -f conftest.err conftest.$ac_ext
7769 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7770 echo "${ECHO_T}$ac_header_preproc" >&6
7772 # So? What about this header?
7773 case $ac_header_compiler:$ac_header_preproc in
7775 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7776 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7777 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7778 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7780 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7781 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7782 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7783 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7784 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7785 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7787 echo "$as_me:$LINENO: checking for $ac_header" >&5
7788 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7789 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7790 echo $ECHO_N "(cached) $ECHO_C" >&6
7792 eval "$as_ac_Header=$ac_header_preproc"
7794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7795 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7798 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7799 cat >>confdefs.h <<_ACEOF
7800 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7802 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
7803 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
7804 if test "${ac_cv_lib_curses_waddch+set}" = set; then
7805 echo $ECHO_N "(cached) $ECHO_C" >&6
7807 ac_check_lib_save_LIBS=$LIBS
7808 LIBS="-lcurses $LIBS"
7809 cat >conftest.$ac_ext <<_ACEOF
7810 #line $LINENO "configure"
7811 #include "confdefs.h"
7813 /* Override any gcc2 internal prototype to avoid an error. */
7817 /* We use char because int might match the return type of a gcc2
7818 builtin and then its argument prototype would still apply. */
7820 #ifdef F77_DUMMY_MAIN
7824 int F77_DUMMY_MAIN() { return 1; }
7834 rm -f conftest.$ac_objext conftest$ac_exeext
7835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7836 (eval $ac_link) 2>&5
7838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7839 (exit $ac_status); } &&
7840 { ac_try='test -s conftest$ac_exeext'
7841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7845 (exit $ac_status); }; }; then
7846 ac_cv_lib_curses_waddch=yes
7848 echo "$as_me: failed program was:" >&5
7849 cat conftest.$ac_ext >&5
7850 ac_cv_lib_curses_waddch=no
7852 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7853 LIBS=$ac_check_lib_save_LIBS
7855 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
7856 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
7857 if test $ac_cv_lib_curses_waddch = yes; then
7859 cat >>confdefs.h <<\_ACEOF
7860 #define HAVE_LIBCURSES 1
7863 CURSESLIBS="-lcurses"
7877 LIBS="$CURSESLIBS $LIBS"
7880 for ac_func in getbkgd resizeterm
7882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7883 echo "$as_me:$LINENO: checking for $ac_func" >&5
7884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7885 if eval "test \"\${$as_ac_var+set}\" = set"; then
7886 echo $ECHO_N "(cached) $ECHO_C" >&6
7888 cat >conftest.$ac_ext <<_ACEOF
7889 #line $LINENO "configure"
7890 #include "confdefs.h"
7891 /* System header to define __stub macros and hopefully few prototypes,
7892 which can conflict with char $ac_func (); below. */
7894 /* Override any gcc2 internal prototype to avoid an error. */
7898 /* We use char because int might match the return type of a gcc2
7899 builtin and then its argument prototype would still apply. */
7903 #ifdef F77_DUMMY_MAIN
7907 int F77_DUMMY_MAIN() { return 1; }
7912 /* The GNU C library defines this for functions which it implements
7913 to always fail with ENOSYS. Some functions are actually named
7914 something starting with __ and the normal name is an alias. */
7915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7925 rm -f conftest.$ac_objext conftest$ac_exeext
7926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7927 (eval $ac_link) 2>&5
7929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7930 (exit $ac_status); } &&
7931 { ac_try='test -s conftest$ac_exeext'
7932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7936 (exit $ac_status); }; }; then
7937 eval "$as_ac_var=yes"
7939 echo "$as_me: failed program was:" >&5
7940 cat conftest.$ac_ext >&5
7941 eval "$as_ac_var=no"
7943 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7947 if test `eval echo '${'$as_ac_var'}'` = yes; then
7948 cat >>confdefs.h <<_ACEOF
7949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7960 wine_cv_warn_cups_h=no
7961 echo "$as_me:$LINENO: checking for cupsGetPPD in -lcups" >&5
7962 echo $ECHO_N "checking for cupsGetPPD in -lcups... $ECHO_C" >&6
7963 if test "${ac_cv_lib_cups_cupsGetPPD+set}" = set; then
7964 echo $ECHO_N "(cached) $ECHO_C" >&6
7966 ac_check_lib_save_LIBS=$LIBS
7968 cat >conftest.$ac_ext <<_ACEOF
7969 #line $LINENO "configure"
7970 #include "confdefs.h"
7972 /* Override any gcc2 internal prototype to avoid an error. */
7976 /* We use char because int might match the return type of a gcc2
7977 builtin and then its argument prototype would still apply. */
7979 #ifdef F77_DUMMY_MAIN
7983 int F77_DUMMY_MAIN() { return 1; }
7993 rm -f conftest.$ac_objext conftest$ac_exeext
7994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7995 (eval $ac_link) 2>&5
7997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7998 (exit $ac_status); } &&
7999 { ac_try='test -s conftest$ac_exeext'
8000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8004 (exit $ac_status); }; }; then
8005 ac_cv_lib_cups_cupsGetPPD=yes
8007 echo "$as_me: failed program was:" >&5
8008 cat conftest.$ac_ext >&5
8009 ac_cv_lib_cups_cupsGetPPD=no
8011 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8012 LIBS=$ac_check_lib_save_LIBS
8014 echo "$as_me:$LINENO: result: $ac_cv_lib_cups_cupsGetPPD" >&5
8015 echo "${ECHO_T}$ac_cv_lib_cups_cupsGetPPD" >&6
8016 if test $ac_cv_lib_cups_cupsGetPPD = yes; then
8017 if test "${ac_cv_header_cups_cups_h+set}" = set; then
8018 echo "$as_me:$LINENO: checking for cups/cups.h" >&5
8019 echo $ECHO_N "checking for cups/cups.h... $ECHO_C" >&6
8020 if test "${ac_cv_header_cups_cups_h+set}" = set; then
8021 echo $ECHO_N "(cached) $ECHO_C" >&6
8023 echo "$as_me:$LINENO: result: $ac_cv_header_cups_cups_h" >&5
8024 echo "${ECHO_T}$ac_cv_header_cups_cups_h" >&6
8026 # Is the header compilable?
8027 echo "$as_me:$LINENO: checking cups/cups.h usability" >&5
8028 echo $ECHO_N "checking cups/cups.h usability... $ECHO_C" >&6
8029 cat >conftest.$ac_ext <<_ACEOF
8030 #line $LINENO "configure"
8031 #include "confdefs.h"
8032 $ac_includes_default
8033 #include <cups/cups.h>
8035 rm -f conftest.$ac_objext
8036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8037 (eval $ac_compile) 2>&5
8039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8040 (exit $ac_status); } &&
8041 { ac_try='test -s conftest.$ac_objext'
8042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8046 (exit $ac_status); }; }; then
8047 ac_header_compiler=yes
8049 echo "$as_me: failed program was:" >&5
8050 cat conftest.$ac_ext >&5
8051 ac_header_compiler=no
8053 rm -f conftest.$ac_objext conftest.$ac_ext
8054 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8055 echo "${ECHO_T}$ac_header_compiler" >&6
8057 # Is the header present?
8058 echo "$as_me:$LINENO: checking cups/cups.h presence" >&5
8059 echo $ECHO_N "checking cups/cups.h presence... $ECHO_C" >&6
8060 cat >conftest.$ac_ext <<_ACEOF
8061 #line $LINENO "configure"
8062 #include "confdefs.h"
8063 #include <cups/cups.h>
8065 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8066 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8068 egrep -v '^ *\+' conftest.er1 >conftest.err
8070 cat conftest.err >&5
8071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8072 (exit $ac_status); } >/dev/null; then
8073 if test -s conftest.err; then
8074 ac_cpp_err=$ac_c_preproc_warn_flag
8081 if test -z "$ac_cpp_err"; then
8082 ac_header_preproc=yes
8084 echo "$as_me: failed program was:" >&5
8085 cat conftest.$ac_ext >&5
8086 ac_header_preproc=no
8088 rm -f conftest.err conftest.$ac_ext
8089 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8090 echo "${ECHO_T}$ac_header_preproc" >&6
8092 # So? What about this header?
8093 case $ac_header_compiler:$ac_header_preproc in
8095 { echo "$as_me:$LINENO: WARNING: cups/cups.h: accepted by the compiler, rejected by the preprocessor!" >&5
8096 echo "$as_me: WARNING: cups/cups.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8097 { echo "$as_me:$LINENO: WARNING: cups/cups.h: proceeding with the preprocessor's result" >&5
8098 echo "$as_me: WARNING: cups/cups.h: proceeding with the preprocessor's result" >&2;};;
8100 { echo "$as_me:$LINENO: WARNING: cups/cups.h: present but cannot be compiled" >&5
8101 echo "$as_me: WARNING: cups/cups.h: present but cannot be compiled" >&2;}
8102 { echo "$as_me:$LINENO: WARNING: cups/cups.h: check for missing prerequisite headers?" >&5
8103 echo "$as_me: WARNING: cups/cups.h: check for missing prerequisite headers?" >&2;}
8104 { echo "$as_me:$LINENO: WARNING: cups/cups.h: proceeding with the preprocessor's result" >&5
8105 echo "$as_me: WARNING: cups/cups.h: proceeding with the preprocessor's result" >&2;};;
8107 echo "$as_me:$LINENO: checking for cups/cups.h" >&5
8108 echo $ECHO_N "checking for cups/cups.h... $ECHO_C" >&6
8109 if test "${ac_cv_header_cups_cups_h+set}" = set; then
8110 echo $ECHO_N "(cached) $ECHO_C" >&6
8112 ac_cv_header_cups_cups_h=$ac_header_preproc
8114 echo "$as_me:$LINENO: result: $ac_cv_header_cups_cups_h" >&5
8115 echo "${ECHO_T}$ac_cv_header_cups_cups_h" >&6
8118 if test $ac_cv_header_cups_cups_h = yes; then
8120 cat >>confdefs.h <<\_ACEOF
8126 wine_cv_warn_cups_h=yes
8135 # Extract the first word of "sane-config", so it can be a program name with args.
8136 set dummy sane-config; ac_word=$2
8137 echo "$as_me:$LINENO: checking for $ac_word" >&5
8138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8139 if test "${ac_cv_prog_sane_devel+set}" = set; then
8140 echo $ECHO_N "(cached) $ECHO_C" >&6
8142 if test -n "$sane_devel"; then
8143 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
8145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8149 test -z "$as_dir" && as_dir=.
8150 for ac_exec_ext in '' $ac_executable_extensions; do
8151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8152 ac_cv_prog_sane_devel="sane-config"
8153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8159 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
8162 sane_devel=$ac_cv_prog_sane_devel
8163 if test -n "$sane_devel"; then
8164 echo "$as_me:$LINENO: result: $sane_devel" >&5
8165 echo "${ECHO_T}$sane_devel" >&6
8167 echo "$as_me:$LINENO: result: no" >&5
8168 echo "${ECHO_T}no" >&6
8171 if test "$sane_devel" = "no"
8176 SANELIBS="`$sane_devel --libs`"
8177 SANEINCL="`$sane_devel --cflags`"
8178 ac_save_CPPFLAGS="$CPPFLAGS"
8179 ac_save_LIBS="$LIBS"
8180 CPPFLAGS="$CPPFLAGS $SANEINCL"
8181 LIBS="$LIBS $SANELIBS"
8182 if test "${ac_cv_header_sane_sane_h+set}" = set; then
8183 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
8184 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
8185 if test "${ac_cv_header_sane_sane_h+set}" = set; then
8186 echo $ECHO_N "(cached) $ECHO_C" >&6
8188 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
8189 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
8191 # Is the header compilable?
8192 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
8193 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
8194 cat >conftest.$ac_ext <<_ACEOF
8195 #line $LINENO "configure"
8196 #include "confdefs.h"
8197 $ac_includes_default
8198 #include <sane/sane.h>
8200 rm -f conftest.$ac_objext
8201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8202 (eval $ac_compile) 2>&5
8204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8205 (exit $ac_status); } &&
8206 { ac_try='test -s conftest.$ac_objext'
8207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8211 (exit $ac_status); }; }; then
8212 ac_header_compiler=yes
8214 echo "$as_me: failed program was:" >&5
8215 cat conftest.$ac_ext >&5
8216 ac_header_compiler=no
8218 rm -f conftest.$ac_objext conftest.$ac_ext
8219 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8220 echo "${ECHO_T}$ac_header_compiler" >&6
8222 # Is the header present?
8223 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
8224 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
8225 cat >conftest.$ac_ext <<_ACEOF
8226 #line $LINENO "configure"
8227 #include "confdefs.h"
8228 #include <sane/sane.h>
8230 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8231 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8233 egrep -v '^ *\+' conftest.er1 >conftest.err
8235 cat conftest.err >&5
8236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8237 (exit $ac_status); } >/dev/null; then
8238 if test -s conftest.err; then
8239 ac_cpp_err=$ac_c_preproc_warn_flag
8246 if test -z "$ac_cpp_err"; then
8247 ac_header_preproc=yes
8249 echo "$as_me: failed program was:" >&5
8250 cat conftest.$ac_ext >&5
8251 ac_header_preproc=no
8253 rm -f conftest.err conftest.$ac_ext
8254 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8255 echo "${ECHO_T}$ac_header_preproc" >&6
8257 # So? What about this header?
8258 case $ac_header_compiler:$ac_header_preproc in
8260 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
8261 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8262 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
8263 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;};;
8265 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
8266 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
8267 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
8268 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
8269 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
8270 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;};;
8272 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
8273 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
8274 if test "${ac_cv_header_sane_sane_h+set}" = set; then
8275 echo $ECHO_N "(cached) $ECHO_C" >&6
8277 ac_cv_header_sane_sane_h=$ac_header_preproc
8279 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
8280 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
8283 if test $ac_cv_header_sane_sane_h = yes; then
8284 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
8285 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
8286 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
8287 echo $ECHO_N "(cached) $ECHO_C" >&6
8289 ac_check_lib_save_LIBS=$LIBS
8291 cat >conftest.$ac_ext <<_ACEOF
8292 #line $LINENO "configure"
8293 #include "confdefs.h"
8295 /* Override any gcc2 internal prototype to avoid an error. */
8299 /* We use char because int might match the return type of a gcc2
8300 builtin and then its argument prototype would still apply. */
8302 #ifdef F77_DUMMY_MAIN
8306 int F77_DUMMY_MAIN() { return 1; }
8316 rm -f conftest.$ac_objext conftest$ac_exeext
8317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8318 (eval $ac_link) 2>&5
8320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8321 (exit $ac_status); } &&
8322 { ac_try='test -s conftest$ac_exeext'
8323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8327 (exit $ac_status); }; }; then
8328 ac_cv_lib_sane_sane_open=yes
8330 echo "$as_me: failed program was:" >&5
8331 cat conftest.$ac_ext >&5
8332 ac_cv_lib_sane_sane_open=no
8334 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8335 LIBS=$ac_check_lib_save_LIBS
8337 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
8338 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
8339 if test $ac_cv_lib_sane_sane_open = yes; then
8341 cat >>confdefs.h <<\_ACEOF
8356 LIBS="$ac_save_LIBS"
8357 CPPFLAGS="$ac_save_CPPFLAGS"
8362 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
8363 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
8364 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
8365 echo $ECHO_N "(cached) $ECHO_C" >&6
8367 ac_check_lib_save_LIBS=$LIBS
8368 LIBS="-lfreetype $X_LIBS $LIBS"
8369 cat >conftest.$ac_ext <<_ACEOF
8370 #line $LINENO "configure"
8371 #include "confdefs.h"
8373 /* Override any gcc2 internal prototype to avoid an error. */
8377 /* We use char because int might match the return type of a gcc2
8378 builtin and then its argument prototype would still apply. */
8379 char FT_Init_FreeType ();
8380 #ifdef F77_DUMMY_MAIN
8384 int F77_DUMMY_MAIN() { return 1; }
8389 FT_Init_FreeType ();
8394 rm -f conftest.$ac_objext conftest$ac_exeext
8395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8396 (eval $ac_link) 2>&5
8398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8399 (exit $ac_status); } &&
8400 { ac_try='test -s conftest$ac_exeext'
8401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8405 (exit $ac_status); }; }; then
8406 ac_cv_lib_freetype_FT_Init_FreeType=yes
8408 echo "$as_me: failed program was:" >&5
8409 cat conftest.$ac_ext >&5
8410 ac_cv_lib_freetype_FT_Init_FreeType=no
8412 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8413 LIBS=$ac_check_lib_save_LIBS
8415 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
8416 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
8417 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
8423 if test "$ft_lib" = "no"
8426 wine_cv_msg_freetype=no
8428 # Extract the first word of "freetype-config", so it can be a program name with args.
8429 set dummy freetype-config; ac_word=$2
8430 echo "$as_me:$LINENO: checking for $ac_word" >&5
8431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8432 if test "${ac_cv_prog_ft_devel+set}" = set; then
8433 echo $ECHO_N "(cached) $ECHO_C" >&6
8435 if test -n "$ft_devel"; then
8436 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
8438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8442 test -z "$as_dir" && as_dir=.
8443 for ac_exec_ext in '' $ac_executable_extensions; do
8444 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8445 ac_cv_prog_ft_devel="freetype-config"
8446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8452 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
8455 ft_devel=$ac_cv_prog_ft_devel
8456 if test -n "$ft_devel"; then
8457 echo "$as_me:$LINENO: result: $ft_devel" >&5
8458 echo "${ECHO_T}$ft_devel" >&6
8460 echo "$as_me:$LINENO: result: no" >&5
8461 echo "${ECHO_T}no" >&6
8464 if test "$ft_devel" = "no"
8466 # Extract the first word of "freetype2-config", so it can be a program name with args.
8467 set dummy freetype2-config; ac_word=$2
8468 echo "$as_me:$LINENO: checking for $ac_word" >&5
8469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8470 if test "${ac_cv_prog_ft_devel2+set}" = set; then
8471 echo $ECHO_N "(cached) $ECHO_C" >&6
8473 if test -n "$ft_devel2"; then
8474 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
8476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8480 test -z "$as_dir" && as_dir=.
8481 for ac_exec_ext in '' $ac_executable_extensions; do
8482 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8483 ac_cv_prog_ft_devel2="freetype2-config"
8484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8490 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
8493 ft_devel2=$ac_cv_prog_ft_devel2
8494 if test -n "$ft_devel2"; then
8495 echo "$as_me:$LINENO: result: $ft_devel2" >&5
8496 echo "${ECHO_T}$ft_devel2" >&6
8498 echo "$as_me:$LINENO: result: no" >&5
8499 echo "${ECHO_T}no" >&6
8502 if test "$ft_devel2" = "freetype2-config"
8507 if test "$ft_devel" = "no"
8510 wine_cv_msg_freetype=yes
8512 FREETYPEINCL=`$ft_devel --cflags`
8513 ac_save_CPPFLAGS="$CPPFLAGS"
8514 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
8523 for ac_header in freetype/freetype.h \
8524 freetype/ftglyph.h \
8525 freetype/tttables.h \
8526 freetype/ftnames.h \
8527 freetype/ftsnames.h \
8528 freetype/ttnameid.h \
8529 freetype/ftoutln.h \
8530 freetype/internal/sfnt.h
8532 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8533 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8534 echo "$as_me:$LINENO: checking for $ac_header" >&5
8535 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8536 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8537 echo $ECHO_N "(cached) $ECHO_C" >&6
8539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8540 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8542 # Is the header compilable?
8543 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8544 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8545 cat >conftest.$ac_ext <<_ACEOF
8546 #line $LINENO "configure"
8547 #include "confdefs.h"
8548 $ac_includes_default
8549 #include <$ac_header>
8551 rm -f conftest.$ac_objext
8552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8553 (eval $ac_compile) 2>&5
8555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8556 (exit $ac_status); } &&
8557 { ac_try='test -s conftest.$ac_objext'
8558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8562 (exit $ac_status); }; }; then
8563 ac_header_compiler=yes
8565 echo "$as_me: failed program was:" >&5
8566 cat conftest.$ac_ext >&5
8567 ac_header_compiler=no
8569 rm -f conftest.$ac_objext conftest.$ac_ext
8570 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8571 echo "${ECHO_T}$ac_header_compiler" >&6
8573 # Is the header present?
8574 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8575 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8576 cat >conftest.$ac_ext <<_ACEOF
8577 #line $LINENO "configure"
8578 #include "confdefs.h"
8579 #include <$ac_header>
8581 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8582 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8584 egrep -v '^ *\+' conftest.er1 >conftest.err
8586 cat conftest.err >&5
8587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8588 (exit $ac_status); } >/dev/null; then
8589 if test -s conftest.err; then
8590 ac_cpp_err=$ac_c_preproc_warn_flag
8597 if test -z "$ac_cpp_err"; then
8598 ac_header_preproc=yes
8600 echo "$as_me: failed program was:" >&5
8601 cat conftest.$ac_ext >&5
8602 ac_header_preproc=no
8604 rm -f conftest.err conftest.$ac_ext
8605 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8606 echo "${ECHO_T}$ac_header_preproc" >&6
8608 # So? What about this header?
8609 case $ac_header_compiler:$ac_header_preproc in
8611 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8612 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8613 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8614 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8616 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8617 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8618 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8619 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8620 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8621 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8623 echo "$as_me:$LINENO: checking for $ac_header" >&5
8624 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8625 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8626 echo $ECHO_N "(cached) $ECHO_C" >&6
8628 eval "$as_ac_Header=$ac_header_preproc"
8630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8631 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8634 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8635 cat >>confdefs.h <<_ACEOF
8636 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8643 cat >conftest.$ac_ext <<_ACEOF
8644 #line $LINENO "configure"
8645 #include "confdefs.h"
8646 #include <ft2build.h>
8647 #include <freetype/fttrigon.h>
8649 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8650 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8652 egrep -v '^ *\+' conftest.er1 >conftest.err
8654 cat conftest.err >&5
8655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8656 (exit $ac_status); } >/dev/null; then
8657 if test -s conftest.err; then
8658 ac_cpp_err=$ac_c_preproc_warn_flag
8665 if test -z "$ac_cpp_err"; then
8667 cat >>confdefs.h <<\_ACEOF
8668 #define HAVE_FREETYPE_FTTRIGON_H 1
8671 wine_cv_fttrigon=yes
8673 echo "$as_me: failed program was:" >&5
8674 cat conftest.$ac_ext >&5
8677 rm -f conftest.err conftest.$ac_ext
8678 CPPFLAGS="$ac_save_CPPFLAGS"
8679 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
8682 cat >>confdefs.h <<\_ACEOF
8683 #define HAVE_FREETYPE 1
8686 wine_cv_msg_freetype=no
8689 wine_cv_msg_freetype=yes
8695 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
8696 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
8697 if test "${ac_cv_c_ppdev+set}" = set; then
8698 echo $ECHO_N "(cached) $ECHO_C" >&6
8700 cat >conftest.$ac_ext <<_ACEOF
8701 #line $LINENO "configure"
8702 #include "confdefs.h"
8703 #include <linux/ppdev.h>
8704 #ifdef F77_DUMMY_MAIN
8708 int F77_DUMMY_MAIN() { return 1; }
8718 rm -f conftest.$ac_objext
8719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8720 (eval $ac_compile) 2>&5
8722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8723 (exit $ac_status); } &&
8724 { ac_try='test -s conftest.$ac_objext'
8725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8729 (exit $ac_status); }; }; then
8732 echo "$as_me: failed program was:" >&5
8733 cat conftest.$ac_ext >&5
8736 rm -f conftest.$ac_objext conftest.$ac_ext
8739 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
8740 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
8741 if test "$ac_cv_c_ppdev" = "yes"
8744 cat >>confdefs.h <<\_ACEOF
8745 #define HAVE_PPDEV 1
8750 echo "$as_me:$LINENO: checking for GNU style IPX support" >&5
8751 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
8752 if test "${ac_cv_c_ipx_gnu+set}" = set; then
8753 echo $ECHO_N "(cached) $ECHO_C" >&6
8755 cat >conftest.$ac_ext <<_ACEOF
8756 #line $LINENO "configure"
8757 #include "confdefs.h"
8758 #include <sys/socket.h>
8759 #include <netipx/ipx.h>
8760 #ifdef F77_DUMMY_MAIN
8764 int F77_DUMMY_MAIN() { return 1; }
8769 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
8774 rm -f conftest.$ac_objext
8775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8776 (eval $ac_compile) 2>&5
8778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8779 (exit $ac_status); } &&
8780 { ac_try='test -s conftest.$ac_objext'
8781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8785 (exit $ac_status); }; }; then
8786 ac_cv_c_ipx_gnu="yes"
8788 echo "$as_me: failed program was:" >&5
8789 cat conftest.$ac_ext >&5
8790 ac_cv_c_ipx_gnu="no"
8792 rm -f conftest.$ac_objext conftest.$ac_ext
8795 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_gnu" >&5
8796 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
8797 if test "$ac_cv_c_ipx_gnu" = "yes"
8800 cat >>confdefs.h <<\_ACEOF
8801 #define HAVE_IPX_GNU 1
8806 if test "$ac_cv_c_ipx_gnu" = "no"
8808 echo "$as_me:$LINENO: checking for linux style IPX support" >&5
8809 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
8810 if test "${ac_cv_c_ipx_linux+set}" = set; then
8811 echo $ECHO_N "(cached) $ECHO_C" >&6
8813 cat >conftest.$ac_ext <<_ACEOF
8814 #line $LINENO "configure"
8815 #include "confdefs.h"
8816 #include <sys/socket.h>
8817 #include <asm/types.h>
8818 #include <linux/ipx.h>
8819 #ifdef F77_DUMMY_MAIN
8823 int F77_DUMMY_MAIN() { return 1; }
8828 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
8833 rm -f conftest.$ac_objext
8834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8835 (eval $ac_compile) 2>&5
8837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8838 (exit $ac_status); } &&
8839 { ac_try='test -s conftest.$ac_objext'
8840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8844 (exit $ac_status); }; }; then
8845 ac_cv_c_ipx_linux="yes"
8847 echo "$as_me: failed program was:" >&5
8848 cat conftest.$ac_ext >&5
8849 ac_cv_c_ipx_linux="no"
8851 rm -f conftest.$ac_objext conftest.$ac_ext
8854 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_linux" >&5
8855 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
8856 if test "$ac_cv_c_ipx_linux" = "yes"
8859 cat >>confdefs.h <<\_ACEOF
8860 #define HAVE_IPX_LINUX 1
8869 for ac_header in sys/soundcard.h machine/soundcard.h soundcard.h
8871 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8872 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8873 echo "$as_me:$LINENO: checking for $ac_header" >&5
8874 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8875 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8876 echo $ECHO_N "(cached) $ECHO_C" >&6
8878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8879 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8881 # Is the header compilable?
8882 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8883 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8884 cat >conftest.$ac_ext <<_ACEOF
8885 #line $LINENO "configure"
8886 #include "confdefs.h"
8887 $ac_includes_default
8888 #include <$ac_header>
8890 rm -f conftest.$ac_objext
8891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8892 (eval $ac_compile) 2>&5
8894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8895 (exit $ac_status); } &&
8896 { ac_try='test -s conftest.$ac_objext'
8897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8901 (exit $ac_status); }; }; then
8902 ac_header_compiler=yes
8904 echo "$as_me: failed program was:" >&5
8905 cat conftest.$ac_ext >&5
8906 ac_header_compiler=no
8908 rm -f conftest.$ac_objext conftest.$ac_ext
8909 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8910 echo "${ECHO_T}$ac_header_compiler" >&6
8912 # Is the header present?
8913 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8914 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8915 cat >conftest.$ac_ext <<_ACEOF
8916 #line $LINENO "configure"
8917 #include "confdefs.h"
8918 #include <$ac_header>
8920 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8921 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8923 egrep -v '^ *\+' conftest.er1 >conftest.err
8925 cat conftest.err >&5
8926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8927 (exit $ac_status); } >/dev/null; then
8928 if test -s conftest.err; then
8929 ac_cpp_err=$ac_c_preproc_warn_flag
8936 if test -z "$ac_cpp_err"; then
8937 ac_header_preproc=yes
8939 echo "$as_me: failed program was:" >&5
8940 cat conftest.$ac_ext >&5
8941 ac_header_preproc=no
8943 rm -f conftest.err conftest.$ac_ext
8944 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8945 echo "${ECHO_T}$ac_header_preproc" >&6
8947 # So? What about this header?
8948 case $ac_header_compiler:$ac_header_preproc in
8950 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8951 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8952 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8953 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8955 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8956 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8957 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8958 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8959 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8960 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8962 echo "$as_me:$LINENO: checking for $ac_header" >&5
8963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8965 echo $ECHO_N "(cached) $ECHO_C" >&6
8967 eval "$as_ac_Header=$ac_header_preproc"
8969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8970 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8973 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8974 cat >>confdefs.h <<_ACEOF
8975 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8983 echo "$as_me:$LINENO: checking for Open Sound System" >&5
8984 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
8985 if test "${ac_cv_c_opensoundsystem+set}" = set; then
8986 echo $ECHO_N "(cached) $ECHO_C" >&6
8988 cat >conftest.$ac_ext <<_ACEOF
8989 #line $LINENO "configure"
8990 #include "confdefs.h"
8992 #if defined(HAVE_SYS_SOUNDCARD_H)
8993 #include <sys/soundcard.h>
8994 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
8995 #include <machine/soundcard.h>
8996 #elif defined(HAVE_SOUNDCARD_H)
8997 #include <soundcard.h>
9000 #ifdef F77_DUMMY_MAIN
9004 int F77_DUMMY_MAIN() { return 1; }
9011 /* check for one of the Open Sound System specific SNDCTL_ defines */
9012 #if !defined(SNDCTL_DSP_STEREO)
9013 #error No open sound system
9020 rm -f conftest.$ac_objext
9021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9022 (eval $ac_compile) 2>&5
9024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9025 (exit $ac_status); } &&
9026 { ac_try='test -s conftest.$ac_objext'
9027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9031 (exit $ac_status); }; }; then
9032 ac_cv_c_opensoundsystem="yes"
9034 echo "$as_me: failed program was:" >&5
9035 cat conftest.$ac_ext >&5
9036 ac_cv_c_opensoundsystem="no"
9038 rm -f conftest.$ac_objext conftest.$ac_ext
9040 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
9041 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
9043 if test "$ac_cv_c_opensoundsystem" = "yes"
9046 cat >>confdefs.h <<\_ACEOF
9052 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
9053 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
9054 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
9055 echo $ECHO_N "(cached) $ECHO_C" >&6
9057 cat >conftest.$ac_ext <<_ACEOF
9058 #line $LINENO "configure"
9059 #include "confdefs.h"
9061 #if defined(HAVE_SYS_SOUNDCARD_H)
9062 #include <sys/soundcard.h>
9063 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
9064 #include <machine/soundcard.h>
9065 #elif defined(HAVE_SOUNDCARD_H)
9066 #include <soundcard.h>
9069 #ifdef F77_DUMMY_MAIN
9073 int F77_DUMMY_MAIN() { return 1; }
9080 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
9081 #if !defined(SNDCTL_SEQ_SYNC)
9082 #error No open sound system MIDI interface
9089 rm -f conftest.$ac_objext
9090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9091 (eval $ac_compile) 2>&5
9093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9094 (exit $ac_status); } &&
9095 { ac_try='test -s conftest.$ac_objext'
9096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9100 (exit $ac_status); }; }; then
9101 ac_cv_c_opensoundsystem_midi="yes"
9103 echo "$as_me: failed program was:" >&5
9104 cat conftest.$ac_ext >&5
9105 ac_cv_c_opensoundsystem_midi="no"
9107 rm -f conftest.$ac_objext conftest.$ac_ext
9109 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
9110 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
9112 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
9115 cat >>confdefs.h <<\_ACEOF
9116 #define HAVE_OSS_MIDI 1
9121 # Extract the first word of "artsc-config", so it can be a program name with args.
9122 set dummy artsc-config; ac_word=$2
9123 echo "$as_me:$LINENO: checking for $ac_word" >&5
9124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9125 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
9126 echo $ECHO_N "(cached) $ECHO_C" >&6
9128 case $ARTSCCONFIG in
9130 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
9133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9137 test -z "$as_dir" && as_dir=.
9138 for ac_exec_ext in '' $ac_executable_extensions; do
9139 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9140 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
9141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9150 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
9152 if test -n "$ARTSCCONFIG"; then
9153 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
9154 echo "${ECHO_T}$ARTSCCONFIG" >&6
9156 echo "$as_me:$LINENO: result: no" >&5
9157 echo "${ECHO_T}no" >&6
9160 echo "$as_me:$LINENO: checking for aRts Sound server" >&5
9161 echo $ECHO_N "checking for aRts Sound server... $ECHO_C" >&6
9162 if test "${ac_cv_c_artsserver+set}" = set; then
9163 echo $ECHO_N "(cached) $ECHO_C" >&6
9165 if test x$ARTSCCONFIG = x -o x$ARTSCCONFIG = x'"$ARTSCCONFIG"';
9167 ac_cv_c_artsserver=no
9169 ARTSC_CFLAGS=`$ARTSCCONFIG --cflags`
9170 ARTSC_LIBS=`$ARTSCCONFIG --libs`
9171 ac_cv_c_artsserver=no
9172 save_CFLAGS="$CFLAGS"
9173 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
9174 cat >conftest.$ac_ext <<_ACEOF
9175 #line $LINENO "configure"
9176 #include "confdefs.h"
9180 #ifdef F77_DUMMY_MAIN
9184 int F77_DUMMY_MAIN() { return 1; }
9190 arts_stream_t stream;
9196 rm -f conftest.$ac_objext
9197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9198 (eval $ac_compile) 2>&5
9200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9201 (exit $ac_status); } &&
9202 { ac_try='test -s conftest.$ac_objext'
9203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9207 (exit $ac_status); }; }; then
9209 ac_cv_c_artsserver=yes
9212 echo "$as_me: failed program was:" >&5
9213 cat conftest.$ac_ext >&5
9215 rm -f conftest.$ac_objext conftest.$ac_ext
9216 CFLAGS="$save_CFLAGS"
9219 echo "$as_me:$LINENO: result: $ac_cv_c_artsserver" >&5
9220 echo "${ECHO_T}$ac_cv_c_artsserver" >&6
9222 if test "$ac_cv_c_artsserver" = "yes"
9224 ARTSLIBS=$ARTSC_LIBS
9226 ARTSINCL=$ARTSC_CFLAGS
9230 cat >>confdefs.h <<\_ACEOF
9237 echo "$as_me:$LINENO: checking whether mmap64 works defined as mmap" >&5
9238 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
9239 if test "${ac_cv_mmap64_works+set}" = set; then
9240 echo $ECHO_N "(cached) $ECHO_C" >&6
9242 if test "$cross_compiling" = yes; then
9243 ac_cv_mmap64_works="no"
9245 cat >conftest.$ac_ext <<_ACEOF
9246 #line $LINENO "configure"
9247 #include "confdefs.h"
9249 #define _FILE_OFFSET_BITS 64
9253 #include <sys/mman.h>
9256 int main(int argc,char **argv) {
9257 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
9258 if (fd == -1) exit(1);
9260 unlink("conftest.map");
9264 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
9270 fprintf(stderr,"success!\n");
9276 rm -f conftest$ac_exeext
9277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9278 (eval $ac_link) 2>&5
9280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9281 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9286 (exit $ac_status); }; }; then
9287 ac_cv_mmap64_works="yes"
9289 echo "$as_me: program exited with status $ac_status" >&5
9290 echo "$as_me: failed program was:" >&5
9291 cat conftest.$ac_ext >&5
9293 ac_cv_mmap64_works="no"
9295 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9298 echo "$as_me:$LINENO: result: $ac_cv_mmap64_works" >&5
9299 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
9301 if test "$ac_cv_mmap64_works" = "yes"
9304 cat >>confdefs.h <<\_ACEOF
9305 #define _FILE_OFFSET_BITS 64
9311 if test "x${GCC}" = "xyes"
9313 CFLAGS="$CFLAGS -Wall"
9314 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
9315 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
9316 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
9317 echo $ECHO_N "(cached) $ECHO_C" >&6
9319 if test "$cross_compiling" = yes; then
9320 ac_cv_c_gcc_strength_bug="yes"
9322 cat >conftest.$ac_ext <<_ACEOF
9323 #line $LINENO "configure"
9324 #include "confdefs.h"
9326 int L[4] = {0,1,2,3};
9328 static int Array[3];
9331 for(i=0; i<B; i++) Array[i] = i - 3;
9332 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
9335 exit( Array[1] != -2 || L[2] != 3);
9338 rm -f conftest$ac_exeext
9339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9340 (eval $ac_link) 2>&5
9342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9343 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9348 (exit $ac_status); }; }; then
9349 ac_cv_c_gcc_strength_bug="no"
9351 echo "$as_me: program exited with status $ac_status" >&5
9352 echo "$as_me: failed program was:" >&5
9353 cat conftest.$ac_ext >&5
9355 ac_cv_c_gcc_strength_bug="yes"
9357 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9360 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
9361 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
9362 if test "$ac_cv_c_gcc_strength_bug" = "yes"
9364 CFLAGS="$CFLAGS -fno-strength-reduce"
9367 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
9368 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
9369 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
9370 echo $ECHO_N "(cached) $ECHO_C" >&6
9372 saved_cflags=$CFLAGS
9373 CFLAGS="$CFLAGS -mpreferred-stack-boundary=2"
9374 cat >conftest.$ac_ext <<_ACEOF
9375 #line $LINENO "configure"
9376 #include "confdefs.h"
9378 #ifdef F77_DUMMY_MAIN
9382 int F77_DUMMY_MAIN() { return 1; }
9392 rm -f conftest.$ac_objext
9393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9394 (eval $ac_compile) 2>&5
9396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9397 (exit $ac_status); } &&
9398 { ac_try='test -s conftest.$ac_objext'
9399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9403 (exit $ac_status); }; }; then
9404 ac_cv_c_gcc_stack_boundary="yes"
9406 echo "$as_me: failed program was:" >&5
9407 cat conftest.$ac_ext >&5
9408 ac_cv_c_gcc_stack_boundary="no"
9410 rm -f conftest.$ac_objext conftest.$ac_ext
9411 CFLAGS=$saved_cflags
9414 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
9415 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
9416 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
9418 CFLAGS="$CFLAGS -mpreferred-stack-boundary=2"
9423 echo "$as_me:$LINENO: checking whether .type must sit inside a .def directive" >&5
9424 echo $ECHO_N "checking whether .type must sit inside a .def directive... $ECHO_C" >&6
9425 if test "${ac_cv_c_type_in_def+set}" = set; then
9426 echo $ECHO_N "(cached) $ECHO_C" >&6
9429 LIBS="conftest_asm.s $LIBS"
9430 cat > conftest_asm.s <<EOF
9432 .def _ac_test; .scl 2; .type 32; .endef
9436 cat >conftest.$ac_ext <<_ACEOF
9437 #line $LINENO "configure"
9438 #include "confdefs.h"
9440 #ifdef F77_DUMMY_MAIN
9444 int F77_DUMMY_MAIN() { return 1; }
9454 rm -f conftest.$ac_objext conftest$ac_exeext
9455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9456 (eval $ac_link) 2>&5
9458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9459 (exit $ac_status); } &&
9460 { ac_try='test -s conftest$ac_exeext'
9461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9465 (exit $ac_status); }; }; then
9466 ac_cv_c_type_in_def="yes"
9468 echo "$as_me: failed program was:" >&5
9469 cat conftest.$ac_ext >&5
9470 ac_cv_c_type_in_def="no"
9472 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9475 echo "$as_me:$LINENO: result: $ac_cv_c_type_in_def" >&5
9476 echo "${ECHO_T}$ac_cv_c_type_in_def" >&6
9477 if test "$ac_cv_c_type_in_def" = "yes"
9480 cat >>confdefs.h <<\_ACEOF
9481 #define NEED_TYPE_IN_DEF 1
9487 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
9488 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
9489 if test "${ac_cv_c_extern_prefix+set}" = set; then
9490 echo $ECHO_N "(cached) $ECHO_C" >&6
9493 LIBS="conftest_asm.s $LIBS"
9494 cat > conftest_asm.s <<EOF
9499 cat >conftest.$ac_ext <<_ACEOF
9500 #line $LINENO "configure"
9501 #include "confdefs.h"
9503 #ifdef F77_DUMMY_MAIN
9507 int F77_DUMMY_MAIN() { return 1; }
9512 if (ac_test) return 1
9517 rm -f conftest.$ac_objext conftest$ac_exeext
9518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9519 (eval $ac_link) 2>&5
9521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9522 (exit $ac_status); } &&
9523 { ac_try='test -s conftest$ac_exeext'
9524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9528 (exit $ac_status); }; }; then
9529 ac_cv_c_extern_prefix="yes"
9531 echo "$as_me: failed program was:" >&5
9532 cat conftest.$ac_ext >&5
9533 ac_cv_c_extern_prefix="no"
9535 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9538 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
9539 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
9540 if test "$ac_cv_c_extern_prefix" = "yes"
9543 cat >>confdefs.h <<\_ACEOF
9544 #define NEED_UNDERSCORE_PREFIX 1
9550 echo "$as_me:$LINENO: checking whether stdcall symbols need to be decorated" >&5
9551 echo $ECHO_N "checking whether stdcall symbols need to be decorated... $ECHO_C" >&6
9552 if test "${ac_cv_c_stdcall_decoration+set}" = set; then
9553 echo $ECHO_N "(cached) $ECHO_C" >&6
9556 LIBS="conftest_asm.s $LIBS"
9557 if test "$ac_cv_c_extern_prefix" = "yes"
9559 cat > conftest_asm.s <<EOF
9564 cat > conftest_asm.s <<EOF
9569 cat >conftest.$ac_ext <<_ACEOF
9570 #line $LINENO "configure"
9571 #include "confdefs.h"
9572 extern void __attribute__((__stdcall__)) ac_test(void);
9573 #ifdef F77_DUMMY_MAIN
9577 int F77_DUMMY_MAIN() { return 1; }
9587 rm -f conftest.$ac_objext conftest$ac_exeext
9588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9589 (eval $ac_link) 2>&5
9591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9592 (exit $ac_status); } &&
9593 { ac_try='test -s conftest$ac_exeext'
9594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9598 (exit $ac_status); }; }; then
9599 ac_cv_c_stdcall_decoration="yes"
9601 echo "$as_me: failed program was:" >&5
9602 cat conftest.$ac_ext >&5
9603 ac_cv_c_stdcall_decoration="no"
9605 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9608 echo "$as_me:$LINENO: result: $ac_cv_c_stdcall_decoration" >&5
9609 echo "${ECHO_T}$ac_cv_c_stdcall_decoration" >&6
9610 if test "$ac_cv_c_stdcall_decoration" = "yes"
9613 cat >>confdefs.h <<\_ACEOF
9614 #define NEED_STDCALL_DECORATION 1
9620 echo "$as_me:$LINENO: checking whether assembler accepts .string" >&5
9621 echo $ECHO_N "checking whether assembler accepts .string... $ECHO_C" >&6
9622 if test "${ac_cv_c_asm_string+set}" = set; then
9623 echo $ECHO_N "(cached) $ECHO_C" >&6
9626 LIBS="conftest_asm.s $LIBS"
9627 cat > conftest_asm.s <<EOF
9630 cat >conftest.$ac_ext <<_ACEOF
9631 #line $LINENO "configure"
9632 #include "confdefs.h"
9634 #ifdef F77_DUMMY_MAIN
9638 int F77_DUMMY_MAIN() { return 1; }
9648 rm -f conftest.$ac_objext conftest$ac_exeext
9649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9650 (eval $ac_link) 2>&5
9652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9653 (exit $ac_status); } &&
9654 { ac_try='test -s conftest$ac_exeext'
9655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9659 (exit $ac_status); }; }; then
9660 ac_cv_c_asm_string="yes"
9662 echo "$as_me: failed program was:" >&5
9663 cat conftest.$ac_ext >&5
9664 ac_cv_c_asm_string="no"
9666 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9669 echo "$as_me:$LINENO: result: $ac_cv_c_asm_string" >&5
9670 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
9671 if test "$ac_cv_c_asm_string" = "yes"
9674 cat >>confdefs.h <<\_ACEOF
9675 #define HAVE_ASM_STRING 1
9683 if test "$LIBEXT" = "so"
9685 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
9686 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
9687 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
9688 echo $ECHO_N "(cached) $ECHO_C" >&6
9690 saved_cflags=$CFLAGS
9691 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
9692 cat >conftest.$ac_ext <<_ACEOF
9693 #line $LINENO "configure"
9694 #include "confdefs.h"
9696 #ifdef F77_DUMMY_MAIN
9700 int F77_DUMMY_MAIN() { return 1; }
9710 rm -f conftest.$ac_objext conftest$ac_exeext
9711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9712 (eval $ac_link) 2>&5
9714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9715 (exit $ac_status); } &&
9716 { ac_try='test -s conftest$ac_exeext'
9717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9721 (exit $ac_status); }; }; then
9722 ac_cv_c_dll_gnuelf="yes"
9724 echo "$as_me: failed program was:" >&5
9725 cat conftest.$ac_ext >&5
9726 ac_cv_c_dll_gnuelf="no"
9728 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9729 CFLAGS=$saved_cflags
9732 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
9733 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
9734 if test "$ac_cv_c_dll_gnuelf" = "yes"
9736 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
9737 LDDLLFLAGS="-Wl,-Bsymbolic"
9739 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9740 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
9741 if test "${ac_cv_c_dll_unixware+set}" = set; then
9742 echo $ECHO_N "(cached) $ECHO_C" >&6
9744 saved_cflags=$CFLAGS
9745 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9746 cat >conftest.$ac_ext <<_ACEOF
9747 #line $LINENO "configure"
9748 #include "confdefs.h"
9750 #ifdef F77_DUMMY_MAIN
9754 int F77_DUMMY_MAIN() { return 1; }
9764 rm -f conftest.$ac_objext conftest$ac_exeext
9765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9766 (eval $ac_link) 2>&5
9768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9769 (exit $ac_status); } &&
9770 { ac_try='test -s conftest$ac_exeext'
9771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9775 (exit $ac_status); }; }; then
9776 ac_cv_c_dll_unixware="yes"
9778 echo "$as_me: failed program was:" >&5
9779 cat conftest.$ac_ext >&5
9780 ac_cv_c_dll_unixware="no"
9782 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9783 CFLAGS=$saved_cflags
9786 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9787 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
9788 if test "$ac_cv_c_dll_unixware" = "yes"
9790 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9791 LDDLLFLAGS="-Wl,-B,symbolic"
9794 if test "$ac_cv_c_dll_gnuelf" = "no" -a "$ac_cv_c_dll_unixware" = "no"
9797 # Extract the first word of "dllwrap", so it can be a program name with args.
9798 set dummy dllwrap; ac_word=$2
9799 echo "$as_me:$LINENO: checking for $ac_word" >&5
9800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9801 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
9802 echo $ECHO_N "(cached) $ECHO_C" >&6
9804 if test -n "$DLLWRAP"; then
9805 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
9807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9811 test -z "$as_dir" && as_dir=.
9812 for ac_exec_ext in '' $ac_executable_extensions; do
9813 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9814 ac_cv_prog_DLLWRAP="dllwrap"
9815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9821 test -z "$ac_cv_prog_DLLWRAP" && ac_cv_prog_DLLWRAP="false"
9824 DLLWRAP=$ac_cv_prog_DLLWRAP
9825 if test -n "$DLLWRAP"; then
9826 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
9827 echo "${ECHO_T}$DLLWRAP" >&6
9829 echo "$as_me:$LINENO: result: no" >&5
9830 echo "${ECHO_T}no" >&6
9833 if test "$DLLWRAP" = "dllwrap"; then
9843 if test "$LIBEXT" = "a"; then
9844 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9845 It is currently not possible to build Wine without shared library
9846 (.so) support to allow transparent switch between .so and .dll files.
9847 If you are using Linux, you will need a newer binutils.
9849 echo "$as_me: error: could not find a way to build shared libraries.
9850 It is currently not possible to build Wine without shared library
9851 (.so) support to allow transparent switch between .so and .dll files.
9852 If you are using Linux, you will need a newer binutils.
9854 { (exit 1); exit 1; }; }
9860 if test "$LIBEXT" = "so"; then
9863 LDPATH="LD_LIBRARY_PATH=\"\$(TOPOBJDIR)/unicode:\$\$LD_LIBRARY_PATH\""
9864 elif test "$LIBEXT" = "dll"; then
9865 #DLLFLAGS="-fPIC" # -fPIC doesn't work(at least in cygwin-b20) - FIXME
9867 LDPATH="PATH=\"\$(TOPOBJDIR)/unicode:\$\$PATH\""
9880 wine_cv_libc_reentrant=no
9882 echo "$as_me:$LINENO: checking for reentrant libc: __errno_location" >&5
9883 echo $ECHO_N "checking for reentrant libc: __errno_location... $ECHO_C" >&6
9884 if test "${wine_cv_libc_r___errno_location+set}" = set; then
9885 echo $ECHO_N "(cached) $ECHO_C" >&6
9887 if test "$cross_compiling" = yes; then
9888 wine_cv_libc_r___errno_location=yes
9890 cat >conftest.$ac_ext <<_ACEOF
9891 #line $LINENO "configure"
9892 #include "confdefs.h"
9895 int *__errno_location(){return &myerrno;}
9896 main(){connect(0,buf,255); exit(!myerrno);}
9898 rm -f conftest$ac_exeext
9899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9900 (eval $ac_link) 2>&5
9902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9903 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9908 (exit $ac_status); }; }; then
9909 wine_cv_libc_r___errno_location=yes
9911 echo "$as_me: program exited with status $ac_status" >&5
9912 echo "$as_me: failed program was:" >&5
9913 cat conftest.$ac_ext >&5
9915 wine_cv_libc_r___errno_location=no
9917 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9921 echo "$as_me:$LINENO: result: $wine_cv_libc_r___errno_location" >&5
9922 echo "${ECHO_T}$wine_cv_libc_r___errno_location" >&6
9923 if test "$wine_cv_libc_r___errno_location" = "yes"
9925 wine_cv_libc_reentrant=__errno_location
9929 echo "$as_me:$LINENO: checking for reentrant libc: __error" >&5
9930 echo $ECHO_N "checking for reentrant libc: __error... $ECHO_C" >&6
9931 if test "${wine_cv_libc_r___error+set}" = set; then
9932 echo $ECHO_N "(cached) $ECHO_C" >&6
9934 if test "$cross_compiling" = yes; then
9935 wine_cv_libc_r___error=yes
9937 cat >conftest.$ac_ext <<_ACEOF
9938 #line $LINENO "configure"
9939 #include "confdefs.h"
9942 int *__error(){return &myerrno;}
9943 main(){connect(0,buf,255); exit(!myerrno);}
9945 rm -f conftest$ac_exeext
9946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9947 (eval $ac_link) 2>&5
9949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9950 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9955 (exit $ac_status); }; }; then
9956 wine_cv_libc_r___error=yes
9958 echo "$as_me: program exited with status $ac_status" >&5
9959 echo "$as_me: failed program was:" >&5
9960 cat conftest.$ac_ext >&5
9962 wine_cv_libc_r___error=no
9964 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9968 echo "$as_me:$LINENO: result: $wine_cv_libc_r___error" >&5
9969 echo "${ECHO_T}$wine_cv_libc_r___error" >&6
9970 if test "$wine_cv_libc_r___error" = "yes"
9972 wine_cv_libc_reentrant=__error
9976 echo "$as_me:$LINENO: checking for reentrant libc: ___errno" >&5
9977 echo $ECHO_N "checking for reentrant libc: ___errno... $ECHO_C" >&6
9978 if test "${wine_cv_libc_r____errno+set}" = set; then
9979 echo $ECHO_N "(cached) $ECHO_C" >&6
9981 if test "$cross_compiling" = yes; then
9982 wine_cv_libc_r____errno=yes
9984 cat >conftest.$ac_ext <<_ACEOF
9985 #line $LINENO "configure"
9986 #include "confdefs.h"
9989 int *___errno(){return &myerrno;}
9990 main(){connect(0,buf,255); exit(!myerrno);}
9992 rm -f conftest$ac_exeext
9993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9994 (eval $ac_link) 2>&5
9996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9997 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10002 (exit $ac_status); }; }; then
10003 wine_cv_libc_r____errno=yes
10005 echo "$as_me: program exited with status $ac_status" >&5
10006 echo "$as_me: failed program was:" >&5
10007 cat conftest.$ac_ext >&5
10008 ( exit $ac_status )
10009 wine_cv_libc_r____errno=no
10011 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10015 echo "$as_me:$LINENO: result: $wine_cv_libc_r____errno" >&5
10016 echo "${ECHO_T}$wine_cv_libc_r____errno" >&6
10017 if test "$wine_cv_libc_r____errno" = "yes"
10019 wine_cv_libc_reentrant=___errno
10023 echo "$as_me:$LINENO: checking for reentrant libc: __thr_errno" >&5
10024 echo $ECHO_N "checking for reentrant libc: __thr_errno... $ECHO_C" >&6
10025 if test "${wine_cv_libc_r___thr_errno+set}" = set; then
10026 echo $ECHO_N "(cached) $ECHO_C" >&6
10028 if test "$cross_compiling" = yes; then
10029 wine_cv_libc_r___thr_errno=yes
10031 cat >conftest.$ac_ext <<_ACEOF
10032 #line $LINENO "configure"
10033 #include "confdefs.h"
10036 int *__thr_errno(){return &myerrno;}
10037 main(){connect(0,buf,255); exit(!myerrno);}
10039 rm -f conftest$ac_exeext
10040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10041 (eval $ac_link) 2>&5
10043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10044 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10046 (eval $ac_try) 2>&5
10048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10049 (exit $ac_status); }; }; then
10050 wine_cv_libc_r___thr_errno=yes
10052 echo "$as_me: program exited with status $ac_status" >&5
10053 echo "$as_me: failed program was:" >&5
10054 cat conftest.$ac_ext >&5
10055 ( exit $ac_status )
10056 wine_cv_libc_r___thr_errno=no
10058 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10062 echo "$as_me:$LINENO: result: $wine_cv_libc_r___thr_errno" >&5
10063 echo "${ECHO_T}$wine_cv_libc_r___thr_errno" >&6
10064 if test "$wine_cv_libc_r___thr_errno" = "yes"
10066 wine_cv_libc_reentrant=__thr_errno
10070 echo "$as_me:$LINENO: checking for reentrant libc: __errno" >&5
10071 echo $ECHO_N "checking for reentrant libc: __errno... $ECHO_C" >&6
10072 if test "${wine_cv_libc_r___errno+set}" = set; then
10073 echo $ECHO_N "(cached) $ECHO_C" >&6
10075 if test "$cross_compiling" = yes; then
10076 wine_cv_libc_r___errno=yes
10078 cat >conftest.$ac_ext <<_ACEOF
10079 #line $LINENO "configure"
10080 #include "confdefs.h"
10083 int *__errno(){return &myerrno;}
10084 main(){connect(0,buf,255); exit(!myerrno);}
10086 rm -f conftest$ac_exeext
10087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10088 (eval $ac_link) 2>&5
10090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10091 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10093 (eval $ac_try) 2>&5
10095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10096 (exit $ac_status); }; }; then
10097 wine_cv_libc_r___errno=yes
10099 echo "$as_me: program exited with status $ac_status" >&5
10100 echo "$as_me: failed program was:" >&5
10101 cat conftest.$ac_ext >&5
10102 ( exit $ac_status )
10103 wine_cv_libc_r___errno=no
10105 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10109 echo "$as_me:$LINENO: result: $wine_cv_libc_r___errno" >&5
10110 echo "${ECHO_T}$wine_cv_libc_r___errno" >&6
10111 if test "$wine_cv_libc_r___errno" = "yes"
10113 wine_cv_libc_reentrant=__errno
10117 if test "$wine_cv_libc_reentrant" != "no"
10120 cat >>confdefs.h <<_ACEOF
10121 #define ERRNO_LOCATION $wine_cv_libc_reentrant
10127 if test "$have_x" = "yes" -a "$wine_cv_libc_reentrant" != "no"
10129 echo "$as_me:$LINENO: checking for reentrant X libraries" >&5
10130 echo $ECHO_N "checking for reentrant X libraries... $ECHO_C" >&6
10131 if test "${wine_cv_x_reentrant+set}" = set; then
10132 echo $ECHO_N "(cached) $ECHO_C" >&6
10134 if test "x$with_reentrant_x" = "xno"
10136 wine_cv_x_reentrant=no
10139 for dir in "$x_libraries" /usr/lib /usr/local/lib /lib; do
10140 if test -r $dir/libX11.so; then
10141 libX11_check="-D $dir/libX11.so"
10144 if test -r $dir/libX11.a; then
10145 libX11_check="$dir/libX11.a"
10149 if test "$libX11_check" != "none"; then
10150 if nm $libX11_check | grep $wine_cv_libc_reentrant >/dev/null 2>&1
10152 wine_cv_x_reentrant=yes
10154 wine_cv_x_reentrant=no
10157 wine_cv_x_reentrant=unknown
10161 echo "$as_me:$LINENO: result: $wine_cv_x_reentrant" >&5
10162 echo "${ECHO_T}$wine_cv_x_reentrant" >&6
10164 wine_cv_x_reentrant=no
10166 if test "$wine_cv_x_reentrant" = "no"
10169 cat >>confdefs.h <<\_ACEOF
10170 #define NO_REENTRANT_X11 1
10177 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
10178 # for constant arguments. Useless!
10179 echo "$as_me:$LINENO: checking for working alloca.h" >&5
10180 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
10181 if test "${ac_cv_working_alloca_h+set}" = set; then
10182 echo $ECHO_N "(cached) $ECHO_C" >&6
10184 cat >conftest.$ac_ext <<_ACEOF
10185 #line $LINENO "configure"
10186 #include "confdefs.h"
10187 #include <alloca.h>
10188 #ifdef F77_DUMMY_MAIN
10189 # ifdef __cplusplus
10192 int F77_DUMMY_MAIN() { return 1; }
10197 char *p = (char *) alloca (2 * sizeof (int));
10202 rm -f conftest.$ac_objext conftest$ac_exeext
10203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10204 (eval $ac_link) 2>&5
10206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10207 (exit $ac_status); } &&
10208 { ac_try='test -s conftest$ac_exeext'
10209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10210 (eval $ac_try) 2>&5
10212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10213 (exit $ac_status); }; }; then
10214 ac_cv_working_alloca_h=yes
10216 echo "$as_me: failed program was:" >&5
10217 cat conftest.$ac_ext >&5
10218 ac_cv_working_alloca_h=no
10220 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10222 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
10223 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
10224 if test $ac_cv_working_alloca_h = yes; then
10226 cat >>confdefs.h <<\_ACEOF
10227 #define HAVE_ALLOCA_H 1
10232 echo "$as_me:$LINENO: checking for alloca" >&5
10233 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
10234 if test "${ac_cv_func_alloca_works+set}" = set; then
10235 echo $ECHO_N "(cached) $ECHO_C" >&6
10237 cat >conftest.$ac_ext <<_ACEOF
10238 #line $LINENO "configure"
10239 #include "confdefs.h"
10241 # define alloca __builtin_alloca
10244 # include <malloc.h>
10245 # define alloca _alloca
10248 # include <alloca.h>
10253 # ifndef alloca /* predefined by HP cc +Olibcalls */
10261 #ifdef F77_DUMMY_MAIN
10262 # ifdef __cplusplus
10265 int F77_DUMMY_MAIN() { return 1; }
10270 char *p = (char *) alloca (1);
10275 rm -f conftest.$ac_objext conftest$ac_exeext
10276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10277 (eval $ac_link) 2>&5
10279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10280 (exit $ac_status); } &&
10281 { ac_try='test -s conftest$ac_exeext'
10282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10283 (eval $ac_try) 2>&5
10285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10286 (exit $ac_status); }; }; then
10287 ac_cv_func_alloca_works=yes
10289 echo "$as_me: failed program was:" >&5
10290 cat conftest.$ac_ext >&5
10291 ac_cv_func_alloca_works=no
10293 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10295 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
10296 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
10298 if test $ac_cv_func_alloca_works = yes; then
10300 cat >>confdefs.h <<\_ACEOF
10301 #define HAVE_ALLOCA 1
10305 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
10306 # that cause trouble. Some versions do not even contain alloca or
10307 # contain a buggy version. If you still want to use their alloca,
10308 # use ar to extract alloca.o from them instead of compiling alloca.c.
10310 ALLOCA=alloca.$ac_objext
10312 cat >>confdefs.h <<\_ACEOF
10317 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
10318 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
10319 if test "${ac_cv_os_cray+set}" = set; then
10320 echo $ECHO_N "(cached) $ECHO_C" >&6
10322 cat >conftest.$ac_ext <<_ACEOF
10323 #line $LINENO "configure"
10324 #include "confdefs.h"
10325 #if defined(CRAY) && ! defined(CRAY2)
10332 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10333 egrep "webecray" >/dev/null 2>&1; then
10341 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
10342 echo "${ECHO_T}$ac_cv_os_cray" >&6
10343 if test $ac_cv_os_cray = yes; then
10344 for ac_func in _getb67 GETB67 getb67; do
10345 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10346 echo "$as_me:$LINENO: checking for $ac_func" >&5
10347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10348 if eval "test \"\${$as_ac_var+set}\" = set"; then
10349 echo $ECHO_N "(cached) $ECHO_C" >&6
10351 cat >conftest.$ac_ext <<_ACEOF
10352 #line $LINENO "configure"
10353 #include "confdefs.h"
10354 /* System header to define __stub macros and hopefully few prototypes,
10355 which can conflict with char $ac_func (); below. */
10356 #include <assert.h>
10357 /* Override any gcc2 internal prototype to avoid an error. */
10361 /* We use char because int might match the return type of a gcc2
10362 builtin and then its argument prototype would still apply. */
10366 #ifdef F77_DUMMY_MAIN
10367 # ifdef __cplusplus
10370 int F77_DUMMY_MAIN() { return 1; }
10375 /* The GNU C library defines this for functions which it implements
10376 to always fail with ENOSYS. Some functions are actually named
10377 something starting with __ and the normal name is an alias. */
10378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10388 rm -f conftest.$ac_objext conftest$ac_exeext
10389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10390 (eval $ac_link) 2>&5
10392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10393 (exit $ac_status); } &&
10394 { ac_try='test -s conftest$ac_exeext'
10395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10396 (eval $ac_try) 2>&5
10398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10399 (exit $ac_status); }; }; then
10400 eval "$as_ac_var=yes"
10402 echo "$as_me: failed program was:" >&5
10403 cat conftest.$ac_ext >&5
10404 eval "$as_ac_var=no"
10406 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10410 if test `eval echo '${'$as_ac_var'}'` = yes; then
10412 cat >>confdefs.h <<_ACEOF
10413 #define CRAY_STACKSEG_END $ac_func
10422 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
10423 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
10424 if test "${ac_cv_c_stack_direction+set}" = set; then
10425 echo $ECHO_N "(cached) $ECHO_C" >&6
10427 if test "$cross_compiling" = yes; then
10428 ac_cv_c_stack_direction=0
10430 cat >conftest.$ac_ext <<_ACEOF
10431 #line $LINENO "configure"
10432 #include "confdefs.h"
10434 find_stack_direction ()
10436 static char *addr = 0;
10441 return find_stack_direction ();
10444 return (&dummy > addr) ? 1 : -1;
10450 exit (find_stack_direction () < 0);
10453 rm -f conftest$ac_exeext
10454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10455 (eval $ac_link) 2>&5
10457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10458 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10460 (eval $ac_try) 2>&5
10462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10463 (exit $ac_status); }; }; then
10464 ac_cv_c_stack_direction=1
10466 echo "$as_me: program exited with status $ac_status" >&5
10467 echo "$as_me: failed program was:" >&5
10468 cat conftest.$ac_ext >&5
10469 ( exit $ac_status )
10470 ac_cv_c_stack_direction=-1
10472 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10475 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
10476 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
10478 cat >>confdefs.h <<_ACEOF
10479 #define STACK_DIRECTION $ac_cv_c_stack_direction
10574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10575 echo "$as_me:$LINENO: checking for $ac_func" >&5
10576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10577 if eval "test \"\${$as_ac_var+set}\" = set"; then
10578 echo $ECHO_N "(cached) $ECHO_C" >&6
10580 cat >conftest.$ac_ext <<_ACEOF
10581 #line $LINENO "configure"
10582 #include "confdefs.h"
10583 /* System header to define __stub macros and hopefully few prototypes,
10584 which can conflict with char $ac_func (); below. */
10585 #include <assert.h>
10586 /* Override any gcc2 internal prototype to avoid an error. */
10590 /* We use char because int might match the return type of a gcc2
10591 builtin and then its argument prototype would still apply. */
10595 #ifdef F77_DUMMY_MAIN
10596 # ifdef __cplusplus
10599 int F77_DUMMY_MAIN() { return 1; }
10604 /* The GNU C library defines this for functions which it implements
10605 to always fail with ENOSYS. Some functions are actually named
10606 something starting with __ and the normal name is an alias. */
10607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10617 rm -f conftest.$ac_objext conftest$ac_exeext
10618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10619 (eval $ac_link) 2>&5
10621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10622 (exit $ac_status); } &&
10623 { ac_try='test -s conftest$ac_exeext'
10624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10625 (eval $ac_try) 2>&5
10627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10628 (exit $ac_status); }; }; then
10629 eval "$as_ac_var=yes"
10631 echo "$as_me: failed program was:" >&5
10632 cat conftest.$ac_ext >&5
10633 eval "$as_ac_var=no"
10635 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10639 if test `eval echo '${'$as_ac_var'}'` = yes; then
10640 cat >>confdefs.h <<_ACEOF
10641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10727 netinet/in_systm.h \
10770 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10771 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10772 echo "$as_me:$LINENO: checking for $ac_header" >&5
10773 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10774 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10775 echo $ECHO_N "(cached) $ECHO_C" >&6
10777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10778 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10780 # Is the header compilable?
10781 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10782 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10783 cat >conftest.$ac_ext <<_ACEOF
10784 #line $LINENO "configure"
10785 #include "confdefs.h"
10786 $ac_includes_default
10787 #include <$ac_header>
10789 rm -f conftest.$ac_objext
10790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10791 (eval $ac_compile) 2>&5
10793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10794 (exit $ac_status); } &&
10795 { ac_try='test -s conftest.$ac_objext'
10796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10797 (eval $ac_try) 2>&5
10799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10800 (exit $ac_status); }; }; then
10801 ac_header_compiler=yes
10803 echo "$as_me: failed program was:" >&5
10804 cat conftest.$ac_ext >&5
10805 ac_header_compiler=no
10807 rm -f conftest.$ac_objext conftest.$ac_ext
10808 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10809 echo "${ECHO_T}$ac_header_compiler" >&6
10811 # Is the header present?
10812 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10813 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10814 cat >conftest.$ac_ext <<_ACEOF
10815 #line $LINENO "configure"
10816 #include "confdefs.h"
10817 #include <$ac_header>
10819 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10820 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10822 egrep -v '^ *\+' conftest.er1 >conftest.err
10824 cat conftest.err >&5
10825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10826 (exit $ac_status); } >/dev/null; then
10827 if test -s conftest.err; then
10828 ac_cpp_err=$ac_c_preproc_warn_flag
10835 if test -z "$ac_cpp_err"; then
10836 ac_header_preproc=yes
10838 echo "$as_me: failed program was:" >&5
10839 cat conftest.$ac_ext >&5
10840 ac_header_preproc=no
10842 rm -f conftest.err conftest.$ac_ext
10843 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10844 echo "${ECHO_T}$ac_header_preproc" >&6
10846 # So? What about this header?
10847 case $ac_header_compiler:$ac_header_preproc in
10849 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10850 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10851 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10852 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10854 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10855 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10856 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10857 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10858 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10859 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10861 echo "$as_me:$LINENO: checking for $ac_header" >&5
10862 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10863 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10864 echo $ECHO_N "(cached) $ECHO_C" >&6
10866 eval "$as_ac_Header=$ac_header_preproc"
10868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10869 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10872 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10873 cat >>confdefs.h <<_ACEOF
10874 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10881 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
10882 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
10883 if test "${ac_cv_header_stat_broken+set}" = set; then
10884 echo $ECHO_N "(cached) $ECHO_C" >&6
10886 cat >conftest.$ac_ext <<_ACEOF
10887 #line $LINENO "configure"
10888 #include "confdefs.h"
10889 #include <sys/types.h>
10890 #include <sys/stat.h>
10892 #if defined(S_ISBLK) && defined(S_IFDIR)
10893 # if S_ISBLK (S_IFDIR)
10898 #if defined(S_ISBLK) && defined(S_IFCHR)
10899 # if S_ISBLK (S_IFCHR)
10904 #if defined(S_ISLNK) && defined(S_IFREG)
10905 # if S_ISLNK (S_IFREG)
10910 #if defined(S_ISSOCK) && defined(S_IFREG)
10911 # if S_ISSOCK (S_IFREG)
10917 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10918 egrep "You lose" >/dev/null 2>&1; then
10919 ac_cv_header_stat_broken=yes
10921 ac_cv_header_stat_broken=no
10926 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
10927 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
10928 if test $ac_cv_header_stat_broken = yes; then
10930 cat >>confdefs.h <<\_ACEOF
10931 #define STAT_MACROS_BROKEN 1
10938 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10939 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10940 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10941 echo $ECHO_N "(cached) $ECHO_C" >&6
10943 ac_cv_prog_cc_stdc=no
10945 cat >conftest.$ac_ext <<_ACEOF
10946 #line $LINENO "configure"
10947 #include "confdefs.h"
10948 #include <stdarg.h>
10950 #include <sys/types.h>
10951 #include <sys/stat.h>
10952 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10953 struct buf { int x; };
10954 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10955 static char *e (p, i)
10961 static char *f (char * (*g) (char **, int), char **p, ...)
10966 s = g (p, va_arg (v,int));
10970 int test (int i, double x);
10971 struct s1 {int (*f) (int a);};
10972 struct s2 {int (*f) (double a);};
10973 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10976 #ifdef F77_DUMMY_MAIN
10977 # ifdef __cplusplus
10980 int F77_DUMMY_MAIN() { return 1; }
10985 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10990 # Don't try gcc -ansi; that turns off useful extensions and
10991 # breaks some systems' header files.
10992 # AIX -qlanglvl=ansi
10993 # Ultrix and OSF/1 -std1
10994 # HP-UX 10.20 and later -Ae
10995 # HP-UX older versions -Aa -D_HPUX_SOURCE
10996 # SVR4 -Xc -D__EXTENSIONS__
10997 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10999 CC="$ac_save_CC $ac_arg"
11000 rm -f conftest.$ac_objext
11001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11002 (eval $ac_compile) 2>&5
11004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11005 (exit $ac_status); } &&
11006 { ac_try='test -s conftest.$ac_objext'
11007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11008 (eval $ac_try) 2>&5
11010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11011 (exit $ac_status); }; }; then
11012 ac_cv_prog_cc_stdc=$ac_arg
11015 echo "$as_me: failed program was:" >&5
11016 cat conftest.$ac_ext >&5
11018 rm -f conftest.$ac_objext
11020 rm -f conftest.$ac_ext conftest.$ac_objext
11025 case "x$ac_cv_prog_cc_stdc" in
11027 echo "$as_me:$LINENO: result: none needed" >&5
11028 echo "${ECHO_T}none needed" >&6 ;;
11030 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11031 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11032 CC="$CC $ac_cv_prog_cc_stdc" ;;
11035 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
11036 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
11037 if test "${ac_cv_c_const+set}" = set; then
11038 echo $ECHO_N "(cached) $ECHO_C" >&6
11040 cat >conftest.$ac_ext <<_ACEOF
11041 #line $LINENO "configure"
11042 #include "confdefs.h"
11044 #ifdef F77_DUMMY_MAIN
11045 # ifdef __cplusplus
11048 int F77_DUMMY_MAIN() { return 1; }
11053 /* FIXME: Include the comments suggested by Paul. */
11054 #ifndef __cplusplus
11055 /* Ultrix mips cc rejects this. */
11056 typedef int charset[2];
11058 /* SunOS 4.1.1 cc rejects this. */
11059 char const *const *ccp;
11061 /* NEC SVR4.0.2 mips cc rejects this. */
11062 struct point {int x, y;};
11063 static struct point const zero = {0,0};
11064 /* AIX XL C 1.02.0.0 rejects this.
11065 It does not let you subtract one const X* pointer from another in
11066 an arm of an if-expression whose if-part is not a constant
11068 const char *g = "string";
11069 ccp = &g + (g ? g-g : 0);
11070 /* HPUX 7.0 cc rejects these. */
11073 ccp = (char const *const *) p;
11074 { /* SCO 3.2v4 cc rejects this. */
11076 char const *s = 0 ? (char *) 0 : (char const *) 0;
11080 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11081 int x[] = {25, 17};
11082 const int *foo = &x[0];
11085 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11086 typedef const int *iptr;
11090 { /* AIX XL C 1.02.0.0 rejects this saying
11091 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11092 struct s { int j; const int *ap[3]; };
11093 struct s *b; b->j = 5;
11095 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11096 const int foo = 10;
11104 rm -f conftest.$ac_objext
11105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11106 (eval $ac_compile) 2>&5
11108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11109 (exit $ac_status); } &&
11110 { ac_try='test -s conftest.$ac_objext'
11111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11112 (eval $ac_try) 2>&5
11114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11115 (exit $ac_status); }; }; then
11118 echo "$as_me: failed program was:" >&5
11119 cat conftest.$ac_ext >&5
11122 rm -f conftest.$ac_objext conftest.$ac_ext
11124 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
11125 echo "${ECHO_T}$ac_cv_c_const" >&6
11126 if test $ac_cv_c_const = no; then
11128 cat >>confdefs.h <<\_ACEOF
11134 echo "$as_me:$LINENO: checking for inline" >&5
11135 echo $ECHO_N "checking for inline... $ECHO_C" >&6
11136 if test "${ac_cv_c_inline+set}" = set; then
11137 echo $ECHO_N "(cached) $ECHO_C" >&6
11140 for ac_kw in inline __inline__ __inline; do
11141 cat >conftest.$ac_ext <<_ACEOF
11142 #line $LINENO "configure"
11143 #include "confdefs.h"
11144 #ifndef __cplusplus
11145 static $ac_kw int static_foo () {return 0; }
11146 $ac_kw int foo () {return 0; }
11150 rm -f conftest.$ac_objext
11151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11152 (eval $ac_compile) 2>&5
11154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11155 (exit $ac_status); } &&
11156 { ac_try='test -s conftest.$ac_objext'
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 ac_cv_c_inline=$ac_kw; break
11164 echo "$as_me: failed program was:" >&5
11165 cat conftest.$ac_ext >&5
11167 rm -f conftest.$ac_objext conftest.$ac_ext
11171 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
11172 echo "${ECHO_T}$ac_cv_c_inline" >&6
11173 case $ac_cv_c_inline in
11176 cat >>confdefs.h <<\_ACEOF
11180 *) cat >>confdefs.h <<_ACEOF
11181 #define inline $ac_cv_c_inline
11186 echo "$as_me:$LINENO: checking for mode_t" >&5
11187 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
11188 if test "${ac_cv_type_mode_t+set}" = set; then
11189 echo $ECHO_N "(cached) $ECHO_C" >&6
11191 cat >conftest.$ac_ext <<_ACEOF
11192 #line $LINENO "configure"
11193 #include "confdefs.h"
11194 $ac_includes_default
11195 #ifdef F77_DUMMY_MAIN
11196 # ifdef __cplusplus
11199 int F77_DUMMY_MAIN() { return 1; }
11206 if (sizeof (mode_t))
11212 rm -f conftest.$ac_objext
11213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11214 (eval $ac_compile) 2>&5
11216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11217 (exit $ac_status); } &&
11218 { ac_try='test -s conftest.$ac_objext'
11219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11220 (eval $ac_try) 2>&5
11222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11223 (exit $ac_status); }; }; then
11224 ac_cv_type_mode_t=yes
11226 echo "$as_me: failed program was:" >&5
11227 cat conftest.$ac_ext >&5
11228 ac_cv_type_mode_t=no
11230 rm -f conftest.$ac_objext conftest.$ac_ext
11232 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
11233 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
11234 if test $ac_cv_type_mode_t = yes; then
11238 cat >>confdefs.h <<_ACEOF
11244 echo "$as_me:$LINENO: checking for off_t" >&5
11245 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
11246 if test "${ac_cv_type_off_t+set}" = set; then
11247 echo $ECHO_N "(cached) $ECHO_C" >&6
11249 cat >conftest.$ac_ext <<_ACEOF
11250 #line $LINENO "configure"
11251 #include "confdefs.h"
11252 $ac_includes_default
11253 #ifdef F77_DUMMY_MAIN
11254 # ifdef __cplusplus
11257 int F77_DUMMY_MAIN() { return 1; }
11264 if (sizeof (off_t))
11270 rm -f conftest.$ac_objext
11271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11272 (eval $ac_compile) 2>&5
11274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11275 (exit $ac_status); } &&
11276 { ac_try='test -s conftest.$ac_objext'
11277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11278 (eval $ac_try) 2>&5
11280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11281 (exit $ac_status); }; }; then
11282 ac_cv_type_off_t=yes
11284 echo "$as_me: failed program was:" >&5
11285 cat conftest.$ac_ext >&5
11286 ac_cv_type_off_t=no
11288 rm -f conftest.$ac_objext conftest.$ac_ext
11290 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
11291 echo "${ECHO_T}$ac_cv_type_off_t" >&6
11292 if test $ac_cv_type_off_t = yes; then
11296 cat >>confdefs.h <<_ACEOF
11302 echo "$as_me:$LINENO: checking for pid_t" >&5
11303 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
11304 if test "${ac_cv_type_pid_t+set}" = set; then
11305 echo $ECHO_N "(cached) $ECHO_C" >&6
11307 cat >conftest.$ac_ext <<_ACEOF
11308 #line $LINENO "configure"
11309 #include "confdefs.h"
11310 $ac_includes_default
11311 #ifdef F77_DUMMY_MAIN
11312 # ifdef __cplusplus
11315 int F77_DUMMY_MAIN() { return 1; }
11322 if (sizeof (pid_t))
11328 rm -f conftest.$ac_objext
11329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11330 (eval $ac_compile) 2>&5
11332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11333 (exit $ac_status); } &&
11334 { ac_try='test -s conftest.$ac_objext'
11335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11336 (eval $ac_try) 2>&5
11338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11339 (exit $ac_status); }; }; then
11340 ac_cv_type_pid_t=yes
11342 echo "$as_me: failed program was:" >&5
11343 cat conftest.$ac_ext >&5
11344 ac_cv_type_pid_t=no
11346 rm -f conftest.$ac_objext conftest.$ac_ext
11348 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
11349 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
11350 if test $ac_cv_type_pid_t = yes; then
11354 cat >>confdefs.h <<_ACEOF
11360 echo "$as_me:$LINENO: checking for size_t" >&5
11361 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
11362 if test "${ac_cv_type_size_t+set}" = set; then
11363 echo $ECHO_N "(cached) $ECHO_C" >&6
11365 cat >conftest.$ac_ext <<_ACEOF
11366 #line $LINENO "configure"
11367 #include "confdefs.h"
11368 $ac_includes_default
11369 #ifdef F77_DUMMY_MAIN
11370 # ifdef __cplusplus
11373 int F77_DUMMY_MAIN() { return 1; }
11380 if (sizeof (size_t))
11386 rm -f conftest.$ac_objext
11387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11388 (eval $ac_compile) 2>&5
11390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11391 (exit $ac_status); } &&
11392 { ac_try='test -s conftest.$ac_objext'
11393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11394 (eval $ac_try) 2>&5
11396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11397 (exit $ac_status); }; }; then
11398 ac_cv_type_size_t=yes
11400 echo "$as_me: failed program was:" >&5
11401 cat conftest.$ac_ext >&5
11402 ac_cv_type_size_t=no
11404 rm -f conftest.$ac_objext conftest.$ac_ext
11406 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
11407 echo "${ECHO_T}$ac_cv_type_size_t" >&6
11408 if test $ac_cv_type_size_t = yes; then
11412 cat >>confdefs.h <<_ACEOF
11413 #define size_t unsigned
11418 echo "$as_me:$LINENO: checking for long long" >&5
11419 echo $ECHO_N "checking for long long... $ECHO_C" >&6
11420 if test "${ac_cv_type_long_long+set}" = set; then
11421 echo $ECHO_N "(cached) $ECHO_C" >&6
11423 cat >conftest.$ac_ext <<_ACEOF
11424 #line $LINENO "configure"
11425 #include "confdefs.h"
11426 $ac_includes_default
11427 #ifdef F77_DUMMY_MAIN
11428 # ifdef __cplusplus
11431 int F77_DUMMY_MAIN() { return 1; }
11436 if ((long long *) 0)
11438 if (sizeof (long long))
11444 rm -f conftest.$ac_objext
11445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11446 (eval $ac_compile) 2>&5
11448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11449 (exit $ac_status); } &&
11450 { ac_try='test -s conftest.$ac_objext'
11451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11452 (eval $ac_try) 2>&5
11454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11455 (exit $ac_status); }; }; then
11456 ac_cv_type_long_long=yes
11458 echo "$as_me: failed program was:" >&5
11459 cat conftest.$ac_ext >&5
11460 ac_cv_type_long_long=no
11462 rm -f conftest.$ac_objext conftest.$ac_ext
11464 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
11465 echo "${ECHO_T}$ac_cv_type_long_long" >&6
11467 echo "$as_me:$LINENO: checking size of long long" >&5
11468 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
11469 if test "${ac_cv_sizeof_long_long+set}" = set; then
11470 echo $ECHO_N "(cached) $ECHO_C" >&6
11472 if test "$ac_cv_type_long_long" = yes; then
11473 # The cast to unsigned long works around a bug in the HP C Compiler
11474 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11475 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11476 # This bug is HP SR number 8606223364.
11477 if test "$cross_compiling" = yes; then
11478 # Depending upon the size, compute the lo and hi bounds.
11479 cat >conftest.$ac_ext <<_ACEOF
11480 #line $LINENO "configure"
11481 #include "confdefs.h"
11482 $ac_includes_default
11483 #ifdef F77_DUMMY_MAIN
11484 # ifdef __cplusplus
11487 int F77_DUMMY_MAIN() { return 1; }
11492 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
11499 rm -f conftest.$ac_objext
11500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11501 (eval $ac_compile) 2>&5
11503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11504 (exit $ac_status); } &&
11505 { ac_try='test -s conftest.$ac_objext'
11506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11507 (eval $ac_try) 2>&5
11509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11510 (exit $ac_status); }; }; then
11513 cat >conftest.$ac_ext <<_ACEOF
11514 #line $LINENO "configure"
11515 #include "confdefs.h"
11516 $ac_includes_default
11517 #ifdef F77_DUMMY_MAIN
11518 # ifdef __cplusplus
11521 int F77_DUMMY_MAIN() { return 1; }
11526 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
11533 rm -f conftest.$ac_objext
11534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11535 (eval $ac_compile) 2>&5
11537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11538 (exit $ac_status); } &&
11539 { ac_try='test -s conftest.$ac_objext'
11540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11541 (eval $ac_try) 2>&5
11543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11544 (exit $ac_status); }; }; then
11545 ac_hi=$ac_mid; break
11547 echo "$as_me: failed program was:" >&5
11548 cat conftest.$ac_ext >&5
11549 ac_lo=`expr $ac_mid + 1`
11550 if test $ac_lo -le $ac_mid; then
11554 ac_mid=`expr 2 '*' $ac_mid + 1`
11556 rm -f conftest.$ac_objext conftest.$ac_ext
11559 echo "$as_me: failed program was:" >&5
11560 cat conftest.$ac_ext >&5
11561 cat >conftest.$ac_ext <<_ACEOF
11562 #line $LINENO "configure"
11563 #include "confdefs.h"
11564 $ac_includes_default
11565 #ifdef F77_DUMMY_MAIN
11566 # ifdef __cplusplus
11569 int F77_DUMMY_MAIN() { return 1; }
11574 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
11581 rm -f conftest.$ac_objext
11582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11583 (eval $ac_compile) 2>&5
11585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11586 (exit $ac_status); } &&
11587 { ac_try='test -s conftest.$ac_objext'
11588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11589 (eval $ac_try) 2>&5
11591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11592 (exit $ac_status); }; }; then
11595 cat >conftest.$ac_ext <<_ACEOF
11596 #line $LINENO "configure"
11597 #include "confdefs.h"
11598 $ac_includes_default
11599 #ifdef F77_DUMMY_MAIN
11600 # ifdef __cplusplus
11603 int F77_DUMMY_MAIN() { return 1; }
11608 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
11615 rm -f conftest.$ac_objext
11616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11617 (eval $ac_compile) 2>&5
11619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11620 (exit $ac_status); } &&
11621 { ac_try='test -s conftest.$ac_objext'
11622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11623 (eval $ac_try) 2>&5
11625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11626 (exit $ac_status); }; }; then
11627 ac_lo=$ac_mid; break
11629 echo "$as_me: failed program was:" >&5
11630 cat conftest.$ac_ext >&5
11631 ac_hi=`expr '(' $ac_mid ')' - 1`
11632 if test $ac_mid -le $ac_hi; then
11636 ac_mid=`expr 2 '*' $ac_mid`
11638 rm -f conftest.$ac_objext conftest.$ac_ext
11641 echo "$as_me: failed program was:" >&5
11642 cat conftest.$ac_ext >&5
11645 rm -f conftest.$ac_objext conftest.$ac_ext
11647 rm -f conftest.$ac_objext conftest.$ac_ext
11648 # Binary search between lo and hi bounds.
11649 while test "x$ac_lo" != "x$ac_hi"; do
11650 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11651 cat >conftest.$ac_ext <<_ACEOF
11652 #line $LINENO "configure"
11653 #include "confdefs.h"
11654 $ac_includes_default
11655 #ifdef F77_DUMMY_MAIN
11656 # ifdef __cplusplus
11659 int F77_DUMMY_MAIN() { return 1; }
11664 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
11671 rm -f conftest.$ac_objext
11672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11673 (eval $ac_compile) 2>&5
11675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11676 (exit $ac_status); } &&
11677 { ac_try='test -s conftest.$ac_objext'
11678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11679 (eval $ac_try) 2>&5
11681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11682 (exit $ac_status); }; }; then
11685 echo "$as_me: failed program was:" >&5
11686 cat conftest.$ac_ext >&5
11687 ac_lo=`expr '(' $ac_mid ')' + 1`
11689 rm -f conftest.$ac_objext conftest.$ac_ext
11692 ?*) ac_cv_sizeof_long_long=$ac_lo;;
11693 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77" >&5
11694 echo "$as_me: error: cannot compute sizeof (long long), 77" >&2;}
11695 { (exit 1); exit 1; }; } ;;
11698 if test "$cross_compiling" = yes; then
11699 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
11700 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
11701 { (exit 1); exit 1; }; }
11703 cat >conftest.$ac_ext <<_ACEOF
11704 #line $LINENO "configure"
11705 #include "confdefs.h"
11706 $ac_includes_default
11707 long longval () { return (long) (sizeof (long long)); }
11708 unsigned long ulongval () { return (long) (sizeof (long long)); }
11710 #include <stdlib.h>
11711 #ifdef F77_DUMMY_MAIN
11712 # ifdef __cplusplus
11715 int F77_DUMMY_MAIN() { return 1; }
11721 FILE *f = fopen ("conftest.val", "w");
11724 if (((long) (sizeof (long long))) < 0)
11726 long i = longval ();
11727 if (i != ((long) (sizeof (long long))))
11729 fprintf (f, "%ld\n", i);
11733 unsigned long i = ulongval ();
11734 if (i != ((long) (sizeof (long long))))
11736 fprintf (f, "%lu\n", i);
11738 exit (ferror (f) || fclose (f) != 0);
11744 rm -f conftest$ac_exeext
11745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11746 (eval $ac_link) 2>&5
11748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11749 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11751 (eval $ac_try) 2>&5
11753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11754 (exit $ac_status); }; }; then
11755 ac_cv_sizeof_long_long=`cat conftest.val`
11757 echo "$as_me: program exited with status $ac_status" >&5
11758 echo "$as_me: failed program was:" >&5
11759 cat conftest.$ac_ext >&5
11760 ( exit $ac_status )
11761 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77" >&5
11762 echo "$as_me: error: cannot compute sizeof (long long), 77" >&2;}
11763 { (exit 1); exit 1; }; }
11765 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11770 ac_cv_sizeof_long_long=0
11773 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
11774 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
11775 cat >>confdefs.h <<_ACEOF
11776 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
11781 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
11782 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
11783 if test "${wine_cv_linux_input_h+set}" = set; then
11784 echo $ECHO_N "(cached) $ECHO_C" >&6
11786 cat >conftest.$ac_ext <<_ACEOF
11787 #line $LINENO "configure"
11788 #include "confdefs.h"
11790 #include <linux/input.h>
11792 #ifdef F77_DUMMY_MAIN
11793 # ifdef __cplusplus
11796 int F77_DUMMY_MAIN() { return 1; }
11802 int foo = EVIOCGBIT(EV_ABS,42);
11803 int bar = BTN_PINKIE;
11810 rm -f conftest.$ac_objext
11811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11812 (eval $ac_compile) 2>&5
11814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11815 (exit $ac_status); } &&
11816 { ac_try='test -s conftest.$ac_objext'
11817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11818 (eval $ac_try) 2>&5
11820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11821 (exit $ac_status); }; }; then
11822 wine_cv_linux_input_h=yes
11824 echo "$as_me: failed program was:" >&5
11825 cat conftest.$ac_ext >&5
11826 wine_cv_linux_input_h=no
11828 rm -f conftest.$ac_objext conftest.$ac_ext
11831 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
11832 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
11833 if test "$wine_cv_linux_input_h" = "yes"
11836 cat >>confdefs.h <<\_ACEOF
11837 #define HAVE_CORRECT_LINUXINPUT_H 1
11843 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
11844 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
11845 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
11846 echo $ECHO_N "(cached) $ECHO_C" >&6
11848 cat >conftest.$ac_ext <<_ACEOF
11849 #line $LINENO "configure"
11850 #include "confdefs.h"
11854 #ifdef F77_DUMMY_MAIN
11855 # ifdef __cplusplus
11858 int F77_DUMMY_MAIN() { return 1; }
11866 struct hostent *result;
11873 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
11874 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
11880 rm -f conftest.$ac_objext
11881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11882 (eval $ac_compile) 2>&5
11884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11885 (exit $ac_status); } &&
11886 { ac_try='test -s conftest.$ac_objext'
11887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11888 (eval $ac_try) 2>&5
11890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11891 (exit $ac_status); }; }; then
11892 wine_cv_linux_gethostbyname_r_6=yes
11894 echo "$as_me: failed program was:" >&5
11895 cat conftest.$ac_ext >&5
11896 wine_cv_linux_gethostbyname_r_6=no
11899 rm -f conftest.$ac_objext conftest.$ac_ext
11902 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
11903 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
11904 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
11907 cat >>confdefs.h <<\_ACEOF
11908 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
11913 if test "$ac_cv_header_linux_joystick_h" = "yes"
11915 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
11916 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
11917 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
11918 echo $ECHO_N "(cached) $ECHO_C" >&6
11920 cat >conftest.$ac_ext <<_ACEOF
11921 #line $LINENO "configure"
11922 #include "confdefs.h"
11924 #include <sys/ioctl.h>
11925 #include <linux/joystick.h>
11927 struct js_event blub;
11928 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
11929 #error "no 2.2 header"
11932 #ifdef F77_DUMMY_MAIN
11933 # ifdef __cplusplus
11936 int F77_DUMMY_MAIN() { return 1; }
11946 rm -f conftest.$ac_objext
11947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11948 (eval $ac_compile) 2>&5
11950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11951 (exit $ac_status); } &&
11952 { ac_try='test -s conftest.$ac_objext'
11953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11954 (eval $ac_try) 2>&5
11956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11957 (exit $ac_status); }; }; then
11958 wine_cv_linux_joystick_22_api=yes
11960 echo "$as_me: failed program was:" >&5
11961 cat conftest.$ac_ext >&5
11962 wine_cv_linux_joystick_22_api=no
11964 rm -f conftest.$ac_objext conftest.$ac_ext
11967 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
11968 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
11969 if test "$wine_cv_linux_joystick_22_api" = "yes"
11972 cat >>confdefs.h <<\_ACEOF
11973 #define HAVE_LINUX_22_JOYSTICK_API 1
11980 if test "$ac_cv_header_sys_vfs_h" = "yes"
11982 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
11983 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
11984 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
11985 echo $ECHO_N "(cached) $ECHO_C" >&6
11987 cat >conftest.$ac_ext <<_ACEOF
11988 #line $LINENO "configure"
11989 #include "confdefs.h"
11991 #include <sys/types.h>
11992 #ifdef HAVE_SYS_PARAM_H
11993 # include <sys/param.h>
11995 #include <sys/vfs.h>
11997 #ifdef F77_DUMMY_MAIN
11998 # ifdef __cplusplus
12001 int F77_DUMMY_MAIN() { return 1; }
12007 struct statfs stfs;
12009 memset(&stfs,0,sizeof(stfs));
12015 rm -f conftest.$ac_objext
12016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12017 (eval $ac_compile) 2>&5
12019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12020 (exit $ac_status); } &&
12021 { ac_try='test -s conftest.$ac_objext'
12022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12023 (eval $ac_try) 2>&5
12025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12026 (exit $ac_status); }; }; then
12027 wine_cv_sys_vfs_has_statfs=yes
12029 echo "$as_me: failed program was:" >&5
12030 cat conftest.$ac_ext >&5
12031 wine_cv_sys_vfs_has_statfs=no
12034 rm -f conftest.$ac_objext conftest.$ac_ext
12037 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
12038 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
12039 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
12042 cat >>confdefs.h <<\_ACEOF
12043 #define STATFS_DEFINED_BY_SYS_VFS 1
12049 if test "$ac_cv_header_sys_statfs_h" = "yes"
12051 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
12052 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
12053 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
12054 echo $ECHO_N "(cached) $ECHO_C" >&6
12056 cat >conftest.$ac_ext <<_ACEOF
12057 #line $LINENO "configure"
12058 #include "confdefs.h"
12060 #include <sys/types.h>
12061 #ifdef HAVE_SYS_PARAM_H
12062 # include <sys/param.h>
12064 #include <sys/statfs.h>
12066 #ifdef F77_DUMMY_MAIN
12067 # ifdef __cplusplus
12070 int F77_DUMMY_MAIN() { return 1; }
12076 struct statfs stfs;
12082 rm -f conftest.$ac_objext
12083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12084 (eval $ac_compile) 2>&5
12086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12087 (exit $ac_status); } &&
12088 { ac_try='test -s conftest.$ac_objext'
12089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12090 (eval $ac_try) 2>&5
12092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12093 (exit $ac_status); }; }; then
12094 wine_cv_sys_statfs_has_statfs=yes
12096 echo "$as_me: failed program was:" >&5
12097 cat conftest.$ac_ext >&5
12098 wine_cv_sys_statfs_has_statfs=no
12101 rm -f conftest.$ac_objext conftest.$ac_ext
12104 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
12105 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
12106 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
12109 cat >>confdefs.h <<\_ACEOF
12110 #define STATFS_DEFINED_BY_SYS_STATFS 1
12116 if test "$ac_cv_header_sys_mount_h" = "yes"
12118 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
12119 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
12120 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
12121 echo $ECHO_N "(cached) $ECHO_C" >&6
12123 cat >conftest.$ac_ext <<_ACEOF
12124 #line $LINENO "configure"
12125 #include "confdefs.h"
12127 #include <sys/types.h>
12128 #ifdef HAVE_SYS_PARAM_H
12129 # include <sys/param.h>
12131 #include <sys/mount.h>
12133 #ifdef F77_DUMMY_MAIN
12134 # ifdef __cplusplus
12137 int F77_DUMMY_MAIN() { return 1; }
12143 struct statfs stfs;
12149 rm -f conftest.$ac_objext
12150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12151 (eval $ac_compile) 2>&5
12153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12154 (exit $ac_status); } &&
12155 { ac_try='test -s conftest.$ac_objext'
12156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12157 (eval $ac_try) 2>&5
12159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12160 (exit $ac_status); }; }; then
12161 wine_cv_sys_mount_has_statfs=yes
12163 echo "$as_me: failed program was:" >&5
12164 cat conftest.$ac_ext >&5
12165 wine_cv_sys_mount_has_statfs=no
12168 rm -f conftest.$ac_objext conftest.$ac_ext
12171 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
12172 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
12173 if test "$wine_cv_sys_mount_has_statfs" = "yes"
12176 cat >>confdefs.h <<\_ACEOF
12177 #define STATFS_DEFINED_BY_SYS_MOUNT 1
12188 echo "$as_me:$LINENO: checking for f_bfree in struct statfs" >&5
12189 echo $ECHO_N "checking for f_bfree in struct statfs... $ECHO_C" >&6
12190 if test "${ac_cv_c_statfs_f_bfree+set}" = set; then
12191 echo $ECHO_N "(cached) $ECHO_C" >&6
12193 cat >conftest.$ac_ext <<_ACEOF
12194 #line $LINENO "configure"
12195 #include "confdefs.h"
12196 #include <sys/types.h>
12197 #ifdef HAVE_SYS_PARAM_H
12198 # include <sys/param.h>
12200 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
12201 # include <sys/mount.h>
12203 # ifdef STATFS_DEFINED_BY_SYS_VFS
12204 # include <sys/vfs.h>
12206 # ifdef STATFS_DEFINED_BY_SYS_STATFS
12207 # include <sys/statfs.h>
12211 #ifdef F77_DUMMY_MAIN
12212 # ifdef __cplusplus
12215 int F77_DUMMY_MAIN() { return 1; }
12220 struct statfs s; s.f_bfree = 0
12225 rm -f conftest.$ac_objext
12226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12227 (eval $ac_compile) 2>&5
12229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12230 (exit $ac_status); } &&
12231 { ac_try='test -s conftest.$ac_objext'
12232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12233 (eval $ac_try) 2>&5
12235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12236 (exit $ac_status); }; }; then
12237 ac_cv_c_statfs_f_bfree="yes"
12239 echo "$as_me: failed program was:" >&5
12240 cat conftest.$ac_ext >&5
12241 ac_cv_c_statfs_f_bfree="no"
12243 rm -f conftest.$ac_objext conftest.$ac_ext
12245 echo "$as_me:$LINENO: result: $ac_cv_c_statfs_f_bfree" >&5
12246 echo "${ECHO_T}$ac_cv_c_statfs_f_bfree" >&6
12247 if test "x$ac_cv_c_statfs_f_bfree" = "xyes"; then
12249 cat >>confdefs.h <<\_ACEOF
12250 #define STATFS_HAS_BFREE 1
12257 echo "$as_me:$LINENO: checking for f_bavail in struct statfs" >&5
12258 echo $ECHO_N "checking for f_bavail in struct statfs... $ECHO_C" >&6
12259 if test "${ac_cv_c_statfs_f_bavail+set}" = set; then
12260 echo $ECHO_N "(cached) $ECHO_C" >&6
12262 cat >conftest.$ac_ext <<_ACEOF
12263 #line $LINENO "configure"
12264 #include "confdefs.h"
12265 #include <sys/types.h>
12266 #ifdef HAVE_SYS_PARAM_H
12267 # include <sys/param.h>
12269 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
12270 # include <sys/mount.h>
12272 # ifdef STATFS_DEFINED_BY_SYS_VFS
12273 # include <sys/vfs.h>
12275 # ifdef STATFS_DEFINED_BY_SYS_STATFS
12276 # include <sys/statfs.h>
12280 #ifdef F77_DUMMY_MAIN
12281 # ifdef __cplusplus
12284 int F77_DUMMY_MAIN() { return 1; }
12289 struct statfs s; s.f_bavail = 0
12294 rm -f conftest.$ac_objext
12295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12296 (eval $ac_compile) 2>&5
12298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12299 (exit $ac_status); } &&
12300 { ac_try='test -s conftest.$ac_objext'
12301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12302 (eval $ac_try) 2>&5
12304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12305 (exit $ac_status); }; }; then
12306 ac_cv_c_statfs_f_bavail="yes"
12308 echo "$as_me: failed program was:" >&5
12309 cat conftest.$ac_ext >&5
12310 ac_cv_c_statfs_f_bavail="no"
12312 rm -f conftest.$ac_objext conftest.$ac_ext
12314 echo "$as_me:$LINENO: result: $ac_cv_c_statfs_f_bavail" >&5
12315 echo "${ECHO_T}$ac_cv_c_statfs_f_bavail" >&6
12316 if test "x$ac_cv_c_statfs_f_bavail" = "xyes"; then
12318 cat >>confdefs.h <<\_ACEOF
12319 #define STATFS_HAS_BAVAIL 1
12326 echo "$as_me:$LINENO: checking for msg_accrights in struct msghdr" >&5
12327 echo $ECHO_N "checking for msg_accrights in struct msghdr... $ECHO_C" >&6
12328 if test "${ac_cv_c_msghdr_msg_accrights+set}" = set; then
12329 echo $ECHO_N "(cached) $ECHO_C" >&6
12331 cat >conftest.$ac_ext <<_ACEOF
12332 #line $LINENO "configure"
12333 #include "confdefs.h"
12334 #include <sys/types.h>
12335 #include <sys/socket.h>
12336 #ifdef F77_DUMMY_MAIN
12337 # ifdef __cplusplus
12340 int F77_DUMMY_MAIN() { return 1; }
12345 struct msghdr s; s.msg_accrights = 0
12350 rm -f conftest.$ac_objext
12351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12352 (eval $ac_compile) 2>&5
12354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12355 (exit $ac_status); } &&
12356 { ac_try='test -s conftest.$ac_objext'
12357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12358 (eval $ac_try) 2>&5
12360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12361 (exit $ac_status); }; }; then
12362 ac_cv_c_msghdr_msg_accrights="yes"
12364 echo "$as_me: failed program was:" >&5
12365 cat conftest.$ac_ext >&5
12366 ac_cv_c_msghdr_msg_accrights="no"
12368 rm -f conftest.$ac_objext conftest.$ac_ext
12370 echo "$as_me:$LINENO: result: $ac_cv_c_msghdr_msg_accrights" >&5
12371 echo "${ECHO_T}$ac_cv_c_msghdr_msg_accrights" >&6
12372 if test "x$ac_cv_c_msghdr_msg_accrights" = "xyes"; then
12374 cat >>confdefs.h <<\_ACEOF
12375 #define HAVE_MSGHDR_ACCRIGHTS 1
12382 echo "$as_me:$LINENO: checking for sa_len in struct sockaddr" >&5
12383 echo $ECHO_N "checking for sa_len in struct sockaddr... $ECHO_C" >&6
12384 if test "${ac_cv_c_sockaddr_sa_len+set}" = set; then
12385 echo $ECHO_N "(cached) $ECHO_C" >&6
12387 cat >conftest.$ac_ext <<_ACEOF
12388 #line $LINENO "configure"
12389 #include "confdefs.h"
12390 #include <sys/types.h>
12391 #include <sys/socket.h>
12392 #ifdef F77_DUMMY_MAIN
12393 # ifdef __cplusplus
12396 int F77_DUMMY_MAIN() { return 1; }
12401 struct sockaddr s; s.sa_len = 0
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 ac_cv_c_sockaddr_sa_len="yes"
12420 echo "$as_me: failed program was:" >&5
12421 cat conftest.$ac_ext >&5
12422 ac_cv_c_sockaddr_sa_len="no"
12424 rm -f conftest.$ac_objext conftest.$ac_ext
12426 echo "$as_me:$LINENO: result: $ac_cv_c_sockaddr_sa_len" >&5
12427 echo "${ECHO_T}$ac_cv_c_sockaddr_sa_len" >&6
12428 if test "x$ac_cv_c_sockaddr_sa_len" = "xyes"; then
12430 cat >>confdefs.h <<\_ACEOF
12431 #define HAVE_SOCKADDR_SA_LEN 1
12438 echo "$as_me:$LINENO: checking for sun_len in struct sockaddr_un" >&5
12439 echo $ECHO_N "checking for sun_len in struct sockaddr_un... $ECHO_C" >&6
12440 if test "${ac_cv_c_sockaddr_un_sun_len+set}" = set; then
12441 echo $ECHO_N "(cached) $ECHO_C" >&6
12443 cat >conftest.$ac_ext <<_ACEOF
12444 #line $LINENO "configure"
12445 #include "confdefs.h"
12446 #include <sys/types.h>
12447 #include <sys/socket.h>
12448 #include <sys/un.h>
12449 #ifdef F77_DUMMY_MAIN
12450 # ifdef __cplusplus
12453 int F77_DUMMY_MAIN() { return 1; }
12458 struct sockaddr_un s; s.sun_len = 0
12463 rm -f conftest.$ac_objext
12464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12465 (eval $ac_compile) 2>&5
12467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12468 (exit $ac_status); } &&
12469 { ac_try='test -s conftest.$ac_objext'
12470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12471 (eval $ac_try) 2>&5
12473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12474 (exit $ac_status); }; }; then
12475 ac_cv_c_sockaddr_un_sun_len="yes"
12477 echo "$as_me: failed program was:" >&5
12478 cat conftest.$ac_ext >&5
12479 ac_cv_c_sockaddr_un_sun_len="no"
12481 rm -f conftest.$ac_objext conftest.$ac_ext
12483 echo "$as_me:$LINENO: result: $ac_cv_c_sockaddr_un_sun_len" >&5
12484 echo "${ECHO_T}$ac_cv_c_sockaddr_un_sun_len" >&6
12485 if test "x$ac_cv_c_sockaddr_un_sun_len" = "xyes"; then
12487 cat >>confdefs.h <<\_ACEOF
12488 #define HAVE_SOCKADDR_SUN_LEN 1
12496 case $target_cpu in
12498 echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
12499 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
12500 if test "${ac_cv_cpp_def_i386+set}" = set; then
12501 echo $ECHO_N "(cached) $ECHO_C" >&6
12503 cat >conftest.$ac_ext <<_ACEOF
12504 #line $LINENO "configure"
12505 #include "confdefs.h"
12510 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12511 egrep "yes" >/dev/null 2>&1; then
12512 ac_cv_cpp_def_i386="yes"
12514 ac_cv_cpp_def_i386="no"
12519 echo "$as_me:$LINENO: result: $ac_cv_cpp_def_i386" >&5
12520 echo "${ECHO_T}$ac_cv_cpp_def_i386" >&6
12523 if test "$ac_cv_cpp_def_i386" = "yes"
12525 CFLAGS="$CFLAGS -D__i386__"
12526 LINTFLAGS="$LINTFLAGS -D__i386__"
12535 ac_config_commands="$ac_config_commands dlls/ddraw/d3ddevice"
12537 ac_config_commands="$ac_config_commands dlls/ddraw/dclipper"
12539 ac_config_commands="$ac_config_commands dlls/ddraw/ddraw"
12541 ac_config_commands="$ac_config_commands dlls/ddraw/direct3d"
12543 ac_config_commands="$ac_config_commands dlls/ddraw/dpalette"
12545 ac_config_commands="$ac_config_commands dlls/ddraw/dsurface"
12547 ac_config_commands="$ac_config_commands dlls/dinput/joystick"
12549 ac_config_commands="$ac_config_commands dlls/dinput/keyboard"
12551 ac_config_commands="$ac_config_commands dlls/dinput/mouse"
12553 ac_config_commands="$ac_config_commands dlls/gdi/enhmfdrv"
12555 ac_config_commands="$ac_config_commands dlls/gdi/mfdrv"
12557 ac_config_commands="$ac_config_commands dlls/gdi/win16drv"
12559 ac_config_commands="$ac_config_commands dlls/kernel/messages"
12561 ac_config_commands="$ac_config_commands dlls/kernel/tests"
12563 ac_config_commands="$ac_config_commands dlls/oleaut32/tests"
12565 ac_config_commands="$ac_config_commands dlls/user/dde"
12567 ac_config_commands="$ac_config_commands dlls/user/resources"
12569 ac_config_commands="$ac_config_commands dlls/user/tests"
12571 ac_config_commands="$ac_config_commands dlls/wineps/data"
12573 ac_config_commands="$ac_config_commands include/wine"
12575 ac_config_commands="$ac_config_commands programs/regapi/tests"
12577 ac_config_commands="$ac_config_commands programs/winetest/tests"
12580 MAKE_RULES=Make.rules
12583 MAKE_DLL_RULES=dlls/Makedll.rules
12586 MAKE_PROG_RULES=programs/Makeprog.rules
12589 ac_config_files="$ac_config_files Make.rules dlls/Makedll.rules programs/Makeprog.rules Makefile controls/Makefile debugger/Makefile dlls/Makefile dlls/advapi32/Makefile dlls/avicap32/Makefile dlls/avifil32/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/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/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 files/Makefile graphics/Makefile graphics/x11drv/Makefile if1632/Makefile include/Makefile library/Makefile libtest/Makefile loader/Makefile loader/ne/Makefile memory/Makefile misc/Makefile miscemu/Makefile msdos/Makefile objects/Makefile ole/Makefile programs/Makefile programs/avitools/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/notepad/Makefile programs/osversioncheck/Makefile programs/progman/Makefile programs/regapi/Makefile programs/regedit/Makefile programs/regtest/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wcmd/Makefile programs/wineconsole/Makefile programs/winemine/Makefile programs/winetest/Makefile programs/winhelp/Makefile programs/winver/Makefile relay32/Makefile scheduler/Makefile server/Makefile tools/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/wmc/Makefile tools/wrc/Makefile tsx11/Makefile unicode/Makefile win32/Makefile windows/Makefile windows/x11drv/Makefile"
12592 cat >confcache <<\_ACEOF
12593 # This file is a shell script that caches the results of configure
12594 # tests run on this system so they can be shared between configure
12595 # scripts and configure runs, see configure's option --config-cache.
12596 # It is not useful on other systems. If it contains results you don't
12597 # want to keep, you may remove or edit it.
12599 # config.status only pays attention to the cache file if you give it
12600 # the --recheck option to rerun configure.
12602 # `ac_cv_env_foo' variables (set or unset) will be overriden when
12603 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12604 # following values.
12608 # The following way of writing the cache mishandles newlines in values,
12609 # but we know of no workaround that is simple, portable, and efficient.
12610 # So, don't put newlines in cache variables' values.
12611 # Ultrix sh set writes to stderr and can't be redirected directly,
12612 # and sets the high bit in the cache file unless we assign to the vars.
12615 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12617 # `set' does not quote correctly, so add quotes (double-quote
12618 # substitution turns \\\\ into \\, and sed turns \\ into \).
12621 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12624 # `set' quotes correctly as required by POSIX, so do not add quotes.
12626 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12633 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12635 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12637 if cmp -s $cache_file confcache; then :; else
12638 if test -w $cache_file; then
12639 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12640 cat confcache >$cache_file
12642 echo "not updating unwritable cache $cache_file"
12647 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12648 # Let make expand exec_prefix.
12649 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12651 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12652 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12653 # trailing colons and then remove the whole line if VPATH becomes empty
12654 # (actually we leave an empty line to preserve line numbers).
12655 if test "x$srcdir" = x.; then
12656 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12657 s/:*\$(srcdir):*/:/;
12658 s/:*\${srcdir}:*/:/;
12660 s/^\([^=]*=[ ]*\):*/\1/;
12666 DEFS=-DHAVE_CONFIG_H
12669 : ${CONFIG_STATUS=./config.status}
12670 ac_clean_files_save=$ac_clean_files
12671 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12672 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12673 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12674 cat >$CONFIG_STATUS <<_ACEOF
12676 # Generated by $as_me.
12677 # Run this file to recreate the current configuration.
12678 # Compiler output produced by configure, useful for debugging
12679 # configure, is in config.log if it exists.
12682 SHELL=\${CONFIG_SHELL-$SHELL}
12685 cat >>$CONFIG_STATUS <<\_ACEOF
12687 ## --------------------- ##
12688 ## M4sh Initialization. ##
12689 ## --------------------- ##
12691 # Be Bourne compatible
12692 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
12695 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
12700 # Support unset when possible.
12701 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
12707 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
12708 { $as_unset LANG || test "${LANG+set}" != set; } ||
12709 { LANG=C; export LANG; }
12710 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
12711 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
12712 { LC_ALL=C; export LC_ALL; }
12713 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
12714 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
12715 { LC_TIME=C; export LC_TIME; }
12716 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
12717 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
12718 { LC_CTYPE=C; export LC_CTYPE; }
12719 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
12720 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
12721 { LANGUAGE=C; export LANGUAGE; }
12722 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
12723 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
12724 { LC_COLLATE=C; export LC_COLLATE; }
12725 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
12726 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
12727 { LC_NUMERIC=C; export LC_NUMERIC; }
12728 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
12729 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
12730 { LC_MESSAGES=C; export LC_MESSAGES; }
12733 # Name of the executable.
12734 as_me=`(basename "$0") 2>/dev/null ||
12735 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12736 X"$0" : 'X\(//\)$' \| \
12737 X"$0" : 'X\(/\)$' \| \
12738 . : '\(.\)' 2>/dev/null ||
12740 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12741 /^X\/\(\/\/\)$/{ s//\1/; q; }
12742 /^X\/\(\/\).*/{ s//\1/; q; }
12745 # PATH needs CR, and LINENO needs CR and PATH.
12746 # Avoid depending upon Character Ranges.
12747 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12748 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12749 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12750 as_cr_digits='0123456789'
12751 as_cr_alnum=$as_cr_Letters$as_cr_digits
12753 # The user is always right.
12754 if test "${PATH_SEPARATOR+set}" != set; then
12755 echo "#! /bin/sh" >conftest.sh
12756 echo "exit 0" >>conftest.sh
12757 chmod +x conftest.sh
12758 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
12767 as_lineno_1=$LINENO
12768 as_lineno_2=$LINENO
12769 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12770 test "x$as_lineno_1" != "x$as_lineno_2" &&
12771 test "x$as_lineno_3" = "x$as_lineno_2" || {
12772 # Find who we are. Look in the path if we contain no path at all
12775 *[\\/]* ) as_myself=$0 ;;
12776 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12777 for as_dir in $PATH
12780 test -z "$as_dir" && as_dir=.
12781 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12786 # We did not find ourselves, most probably we were run as `sh COMMAND'
12787 # in which case we are not to be found in the path.
12788 if test "x$as_myself" = x; then
12791 if test ! -f "$as_myself"; then
12792 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
12793 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
12794 { (exit 1); exit 1; }; }
12796 case $CONFIG_SHELL in
12798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12799 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
12802 test -z "$as_dir" && as_dir=.
12803 for as_base in sh bash ksh sh5; do
12806 if ("$as_dir/$as_base" -c '
12807 as_lineno_1=$LINENO
12808 as_lineno_2=$LINENO
12809 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12810 test "x$as_lineno_1" != "x$as_lineno_2" &&
12811 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
12812 CONFIG_SHELL=$as_dir/$as_base
12813 export CONFIG_SHELL
12814 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
12822 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12823 # uniformly replaced by the line number. The first 'sed' inserts a
12824 # line-number line before each line; the second 'sed' does the real
12825 # work. The second script uses 'N' to pair each line-number line
12826 # with the numbered line, and appends trailing '-' during
12827 # substitution so that $LINENO is not a special case at line end.
12828 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12829 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
12830 sed '=' <$as_myself |
12835 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
12838 s,^['$as_cr_digits']*\n,,
12839 ' >$as_me.lineno &&
12840 chmod +x $as_me.lineno ||
12841 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
12842 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
12843 { (exit 1); exit 1; }; }
12845 # Don't try to exec as it changes $[0], causing all sort of problems
12846 # (the dirname of $[0] is not the place where we might find the
12847 # original and so on. Autoconf is especially sensible to this).
12849 # Exit status is that of the last command.
12854 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12855 *c*,-n*) ECHO_N= ECHO_C='
12857 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
12858 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
12861 if expr a : '\(a\)' >/dev/null 2>&1; then
12867 rm -f conf$$ conf$$.exe conf$$.file
12869 if ln -s conf$$.file conf$$ 2>/dev/null; then
12870 # We could just check for DJGPP; but this test a) works b) is more generic
12871 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12872 if test -f conf$$.exe; then
12873 # Don't use ln at all; we don't have any links
12878 elif ln conf$$.file conf$$ 2>/dev/null; then
12883 rm -f conf$$ conf$$.exe conf$$.file
12885 as_executable_p="test -f"
12887 # Sed expression to map a string onto a valid CPP name.
12888 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
12890 # Sed expression to map a string onto a valid variable name.
12891 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
12895 # We need space, tab and new line, in precisely that order.
12901 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
12905 # Open the log real soon, to keep \$[0] and so on meaningful, and to
12906 # report actual input values of CONFIG_FILES etc. instead of their
12907 # values after options handling. Logging --version etc. is OK.
12911 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12912 ## Running $as_me. ##
12917 This file was extended by Wine $as_me 20020411, which was
12918 generated by GNU Autoconf 2.53. Invocation command line was
12920 CONFIG_FILES = $CONFIG_FILES
12921 CONFIG_HEADERS = $CONFIG_HEADERS
12922 CONFIG_LINKS = $CONFIG_LINKS
12923 CONFIG_COMMANDS = $CONFIG_COMMANDS
12927 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12931 # Files that config.status was made for.
12932 if test -n "$ac_config_files"; then
12933 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12936 if test -n "$ac_config_headers"; then
12937 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
12940 if test -n "$ac_config_links"; then
12941 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
12944 if test -n "$ac_config_commands"; then
12945 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12948 cat >>$CONFIG_STATUS <<\_ACEOF
12951 \`$as_me' instantiates files from templates according to the
12952 current configuration.
12954 Usage: $0 [OPTIONS] [FILE]...
12956 -h, --help print this help, then exit
12957 -V, --version print version number, then exit
12958 -d, --debug don't remove temporary files
12959 --recheck update $as_me by reconfiguring in the same conditions
12960 --file=FILE[:TEMPLATE]
12961 instantiate the configuration file FILE
12962 --header=FILE[:TEMPLATE]
12963 instantiate the configuration header FILE
12965 Configuration files:
12968 Configuration headers:
12971 Configuration commands:
12974 Report bugs to <bug-autoconf@gnu.org>."
12977 cat >>$CONFIG_STATUS <<_ACEOF
12979 Wine config.status 20020411
12980 configured by $0, generated by GNU Autoconf 2.53,
12981 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
12983 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
12984 Free Software Foundation, Inc.
12985 This config.status script is free software; the Free Software Foundation
12986 gives unlimited permission to copy, distribute and modify it."
12991 cat >>$CONFIG_STATUS <<\_ACEOF
12992 # If no file are specified by the user, then we need to provide default
12993 # value. By we need to know if files were specified by the user.
12999 ac_option=`expr "x$1" : 'x\([^=]*\)='`
13000 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
13002 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
13006 *) # This is not an option, so the user has probably given explicit
13008 ac_need_defaults=false;;
13012 # Handling of the options.
13014 cat >>$CONFIG_STATUS <<_ACEOF
13015 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13016 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
13017 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
13019 cat >>$CONFIG_STATUS <<\_ACEOF
13020 --version | --vers* | -V )
13021 echo "$ac_cs_version"; exit 0 ;;
13023 # Conflict between --help and --header
13024 { { echo "$as_me:$LINENO: error: ambiguous option: $1
13025 Try \`$0 --help' for more information." >&5
13026 echo "$as_me: error: ambiguous option: $1
13027 Try \`$0 --help' for more information." >&2;}
13028 { (exit 1); exit 1; }; };;
13029 --help | --hel | -h )
13030 echo "$ac_cs_usage"; exit 0 ;;
13031 --debug | --d* | -d )
13033 --file | --fil | --fi | --f )
13035 CONFIG_FILES="$CONFIG_FILES $1"
13036 ac_need_defaults=false;;
13037 --header | --heade | --head | --hea )
13039 CONFIG_HEADERS="$CONFIG_HEADERS $1"
13040 ac_need_defaults=false;;
13042 # This is an error.
13043 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
13044 Try \`$0 --help' for more information." >&5
13045 echo "$as_me: error: unrecognized option: $1
13046 Try \`$0 --help' for more information." >&2;}
13047 { (exit 1); exit 1; }; } ;;
13049 *) ac_config_targets="$ac_config_targets $1" ;;
13061 cat >>$CONFIG_STATUS <<\_ACEOF
13062 for ac_config_target in $ac_config_targets
13064 case "$ac_config_target" in
13065 # Handling of arguments.
13066 "Make.rules" ) CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
13067 "dlls/Makedll.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
13068 "programs/Makeprog.rules" ) CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
13069 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13070 "controls/Makefile" ) CONFIG_FILES="$CONFIG_FILES controls/Makefile" ;;
13071 "debugger/Makefile" ) CONFIG_FILES="$CONFIG_FILES debugger/Makefile" ;;
13072 "dlls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
13073 "dlls/advapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
13074 "dlls/avicap32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
13075 "dlls/avifil32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
13076 "dlls/comctl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
13077 "dlls/commdlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/commdlg/Makefile" ;;
13078 "dlls/crtdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
13079 "dlls/crypt32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
13080 "dlls/dciman32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
13081 "dlls/ddraw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
13082 "dlls/devenum/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
13083 "dlls/dinput/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
13084 "dlls/dplay/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
13085 "dlls/dplayx/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
13086 "dlls/dsound/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
13087 "dlls/gdi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/Makefile" ;;
13088 "dlls/glu32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
13089 "dlls/icmp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
13090 "dlls/imagehlp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
13091 "dlls/imm32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
13092 "dlls/kernel/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/Makefile" ;;
13093 "dlls/lzexpand/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
13094 "dlls/mapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
13095 "dlls/mpr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
13096 "dlls/msacm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/Makefile" ;;
13097 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
13098 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
13099 "dlls/msdmo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
13100 "dlls/msimg32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
13101 "dlls/msisys/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msisys/Makefile" ;;
13102 "dlls/msnet32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
13103 "dlls/msrle32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
13104 "dlls/msvcrt/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
13105 "dlls/msvcrt20/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
13106 "dlls/msvideo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvideo/Makefile" ;;
13107 "dlls/netapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
13108 "dlls/ntdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
13109 "dlls/odbc32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
13110 "dlls/ole32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
13111 "dlls/oleaut32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
13112 "dlls/olecli/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olecli/Makefile" ;;
13113 "dlls/oledlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
13114 "dlls/olepro32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
13115 "dlls/olesvr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olesvr/Makefile" ;;
13116 "dlls/opengl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
13117 "dlls/psapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
13118 "dlls/qcap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
13119 "dlls/quartz/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
13120 "dlls/rasapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
13121 "dlls/richedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/richedit/Makefile" ;;
13122 "dlls/rpcrt4/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
13123 "dlls/serialui/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
13124 "dlls/setupapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
13125 "dlls/shdocvw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
13126 "dlls/shell32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
13127 "dlls/shfolder/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
13128 "dlls/shlwapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
13129 "dlls/sti/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
13130 "dlls/tapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
13131 "dlls/ttydrv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
13132 "dlls/twain/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/twain/Makefile" ;;
13133 "dlls/url/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
13134 "dlls/urlmon/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
13135 "dlls/user/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/Makefile" ;;
13136 "dlls/version/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
13137 "dlls/win32s/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/win32s/Makefile" ;;
13138 "dlls/winaspi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winaspi/Makefile" ;;
13139 "dlls/winedos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
13140 "dlls/wineps/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wineps/Makefile" ;;
13141 "dlls/wininet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
13142 "dlls/winmm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
13143 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
13144 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
13145 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
13146 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
13147 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
13148 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
13149 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
13150 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
13151 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
13152 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
13153 "dlls/winnls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winnls/Makefile" ;;
13154 "dlls/winsock/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/Makefile" ;;
13155 "dlls/winspool/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/Makefile" ;;
13156 "dlls/wintrust/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
13157 "dlls/wow32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
13158 "dlls/wsock32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
13159 "dlls/x11drv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/x11drv/Makefile" ;;
13160 "documentation/Makefile" ) CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
13161 "files/Makefile" ) CONFIG_FILES="$CONFIG_FILES files/Makefile" ;;
13162 "graphics/Makefile" ) CONFIG_FILES="$CONFIG_FILES graphics/Makefile" ;;
13163 "graphics/x11drv/Makefile" ) CONFIG_FILES="$CONFIG_FILES graphics/x11drv/Makefile" ;;
13164 "if1632/Makefile" ) CONFIG_FILES="$CONFIG_FILES if1632/Makefile" ;;
13165 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
13166 "library/Makefile" ) CONFIG_FILES="$CONFIG_FILES library/Makefile" ;;
13167 "libtest/Makefile" ) CONFIG_FILES="$CONFIG_FILES libtest/Makefile" ;;
13168 "loader/Makefile" ) CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
13169 "loader/ne/Makefile" ) CONFIG_FILES="$CONFIG_FILES loader/ne/Makefile" ;;
13170 "memory/Makefile" ) CONFIG_FILES="$CONFIG_FILES memory/Makefile" ;;
13171 "misc/Makefile" ) CONFIG_FILES="$CONFIG_FILES misc/Makefile" ;;
13172 "miscemu/Makefile" ) CONFIG_FILES="$CONFIG_FILES miscemu/Makefile" ;;
13173 "msdos/Makefile" ) CONFIG_FILES="$CONFIG_FILES msdos/Makefile" ;;
13174 "objects/Makefile" ) CONFIG_FILES="$CONFIG_FILES objects/Makefile" ;;
13175 "ole/Makefile" ) CONFIG_FILES="$CONFIG_FILES ole/Makefile" ;;
13176 "programs/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
13177 "programs/avitools/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/avitools/Makefile" ;;
13178 "programs/clock/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
13179 "programs/cmdlgtst/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
13180 "programs/control/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
13181 "programs/notepad/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
13182 "programs/osversioncheck/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/osversioncheck/Makefile" ;;
13183 "programs/progman/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
13184 "programs/regapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regapi/Makefile" ;;
13185 "programs/regedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
13186 "programs/regtest/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regtest/Makefile" ;;
13187 "programs/uninstaller/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
13188 "programs/view/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
13189 "programs/wcmd/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wcmd/Makefile" ;;
13190 "programs/wineconsole/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
13191 "programs/winemine/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
13192 "programs/winetest/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
13193 "programs/winhelp/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
13194 "programs/winver/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
13195 "relay32/Makefile" ) CONFIG_FILES="$CONFIG_FILES relay32/Makefile" ;;
13196 "scheduler/Makefile" ) CONFIG_FILES="$CONFIG_FILES scheduler/Makefile" ;;
13197 "server/Makefile" ) CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
13198 "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
13199 "tools/winapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winapi/Makefile" ;;
13200 "tools/winebuild/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
13201 "tools/winedump/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
13202 "tools/wmc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
13203 "tools/wrc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
13204 "tsx11/Makefile" ) CONFIG_FILES="$CONFIG_FILES tsx11/Makefile" ;;
13205 "unicode/Makefile" ) CONFIG_FILES="$CONFIG_FILES unicode/Makefile" ;;
13206 "win32/Makefile" ) CONFIG_FILES="$CONFIG_FILES win32/Makefile" ;;
13207 "windows/Makefile" ) CONFIG_FILES="$CONFIG_FILES windows/Makefile" ;;
13208 "windows/x11drv/Makefile" ) CONFIG_FILES="$CONFIG_FILES windows/x11drv/Makefile" ;;
13209 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
13210 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
13211 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
13212 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
13213 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
13214 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
13215 "dlls/dinput/joystick" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/dinput/joystick" ;;
13216 "dlls/dinput/keyboard" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/dinput/keyboard" ;;
13217 "dlls/dinput/mouse" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/dinput/mouse" ;;
13218 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
13219 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
13220 "dlls/gdi/win16drv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/win16drv" ;;
13221 "dlls/kernel/messages" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel/messages" ;;
13222 "dlls/kernel/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel/tests" ;;
13223 "dlls/oleaut32/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/oleaut32/tests" ;;
13224 "dlls/user/dde" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/dde" ;;
13225 "dlls/user/resources" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/resources" ;;
13226 "dlls/user/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/tests" ;;
13227 "dlls/wineps/data" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps/data" ;;
13228 "include/wine" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
13229 "programs/regapi/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS programs/regapi/tests" ;;
13230 "programs/winetest/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS programs/winetest/tests" ;;
13231 "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
13232 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13233 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13234 { (exit 1); exit 1; }; };;
13238 # If the user did not use the arguments to specify the items to instantiate,
13239 # then the envvar interface is used. Set only those that are not.
13240 # We use the long form for the default assignment because of an extremely
13241 # bizarre bug on SunOS 4.1.3.
13242 if $ac_need_defaults; then
13243 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13244 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13245 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13248 # Create a temporary directory, and hook for its removal unless debugging.
13251 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
13252 trap '{ (exit 1); exit 1; }' 1 2 13 15
13255 # Create a (secure) tmp directory for tmp files.
13258 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
13259 test -n "$tmp" && test -d "$tmp"
13262 tmp=$TMPDIR/cs$$-$RANDOM
13263 (umask 077 && mkdir $tmp)
13266 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
13267 { (exit 1); exit 1; }
13272 cat >>$CONFIG_STATUS <<_ACEOF
13275 # CONFIG_FILES section.
13278 # No need to generate the scripts if there are no CONFIG_FILES.
13279 # This happens for instance when ./config.status config.h
13280 if test -n "\$CONFIG_FILES"; then
13281 # Protect against being on the right side of a sed subst in config.status.
13282 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
13283 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
13284 s,@SHELL@,$SHELL,;t t
13285 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
13286 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
13287 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
13288 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
13289 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
13290 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
13291 s,@exec_prefix@,$exec_prefix,;t t
13292 s,@prefix@,$prefix,;t t
13293 s,@program_transform_name@,$program_transform_name,;t t
13294 s,@bindir@,$bindir,;t t
13295 s,@sbindir@,$sbindir,;t t
13296 s,@libexecdir@,$libexecdir,;t t
13297 s,@datadir@,$datadir,;t t
13298 s,@sysconfdir@,$sysconfdir,;t t
13299 s,@sharedstatedir@,$sharedstatedir,;t t
13300 s,@localstatedir@,$localstatedir,;t t
13301 s,@libdir@,$libdir,;t t
13302 s,@includedir@,$includedir,;t t
13303 s,@oldincludedir@,$oldincludedir,;t t
13304 s,@infodir@,$infodir,;t t
13305 s,@mandir@,$mandir,;t t
13306 s,@build_alias@,$build_alias,;t t
13307 s,@host_alias@,$host_alias,;t t
13308 s,@target_alias@,$target_alias,;t t
13309 s,@DEFS@,$DEFS,;t t
13310 s,@ECHO_C@,$ECHO_C,;t t
13311 s,@ECHO_N@,$ECHO_N,;t t
13312 s,@ECHO_T@,$ECHO_T,;t t
13313 s,@LIBS@,$LIBS,;t t
13314 s,@OPTIONS@,$OPTIONS,;t t
13315 s,@build@,$build,;t t
13316 s,@build_cpu@,$build_cpu,;t t
13317 s,@build_vendor@,$build_vendor,;t t
13318 s,@build_os@,$build_os,;t t
13319 s,@host@,$host,;t t
13320 s,@host_cpu@,$host_cpu,;t t
13321 s,@host_vendor@,$host_vendor,;t t
13322 s,@host_os@,$host_os,;t t
13323 s,@target@,$target,;t t
13324 s,@target_cpu@,$target_cpu,;t t
13325 s,@target_vendor@,$target_vendor,;t t
13326 s,@target_os@,$target_os,;t t
13327 s,@SET_MAKE@,$SET_MAKE,;t t
13329 s,@CFLAGS@,$CFLAGS,;t t
13330 s,@LDFLAGS@,$LDFLAGS,;t t
13331 s,@CPPFLAGS@,$CPPFLAGS,;t t
13332 s,@ac_ct_CC@,$ac_ct_CC,;t t
13333 s,@EXEEXT@,$EXEEXT,;t t
13334 s,@OBJEXT@,$OBJEXT,;t t
13336 s,@X_CFLAGS@,$X_CFLAGS,;t t
13337 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
13338 s,@X_LIBS@,$X_LIBS,;t t
13339 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
13340 s,@YACC@,$YACC,;t t
13342 s,@LEXLIB@,$LEXLIB,;t t
13343 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
13344 s,@XYACC@,$XYACC,;t t
13345 s,@XLEX@,$XLEX,;t t
13346 s,@RANLIB@,$RANLIB,;t t
13347 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
13348 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13349 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13350 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13351 s,@LN_S@,$LN_S,;t t
13352 s,@C2MAN@,$C2MAN,;t t
13353 s,@LDCONFIG@,$LDCONFIG,;t t
13354 s,@LINT@,$LINT,;t t
13355 s,@LINTFLAGS@,$LINTFLAGS,;t t
13356 s,@LDCOMBINE@,$LDCOMBINE,;t t
13357 s,@UTILLIBS@,$UTILLIBS,;t t
13358 s,@DLLIBS@,$DLLIBS,;t t
13359 s,@JPEGLIB@,$JPEGLIB,;t t
13360 s,@XLIB@,$XLIB,;t t
13361 s,@XFILES@,$XFILES,;t t
13362 s,@OPENGLFILES@,$OPENGLFILES,;t t
13363 s,@GLU32FILES@,$GLU32FILES,;t t
13364 s,@CURSESLIBS@,$CURSESLIBS,;t t
13365 s,@CUPSLIBS@,$CUPSLIBS,;t t
13366 s,@sane_devel@,$sane_devel,;t t
13367 s,@SANELIBS@,$SANELIBS,;t t
13368 s,@SANEINCL@,$SANEINCL,;t t
13369 s,@ft_devel@,$ft_devel,;t t
13370 s,@ft_devel2@,$ft_devel2,;t t
13371 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
13372 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
13373 s,@ARTSLIBS@,$ARTSLIBS,;t t
13374 s,@ARTSINCL@,$ARTSINCL,;t t
13375 s,@DLLWRAP@,$DLLWRAP,;t t
13376 s,@DLLFLAGS@,$DLLFLAGS,;t t
13377 s,@DLLEXT@,$DLLEXT,;t t
13378 s,@LDSHARED@,$LDSHARED,;t t
13379 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
13380 s,@LIBEXT@,$LIBEXT,;t t
13381 s,@LDPATH@,$LDPATH,;t t
13382 s,@ALLOCA@,$ALLOCA,;t t
13383 /@MAKE_RULES@/r $MAKE_RULES
13384 s,@MAKE_RULES@,,;t t
13385 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
13386 s,@MAKE_DLL_RULES@,,;t t
13387 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
13388 s,@MAKE_PROG_RULES@,,;t t
13393 cat >>$CONFIG_STATUS <<\_ACEOF
13394 # Split the substitutions into bite-sized pieces for seds with
13395 # small command number limits, like on Digital OSF/1 and HP-UX.
13396 ac_max_sed_lines=48
13397 ac_sed_frag=1 # Number of current file.
13398 ac_beg=1 # First line for current file.
13399 ac_end=$ac_max_sed_lines # Line after last line for current file.
13402 while $ac_more_lines; do
13403 if test $ac_beg -gt 1; then
13404 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
13406 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
13408 if test ! -s $tmp/subs.frag; then
13409 ac_more_lines=false
13411 # The purpose of the label and of the branching condition is to
13412 # speed up the sed processing (if there are no `@' at all, there
13413 # is no need to browse any of the substitutions).
13414 # These are the two extra sed commands mentioned above.
13416 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
13417 if test -z "$ac_sed_cmds"; then
13418 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
13420 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
13422 ac_sed_frag=`expr $ac_sed_frag + 1`
13424 ac_end=`expr $ac_end + $ac_max_sed_lines`
13427 if test -z "$ac_sed_cmds"; then
13430 fi # test -n "$CONFIG_FILES"
13433 cat >>$CONFIG_STATUS <<\_ACEOF
13434 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
13435 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13437 - | *:- | *:-:* ) # input from stdin
13439 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13440 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13441 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13442 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13443 * ) ac_file_in=$ac_file.in ;;
13446 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
13447 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
13448 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13449 X"$ac_file" : 'X\(//\)[^/]' \| \
13450 X"$ac_file" : 'X\(//\)$' \| \
13451 X"$ac_file" : 'X\(/\)' \| \
13452 . : '\(.\)' 2>/dev/null ||
13454 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13455 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13456 /^X\(\/\/\)$/{ s//\1/; q; }
13457 /^X\(\/\).*/{ s//\1/; q; }
13459 { case "$ac_dir" in
13460 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
13464 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
13465 case $as_mkdir_dir in
13466 # Skip DOS drivespec
13467 ?:) as_incr_dir=$as_mkdir_dir ;;
13469 as_incr_dir=$as_incr_dir/$as_mkdir_dir
13470 test -d "$as_incr_dir" ||
13471 mkdir "$as_incr_dir" ||
13472 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
13473 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
13474 { (exit 1); exit 1; }; }
13481 if test "$ac_dir" != .; then
13482 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13483 # A "../" for each directory in $ac_dir_suffix.
13484 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13486 ac_dir_suffix= ac_top_builddir=
13490 .) # No --srcdir option. We are building in place.
13492 if test -z "$ac_top_builddir"; then
13495 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
13497 [\\/]* | ?:[\\/]* ) # Absolute path.
13498 ac_srcdir=$srcdir$ac_dir_suffix;
13499 ac_top_srcdir=$srcdir ;;
13500 *) # Relative path.
13501 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
13502 ac_top_srcdir=$ac_top_builddir$srcdir ;;
13504 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
13506 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
13507 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
13508 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
13509 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
13513 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13514 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
13517 if test x"$ac_file" != x-; then
13518 { echo "$as_me:$LINENO: creating $ac_file" >&5
13519 echo "$as_me: creating $ac_file" >&6;}
13522 # Let's still pretend it is `configure' which instantiates (i.e., don't
13523 # use $as_me), people would be surprised to read:
13524 # /* config.h. Generated by config.status. */
13525 if test x"$ac_file" = x-; then
13528 configure_input="$ac_file. "
13530 configure_input=$configure_input"Generated from `echo $ac_file_in |
13531 sed 's,.*/,,'` by configure."
13533 # First look for the input files in the build tree, otherwise in the
13535 ac_file_inputs=`IFS=:
13536 for f in $ac_file_in; do
13538 -) echo $tmp/stdin ;;
13540 # Absolute (can't be DOS-style, as IFS=:)
13541 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13542 echo "$as_me: error: cannot find input file: $f" >&2;}
13543 { (exit 1); exit 1; }; }
13546 if test -f "$f"; then
13549 elif test -f "$srcdir/$f"; then
13554 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13555 echo "$as_me: error: cannot find input file: $f" >&2;}
13556 { (exit 1); exit 1; }; }
13559 done` || { (exit 1); exit 1; }
13561 cat >>$CONFIG_STATUS <<_ACEOF
13565 cat >>$CONFIG_STATUS <<\_ACEOF
13567 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13568 s,@configure_input@,$configure_input,;t t
13569 s,@srcdir@,$ac_srcdir,;t t
13570 s,@abs_srcdir@,$ac_abs_srcdir,;t t
13571 s,@top_srcdir@,$ac_top_srcdir,;t t
13572 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
13573 s,@builddir@,$ac_builddir,;t t
13574 s,@abs_builddir@,$ac_abs_builddir,;t t
13575 s,@top_builddir@,$ac_top_builddir,;t t
13576 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
13577 s,@INSTALL@,$ac_INSTALL,;t t
13578 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13580 if test x"$ac_file" != x-; then
13581 mv $tmp/out $ac_file
13589 cat >>$CONFIG_STATUS <<\_ACEOF
13592 # CONFIG_HEADER section.
13595 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
13596 # NAME is the cpp macro being defined and VALUE is the value it is being given.
13598 # ac_d sets the value in "#define NAME VALUE" lines.
13599 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
13600 ac_dB='[ ].*$,\1#\2'
13603 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
13604 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13605 ac_uB='$,\1#\2define\3'
13609 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
13610 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13612 - | *:- | *:-:* ) # input from stdin
13614 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13615 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13616 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13617 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13618 * ) ac_file_in=$ac_file.in ;;
13621 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
13622 echo "$as_me: creating $ac_file" >&6;}
13624 # First look for the input files in the build tree, otherwise in the
13626 ac_file_inputs=`IFS=:
13627 for f in $ac_file_in; do
13629 -) echo $tmp/stdin ;;
13631 # Absolute (can't be DOS-style, as IFS=:)
13632 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13633 echo "$as_me: error: cannot find input file: $f" >&2;}
13634 { (exit 1); exit 1; }; }
13637 if test -f "$f"; then
13640 elif test -f "$srcdir/$f"; then
13645 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13646 echo "$as_me: error: cannot find input file: $f" >&2;}
13647 { (exit 1); exit 1; }; }
13650 done` || { (exit 1); exit 1; }
13651 # Remove the trailing spaces.
13652 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
13656 # Transform confdefs.h into two sed scripts, `conftest.defines' and
13657 # `conftest.undefs', that substitutes the proper values into
13658 # config.h.in to produce config.h. The first handles `#define'
13659 # templates, and the second `#undef' templates.
13660 # And first: Protect against being on the right side of a sed subst in
13661 # config.status. Protect against being in an unquoted here document
13662 # in config.status.
13663 rm -f conftest.defines conftest.undefs
13664 # Using a here document instead of a string reduces the quoting nightmare.
13665 # Putting comments in sed scripts is not portable.
13667 # `end' is used to avoid that the second main sed command (meant for
13668 # 0-ary CPP macros) applies to n-ary macro definitions.
13669 # See the Autoconf documentation for `clear'.
13670 cat >confdef2sed.sed <<\_ACEOF
13675 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
13677 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
13680 # If some macros were called several times there might be several times
13681 # the same #defines, which is useless. Nevertheless, we may not want to
13682 # sort them, since we want the *last* AC-DEFINE to be honored.
13683 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
13684 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
13685 rm -f confdef2sed.sed
13687 # This sed command replaces #undef with comments. This is necessary, for
13688 # example, in the case of _POSIX_SOURCE, which is predefined and required
13689 # on some systems where configure will not decide to define it.
13690 cat >>conftest.undefs <<\_ACEOF
13691 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
13694 # Break up conftest.defines because some shells have a limit on the size
13695 # of here documents, and old seds have small limits too (100 cmds).
13696 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
13697 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
13698 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
13699 echo ' :' >>$CONFIG_STATUS
13700 rm -f conftest.tail
13701 while grep . conftest.defines >/dev/null
13703 # Write a limited-size here document to $tmp/defines.sed.
13704 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
13705 # Speed up: don't consider the non `#define' lines.
13706 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
13707 # Work around the forget-to-reset-the-flag bug.
13708 echo 't clr' >>$CONFIG_STATUS
13709 echo ': clr' >>$CONFIG_STATUS
13710 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
13712 sed -f $tmp/defines.sed $tmp/in >$tmp/out
13714 mv $tmp/out $tmp/in
13716 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
13717 rm -f conftest.defines
13718 mv conftest.tail conftest.defines
13720 rm -f conftest.defines
13721 echo ' fi # egrep' >>$CONFIG_STATUS
13722 echo >>$CONFIG_STATUS
13724 # Break up conftest.undefs because some shells have a limit on the size
13725 # of here documents, and old seds have small limits too (100 cmds).
13726 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
13727 rm -f conftest.tail
13728 while grep . conftest.undefs >/dev/null
13730 # Write a limited-size here document to $tmp/undefs.sed.
13731 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
13732 # Speed up: don't consider the non `#undef'
13733 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
13734 # Work around the forget-to-reset-the-flag bug.
13735 echo 't clr' >>$CONFIG_STATUS
13736 echo ': clr' >>$CONFIG_STATUS
13737 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
13739 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
13741 mv $tmp/out $tmp/in
13743 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
13744 rm -f conftest.undefs
13745 mv conftest.tail conftest.undefs
13747 rm -f conftest.undefs
13749 cat >>$CONFIG_STATUS <<\_ACEOF
13750 # Let's still pretend it is `configure' which instantiates (i.e., don't
13751 # use $as_me), people would be surprised to read:
13752 # /* config.h. Generated by config.status. */
13753 if test x"$ac_file" = x-; then
13754 echo "/* Generated by configure. */" >$tmp/config.h
13756 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
13758 cat $tmp/in >>$tmp/config.h
13760 if test x"$ac_file" != x-; then
13761 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
13762 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13763 echo "$as_me: $ac_file is unchanged" >&6;}
13765 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
13766 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13767 X"$ac_file" : 'X\(//\)[^/]' \| \
13768 X"$ac_file" : 'X\(//\)$' \| \
13769 X"$ac_file" : 'X\(/\)' \| \
13770 . : '\(.\)' 2>/dev/null ||
13772 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13773 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13774 /^X\(\/\/\)$/{ s//\1/; q; }
13775 /^X\(\/\).*/{ s//\1/; q; }
13777 { case "$ac_dir" in
13778 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
13782 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
13783 case $as_mkdir_dir in
13784 # Skip DOS drivespec
13785 ?:) as_incr_dir=$as_mkdir_dir ;;
13787 as_incr_dir=$as_incr_dir/$as_mkdir_dir
13788 test -d "$as_incr_dir" ||
13789 mkdir "$as_incr_dir" ||
13790 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
13791 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
13792 { (exit 1); exit 1; }; }
13798 mv $tmp/config.h $ac_file
13802 rm -f $tmp/config.h
13806 cat >>$CONFIG_STATUS <<\_ACEOF
13809 # CONFIG_COMMANDS section.
13811 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
13812 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
13813 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
13814 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
13815 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13816 X"$ac_dest" : 'X\(//\)[^/]' \| \
13817 X"$ac_dest" : 'X\(//\)$' \| \
13818 X"$ac_dest" : 'X\(/\)' \| \
13819 . : '\(.\)' 2>/dev/null ||
13821 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13822 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13823 /^X\(\/\/\)$/{ s//\1/; q; }
13824 /^X\(\/\).*/{ s//\1/; q; }
13828 if test "$ac_dir" != .; then
13829 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13830 # A "../" for each directory in $ac_dir_suffix.
13831 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13833 ac_dir_suffix= ac_top_builddir=
13837 .) # No --srcdir option. We are building in place.
13839 if test -z "$ac_top_builddir"; then
13842 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
13844 [\\/]* | ?:[\\/]* ) # Absolute path.
13845 ac_srcdir=$srcdir$ac_dir_suffix;
13846 ac_top_srcdir=$srcdir ;;
13847 *) # Relative path.
13848 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
13849 ac_top_srcdir=$ac_top_builddir$srcdir ;;
13851 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
13853 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
13854 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
13855 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
13856 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
13859 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
13860 echo "$as_me: executing $ac_dest commands" >&6;}
13862 dlls/ddraw/d3ddevice ) test -d "dlls/ddraw/d3ddevice" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/d3ddevice" >&5
13863 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir "dlls/ddraw/d3ddevice") ;;
13864 dlls/ddraw/dclipper ) test -d "dlls/ddraw/dclipper" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dclipper" >&5
13865 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir "dlls/ddraw/dclipper") ;;
13866 dlls/ddraw/ddraw ) test -d "dlls/ddraw/ddraw" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/ddraw" >&5
13867 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir "dlls/ddraw/ddraw") ;;
13868 dlls/ddraw/direct3d ) test -d "dlls/ddraw/direct3d" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/direct3d" >&5
13869 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir "dlls/ddraw/direct3d") ;;
13870 dlls/ddraw/dpalette ) test -d "dlls/ddraw/dpalette" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dpalette" >&5
13871 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir "dlls/ddraw/dpalette") ;;
13872 dlls/ddraw/dsurface ) test -d "dlls/ddraw/dsurface" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dsurface" >&5
13873 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir "dlls/ddraw/dsurface") ;;
13874 dlls/dinput/joystick ) test -d "dlls/dinput/joystick" || ({ echo "$as_me:$LINENO: creating dlls/dinput/joystick" >&5
13875 echo "$as_me: creating dlls/dinput/joystick" >&6;} && mkdir "dlls/dinput/joystick") ;;
13876 dlls/dinput/keyboard ) test -d "dlls/dinput/keyboard" || ({ echo "$as_me:$LINENO: creating dlls/dinput/keyboard" >&5
13877 echo "$as_me: creating dlls/dinput/keyboard" >&6;} && mkdir "dlls/dinput/keyboard") ;;
13878 dlls/dinput/mouse ) test -d "dlls/dinput/mouse" || ({ echo "$as_me:$LINENO: creating dlls/dinput/mouse" >&5
13879 echo "$as_me: creating dlls/dinput/mouse" >&6;} && mkdir "dlls/dinput/mouse") ;;
13880 dlls/gdi/enhmfdrv ) test -d "dlls/gdi/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
13881 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir "dlls/gdi/enhmfdrv") ;;
13882 dlls/gdi/mfdrv ) test -d "dlls/gdi/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
13883 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir "dlls/gdi/mfdrv") ;;
13884 dlls/gdi/win16drv ) test -d "dlls/gdi/win16drv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/win16drv" >&5
13885 echo "$as_me: creating dlls/gdi/win16drv" >&6;} && mkdir "dlls/gdi/win16drv") ;;
13886 dlls/kernel/messages ) test -d "dlls/kernel/messages" || ({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
13887 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir "dlls/kernel/messages") ;;
13888 dlls/kernel/tests ) test -d "dlls/kernel/tests" || ({ echo "$as_me:$LINENO: creating dlls/kernel/tests" >&5
13889 echo "$as_me: creating dlls/kernel/tests" >&6;} && mkdir "dlls/kernel/tests") ;;
13890 dlls/oleaut32/tests ) test -d "dlls/oleaut32/tests" || ({ echo "$as_me:$LINENO: creating dlls/oleaut32/tests" >&5
13891 echo "$as_me: creating dlls/oleaut32/tests" >&6;} && mkdir "dlls/oleaut32/tests") ;;
13892 dlls/user/dde ) test -d "dlls/user/dde" || ({ echo "$as_me:$LINENO: creating dlls/user/dde" >&5
13893 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir "dlls/user/dde") ;;
13894 dlls/user/resources ) test -d "dlls/user/resources" || ({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
13895 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir "dlls/user/resources") ;;
13896 dlls/user/tests ) test -d "dlls/user/tests" || ({ echo "$as_me:$LINENO: creating dlls/user/tests" >&5
13897 echo "$as_me: creating dlls/user/tests" >&6;} && mkdir "dlls/user/tests") ;;
13898 dlls/wineps/data ) test -d "dlls/wineps/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
13899 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir "dlls/wineps/data") ;;
13900 include/wine ) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
13901 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
13902 programs/regapi/tests ) test -d "programs/regapi/tests" || ({ echo "$as_me:$LINENO: creating programs/regapi/tests" >&5
13903 echo "$as_me: creating programs/regapi/tests" >&6;} && mkdir "programs/regapi/tests") ;;
13904 programs/winetest/tests ) test -d "programs/winetest/tests" || ({ echo "$as_me:$LINENO: creating programs/winetest/tests" >&5
13905 echo "$as_me: creating programs/winetest/tests" >&6;} && mkdir "programs/winetest/tests") ;;
13910 cat >>$CONFIG_STATUS <<\_ACEOF
13912 { (exit 0); exit 0; }
13914 chmod +x $CONFIG_STATUS
13915 ac_clean_files=$ac_clean_files_save
13918 # configure is writing to config.log, and then calls config.status.
13919 # config.status does its own redirection, appending to config.log.
13920 # Unfortunately, on DOS this fails, as config.log is still kept open
13921 # by configure, so config.status won't be able to write to it; its
13922 # output is simply discarded. So we exec the FD to /dev/null,
13923 # effectively closing config.log, so it can be properly (re)opened and
13924 # appended to by config.status. When coming back to configure, we
13925 # need to make the FD available again.
13926 if test "$no_create" != yes; then
13929 $SHELL $CONFIG_STATUS || ac_cs_success=false
13931 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13932 # would make configure fail if this is the last instruction.
13933 $ac_cs_success || { (exit 1); exit 1; }
13937 if test "$have_x" = "no"
13940 echo "*** Warning: X development files not found. Wine will be built without"
13941 echo "*** X support, which currently does not work, and would probably not be"
13942 echo "*** what you want anyway. You will need to install devel packages of"
13943 echo "*** Xlib/Xfree86 at the very least."
13946 if test "$ac_cv_lib_ncurses_resizeterm" = "no" -a "$ac_cv_lib_ncurses_waddch" = "yes"
13949 echo "*** Warning: resizeterm not found in ncurses. Wine will be built without"
13950 echo "*** terminal resize support. Consider upgrading ncurses."
13953 if test "$wine_cv_libc_reentrant" = "no"
13956 echo "*** Warning: non-reentrant libc detected. Wine will be built without"
13957 echo "*** threading support. Consider upgrading libc to a more recent"
13958 echo "*** reentrant version of libc."
13961 if test "$wine_cv_opengl_version_OK" = "no"
13964 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
13965 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
13968 if test "$wine_cv_opengl_version_threadsafe" = "yes" -a "x$enable_opengl" = "x"
13971 echo "*** Warning: the OpenGL version you have installed relies on libpthread for"
13972 echo "*** thread-safety. To prevent crashes, OpenGL support has been removed."
13973 echo "*** A fix for glibc 2.1.3 that seems to work is included in this version of Wine,"
13974 echo "*** start configure with '--enable-opengl' to force OpenGL support."
13977 if test "$wine_cv_opengl_version_threadsafe" = "yes" -a "x$enable_opengl" = "xyes"
13980 echo "*** Warning: you explicitly linked in a thread-safe OpenGL version. If you"
13981 echo "*** experience unusual crashes on DirectDraw games, try first to disable OpenGL"
13982 echo "*** support before reporting bugs."
13985 if test "$wine_cv_warn_cups_h" = "yes"
13988 echo "*** Note: You have cups runtime libraries, but no development"
13989 echo "*** libraries. Install the cups-devel package or whichever package"
13990 echo "*** contains cups.h to enable CUPS support in Wine."
13993 if test "$wine_cv_msg_freetype" = "yes"
13996 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
13997 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
13998 echo "*** freetype-devel package (or its equivalent on your distribution) to"
13999 echo "*** enable Wine to use TrueType fonts."
14003 echo "Configure finished. Do 'make depend && make' to compile Wine."