2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57 for Wine 20031212.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 # Support unset when possible.
25 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
224 as_executable_p="test -f"
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234 # We need space, tab and new line, in precisely that order.
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245 # so uname gets run too.
246 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
253 ac_default_prefix=/usr/local
254 ac_config_libobj_dir=.
259 SHELL=${CONFIG_SHELL-/bin/sh}
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete. It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
266 # Identity of this package.
268 PACKAGE_TARNAME='wine'
269 PACKAGE_VERSION='20031212'
270 PACKAGE_STRING='Wine 20031212'
273 ac_unique_file="server/atom.c"
274 # Factoring default headers for most tests.
275 ac_includes_default="\
278 # include <sys/types.h>
281 # include <sys/stat.h>
292 # if !STDC_HEADERS && HAVE_MEMORY_H
298 # include <strings.h>
301 # include <inttypes.h>
311 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS WIN16_FILES WIN16_INSTALL build build_cpu build_vendor build_os host host_cpu host_vendor host_os SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP TOOLSDIR X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS YACC LEX LEXLIB LEX_OUTPUT_ROOT XYACC XLEX AS ac_ct_AS LD ac_ct_LD AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES LN_S LN LDCONFIG INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LINT LINTFLAGS DB2HTML DB2PDF DB2PS DB2TXT LIBPTHREAD JPEGLIB EGREP GIFLIB XLIB XFILES OPENGLFILES GLU32FILES OPENGL_LIBS GLUT_LIBS GLUT32FILES NASLIBS CURSESLIBS sane_devel SANELIBS SANEINCL ICULIBS ft_devel ft_devel2 FREETYPEINCL ARTSCCONFIG ARTSLIBS ARTSINCL ALSALIBS AUDIOIOLIBS CAPI4LINUXLIBS EXTRACFLAGS DLLEXT DLLFLAGS DLLIBS LDSHARED LDDLL LIBEXT IMPLIBEXT DLLTOOL ac_ct_DLLTOOL DLLWRAP ac_ct_DLLWRAP LDEXECFLAGS CROSSTEST CROSSCC CROSSWINDRES LDPATH CRTLIBS WINE_BINARIES MAIN_BINARY LDD ALLOCA LIBOBJS LTLIBOBJS'
312 ac_subst_files='MAKE_RULES MAKE_DLL_RULES MAKE_TEST_RULES MAKE_LIB_RULES MAKE_PROG_RULES'
314 # Initialize some variables set by options.
316 ac_init_version=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
326 program_transform_name=s,x,x,
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir='${exec_prefix}/bin'
340 sbindir='${exec_prefix}/sbin'
341 libexecdir='${exec_prefix}/libexec'
342 datadir='${prefix}/share'
343 sysconfdir='${prefix}/etc'
344 sharedstatedir='${prefix}/com'
345 localstatedir='${prefix}/var'
346 libdir='${exec_prefix}/lib'
347 includedir='${prefix}/include'
348 oldincludedir='/usr/include'
349 infodir='${prefix}/info'
350 mandir='${prefix}/man'
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364 # Accept the important Cygnus configure options, so we can diagnose typos.
368 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
373 -build | --build | --buil | --bui | --bu)
374 ac_prev=build_alias ;;
375 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
376 build_alias=$ac_optarg ;;
378 -cache-file | --cache-file | --cache-fil | --cache-fi \
379 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
380 ac_prev=cache_file ;;
381 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
382 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
383 cache_file=$ac_optarg ;;
386 cache_file=config.cache ;;
388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 datadir=$ac_optarg ;;
394 -disable-* | --disable-*)
395 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396 # Reject names that are not valid shell variable names.
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399 { (exit 1); exit 1; }; }
400 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
403 -enable-* | --enable-*)
404 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405 # Reject names that are not valid shell variable names.
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
414 eval "enable_$ac_feature='$ac_optarg'" ;;
416 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
417 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
418 | --exec | --exe | --ex)
419 ac_prev=exec_prefix ;;
420 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
421 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
422 | --exec=* | --exe=* | --ex=*)
423 exec_prefix=$ac_optarg ;;
425 -gas | --gas | --ga | --g)
426 # Obsolete; use --with-gas.
429 -help | --help | --hel | --he | -h)
431 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
432 ac_init_help=recursive ;;
433 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
434 ac_init_help=short ;;
436 -host | --host | --hos | --ho)
437 ac_prev=host_alias ;;
438 -host=* | --host=* | --hos=* | --ho=*)
439 host_alias=$ac_optarg ;;
441 -includedir | --includedir | --includedi | --included | --include \
442 | --includ | --inclu | --incl | --inc)
443 ac_prev=includedir ;;
444 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
445 | --includ=* | --inclu=* | --incl=* | --inc=*)
446 includedir=$ac_optarg ;;
448 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
451 infodir=$ac_optarg ;;
453 -libdir | --libdir | --libdi | --libd)
455 -libdir=* | --libdir=* | --libdi=* | --libd=*)
458 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
459 | --libexe | --libex | --libe)
460 ac_prev=libexecdir ;;
461 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
462 | --libexe=* | --libex=* | --libe=*)
463 libexecdir=$ac_optarg ;;
465 -localstatedir | --localstatedir | --localstatedi | --localstated \
466 | --localstate | --localstat | --localsta | --localst \
467 | --locals | --local | --loca | --loc | --lo)
468 ac_prev=localstatedir ;;
469 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
470 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
471 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
472 localstatedir=$ac_optarg ;;
474 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
480 # Obsolete; use --without-fp.
483 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484 | --no-cr | --no-c | -n)
487 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
488 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
491 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
492 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
493 | --oldin | --oldi | --old | --ol | --o)
494 ac_prev=oldincludedir ;;
495 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
496 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
497 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
498 oldincludedir=$ac_optarg ;;
500 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
505 -program-prefix | --program-prefix | --program-prefi | --program-pref \
506 | --program-pre | --program-pr | --program-p)
507 ac_prev=program_prefix ;;
508 -program-prefix=* | --program-prefix=* | --program-prefi=* \
509 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
510 program_prefix=$ac_optarg ;;
512 -program-suffix | --program-suffix | --program-suffi | --program-suff \
513 | --program-suf | --program-su | --program-s)
514 ac_prev=program_suffix ;;
515 -program-suffix=* | --program-suffix=* | --program-suffi=* \
516 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
517 program_suffix=$ac_optarg ;;
519 -program-transform-name | --program-transform-name \
520 | --program-transform-nam | --program-transform-na \
521 | --program-transform-n | --program-transform- \
522 | --program-transform | --program-transfor \
523 | --program-transfo | --program-transf \
524 | --program-trans | --program-tran \
525 | --progr-tra | --program-tr | --program-t)
526 ac_prev=program_transform_name ;;
527 -program-transform-name=* | --program-transform-name=* \
528 | --program-transform-nam=* | --program-transform-na=* \
529 | --program-transform-n=* | --program-transform-=* \
530 | --program-transform=* | --program-transfor=* \
531 | --program-transfo=* | --program-transf=* \
532 | --program-trans=* | --program-tran=* \
533 | --progr-tra=* | --program-tr=* | --program-t=*)
534 program_transform_name=$ac_optarg ;;
536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
537 | -silent | --silent | --silen | --sile | --sil)
540 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544 sbindir=$ac_optarg ;;
546 -sharedstatedir | --sharedstatedir | --sharedstatedi \
547 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
548 | --sharedst | --shareds | --shared | --share | --shar \
550 ac_prev=sharedstatedir ;;
551 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
552 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
553 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555 sharedstatedir=$ac_optarg ;;
557 -site | --site | --sit)
559 -site=* | --site=* | --sit=*)
562 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
567 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
568 | --syscon | --sysco | --sysc | --sys | --sy)
569 ac_prev=sysconfdir ;;
570 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
571 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
572 sysconfdir=$ac_optarg ;;
574 -target | --target | --targe | --targ | --tar | --ta | --t)
575 ac_prev=target_alias ;;
576 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
577 target_alias=$ac_optarg ;;
579 -v | -verbose | --verbose | --verbos | --verbo | --verb)
582 -version | --version | --versio | --versi | --vers | -V)
586 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package=`echo $ac_package| sed 's/-/_/g'`
593 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596 eval "with_$ac_package='$ac_optarg'" ;;
598 -without-* | --without-*)
599 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600 # Reject names that are not valid shell variable names.
601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
602 { echo "$as_me: error: invalid package name: $ac_package" >&2
603 { (exit 1); exit 1; }; }
604 ac_package=`echo $ac_package | sed 's/-/_/g'`
605 eval "with_$ac_package=no" ;;
608 # Obsolete; use --with-x.
611 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
612 | --x-incl | --x-inc | --x-in | --x-i)
613 ac_prev=x_includes ;;
614 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
615 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
616 x_includes=$ac_optarg ;;
618 -x-libraries | --x-libraries | --x-librarie | --x-librari \
619 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
620 ac_prev=x_libraries ;;
621 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
622 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
623 x_libraries=$ac_optarg ;;
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
631 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
632 # Reject names that are not valid shell variable names.
633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635 { (exit 1); exit 1; }; }
636 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637 eval "$ac_envvar='$ac_optarg'"
641 # FIXME: should be removed in autoconf 3.0.
642 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 if test -n "$ac_prev"; then
652 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
653 { echo "$as_me: error: missing argument to $ac_option" >&2
654 { (exit 1); exit 1; }; }
657 # Be sure to have absolute paths.
658 for ac_var in exec_prefix prefix
660 eval ac_val=$`echo $ac_var`
662 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
668 # Be sure to have absolute paths.
669 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
672 eval ac_val=$`echo $ac_var`
674 [\\/$]* | ?:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x; then
689 if test "x$build_alias" = x; then
690 cross_compiling=maybe
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692 If a cross compiler is detected then cross compile mode will be used." >&2
693 elif test "x$build_alias" != "x$host_alias"; then
699 test -n "$host_alias" && ac_tool_prefix=$host_alias-
701 test "$silent" = yes && exec 6>/dev/null
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706 ac_srcdir_defaulted=yes
707 # Try the directory containing this script, then its parent.
708 ac_confdir=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
721 if test ! -r $srcdir/$ac_unique_file; then
725 ac_srcdir_defaulted=no
727 if test ! -r $srcdir/$ac_unique_file; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730 { (exit 1); exit 1; }; }
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
736 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set=${build_alias+set}
741 ac_env_build_alias_value=$build_alias
742 ac_cv_env_build_alias_set=${build_alias+set}
743 ac_cv_env_build_alias_value=$build_alias
744 ac_env_host_alias_set=${host_alias+set}
745 ac_env_host_alias_value=$host_alias
746 ac_cv_env_host_alias_set=${host_alias+set}
747 ac_cv_env_host_alias_value=$host_alias
748 ac_env_target_alias_set=${target_alias+set}
749 ac_env_target_alias_value=$target_alias
750 ac_cv_env_target_alias_set=${target_alias+set}
751 ac_cv_env_target_alias_value=$target_alias
752 ac_env_CC_set=${CC+set}
754 ac_cv_env_CC_set=${CC+set}
755 ac_cv_env_CC_value=$CC
756 ac_env_CFLAGS_set=${CFLAGS+set}
757 ac_env_CFLAGS_value=$CFLAGS
758 ac_cv_env_CFLAGS_set=${CFLAGS+set}
759 ac_cv_env_CFLAGS_value=$CFLAGS
760 ac_env_LDFLAGS_set=${LDFLAGS+set}
761 ac_env_LDFLAGS_value=$LDFLAGS
762 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
763 ac_cv_env_LDFLAGS_value=$LDFLAGS
764 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
765 ac_env_CPPFLAGS_value=$CPPFLAGS
766 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
767 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
768 ac_env_CPP_set=${CPP+set}
769 ac_env_CPP_value=$CPP
770 ac_cv_env_CPP_set=${CPP+set}
771 ac_cv_env_CPP_value=$CPP
774 # Report the --help message.
776 if test "$ac_init_help" = "long"; then
777 # Omit some internal or obsolete options to make the list less imposing.
778 # This message is too long to be a string in the A/UX 3.1 sh.
780 \`configure' configures Wine 20031212 to adapt to many kinds of systems.
782 Usage: $0 [OPTION]... [VAR=VALUE]...
784 To assign environment variables (e.g., CC, CFLAGS...), specify them as
785 VAR=VALUE. See below for descriptions of some of the useful variables.
787 Defaults for the options are specified in brackets.
790 -h, --help display this help and exit
791 --help=short display options specific to this package
792 --help=recursive display the short help of all the included packages
793 -V, --version display version information and exit
794 -q, --quiet, --silent do not print \`checking...' messages
795 --cache-file=FILE cache test results in FILE [disabled]
796 -C, --config-cache alias for \`--cache-file=config.cache'
797 -n, --no-create do not create output files
798 --srcdir=DIR find the sources in DIR [configure dir or \`..']
803 Installation directories:
804 --prefix=PREFIX install architecture-independent files in PREFIX
806 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
809 By default, \`make install' will install all the files in
810 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
811 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
812 for instance \`--prefix=\$HOME'.
814 For better control, use the options below.
816 Fine tuning of the installation directories:
817 --bindir=DIR user executables [EPREFIX/bin]
818 --sbindir=DIR system admin executables [EPREFIX/sbin]
819 --libexecdir=DIR program executables [EPREFIX/libexec]
820 --datadir=DIR read-only architecture-independent data [PREFIX/share]
821 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
822 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
823 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
824 --libdir=DIR object code libraries [EPREFIX/lib]
825 --includedir=DIR C header files [PREFIX/include]
826 --oldincludedir=DIR C header files for non-gcc [/usr/include]
827 --infodir=DIR info documentation [PREFIX/info]
828 --mandir=DIR man documentation [PREFIX/man]
834 --x-includes=DIR X include files are in DIR
835 --x-libraries=DIR X library files are in DIR
838 --build=BUILD configure for building on BUILD [guessed]
839 --host=HOST cross-compile to build programs to run on HOST [BUILD]
843 if test -n "$ac_init_help"; then
844 case $ac_init_help in
845 short | recursive ) echo "Configuration of Wine 20031212:";;
850 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
851 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
852 --disable-win16 do not include Win16 support
853 --disable-debug compile out all debugging messages
854 --disable-trace compile out TRACE messages
857 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
858 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
859 --without-opengl do not use OpenGL
860 --without-curses do not use curses
861 --with-wine-tools=<dir> use Wine tools from directory <dir>
862 --with-x use the X Window System
864 Some influential environment variables:
865 CC C compiler command
866 CFLAGS C compiler flags
867 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
868 nonstandard directory <lib dir>
869 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
870 headers in a nonstandard directory <include dir>
873 Use these variables to override the choices made by `configure' or to help
874 it to find libraries and programs with nonstandard names/locations.
879 if test "$ac_init_help" = "recursive"; then
880 # If there are subdirs, report their specific --help.
882 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
883 test -d $ac_dir || continue
886 if test "$ac_dir" != .; then
887 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
888 # A "../" for each directory in $ac_dir_suffix.
889 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
891 ac_dir_suffix= ac_top_builddir=
895 .) # No --srcdir option. We are building in place.
897 if test -z "$ac_top_builddir"; then
900 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
902 [\\/]* | ?:[\\/]* ) # Absolute path.
903 ac_srcdir=$srcdir$ac_dir_suffix;
904 ac_top_srcdir=$srcdir ;;
906 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
907 ac_top_srcdir=$ac_top_builddir$srcdir ;;
909 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
911 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
912 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
913 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
914 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
917 # Check for guested configure; otherwise get Cygnus style configure.
918 if test -f $ac_srcdir/configure.gnu; then
920 $SHELL $ac_srcdir/configure.gnu --help=recursive
921 elif test -f $ac_srcdir/configure; then
923 $SHELL $ac_srcdir/configure --help=recursive
924 elif test -f $ac_srcdir/configure.ac ||
925 test -f $ac_srcdir/configure.in; then
929 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
935 test -n "$ac_init_help" && exit 0
936 if $ac_init_version; then
938 Wine configure 20031212
939 generated by GNU Autoconf 2.57
941 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
942 Free Software Foundation, Inc.
943 This configure script is free software; the Free Software Foundation
944 gives unlimited permission to copy, distribute and modify it.
950 This file contains any messages produced by compilers while
951 running configure, to aid debugging if configure makes a mistake.
953 It was created by Wine $as_me 20031212, which was
954 generated by GNU Autoconf 2.57. Invocation command line was
965 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
966 uname -m = `(uname -m) 2>/dev/null || echo unknown`
967 uname -r = `(uname -r) 2>/dev/null || echo unknown`
968 uname -s = `(uname -s) 2>/dev/null || echo unknown`
969 uname -v = `(uname -v) 2>/dev/null || echo unknown`
971 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
972 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
974 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
975 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
976 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
977 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
978 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
979 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
980 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
988 test -z "$as_dir" && as_dir=.
1004 # Keep a trace of the command line.
1005 # Strip out --no-create and --no-recursion so they do not pile up.
1006 # Strip out --silent because we don't want to record it for future runs.
1007 # Also quote any args containing shell meta-characters.
1008 # Make two passes to allow for proper duplicate-argument suppression.
1013 ac_must_keep_next=false
1019 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1020 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1021 | -silent | --silent | --silen | --sile | --sil)
1023 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1024 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1027 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1029 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1030 if test $ac_must_keep_next = true; then
1031 ac_must_keep_next=false # Got value, back to normal.
1034 *=* | --config-cache | -C | -disable-* | --disable-* \
1035 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1036 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1037 | -with-* | --with-* | -without-* | --without-* | --x)
1038 case "$ac_configure_args0 " in
1039 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1042 -* ) ac_must_keep_next=true ;;
1045 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1046 # Get rid of the leading space.
1052 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1053 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1055 # When interrupted or exit'd, cleanup temporary files, and complete
1056 # config.log. We remove comments because anyway the quotes in there
1057 # would cause problems or look ugly.
1058 # WARNING: Be sure not to use single quotes in there, as some shells,
1059 # such as our DU 5.0 friend, will then `close' the trap.
1060 trap 'exit_status=$?
1061 # Save into config.log some information that might help in debugging.
1066 ## ---------------- ##
1067 ## Cache variables. ##
1068 ## ---------------- ##
1071 # The following way of writing the cache mishandles newlines in values,
1074 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1077 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1078 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1082 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1089 ## ----------------- ##
1090 ## Output variables. ##
1091 ## ----------------- ##
1094 for ac_var in $ac_subst_vars
1096 eval ac_val=$`echo $ac_var`
1097 echo "$ac_var='"'"'$ac_val'"'"'"
1101 if test -n "$ac_subst_files"; then
1108 for ac_var in $ac_subst_files
1110 eval ac_val=$`echo $ac_var`
1111 echo "$ac_var='"'"'$ac_val'"'"'"
1116 if test -s confdefs.h; then
1123 sed "/^$/d" confdefs.h | sort
1126 test "$ac_signal" != 0 &&
1127 echo "$as_me: caught signal $ac_signal"
1128 echo "$as_me: exit $exit_status"
1130 rm -f core *.core &&
1131 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1134 for ac_signal in 1 2 13 15; do
1135 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1139 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1140 rm -rf conftest* confdefs.h
1141 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1144 # Predefined preprocessor variables.
1146 cat >>confdefs.h <<_ACEOF
1147 #define PACKAGE_NAME "$PACKAGE_NAME"
1151 cat >>confdefs.h <<_ACEOF
1152 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1156 cat >>confdefs.h <<_ACEOF
1157 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1161 cat >>confdefs.h <<_ACEOF
1162 #define PACKAGE_STRING "$PACKAGE_STRING"
1166 cat >>confdefs.h <<_ACEOF
1167 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1171 # Let the site file select an alternate cache file if it wants to.
1172 # Prefer explicitly selected file to automatically selected ones.
1173 if test -z "$CONFIG_SITE"; then
1174 if test "x$prefix" != xNONE; then
1175 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1177 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1180 for ac_site_file in $CONFIG_SITE; do
1181 if test -r "$ac_site_file"; then
1182 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1183 echo "$as_me: loading site script $ac_site_file" >&6;}
1184 sed 's/^/| /' "$ac_site_file" >&5
1189 if test -r "$cache_file"; then
1190 # Some versions of bash will fail to source /dev/null (special
1191 # files actually), so we avoid doing that.
1192 if test -f "$cache_file"; then
1193 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1194 echo "$as_me: loading cache $cache_file" >&6;}
1196 [\\/]* | ?:[\\/]* ) . $cache_file;;
1197 *) . ./$cache_file;;
1201 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1202 echo "$as_me: creating cache $cache_file" >&6;}
1206 # Check that the precious variables saved in the cache have kept the same
1208 ac_cache_corrupted=false
1209 for ac_var in `(set) 2>&1 |
1210 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1211 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1212 eval ac_new_set=\$ac_env_${ac_var}_set
1213 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1214 eval ac_new_val="\$ac_env_${ac_var}_value"
1215 case $ac_old_set,$ac_new_set in
1217 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1218 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1219 ac_cache_corrupted=: ;;
1221 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1222 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1223 ac_cache_corrupted=: ;;
1226 if test "x$ac_old_val" != "x$ac_new_val"; then
1227 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1228 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1229 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1230 echo "$as_me: former value: $ac_old_val" >&2;}
1231 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1232 echo "$as_me: current value: $ac_new_val" >&2;}
1233 ac_cache_corrupted=:
1236 # Pass precious variables to config.status.
1237 if test "$ac_new_set" = set; then
1239 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1240 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1241 *) ac_arg=$ac_var=$ac_new_val ;;
1243 case " $ac_configure_args " in
1244 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1245 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1249 if $ac_cache_corrupted; then
1250 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1251 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1252 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1253 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1254 { (exit 1); exit 1; }; }
1258 ac_cpp='$CPP $CPPFLAGS'
1259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1290 ac_config_headers="$ac_config_headers include/config.h"
1293 for ac_dir in tools $srcdir/tools; do
1294 if test -f $ac_dir/install-sh; then
1296 ac_install_sh="$ac_aux_dir/install-sh -c"
1298 elif test -f $ac_dir/install.sh; then
1300 ac_install_sh="$ac_aux_dir/install.sh -c"
1302 elif test -f $ac_dir/shtool; then
1304 ac_install_sh="$ac_aux_dir/shtool install -c"
1308 if test -z "$ac_aux_dir"; then
1309 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&5
1310 echo "$as_me: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&2;}
1311 { (exit 1); exit 1; }; }
1313 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1314 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1315 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1319 # Check whether --enable-win16 or --disable-win16 was given.
1320 if test "${enable_win16+set}" = set; then
1321 enableval="$enable_win16"
1324 # Check whether --enable-debug or --disable-debug was given.
1325 if test "${enable_debug+set}" = set; then
1326 enableval="$enable_debug"
1329 # Check whether --enable-trace or --disable-trace was given.
1330 if test "${enable_trace+set}" = set; then
1331 enableval="$enable_trace"
1336 # Check whether --with-opengl or --without-opengl was given.
1337 if test "${with_opengl+set}" = set; then
1338 withval="$with_opengl"
1342 # Check whether --with-curses or --without-curses was given.
1343 if test "${with_curses+set}" = set; then
1344 withval="$with_curses"
1348 # Check whether --with-wine-tools or --without-wine-tools was given.
1349 if test "${with_wine_tools+set}" = set; then
1350 withval="$with_wine_tools"
1354 WIN16_FILES="\$(WIN16_FILES)"
1356 WIN16_INSTALL="\$(WIN16_INSTALL)"
1358 if test "x$enable_win16" = "xno"
1363 if test "x$enable_debug" = "xno"
1366 cat >>confdefs.h <<\_ACEOF
1367 #define NO_DEBUG_MSGS 1
1371 if test "x$enable_trace" = "xno" -o "x$enable_debug" = "xno"
1374 cat >>confdefs.h <<\_ACEOF
1375 #define NO_TRACE_MSGS 1
1381 # Make sure we can run config.sub.
1382 $ac_config_sub sun4 >/dev/null 2>&1 ||
1383 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1384 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1385 { (exit 1); exit 1; }; }
1387 echo "$as_me:$LINENO: checking build system type" >&5
1388 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1389 if test "${ac_cv_build+set}" = set; then
1390 echo $ECHO_N "(cached) $ECHO_C" >&6
1392 ac_cv_build_alias=$build_alias
1393 test -z "$ac_cv_build_alias" &&
1394 ac_cv_build_alias=`$ac_config_guess`
1395 test -z "$ac_cv_build_alias" &&
1396 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1397 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1398 { (exit 1); exit 1; }; }
1399 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1400 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1401 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1402 { (exit 1); exit 1; }; }
1405 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1406 echo "${ECHO_T}$ac_cv_build" >&6
1408 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1409 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1410 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1413 echo "$as_me:$LINENO: checking host system type" >&5
1414 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1415 if test "${ac_cv_host+set}" = set; then
1416 echo $ECHO_N "(cached) $ECHO_C" >&6
1418 ac_cv_host_alias=$host_alias
1419 test -z "$ac_cv_host_alias" &&
1420 ac_cv_host_alias=$ac_cv_build_alias
1421 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1422 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1423 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1424 { (exit 1); exit 1; }; }
1427 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1428 echo "${ECHO_T}$ac_cv_host" >&6
1430 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1431 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1432 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1435 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1436 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1437 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1438 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1439 echo $ECHO_N "(cached) $ECHO_C" >&6
1441 cat >conftest.make <<\_ACEOF
1443 @echo 'ac_maketemp="$(MAKE)"'
1445 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1446 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1447 if test -n "$ac_maketemp"; then
1448 eval ac_cv_prog_make_${ac_make}_set=yes
1450 eval ac_cv_prog_make_${ac_make}_set=no
1454 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1455 echo "$as_me:$LINENO: result: yes" >&5
1456 echo "${ECHO_T}yes" >&6
1459 echo "$as_me:$LINENO: result: no" >&5
1460 echo "${ECHO_T}no" >&6
1461 SET_MAKE="MAKE=${MAKE-make}"
1465 ac_cpp='$CPP $CPPFLAGS'
1466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1469 if test -n "$ac_tool_prefix"; then
1470 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1471 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1472 echo "$as_me:$LINENO: checking for $ac_word" >&5
1473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1474 if test "${ac_cv_prog_CC+set}" = set; then
1475 echo $ECHO_N "(cached) $ECHO_C" >&6
1477 if test -n "$CC"; then
1478 ac_cv_prog_CC="$CC" # Let the user override the test.
1480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1484 test -z "$as_dir" && as_dir=.
1485 for ac_exec_ext in '' $ac_executable_extensions; do
1486 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1487 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1497 if test -n "$CC"; then
1498 echo "$as_me:$LINENO: result: $CC" >&5
1499 echo "${ECHO_T}$CC" >&6
1501 echo "$as_me:$LINENO: result: no" >&5
1502 echo "${ECHO_T}no" >&6
1506 if test -z "$ac_cv_prog_CC"; then
1508 # Extract the first word of "gcc", so it can be a program name with args.
1509 set dummy gcc; ac_word=$2
1510 echo "$as_me:$LINENO: checking for $ac_word" >&5
1511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1512 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1513 echo $ECHO_N "(cached) $ECHO_C" >&6
1515 if test -n "$ac_ct_CC"; then
1516 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1522 test -z "$as_dir" && as_dir=.
1523 for ac_exec_ext in '' $ac_executable_extensions; do
1524 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1525 ac_cv_prog_ac_ct_CC="gcc"
1526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1534 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1535 if test -n "$ac_ct_CC"; then
1536 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1537 echo "${ECHO_T}$ac_ct_CC" >&6
1539 echo "$as_me:$LINENO: result: no" >&5
1540 echo "${ECHO_T}no" >&6
1548 if test -z "$CC"; then
1549 if test -n "$ac_tool_prefix"; then
1550 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1551 set dummy ${ac_tool_prefix}cc; ac_word=$2
1552 echo "$as_me:$LINENO: checking for $ac_word" >&5
1553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1554 if test "${ac_cv_prog_CC+set}" = set; then
1555 echo $ECHO_N "(cached) $ECHO_C" >&6
1557 if test -n "$CC"; then
1558 ac_cv_prog_CC="$CC" # Let the user override the test.
1560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1564 test -z "$as_dir" && as_dir=.
1565 for ac_exec_ext in '' $ac_executable_extensions; do
1566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1567 ac_cv_prog_CC="${ac_tool_prefix}cc"
1568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1577 if test -n "$CC"; then
1578 echo "$as_me:$LINENO: result: $CC" >&5
1579 echo "${ECHO_T}$CC" >&6
1581 echo "$as_me:$LINENO: result: no" >&5
1582 echo "${ECHO_T}no" >&6
1586 if test -z "$ac_cv_prog_CC"; then
1588 # Extract the first word of "cc", so it can be a program name with args.
1589 set dummy cc; ac_word=$2
1590 echo "$as_me:$LINENO: checking for $ac_word" >&5
1591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1592 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1593 echo $ECHO_N "(cached) $ECHO_C" >&6
1595 if test -n "$ac_ct_CC"; then
1596 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1602 test -z "$as_dir" && as_dir=.
1603 for ac_exec_ext in '' $ac_executable_extensions; do
1604 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1605 ac_cv_prog_ac_ct_CC="cc"
1606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1614 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1615 if test -n "$ac_ct_CC"; then
1616 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1617 echo "${ECHO_T}$ac_ct_CC" >&6
1619 echo "$as_me:$LINENO: result: no" >&5
1620 echo "${ECHO_T}no" >&6
1629 if test -z "$CC"; then
1630 # Extract the first word of "cc", so it can be a program name with args.
1631 set dummy cc; 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.
1641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1645 test -z "$as_dir" && as_dir=.
1646 for ac_exec_ext in '' $ac_executable_extensions; do
1647 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1648 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1649 ac_prog_rejected=yes
1653 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1659 if test $ac_prog_rejected = yes; then
1660 # We found a bogon in the path, so make sure we never use it.
1661 set dummy $ac_cv_prog_CC
1663 if test $# != 0; then
1664 # We chose a different compiler from the bogus one.
1665 # However, it has the same basename, so the bogon will be chosen
1666 # first if we set CC to just the basename; use the full file name.
1668 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1674 if test -n "$CC"; then
1675 echo "$as_me:$LINENO: result: $CC" >&5
1676 echo "${ECHO_T}$CC" >&6
1678 echo "$as_me:$LINENO: result: no" >&5
1679 echo "${ECHO_T}no" >&6
1683 if test -z "$CC"; then
1684 if test -n "$ac_tool_prefix"; then
1687 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1688 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1689 echo "$as_me:$LINENO: checking for $ac_word" >&5
1690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1691 if test "${ac_cv_prog_CC+set}" = set; then
1692 echo $ECHO_N "(cached) $ECHO_C" >&6
1694 if test -n "$CC"; then
1695 ac_cv_prog_CC="$CC" # Let the user override the test.
1697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1701 test -z "$as_dir" && as_dir=.
1702 for ac_exec_ext in '' $ac_executable_extensions; do
1703 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1704 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1714 if test -n "$CC"; then
1715 echo "$as_me:$LINENO: result: $CC" >&5
1716 echo "${ECHO_T}$CC" >&6
1718 echo "$as_me:$LINENO: result: no" >&5
1719 echo "${ECHO_T}no" >&6
1722 test -n "$CC" && break
1725 if test -z "$CC"; then
1729 # Extract the first word of "$ac_prog", so it can be a program name with args.
1730 set dummy $ac_prog; ac_word=$2
1731 echo "$as_me:$LINENO: checking for $ac_word" >&5
1732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1733 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1734 echo $ECHO_N "(cached) $ECHO_C" >&6
1736 if test -n "$ac_ct_CC"; then
1737 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1743 test -z "$as_dir" && as_dir=.
1744 for ac_exec_ext in '' $ac_executable_extensions; do
1745 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1746 ac_cv_prog_ac_ct_CC="$ac_prog"
1747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1755 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1756 if test -n "$ac_ct_CC"; then
1757 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1758 echo "${ECHO_T}$ac_ct_CC" >&6
1760 echo "$as_me:$LINENO: result: no" >&5
1761 echo "${ECHO_T}no" >&6
1764 test -n "$ac_ct_CC" && break
1773 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1774 See \`config.log' for more details." >&5
1775 echo "$as_me: error: no acceptable C compiler found in \$PATH
1776 See \`config.log' for more details." >&2;}
1777 { (exit 1); exit 1; }; }
1779 # Provide some information about the compiler.
1780 echo "$as_me:$LINENO:" \
1781 "checking for C compiler version" >&5
1782 ac_compiler=`set X $ac_compile; echo $2`
1783 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1784 (eval $ac_compiler --version </dev/null >&5) 2>&5
1786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1787 (exit $ac_status); }
1788 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1789 (eval $ac_compiler -v </dev/null >&5) 2>&5
1791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1792 (exit $ac_status); }
1793 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1794 (eval $ac_compiler -V </dev/null >&5) 2>&5
1796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1797 (exit $ac_status); }
1799 cat >conftest.$ac_ext <<_ACEOF
1800 #line $LINENO "configure"
1803 cat confdefs.h >>conftest.$ac_ext
1804 cat >>conftest.$ac_ext <<_ACEOF
1805 /* end confdefs.h. */
1815 ac_clean_files_save=$ac_clean_files
1816 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1817 # Try to create an executable without -o first, disregard a.out.
1818 # It will help us diagnose broken compilers, and finding out an intuition
1820 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1821 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1822 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1823 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1824 (eval $ac_link_default) 2>&5
1826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1827 (exit $ac_status); }; then
1828 # Find the output, starting from the most likely. This scheme is
1829 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1832 # Be careful to initialize this variable, since it used to be cached.
1833 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1835 # b.out is created by i960 compilers.
1836 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1838 test -f "$ac_file" || continue
1840 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1843 # This is the source file.
1846 # We found the default executable, but exeext='' is most
1850 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1851 # FIXME: I believe we export ac_cv_exeext for Libtool,
1852 # but it would be cool to find out if it's true. Does anybody
1853 # maintain Libtool? --akim.
1861 echo "$as_me: failed program was:" >&5
1862 sed 's/^/| /' conftest.$ac_ext >&5
1864 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1865 See \`config.log' for more details." >&5
1866 echo "$as_me: error: C compiler cannot create executables
1867 See \`config.log' for more details." >&2;}
1868 { (exit 77); exit 77; }; }
1871 ac_exeext=$ac_cv_exeext
1872 echo "$as_me:$LINENO: result: $ac_file" >&5
1873 echo "${ECHO_T}$ac_file" >&6
1875 # Check the compiler produces executables we can run. If not, either
1876 # the compiler is broken, or we cross compile.
1877 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1878 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1879 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1880 # If not cross compiling, check that we can run a simple program.
1881 if test "$cross_compiling" != yes; then
1882 if { ac_try='./$ac_file'
1883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1887 (exit $ac_status); }; }; then
1890 if test "$cross_compiling" = maybe; then
1893 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1894 If you meant to cross compile, use \`--host'.
1895 See \`config.log' for more details." >&5
1896 echo "$as_me: error: cannot run C compiled programs.
1897 If you meant to cross compile, use \`--host'.
1898 See \`config.log' for more details." >&2;}
1899 { (exit 1); exit 1; }; }
1903 echo "$as_me:$LINENO: result: yes" >&5
1904 echo "${ECHO_T}yes" >&6
1906 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1907 ac_clean_files=$ac_clean_files_save
1908 # Check the compiler produces executables we can run. If not, either
1909 # the compiler is broken, or we cross compile.
1910 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1911 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1912 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1913 echo "${ECHO_T}$cross_compiling" >&6
1915 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1916 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1918 (eval $ac_link) 2>&5
1920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1921 (exit $ac_status); }; then
1922 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1923 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1924 # work properly (i.e., refer to `conftest.exe'), while it won't with
1926 for ac_file in conftest.exe conftest conftest.*; do
1927 test -f "$ac_file" || continue
1929 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1930 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1937 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1938 See \`config.log' for more details." >&5
1939 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1940 See \`config.log' for more details." >&2;}
1941 { (exit 1); exit 1; }; }
1944 rm -f conftest$ac_cv_exeext
1945 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1946 echo "${ECHO_T}$ac_cv_exeext" >&6
1948 rm -f conftest.$ac_ext
1949 EXEEXT=$ac_cv_exeext
1951 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1952 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1953 if test "${ac_cv_objext+set}" = set; then
1954 echo $ECHO_N "(cached) $ECHO_C" >&6
1956 cat >conftest.$ac_ext <<_ACEOF
1957 #line $LINENO "configure"
1960 cat confdefs.h >>conftest.$ac_ext
1961 cat >>conftest.$ac_ext <<_ACEOF
1962 /* end confdefs.h. */
1972 rm -f conftest.o conftest.obj
1973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1974 (eval $ac_compile) 2>&5
1976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1977 (exit $ac_status); }; then
1978 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1980 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1981 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1986 echo "$as_me: failed program was:" >&5
1987 sed 's/^/| /' conftest.$ac_ext >&5
1989 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1990 See \`config.log' for more details." >&5
1991 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1992 See \`config.log' for more details." >&2;}
1993 { (exit 1); exit 1; }; }
1996 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1998 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1999 echo "${ECHO_T}$ac_cv_objext" >&6
2000 OBJEXT=$ac_cv_objext
2002 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2003 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2004 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2005 echo $ECHO_N "(cached) $ECHO_C" >&6
2007 cat >conftest.$ac_ext <<_ACEOF
2008 #line $LINENO "configure"
2011 cat confdefs.h >>conftest.$ac_ext
2012 cat >>conftest.$ac_ext <<_ACEOF
2013 /* end confdefs.h. */
2026 rm -f conftest.$ac_objext
2027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2028 (eval $ac_compile) 2>&5
2030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2031 (exit $ac_status); } &&
2032 { ac_try='test -s conftest.$ac_objext'
2033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2037 (exit $ac_status); }; }; then
2040 echo "$as_me: failed program was:" >&5
2041 sed 's/^/| /' conftest.$ac_ext >&5
2045 rm -f conftest.$ac_objext conftest.$ac_ext
2046 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2049 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2050 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2051 GCC=`test $ac_compiler_gnu = yes && echo yes`
2052 ac_test_CFLAGS=${CFLAGS+set}
2053 ac_save_CFLAGS=$CFLAGS
2055 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2056 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2057 if test "${ac_cv_prog_cc_g+set}" = set; then
2058 echo $ECHO_N "(cached) $ECHO_C" >&6
2060 cat >conftest.$ac_ext <<_ACEOF
2061 #line $LINENO "configure"
2064 cat confdefs.h >>conftest.$ac_ext
2065 cat >>conftest.$ac_ext <<_ACEOF
2066 /* end confdefs.h. */
2076 rm -f conftest.$ac_objext
2077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2078 (eval $ac_compile) 2>&5
2080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2081 (exit $ac_status); } &&
2082 { ac_try='test -s conftest.$ac_objext'
2083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2087 (exit $ac_status); }; }; then
2090 echo "$as_me: failed program was:" >&5
2091 sed 's/^/| /' conftest.$ac_ext >&5
2095 rm -f conftest.$ac_objext conftest.$ac_ext
2097 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2098 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2099 if test "$ac_test_CFLAGS" = set; then
2100 CFLAGS=$ac_save_CFLAGS
2101 elif test $ac_cv_prog_cc_g = yes; then
2102 if test "$GCC" = yes; then
2108 if test "$GCC" = yes; then
2114 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2115 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2116 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2117 echo $ECHO_N "(cached) $ECHO_C" >&6
2119 ac_cv_prog_cc_stdc=no
2121 cat >conftest.$ac_ext <<_ACEOF
2122 #line $LINENO "configure"
2125 cat confdefs.h >>conftest.$ac_ext
2126 cat >>conftest.$ac_ext <<_ACEOF
2127 /* end confdefs.h. */
2130 #include <sys/types.h>
2131 #include <sys/stat.h>
2132 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2133 struct buf { int x; };
2134 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2135 static char *e (p, i)
2141 static char *f (char * (*g) (char **, int), char **p, ...)
2146 s = g (p, va_arg (v,int));
2150 int test (int i, double x);
2151 struct s1 {int (*f) (int a);};
2152 struct s2 {int (*f) (double a);};
2153 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2159 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2164 # Don't try gcc -ansi; that turns off useful extensions and
2165 # breaks some systems' header files.
2166 # AIX -qlanglvl=ansi
2167 # Ultrix and OSF/1 -std1
2168 # HP-UX 10.20 and later -Ae
2169 # HP-UX older versions -Aa -D_HPUX_SOURCE
2170 # SVR4 -Xc -D__EXTENSIONS__
2171 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2173 CC="$ac_save_CC $ac_arg"
2174 rm -f conftest.$ac_objext
2175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2176 (eval $ac_compile) 2>&5
2178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2179 (exit $ac_status); } &&
2180 { ac_try='test -s conftest.$ac_objext'
2181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2185 (exit $ac_status); }; }; then
2186 ac_cv_prog_cc_stdc=$ac_arg
2189 echo "$as_me: failed program was:" >&5
2190 sed 's/^/| /' conftest.$ac_ext >&5
2193 rm -f conftest.$ac_objext
2195 rm -f conftest.$ac_ext conftest.$ac_objext
2200 case "x$ac_cv_prog_cc_stdc" in
2202 echo "$as_me:$LINENO: result: none needed" >&5
2203 echo "${ECHO_T}none needed" >&6 ;;
2205 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2206 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2207 CC="$CC $ac_cv_prog_cc_stdc" ;;
2210 # Some people use a C++ compiler to compile C. Since we use `exit',
2211 # in C++ we need to declare it. In case someone uses the same compiler
2212 # for both compiling C and C++ we need to have the C++ compiler decide
2213 # the declaration of exit, since it's the most demanding environment.
2214 cat >conftest.$ac_ext <<_ACEOF
2219 rm -f conftest.$ac_objext
2220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2221 (eval $ac_compile) 2>&5
2223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2224 (exit $ac_status); } &&
2225 { ac_try='test -s conftest.$ac_objext'
2226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2230 (exit $ac_status); }; }; then
2231 for ac_declaration in \
2233 'extern "C" void std::exit (int) throw (); using std::exit;' \
2234 'extern "C" void std::exit (int); using std::exit;' \
2235 'extern "C" void exit (int) throw ();' \
2236 'extern "C" void exit (int);' \
2239 cat >conftest.$ac_ext <<_ACEOF
2240 #line $LINENO "configure"
2243 cat confdefs.h >>conftest.$ac_ext
2244 cat >>conftest.$ac_ext <<_ACEOF
2245 /* end confdefs.h. */
2256 rm -f conftest.$ac_objext
2257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2258 (eval $ac_compile) 2>&5
2260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2261 (exit $ac_status); } &&
2262 { ac_try='test -s conftest.$ac_objext'
2263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2267 (exit $ac_status); }; }; then
2270 echo "$as_me: failed program was:" >&5
2271 sed 's/^/| /' conftest.$ac_ext >&5
2275 rm -f conftest.$ac_objext conftest.$ac_ext
2276 cat >conftest.$ac_ext <<_ACEOF
2277 #line $LINENO "configure"
2280 cat confdefs.h >>conftest.$ac_ext
2281 cat >>conftest.$ac_ext <<_ACEOF
2282 /* end confdefs.h. */
2292 rm -f conftest.$ac_objext
2293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2294 (eval $ac_compile) 2>&5
2296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2297 (exit $ac_status); } &&
2298 { ac_try='test -s conftest.$ac_objext'
2299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2303 (exit $ac_status); }; }; then
2306 echo "$as_me: failed program was:" >&5
2307 sed 's/^/| /' conftest.$ac_ext >&5
2310 rm -f conftest.$ac_objext conftest.$ac_ext
2313 if test -n "$ac_declaration"; then
2314 echo '#ifdef __cplusplus' >>confdefs.h
2315 echo $ac_declaration >>confdefs.h
2316 echo '#endif' >>confdefs.h
2320 echo "$as_me: failed program was:" >&5
2321 sed 's/^/| /' conftest.$ac_ext >&5
2324 rm -f conftest.$ac_objext conftest.$ac_ext
2326 ac_cpp='$CPP $CPPFLAGS'
2327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2332 ac_cpp='$CPP $CPPFLAGS'
2333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2336 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2337 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2338 # On Suns, sometimes $CPP names a directory.
2339 if test -n "$CPP" && test -d "$CPP"; then
2342 if test -z "$CPP"; then
2343 if test "${ac_cv_prog_CPP+set}" = set; then
2344 echo $ECHO_N "(cached) $ECHO_C" >&6
2346 # Double quotes because CPP needs to be expanded
2347 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2350 for ac_c_preproc_warn_flag in '' yes
2352 # Use a header file that comes with gcc, so configuring glibc
2353 # with a fresh cross-compiler works.
2354 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2355 # <limits.h> exists even on freestanding compilers.
2356 # On the NeXT, cc -E runs the code through the compiler's parser,
2357 # not just through cpp. "Syntax error" is here to catch this case.
2358 cat >conftest.$ac_ext <<_ACEOF
2359 #line $LINENO "configure"
2362 cat confdefs.h >>conftest.$ac_ext
2363 cat >>conftest.$ac_ext <<_ACEOF
2364 /* end confdefs.h. */
2366 # include <limits.h>
2368 # include <assert.h>
2372 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2373 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2375 grep -v '^ *+' conftest.er1 >conftest.err
2377 cat conftest.err >&5
2378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2379 (exit $ac_status); } >/dev/null; then
2380 if test -s conftest.err; then
2381 ac_cpp_err=$ac_c_preproc_warn_flag
2388 if test -z "$ac_cpp_err"; then
2391 echo "$as_me: failed program was:" >&5
2392 sed 's/^/| /' conftest.$ac_ext >&5
2394 # Broken: fails on valid input.
2397 rm -f conftest.err conftest.$ac_ext
2399 # OK, works on sane cases. Now check whether non-existent headers
2400 # can be detected and how.
2401 cat >conftest.$ac_ext <<_ACEOF
2402 #line $LINENO "configure"
2405 cat confdefs.h >>conftest.$ac_ext
2406 cat >>conftest.$ac_ext <<_ACEOF
2407 /* end confdefs.h. */
2408 #include <ac_nonexistent.h>
2410 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2411 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2413 grep -v '^ *+' conftest.er1 >conftest.err
2415 cat conftest.err >&5
2416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2417 (exit $ac_status); } >/dev/null; then
2418 if test -s conftest.err; then
2419 ac_cpp_err=$ac_c_preproc_warn_flag
2426 if test -z "$ac_cpp_err"; then
2427 # Broken: success on invalid input.
2430 echo "$as_me: failed program was:" >&5
2431 sed 's/^/| /' conftest.$ac_ext >&5
2433 # Passes both tests.
2437 rm -f conftest.err conftest.$ac_ext
2440 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2441 rm -f conftest.err conftest.$ac_ext
2442 if $ac_preproc_ok; then
2454 echo "$as_me:$LINENO: result: $CPP" >&5
2455 echo "${ECHO_T}$CPP" >&6
2457 for ac_c_preproc_warn_flag in '' yes
2459 # Use a header file that comes with gcc, so configuring glibc
2460 # with a fresh cross-compiler works.
2461 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2462 # <limits.h> exists even on freestanding compilers.
2463 # On the NeXT, cc -E runs the code through the compiler's parser,
2464 # not just through cpp. "Syntax error" is here to catch this case.
2465 cat >conftest.$ac_ext <<_ACEOF
2466 #line $LINENO "configure"
2469 cat confdefs.h >>conftest.$ac_ext
2470 cat >>conftest.$ac_ext <<_ACEOF
2471 /* end confdefs.h. */
2473 # include <limits.h>
2475 # include <assert.h>
2479 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2480 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2482 grep -v '^ *+' conftest.er1 >conftest.err
2484 cat conftest.err >&5
2485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2486 (exit $ac_status); } >/dev/null; then
2487 if test -s conftest.err; then
2488 ac_cpp_err=$ac_c_preproc_warn_flag
2495 if test -z "$ac_cpp_err"; then
2498 echo "$as_me: failed program was:" >&5
2499 sed 's/^/| /' conftest.$ac_ext >&5
2501 # Broken: fails on valid input.
2504 rm -f conftest.err conftest.$ac_ext
2506 # OK, works on sane cases. Now check whether non-existent headers
2507 # can be detected and how.
2508 cat >conftest.$ac_ext <<_ACEOF
2509 #line $LINENO "configure"
2512 cat confdefs.h >>conftest.$ac_ext
2513 cat >>conftest.$ac_ext <<_ACEOF
2514 /* end confdefs.h. */
2515 #include <ac_nonexistent.h>
2517 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2518 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2520 grep -v '^ *+' conftest.er1 >conftest.err
2522 cat conftest.err >&5
2523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2524 (exit $ac_status); } >/dev/null; then
2525 if test -s conftest.err; then
2526 ac_cpp_err=$ac_c_preproc_warn_flag
2533 if test -z "$ac_cpp_err"; then
2534 # Broken: success on invalid input.
2537 echo "$as_me: failed program was:" >&5
2538 sed 's/^/| /' conftest.$ac_ext >&5
2540 # Passes both tests.
2544 rm -f conftest.err conftest.$ac_ext
2547 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2548 rm -f conftest.err conftest.$ac_ext
2549 if $ac_preproc_ok; then
2552 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2553 See \`config.log' for more details." >&5
2554 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2555 See \`config.log' for more details." >&2;}
2556 { (exit 1); exit 1; }; }
2560 ac_cpp='$CPP $CPPFLAGS'
2561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2566 echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
2567 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6
2568 if test "${wine_cv_toolsdir+set}" = set; then
2569 echo $ECHO_N "(cached) $ECHO_C" >&6
2571 if test -z "$with_wine_tools"; then
2572 if test "$cross_compiling" = "yes"; then
2573 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
2574 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
2575 { (exit 1); exit 1; }; }
2577 wine_cv_toolsdir="\$(TOPOBJDIR)"
2579 elif test -d "$with_wine_tools/tools/winebuild"; then
2580 case $with_wine_tools in
2581 /*) wine_cv_toolsdir="$with_wine_tools" ;;
2582 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
2585 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
2586 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
2587 { (exit 1); exit 1; }; }
2590 echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
2591 echo "${ECHO_T}$wine_cv_toolsdir" >&6
2592 TOOLSDIR=$wine_cv_toolsdir
2597 echo "$as_me:$LINENO: checking for X" >&5
2598 echo $ECHO_N "checking for X... $ECHO_C" >&6
2601 # Check whether --with-x or --without-x was given.
2602 if test "${with_x+set}" = set; then
2606 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
2607 if test "x$with_x" = xno; then
2608 # The user explicitly disabled X.
2611 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
2612 # Both variables are already set.
2615 if test "${ac_cv_have_x+set}" = set; then
2616 echo $ECHO_N "(cached) $ECHO_C" >&6
2618 # One or both of the vars are not set, and there is no cached value.
2619 ac_x_includes=no ac_x_libraries=no
2621 if mkdir conftest.dir; then
2623 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
2624 cat >Imakefile <<'_ACEOF'
2626 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
2628 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
2629 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2630 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
2631 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
2632 for ac_extension in a so sl; do
2633 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
2634 test -f $ac_im_libdir/libX11.$ac_extension; then
2635 ac_im_usrlibdir=$ac_im_libdir; break
2638 # Screen out bogus values from the imake configuration. They are
2639 # bogus both because they are the default anyway, and because
2640 # using them would break gcc on systems where it needs fixed includes.
2641 case $ac_im_incroot in
2643 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
2645 case $ac_im_usrlibdir in
2647 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
2654 # Standard set of common directories for X headers.
2655 # Check X11 before X11Rn because it is often a symlink to the current release.
2667 /usr/local/X11/include
2668 /usr/local/X11R6/include
2669 /usr/local/X11R5/include
2670 /usr/local/X11R4/include
2672 /usr/local/include/X11
2673 /usr/local/include/X11R6
2674 /usr/local/include/X11R5
2675 /usr/local/include/X11R4
2679 /usr/XFree86/include/X11
2683 /usr/unsupported/include
2685 /usr/local/x11r5/include
2686 /usr/lpp/Xamples/include
2688 /usr/openwin/include
2689 /usr/openwin/share/include'
2691 if test "$ac_x_includes" = no; then
2692 # Guess where to find include files, by looking for Intrinsic.h.
2693 # First, try using that file with no special directory specified.
2694 cat >conftest.$ac_ext <<_ACEOF
2695 #line $LINENO "configure"
2698 cat confdefs.h >>conftest.$ac_ext
2699 cat >>conftest.$ac_ext <<_ACEOF
2700 /* end confdefs.h. */
2701 #include <X11/Intrinsic.h>
2703 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2704 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2706 grep -v '^ *+' conftest.er1 >conftest.err
2708 cat conftest.err >&5
2709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2710 (exit $ac_status); } >/dev/null; then
2711 if test -s conftest.err; then
2712 ac_cpp_err=$ac_c_preproc_warn_flag
2719 if test -z "$ac_cpp_err"; then
2720 # We can compile using X headers with no special include directory.
2723 echo "$as_me: failed program was:" >&5
2724 sed 's/^/| /' conftest.$ac_ext >&5
2726 for ac_dir in $ac_x_header_dirs; do
2727 if test -r "$ac_dir/X11/Intrinsic.h"; then
2728 ac_x_includes=$ac_dir
2733 rm -f conftest.err conftest.$ac_ext
2734 fi # $ac_x_includes = no
2736 if test "$ac_x_libraries" = no; then
2737 # Check for the libraries.
2738 # See if we find them without any special options.
2739 # Don't add to $LIBS permanently.
2742 cat >conftest.$ac_ext <<_ACEOF
2743 #line $LINENO "configure"
2746 cat confdefs.h >>conftest.$ac_ext
2747 cat >>conftest.$ac_ext <<_ACEOF
2748 /* end confdefs.h. */
2749 #include <X11/Intrinsic.h>
2758 rm -f conftest.$ac_objext conftest$ac_exeext
2759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2760 (eval $ac_link) 2>&5
2762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2763 (exit $ac_status); } &&
2764 { ac_try='test -s conftest$ac_exeext'
2765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2769 (exit $ac_status); }; }; then
2771 # We can link X programs with no special library path.
2774 echo "$as_me: failed program was:" >&5
2775 sed 's/^/| /' conftest.$ac_ext >&5
2778 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
2780 # Don't even attempt the hair of trying to link an X program!
2781 for ac_extension in a so sl; do
2782 if test -r $ac_dir/libXt.$ac_extension; then
2783 ac_x_libraries=$ac_dir
2789 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2790 fi # $ac_x_libraries = no
2792 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
2793 # Didn't find X anywhere. Cache the known absence of X.
2794 ac_cv_have_x="have_x=no"
2796 # Record where we found X for the cache.
2797 ac_cv_have_x="have_x=yes \
2798 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
2803 eval "$ac_cv_have_x"
2806 if test "$have_x" != yes; then
2807 echo "$as_me:$LINENO: result: $have_x" >&5
2808 echo "${ECHO_T}$have_x" >&6
2811 # If each of the values was on the command line, it overrides each guess.
2812 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
2813 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
2814 # Update the cache value to reflect the command line values.
2815 ac_cv_have_x="have_x=yes \
2816 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
2817 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
2818 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
2821 if test "$no_x" = yes; then
2822 # Not all programs may use this symbol, but it does not hurt to define it.
2824 cat >>confdefs.h <<\_ACEOF
2825 #define X_DISPLAY_MISSING 1
2828 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
2830 if test -n "$x_includes"; then
2831 X_CFLAGS="$X_CFLAGS -I$x_includes"
2834 # It would also be nice to do this for all -L options, not just this one.
2835 if test -n "$x_libraries"; then
2836 X_LIBS="$X_LIBS -L$x_libraries"
2837 # For Solaris; some versions of Sun CC require a space after -R and
2838 # others require no space. Words are not sufficient . . . .
2839 case `(uname -sr) 2>/dev/null` in
2841 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
2842 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
2843 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
2844 cat >conftest.$ac_ext <<_ACEOF
2845 #line $LINENO "configure"
2848 cat confdefs.h >>conftest.$ac_ext
2849 cat >>conftest.$ac_ext <<_ACEOF
2850 /* end confdefs.h. */
2860 rm -f conftest.$ac_objext conftest$ac_exeext
2861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2862 (eval $ac_link) 2>&5
2864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2865 (exit $ac_status); } &&
2866 { ac_try='test -s conftest$ac_exeext'
2867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2871 (exit $ac_status); }; }; then
2874 echo "$as_me: failed program was:" >&5
2875 sed 's/^/| /' conftest.$ac_ext >&5
2879 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2880 if test $ac_R_nospace = yes; then
2881 echo "$as_me:$LINENO: result: no" >&5
2882 echo "${ECHO_T}no" >&6
2883 X_LIBS="$X_LIBS -R$x_libraries"
2885 LIBS="$ac_xsave_LIBS -R $x_libraries"
2886 cat >conftest.$ac_ext <<_ACEOF
2887 #line $LINENO "configure"
2890 cat confdefs.h >>conftest.$ac_ext
2891 cat >>conftest.$ac_ext <<_ACEOF
2892 /* end confdefs.h. */
2902 rm -f conftest.$ac_objext conftest$ac_exeext
2903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2904 (eval $ac_link) 2>&5
2906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2907 (exit $ac_status); } &&
2908 { ac_try='test -s conftest$ac_exeext'
2909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2913 (exit $ac_status); }; }; then
2916 echo "$as_me: failed program was:" >&5
2917 sed 's/^/| /' conftest.$ac_ext >&5
2921 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2922 if test $ac_R_space = yes; then
2923 echo "$as_me:$LINENO: result: yes" >&5
2924 echo "${ECHO_T}yes" >&6
2925 X_LIBS="$X_LIBS -R $x_libraries"
2927 echo "$as_me:$LINENO: result: neither works" >&5
2928 echo "${ECHO_T}neither works" >&6
2935 # Check for system-dependent libraries X programs must link with.
2936 # Do this before checking for the system-independent R6 libraries
2937 # (-lICE), since we may need -lsocket or whatever for X linking.
2939 if test "$ISC" = yes; then
2940 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
2942 # Martyn Johnson says this is needed for Ultrix, if the X
2943 # libraries were built with DECnet support. And Karl Berry says
2944 # the Alpha needs dnet_stub (dnet does not exist).
2945 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
2946 cat >conftest.$ac_ext <<_ACEOF
2947 #line $LINENO "configure"
2950 cat confdefs.h >>conftest.$ac_ext
2951 cat >>conftest.$ac_ext <<_ACEOF
2952 /* end confdefs.h. */
2954 /* Override any gcc2 internal prototype to avoid an error. */
2958 /* We use char because int might match the return type of a gcc2
2959 builtin and then its argument prototype would still apply. */
2960 char XOpenDisplay ();
2969 rm -f conftest.$ac_objext conftest$ac_exeext
2970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2971 (eval $ac_link) 2>&5
2973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2974 (exit $ac_status); } &&
2975 { ac_try='test -s conftest$ac_exeext'
2976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2980 (exit $ac_status); }; }; then
2983 echo "$as_me: failed program was:" >&5
2984 sed 's/^/| /' conftest.$ac_ext >&5
2986 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
2987 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
2988 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
2989 echo $ECHO_N "(cached) $ECHO_C" >&6
2991 ac_check_lib_save_LIBS=$LIBS
2993 cat >conftest.$ac_ext <<_ACEOF
2994 #line $LINENO "configure"
2997 cat confdefs.h >>conftest.$ac_ext
2998 cat >>conftest.$ac_ext <<_ACEOF
2999 /* end confdefs.h. */
3001 /* Override any gcc2 internal prototype to avoid an error. */
3005 /* We use char because int might match the return type of a gcc2
3006 builtin and then its argument prototype would still apply. */
3016 rm -f conftest.$ac_objext conftest$ac_exeext
3017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3018 (eval $ac_link) 2>&5
3020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3021 (exit $ac_status); } &&
3022 { ac_try='test -s conftest$ac_exeext'
3023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3027 (exit $ac_status); }; }; then
3028 ac_cv_lib_dnet_dnet_ntoa=yes
3030 echo "$as_me: failed program was:" >&5
3031 sed 's/^/| /' conftest.$ac_ext >&5
3033 ac_cv_lib_dnet_dnet_ntoa=no
3035 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3036 LIBS=$ac_check_lib_save_LIBS
3038 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
3039 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
3040 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
3041 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
3044 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
3045 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
3046 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
3047 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
3048 echo $ECHO_N "(cached) $ECHO_C" >&6
3050 ac_check_lib_save_LIBS=$LIBS
3051 LIBS="-ldnet_stub $LIBS"
3052 cat >conftest.$ac_ext <<_ACEOF
3053 #line $LINENO "configure"
3056 cat confdefs.h >>conftest.$ac_ext
3057 cat >>conftest.$ac_ext <<_ACEOF
3058 /* end confdefs.h. */
3060 /* Override any gcc2 internal prototype to avoid an error. */
3064 /* We use char because int might match the return type of a gcc2
3065 builtin and then its argument prototype would still apply. */
3075 rm -f conftest.$ac_objext conftest$ac_exeext
3076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3077 (eval $ac_link) 2>&5
3079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3080 (exit $ac_status); } &&
3081 { ac_try='test -s conftest$ac_exeext'
3082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3086 (exit $ac_status); }; }; then
3087 ac_cv_lib_dnet_stub_dnet_ntoa=yes
3089 echo "$as_me: failed program was:" >&5
3090 sed 's/^/| /' conftest.$ac_ext >&5
3092 ac_cv_lib_dnet_stub_dnet_ntoa=no
3094 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3095 LIBS=$ac_check_lib_save_LIBS
3097 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
3098 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
3099 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
3100 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
3105 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3106 LIBS="$ac_xsave_LIBS"
3108 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
3109 # to get the SysV transport functions.
3110 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
3112 # The nsl library prevents programs from opening the X display
3113 # on Irix 5.2, according to T.E. Dickey.
3114 # The functions gethostbyname, getservbyname, and inet_addr are
3115 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
3116 echo "$as_me:$LINENO: checking for gethostbyname" >&5
3117 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
3118 if test "${ac_cv_func_gethostbyname+set}" = set; then
3119 echo $ECHO_N "(cached) $ECHO_C" >&6
3121 cat >conftest.$ac_ext <<_ACEOF
3122 #line $LINENO "configure"
3125 cat confdefs.h >>conftest.$ac_ext
3126 cat >>conftest.$ac_ext <<_ACEOF
3127 /* end confdefs.h. */
3128 /* System header to define __stub macros and hopefully few prototypes,
3129 which can conflict with char gethostbyname (); below.
3130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3131 <limits.h> exists even on freestanding compilers. */
3133 # include <limits.h>
3135 # include <assert.h>
3137 /* Override any gcc2 internal prototype to avoid an error. */
3142 /* We use char because int might match the return type of a gcc2
3143 builtin and then its argument prototype would still apply. */
3144 char gethostbyname ();
3145 /* The GNU C library defines this for functions which it implements
3146 to always fail with ENOSYS. Some functions are actually named
3147 something starting with __ and the normal name is an alias. */
3148 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3151 char (*f) () = gethostbyname;
3160 return f != gethostbyname;
3165 rm -f conftest.$ac_objext conftest$ac_exeext
3166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3167 (eval $ac_link) 2>&5
3169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170 (exit $ac_status); } &&
3171 { ac_try='test -s conftest$ac_exeext'
3172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176 (exit $ac_status); }; }; then
3177 ac_cv_func_gethostbyname=yes
3179 echo "$as_me: failed program was:" >&5
3180 sed 's/^/| /' conftest.$ac_ext >&5
3182 ac_cv_func_gethostbyname=no
3184 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3186 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3187 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3189 if test $ac_cv_func_gethostbyname = no; then
3190 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3191 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3192 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3193 echo $ECHO_N "(cached) $ECHO_C" >&6
3195 ac_check_lib_save_LIBS=$LIBS
3197 cat >conftest.$ac_ext <<_ACEOF
3198 #line $LINENO "configure"
3201 cat confdefs.h >>conftest.$ac_ext
3202 cat >>conftest.$ac_ext <<_ACEOF
3203 /* end confdefs.h. */
3205 /* Override any gcc2 internal prototype to avoid an error. */
3209 /* We use char because int might match the return type of a gcc2
3210 builtin and then its argument prototype would still apply. */
3211 char gethostbyname ();
3220 rm -f conftest.$ac_objext conftest$ac_exeext
3221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3222 (eval $ac_link) 2>&5
3224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3225 (exit $ac_status); } &&
3226 { ac_try='test -s conftest$ac_exeext'
3227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3231 (exit $ac_status); }; }; then
3232 ac_cv_lib_nsl_gethostbyname=yes
3234 echo "$as_me: failed program was:" >&5
3235 sed 's/^/| /' conftest.$ac_ext >&5
3237 ac_cv_lib_nsl_gethostbyname=no
3239 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3240 LIBS=$ac_check_lib_save_LIBS
3242 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3243 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3244 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3245 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
3248 if test $ac_cv_lib_nsl_gethostbyname = no; then
3249 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3250 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3251 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3252 echo $ECHO_N "(cached) $ECHO_C" >&6
3254 ac_check_lib_save_LIBS=$LIBS
3256 cat >conftest.$ac_ext <<_ACEOF
3257 #line $LINENO "configure"
3260 cat confdefs.h >>conftest.$ac_ext
3261 cat >>conftest.$ac_ext <<_ACEOF
3262 /* end confdefs.h. */
3264 /* Override any gcc2 internal prototype to avoid an error. */
3268 /* We use char because int might match the return type of a gcc2
3269 builtin and then its argument prototype would still apply. */
3270 char gethostbyname ();
3279 rm -f conftest.$ac_objext conftest$ac_exeext
3280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3281 (eval $ac_link) 2>&5
3283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3284 (exit $ac_status); } &&
3285 { ac_try='test -s conftest$ac_exeext'
3286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3290 (exit $ac_status); }; }; then
3291 ac_cv_lib_bsd_gethostbyname=yes
3293 echo "$as_me: failed program was:" >&5
3294 sed 's/^/| /' conftest.$ac_ext >&5
3296 ac_cv_lib_bsd_gethostbyname=no
3298 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3299 LIBS=$ac_check_lib_save_LIBS
3301 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3302 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3303 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3304 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
3310 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3311 # socket/setsockopt and other routines are undefined under SCO ODT
3312 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3313 # on later versions), says Simon Leinen: it contains gethostby*
3314 # variants that don't use the name server (or something). -lsocket
3315 # must be given before -lnsl if both are needed. We assume that
3316 # if connect needs -lnsl, so does gethostbyname.
3317 echo "$as_me:$LINENO: checking for connect" >&5
3318 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3319 if test "${ac_cv_func_connect+set}" = set; then
3320 echo $ECHO_N "(cached) $ECHO_C" >&6
3322 cat >conftest.$ac_ext <<_ACEOF
3323 #line $LINENO "configure"
3326 cat confdefs.h >>conftest.$ac_ext
3327 cat >>conftest.$ac_ext <<_ACEOF
3328 /* end confdefs.h. */
3329 /* System header to define __stub macros and hopefully few prototypes,
3330 which can conflict with char connect (); below.
3331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3332 <limits.h> exists even on freestanding compilers. */
3334 # include <limits.h>
3336 # include <assert.h>
3338 /* Override any gcc2 internal prototype to avoid an error. */
3343 /* We use char because int might match the return type of a gcc2
3344 builtin and then its argument prototype would still apply. */
3346 /* The GNU C library defines this for functions which it implements
3347 to always fail with ENOSYS. Some functions are actually named
3348 something starting with __ and the normal name is an alias. */
3349 #if defined (__stub_connect) || defined (__stub___connect)
3352 char (*f) () = connect;
3361 return f != connect;
3366 rm -f conftest.$ac_objext conftest$ac_exeext
3367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3368 (eval $ac_link) 2>&5
3370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3371 (exit $ac_status); } &&
3372 { ac_try='test -s conftest$ac_exeext'
3373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3377 (exit $ac_status); }; }; then
3378 ac_cv_func_connect=yes
3380 echo "$as_me: failed program was:" >&5
3381 sed 's/^/| /' conftest.$ac_ext >&5
3383 ac_cv_func_connect=no
3385 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3387 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
3388 echo "${ECHO_T}$ac_cv_func_connect" >&6
3390 if test $ac_cv_func_connect = no; then
3391 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
3392 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
3393 if test "${ac_cv_lib_socket_connect+set}" = set; then
3394 echo $ECHO_N "(cached) $ECHO_C" >&6
3396 ac_check_lib_save_LIBS=$LIBS
3397 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
3398 cat >conftest.$ac_ext <<_ACEOF
3399 #line $LINENO "configure"
3402 cat confdefs.h >>conftest.$ac_ext
3403 cat >>conftest.$ac_ext <<_ACEOF
3404 /* end confdefs.h. */
3406 /* Override any gcc2 internal prototype to avoid an error. */
3410 /* We use char because int might match the return type of a gcc2
3411 builtin and then its argument prototype would still apply. */
3421 rm -f conftest.$ac_objext conftest$ac_exeext
3422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3423 (eval $ac_link) 2>&5
3425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3426 (exit $ac_status); } &&
3427 { ac_try='test -s conftest$ac_exeext'
3428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); }; }; then
3433 ac_cv_lib_socket_connect=yes
3435 echo "$as_me: failed program was:" >&5
3436 sed 's/^/| /' conftest.$ac_ext >&5
3438 ac_cv_lib_socket_connect=no
3440 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3441 LIBS=$ac_check_lib_save_LIBS
3443 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
3444 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
3445 if test $ac_cv_lib_socket_connect = yes; then
3446 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
3451 # Guillermo Gomez says -lposix is necessary on A/UX.
3452 echo "$as_me:$LINENO: checking for remove" >&5
3453 echo $ECHO_N "checking for remove... $ECHO_C" >&6
3454 if test "${ac_cv_func_remove+set}" = set; then
3455 echo $ECHO_N "(cached) $ECHO_C" >&6
3457 cat >conftest.$ac_ext <<_ACEOF
3458 #line $LINENO "configure"
3461 cat confdefs.h >>conftest.$ac_ext
3462 cat >>conftest.$ac_ext <<_ACEOF
3463 /* end confdefs.h. */
3464 /* System header to define __stub macros and hopefully few prototypes,
3465 which can conflict with char remove (); below.
3466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3467 <limits.h> exists even on freestanding compilers. */
3469 # include <limits.h>
3471 # include <assert.h>
3473 /* Override any gcc2 internal prototype to avoid an error. */
3478 /* We use char because int might match the return type of a gcc2
3479 builtin and then its argument prototype would still apply. */
3481 /* The GNU C library defines this for functions which it implements
3482 to always fail with ENOSYS. Some functions are actually named
3483 something starting with __ and the normal name is an alias. */
3484 #if defined (__stub_remove) || defined (__stub___remove)
3487 char (*f) () = remove;
3501 rm -f conftest.$ac_objext conftest$ac_exeext
3502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3503 (eval $ac_link) 2>&5
3505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3506 (exit $ac_status); } &&
3507 { ac_try='test -s conftest$ac_exeext'
3508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3512 (exit $ac_status); }; }; then
3513 ac_cv_func_remove=yes
3515 echo "$as_me: failed program was:" >&5
3516 sed 's/^/| /' conftest.$ac_ext >&5
3518 ac_cv_func_remove=no
3520 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3522 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
3523 echo "${ECHO_T}$ac_cv_func_remove" >&6
3525 if test $ac_cv_func_remove = no; then
3526 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
3527 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
3528 if test "${ac_cv_lib_posix_remove+set}" = set; then
3529 echo $ECHO_N "(cached) $ECHO_C" >&6
3531 ac_check_lib_save_LIBS=$LIBS
3532 LIBS="-lposix $LIBS"
3533 cat >conftest.$ac_ext <<_ACEOF
3534 #line $LINENO "configure"
3537 cat confdefs.h >>conftest.$ac_ext
3538 cat >>conftest.$ac_ext <<_ACEOF
3539 /* end confdefs.h. */
3541 /* Override any gcc2 internal prototype to avoid an error. */
3545 /* We use char because int might match the return type of a gcc2
3546 builtin and then its argument prototype would still apply. */
3556 rm -f conftest.$ac_objext conftest$ac_exeext
3557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3558 (eval $ac_link) 2>&5
3560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3561 (exit $ac_status); } &&
3562 { ac_try='test -s conftest$ac_exeext'
3563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3567 (exit $ac_status); }; }; then
3568 ac_cv_lib_posix_remove=yes
3570 echo "$as_me: failed program was:" >&5
3571 sed 's/^/| /' conftest.$ac_ext >&5
3573 ac_cv_lib_posix_remove=no
3575 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3576 LIBS=$ac_check_lib_save_LIBS
3578 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
3579 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
3580 if test $ac_cv_lib_posix_remove = yes; then
3581 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
3586 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
3587 echo "$as_me:$LINENO: checking for shmat" >&5
3588 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
3589 if test "${ac_cv_func_shmat+set}" = set; then
3590 echo $ECHO_N "(cached) $ECHO_C" >&6
3592 cat >conftest.$ac_ext <<_ACEOF
3593 #line $LINENO "configure"
3596 cat confdefs.h >>conftest.$ac_ext
3597 cat >>conftest.$ac_ext <<_ACEOF
3598 /* end confdefs.h. */
3599 /* System header to define __stub macros and hopefully few prototypes,
3600 which can conflict with char shmat (); below.
3601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3602 <limits.h> exists even on freestanding compilers. */
3604 # include <limits.h>
3606 # include <assert.h>
3608 /* Override any gcc2 internal prototype to avoid an error. */
3613 /* We use char because int might match the return type of a gcc2
3614 builtin and then its argument prototype would still apply. */
3616 /* The GNU C library defines this for functions which it implements
3617 to always fail with ENOSYS. Some functions are actually named
3618 something starting with __ and the normal name is an alias. */
3619 #if defined (__stub_shmat) || defined (__stub___shmat)
3622 char (*f) () = shmat;
3636 rm -f conftest.$ac_objext conftest$ac_exeext
3637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3638 (eval $ac_link) 2>&5
3640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3641 (exit $ac_status); } &&
3642 { ac_try='test -s conftest$ac_exeext'
3643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3647 (exit $ac_status); }; }; then
3648 ac_cv_func_shmat=yes
3650 echo "$as_me: failed program was:" >&5
3651 sed 's/^/| /' conftest.$ac_ext >&5
3655 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3657 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
3658 echo "${ECHO_T}$ac_cv_func_shmat" >&6
3660 if test $ac_cv_func_shmat = no; then
3661 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
3662 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
3663 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
3664 echo $ECHO_N "(cached) $ECHO_C" >&6
3666 ac_check_lib_save_LIBS=$LIBS
3668 cat >conftest.$ac_ext <<_ACEOF
3669 #line $LINENO "configure"
3672 cat confdefs.h >>conftest.$ac_ext
3673 cat >>conftest.$ac_ext <<_ACEOF
3674 /* end confdefs.h. */
3676 /* Override any gcc2 internal prototype to avoid an error. */
3680 /* We use char because int might match the return type of a gcc2
3681 builtin and then its argument prototype would still apply. */
3691 rm -f conftest.$ac_objext conftest$ac_exeext
3692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3693 (eval $ac_link) 2>&5
3695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3696 (exit $ac_status); } &&
3697 { ac_try='test -s conftest$ac_exeext'
3698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3702 (exit $ac_status); }; }; then
3703 ac_cv_lib_ipc_shmat=yes
3705 echo "$as_me: failed program was:" >&5
3706 sed 's/^/| /' conftest.$ac_ext >&5
3708 ac_cv_lib_ipc_shmat=no
3710 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3711 LIBS=$ac_check_lib_save_LIBS
3713 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
3714 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
3715 if test $ac_cv_lib_ipc_shmat = yes; then
3716 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
3722 # Check for libraries that X11R6 Xt/Xaw programs need.
3723 ac_save_LDFLAGS=$LDFLAGS
3724 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
3725 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
3726 # check for ICE first), but we must link in the order -lSM -lICE or
3727 # we get undefined symbols. So assume we have SM if we have ICE.
3728 # These have to be linked with before -lX11, unlike the other
3729 # libraries we check for below, so use a different variable.
3730 # John Interrante, Karl Berry
3731 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
3732 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
3733 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
3734 echo $ECHO_N "(cached) $ECHO_C" >&6
3736 ac_check_lib_save_LIBS=$LIBS
3737 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
3738 cat >conftest.$ac_ext <<_ACEOF
3739 #line $LINENO "configure"
3742 cat confdefs.h >>conftest.$ac_ext
3743 cat >>conftest.$ac_ext <<_ACEOF
3744 /* end confdefs.h. */
3746 /* Override any gcc2 internal prototype to avoid an error. */
3750 /* We use char because int might match the return type of a gcc2
3751 builtin and then its argument prototype would still apply. */
3752 char IceConnectionNumber ();
3756 IceConnectionNumber ();
3761 rm -f conftest.$ac_objext conftest$ac_exeext
3762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3763 (eval $ac_link) 2>&5
3765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3766 (exit $ac_status); } &&
3767 { ac_try='test -s conftest$ac_exeext'
3768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3772 (exit $ac_status); }; }; then
3773 ac_cv_lib_ICE_IceConnectionNumber=yes
3775 echo "$as_me: failed program was:" >&5
3776 sed 's/^/| /' conftest.$ac_ext >&5
3778 ac_cv_lib_ICE_IceConnectionNumber=no
3780 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3781 LIBS=$ac_check_lib_save_LIBS
3783 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
3784 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
3785 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
3786 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
3789 LDFLAGS=$ac_save_LDFLAGS
3793 for ac_prog in 'bison -y' byacc
3795 # Extract the first word of "$ac_prog", so it can be a program name with args.
3796 set dummy $ac_prog; ac_word=$2
3797 echo "$as_me:$LINENO: checking for $ac_word" >&5
3798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3799 if test "${ac_cv_prog_YACC+set}" = set; then
3800 echo $ECHO_N "(cached) $ECHO_C" >&6
3802 if test -n "$YACC"; then
3803 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3809 test -z "$as_dir" && as_dir=.
3810 for ac_exec_ext in '' $ac_executable_extensions; do
3811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3812 ac_cv_prog_YACC="$ac_prog"
3813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3821 YACC=$ac_cv_prog_YACC
3822 if test -n "$YACC"; then
3823 echo "$as_me:$LINENO: result: $YACC" >&5
3824 echo "${ECHO_T}$YACC" >&6
3826 echo "$as_me:$LINENO: result: no" >&5
3827 echo "${ECHO_T}no" >&6
3830 test -n "$YACC" && break
3832 test -n "$YACC" || YACC="yacc"
3834 for ac_prog in flex lex
3836 # Extract the first word of "$ac_prog", so it can be a program name with args.
3837 set dummy $ac_prog; ac_word=$2
3838 echo "$as_me:$LINENO: checking for $ac_word" >&5
3839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3840 if test "${ac_cv_prog_LEX+set}" = set; then
3841 echo $ECHO_N "(cached) $ECHO_C" >&6
3843 if test -n "$LEX"; then
3844 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3850 test -z "$as_dir" && as_dir=.
3851 for ac_exec_ext in '' $ac_executable_extensions; do
3852 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3853 ac_cv_prog_LEX="$ac_prog"
3854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3863 if test -n "$LEX"; then
3864 echo "$as_me:$LINENO: result: $LEX" >&5
3865 echo "${ECHO_T}$LEX" >&6
3867 echo "$as_me:$LINENO: result: no" >&5
3868 echo "${ECHO_T}no" >&6
3871 test -n "$LEX" && break
3873 test -n "$LEX" || LEX=":"
3875 if test -z "$LEXLIB"
3877 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3878 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3879 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3880 echo $ECHO_N "(cached) $ECHO_C" >&6
3882 ac_check_lib_save_LIBS=$LIBS
3884 cat >conftest.$ac_ext <<_ACEOF
3885 #line $LINENO "configure"
3888 cat confdefs.h >>conftest.$ac_ext
3889 cat >>conftest.$ac_ext <<_ACEOF
3890 /* end confdefs.h. */
3892 /* Override any gcc2 internal prototype to avoid an error. */
3896 /* We use char because int might match the return type of a gcc2
3897 builtin and then its argument prototype would still apply. */
3907 rm -f conftest.$ac_objext conftest$ac_exeext
3908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3909 (eval $ac_link) 2>&5
3911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3912 (exit $ac_status); } &&
3913 { ac_try='test -s conftest$ac_exeext'
3914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3918 (exit $ac_status); }; }; then
3919 ac_cv_lib_fl_yywrap=yes
3921 echo "$as_me: failed program was:" >&5
3922 sed 's/^/| /' conftest.$ac_ext >&5
3924 ac_cv_lib_fl_yywrap=no
3926 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3927 LIBS=$ac_check_lib_save_LIBS
3929 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3930 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3931 if test $ac_cv_lib_fl_yywrap = yes; then
3934 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3935 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3936 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3937 echo $ECHO_N "(cached) $ECHO_C" >&6
3939 ac_check_lib_save_LIBS=$LIBS
3941 cat >conftest.$ac_ext <<_ACEOF
3942 #line $LINENO "configure"
3945 cat confdefs.h >>conftest.$ac_ext
3946 cat >>conftest.$ac_ext <<_ACEOF
3947 /* end confdefs.h. */
3949 /* Override any gcc2 internal prototype to avoid an error. */
3953 /* We use char because int might match the return type of a gcc2
3954 builtin and then its argument prototype would still apply. */
3964 rm -f conftest.$ac_objext conftest$ac_exeext
3965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3966 (eval $ac_link) 2>&5
3968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3969 (exit $ac_status); } &&
3970 { ac_try='test -s conftest$ac_exeext'
3971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3975 (exit $ac_status); }; }; then
3976 ac_cv_lib_l_yywrap=yes
3978 echo "$as_me: failed program was:" >&5
3979 sed 's/^/| /' conftest.$ac_ext >&5
3981 ac_cv_lib_l_yywrap=no
3983 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3984 LIBS=$ac_check_lib_save_LIBS
3986 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3987 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3988 if test $ac_cv_lib_l_yywrap = yes; then
3996 if test "x$LEX" != "x:"; then
3997 echo "$as_me:$LINENO: checking lex output file root" >&5
3998 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3999 if test "${ac_cv_prog_lex_root+set}" = set; then
4000 echo $ECHO_N "(cached) $ECHO_C" >&6
4002 # The minimal lex program is just a single line: %%. But some broken lexes
4003 # (Solaris, I think it was) want two %% lines, so accommodate them.
4004 cat >conftest.l <<_ACEOF
4008 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4009 (eval $LEX conftest.l) 2>&5
4011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4012 (exit $ac_status); }
4013 if test -f lex.yy.c; then
4014 ac_cv_prog_lex_root=lex.yy
4015 elif test -f lexyy.c; then
4016 ac_cv_prog_lex_root=lexyy
4018 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4019 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4020 { (exit 1); exit 1; }; }
4023 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4024 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4026 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4028 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4029 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4030 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4031 echo $ECHO_N "(cached) $ECHO_C" >&6
4033 # POSIX says lex can declare yytext either as a pointer or an array; the
4034 # default is implementation-dependent. Figure out which it is, since
4035 # not all implementations provide the %pointer and %array declarations.
4036 ac_cv_prog_lex_yytext_pointer=no
4037 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4039 LIBS="$LIBS $LEXLIB"
4040 cat >conftest.$ac_ext <<_ACEOF
4041 `cat $LEX_OUTPUT_ROOT.c`
4043 rm -f conftest.$ac_objext conftest$ac_exeext
4044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4045 (eval $ac_link) 2>&5
4047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4048 (exit $ac_status); } &&
4049 { ac_try='test -s conftest$ac_exeext'
4050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4054 (exit $ac_status); }; }; then
4055 ac_cv_prog_lex_yytext_pointer=yes
4057 echo "$as_me: failed program was:" >&5
4058 sed 's/^/| /' conftest.$ac_ext >&5
4061 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4063 rm -f "${LEX_OUTPUT_ROOT}.c"
4066 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4067 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4068 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4070 cat >>confdefs.h <<\_ACEOF
4071 #define YYTEXT_POINTER 1
4078 for ac_prog in $YACC bison yacc
4080 # Extract the first word of "$ac_prog", so it can be a program name with args.
4081 set dummy $ac_prog; ac_word=$2
4082 echo "$as_me:$LINENO: checking for $ac_word" >&5
4083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4084 if test "${ac_cv_prog_XYACC+set}" = set; then
4085 echo $ECHO_N "(cached) $ECHO_C" >&6
4087 if test -n "$XYACC"; then
4088 ac_cv_prog_XYACC="$XYACC" # Let the user override the test.
4090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4094 test -z "$as_dir" && as_dir=.
4095 for ac_exec_ext in '' $ac_executable_extensions; do
4096 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4097 ac_cv_prog_XYACC="$ac_prog"
4098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4106 XYACC=$ac_cv_prog_XYACC
4107 if test -n "$XYACC"; then
4108 echo "$as_me:$LINENO: result: $XYACC" >&5
4109 echo "${ECHO_T}$XYACC" >&6
4111 echo "$as_me:$LINENO: result: no" >&5
4112 echo "${ECHO_T}no" >&6
4115 test -n "$XYACC" && break
4117 test -n "$XYACC" || XYACC="none"
4119 if test "$XYACC" = "none"
4121 { { echo "$as_me:$LINENO: error: no suitable bison/yacc found. Please install the 'bison' package." >&5
4122 echo "$as_me: error: no suitable bison/yacc found. Please install the 'bison' package." >&2;}
4123 { (exit 1); exit 1; }; }
4125 for ac_prog in $LEX flex lex
4127 # Extract the first word of "$ac_prog", so it can be a program name with args.
4128 set dummy $ac_prog; ac_word=$2
4129 echo "$as_me:$LINENO: checking for $ac_word" >&5
4130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4131 if test "${ac_cv_prog_XLEX+set}" = set; then
4132 echo $ECHO_N "(cached) $ECHO_C" >&6
4134 if test -n "$XLEX"; then
4135 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
4137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4141 test -z "$as_dir" && as_dir=.
4142 for ac_exec_ext in '' $ac_executable_extensions; do
4143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4144 ac_cv_prog_XLEX="$ac_prog"
4145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4153 XLEX=$ac_cv_prog_XLEX
4154 if test -n "$XLEX"; then
4155 echo "$as_me:$LINENO: result: $XLEX" >&5
4156 echo "${ECHO_T}$XLEX" >&6
4158 echo "$as_me:$LINENO: result: no" >&5
4159 echo "${ECHO_T}no" >&6
4162 test -n "$XLEX" && break
4164 test -n "$XLEX" || XLEX="none"
4166 if test "$XLEX" = "none"
4168 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
4169 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
4170 { (exit 1); exit 1; }; }
4173 if test -n "$ac_tool_prefix"; then
4174 for ac_prog in gas as
4176 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4177 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4178 echo "$as_me:$LINENO: checking for $ac_word" >&5
4179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4180 if test "${ac_cv_prog_AS+set}" = set; then
4181 echo $ECHO_N "(cached) $ECHO_C" >&6
4183 if test -n "$AS"; then
4184 ac_cv_prog_AS="$AS" # Let the user override the test.
4186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4190 test -z "$as_dir" && as_dir=.
4191 for ac_exec_ext in '' $ac_executable_extensions; do
4192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4193 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
4194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4203 if test -n "$AS"; then
4204 echo "$as_me:$LINENO: result: $AS" >&5
4205 echo "${ECHO_T}$AS" >&6
4207 echo "$as_me:$LINENO: result: no" >&5
4208 echo "${ECHO_T}no" >&6
4211 test -n "$AS" && break
4214 if test -z "$AS"; then
4216 for ac_prog in gas as
4218 # Extract the first word of "$ac_prog", so it can be a program name with args.
4219 set dummy $ac_prog; ac_word=$2
4220 echo "$as_me:$LINENO: checking for $ac_word" >&5
4221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4222 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4223 echo $ECHO_N "(cached) $ECHO_C" >&6
4225 if test -n "$ac_ct_AS"; then
4226 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4232 test -z "$as_dir" && as_dir=.
4233 for ac_exec_ext in '' $ac_executable_extensions; do
4234 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4235 ac_cv_prog_ac_ct_AS="$ac_prog"
4236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4244 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4245 if test -n "$ac_ct_AS"; then
4246 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4247 echo "${ECHO_T}$ac_ct_AS" >&6
4249 echo "$as_me:$LINENO: result: no" >&5
4250 echo "${ECHO_T}no" >&6
4253 test -n "$ac_ct_AS" && break
4255 test -n "$ac_ct_AS" || ac_ct_AS="as"
4260 if test -n "$ac_tool_prefix"; then
4261 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4262 set dummy ${ac_tool_prefix}ld; ac_word=$2
4263 echo "$as_me:$LINENO: checking for $ac_word" >&5
4264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4265 if test "${ac_cv_prog_LD+set}" = set; then
4266 echo $ECHO_N "(cached) $ECHO_C" >&6
4268 if test -n "$LD"; then
4269 ac_cv_prog_LD="$LD" # Let the user override the test.
4271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4275 test -z "$as_dir" && as_dir=.
4276 for ac_exec_ext in '' $ac_executable_extensions; do
4277 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4278 ac_cv_prog_LD="${ac_tool_prefix}ld"
4279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4288 if test -n "$LD"; then
4289 echo "$as_me:$LINENO: result: $LD" >&5
4290 echo "${ECHO_T}$LD" >&6
4292 echo "$as_me:$LINENO: result: no" >&5
4293 echo "${ECHO_T}no" >&6
4297 if test -z "$ac_cv_prog_LD"; then
4299 # Extract the first word of "ld", so it can be a program name with args.
4300 set dummy ld; ac_word=$2
4301 echo "$as_me:$LINENO: checking for $ac_word" >&5
4302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4303 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
4304 echo $ECHO_N "(cached) $ECHO_C" >&6
4306 if test -n "$ac_ct_LD"; then
4307 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4313 test -z "$as_dir" && as_dir=.
4314 for ac_exec_ext in '' $ac_executable_extensions; do
4315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4316 ac_cv_prog_ac_ct_LD="ld"
4317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4323 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD="ld"
4326 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4327 if test -n "$ac_ct_LD"; then
4328 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
4329 echo "${ECHO_T}$ac_ct_LD" >&6
4331 echo "$as_me:$LINENO: result: no" >&5
4332 echo "${ECHO_T}no" >&6
4340 if test -n "$ac_tool_prefix"; then
4341 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4342 set dummy ${ac_tool_prefix}ar; ac_word=$2
4343 echo "$as_me:$LINENO: checking for $ac_word" >&5
4344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4345 if test "${ac_cv_prog_AR+set}" = set; then
4346 echo $ECHO_N "(cached) $ECHO_C" >&6
4348 if test -n "$AR"; then
4349 ac_cv_prog_AR="$AR" # Let the user override the test.
4351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4355 test -z "$as_dir" && as_dir=.
4356 for ac_exec_ext in '' $ac_executable_extensions; do
4357 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4358 ac_cv_prog_AR="${ac_tool_prefix}ar"
4359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4368 if test -n "$AR"; then
4369 echo "$as_me:$LINENO: result: $AR" >&5
4370 echo "${ECHO_T}$AR" >&6
4372 echo "$as_me:$LINENO: result: no" >&5
4373 echo "${ECHO_T}no" >&6
4377 if test -z "$ac_cv_prog_AR"; then
4379 # Extract the first word of "ar", so it can be a program name with args.
4380 set dummy ar; ac_word=$2
4381 echo "$as_me:$LINENO: checking for $ac_word" >&5
4382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4383 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4384 echo $ECHO_N "(cached) $ECHO_C" >&6
4386 if test -n "$ac_ct_AR"; then
4387 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4393 test -z "$as_dir" && as_dir=.
4394 for ac_exec_ext in '' $ac_executable_extensions; do
4395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4396 ac_cv_prog_ac_ct_AR="ar"
4397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4403 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
4406 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4407 if test -n "$ac_ct_AR"; then
4408 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4409 echo "${ECHO_T}$ac_ct_AR" >&6
4411 echo "$as_me:$LINENO: result: no" >&5
4412 echo "${ECHO_T}no" >&6
4420 if test -n "$ac_tool_prefix"; then
4421 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4422 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4423 echo "$as_me:$LINENO: checking for $ac_word" >&5
4424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4425 if test "${ac_cv_prog_RANLIB+set}" = set; then
4426 echo $ECHO_N "(cached) $ECHO_C" >&6
4428 if test -n "$RANLIB"; then
4429 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4435 test -z "$as_dir" && as_dir=.
4436 for ac_exec_ext in '' $ac_executable_extensions; do
4437 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4438 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4447 RANLIB=$ac_cv_prog_RANLIB
4448 if test -n "$RANLIB"; then
4449 echo "$as_me:$LINENO: result: $RANLIB" >&5
4450 echo "${ECHO_T}$RANLIB" >&6
4452 echo "$as_me:$LINENO: result: no" >&5
4453 echo "${ECHO_T}no" >&6
4457 if test -z "$ac_cv_prog_RANLIB"; then
4458 ac_ct_RANLIB=$RANLIB
4459 # Extract the first word of "ranlib", so it can be a program name with args.
4460 set dummy ranlib; ac_word=$2
4461 echo "$as_me:$LINENO: checking for $ac_word" >&5
4462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4463 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4464 echo $ECHO_N "(cached) $ECHO_C" >&6
4466 if test -n "$ac_ct_RANLIB"; then
4467 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4473 test -z "$as_dir" && as_dir=.
4474 for ac_exec_ext in '' $ac_executable_extensions; do
4475 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4476 ac_cv_prog_ac_ct_RANLIB="ranlib"
4477 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4483 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4486 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4487 if test -n "$ac_ct_RANLIB"; then
4488 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4489 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4491 echo "$as_me:$LINENO: result: no" >&5
4492 echo "${ECHO_T}no" >&6
4495 RANLIB=$ac_ct_RANLIB
4497 RANLIB="$ac_cv_prog_RANLIB"
4500 if test -n "$ac_tool_prefix"; then
4501 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4502 set dummy ${ac_tool_prefix}strip; ac_word=$2
4503 echo "$as_me:$LINENO: checking for $ac_word" >&5
4504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4505 if test "${ac_cv_prog_STRIP+set}" = set; then
4506 echo $ECHO_N "(cached) $ECHO_C" >&6
4508 if test -n "$STRIP"; then
4509 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4515 test -z "$as_dir" && as_dir=.
4516 for ac_exec_ext in '' $ac_executable_extensions; do
4517 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4518 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4527 STRIP=$ac_cv_prog_STRIP
4528 if test -n "$STRIP"; then
4529 echo "$as_me:$LINENO: result: $STRIP" >&5
4530 echo "${ECHO_T}$STRIP" >&6
4532 echo "$as_me:$LINENO: result: no" >&5
4533 echo "${ECHO_T}no" >&6
4537 if test -z "$ac_cv_prog_STRIP"; then
4539 # Extract the first word of "strip", so it can be a program name with args.
4540 set dummy strip; ac_word=$2
4541 echo "$as_me:$LINENO: checking for $ac_word" >&5
4542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4543 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4544 echo $ECHO_N "(cached) $ECHO_C" >&6
4546 if test -n "$ac_ct_STRIP"; then
4547 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4553 test -z "$as_dir" && as_dir=.
4554 for ac_exec_ext in '' $ac_executable_extensions; do
4555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4556 ac_cv_prog_ac_ct_STRIP="strip"
4557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4563 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="strip"
4566 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4567 if test -n "$ac_ct_STRIP"; then
4568 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4569 echo "${ECHO_T}$ac_ct_STRIP" >&6
4571 echo "$as_me:$LINENO: result: no" >&5
4572 echo "${ECHO_T}no" >&6
4577 STRIP="$ac_cv_prog_STRIP"
4580 if test -n "$ac_tool_prefix"; then
4581 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
4582 set dummy ${ac_tool_prefix}windres; ac_word=$2
4583 echo "$as_me:$LINENO: checking for $ac_word" >&5
4584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4585 if test "${ac_cv_prog_WINDRES+set}" = set; then
4586 echo $ECHO_N "(cached) $ECHO_C" >&6
4588 if test -n "$WINDRES"; then
4589 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
4591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4595 test -z "$as_dir" && as_dir=.
4596 for ac_exec_ext in '' $ac_executable_extensions; do
4597 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4598 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
4599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4607 WINDRES=$ac_cv_prog_WINDRES
4608 if test -n "$WINDRES"; then
4609 echo "$as_me:$LINENO: result: $WINDRES" >&5
4610 echo "${ECHO_T}$WINDRES" >&6
4612 echo "$as_me:$LINENO: result: no" >&5
4613 echo "${ECHO_T}no" >&6
4617 if test -z "$ac_cv_prog_WINDRES"; then
4618 ac_ct_WINDRES=$WINDRES
4619 # Extract the first word of "windres", so it can be a program name with args.
4620 set dummy windres; ac_word=$2
4621 echo "$as_me:$LINENO: checking for $ac_word" >&5
4622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4623 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
4624 echo $ECHO_N "(cached) $ECHO_C" >&6
4626 if test -n "$ac_ct_WINDRES"; then
4627 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
4629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4633 test -z "$as_dir" && as_dir=.
4634 for ac_exec_ext in '' $ac_executable_extensions; do
4635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4636 ac_cv_prog_ac_ct_WINDRES="windres"
4637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4643 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES="false"
4646 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
4647 if test -n "$ac_ct_WINDRES"; then
4648 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
4649 echo "${ECHO_T}$ac_ct_WINDRES" >&6
4651 echo "$as_me:$LINENO: result: no" >&5
4652 echo "${ECHO_T}no" >&6
4655 WINDRES=$ac_ct_WINDRES
4657 WINDRES="$ac_cv_prog_WINDRES"
4660 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4661 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4663 if test "$LN_S" = "ln -s"; then
4664 echo "$as_me:$LINENO: result: yes" >&5
4665 echo "${ECHO_T}yes" >&6
4667 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4668 echo "${ECHO_T}no, using $LN_S" >&6
4671 echo "$as_me:$LINENO: checking whether ln works" >&5
4672 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
4673 rm -f conf$$ conf$$.file
4675 if ln conf$$.file conf$$ 2>/dev/null; then
4678 echo "$as_me:$LINENO: result: yes" >&5
4679 echo "${ECHO_T}yes" >&6
4683 echo "$as_me:$LINENO: result: no, using $LN" >&5
4684 echo "${ECHO_T}no, using $LN" >&6
4686 rm -f conf$$ conf$$.file
4687 # Extract the first word of "ldconfig", so it can be a program name with args.
4688 set dummy ldconfig; ac_word=$2
4689 echo "$as_me:$LINENO: checking for $ac_word" >&5
4690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4691 if test "${ac_cv_path_LDCONFIG+set}" = set; then
4692 echo $ECHO_N "(cached) $ECHO_C" >&6
4696 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
4699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4700 for as_dir in /sbin /usr/sbin $PATH
4703 test -z "$as_dir" && as_dir=.
4704 for ac_exec_ext in '' $ac_executable_extensions; do
4705 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4706 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
4707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4713 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
4717 LDCONFIG=$ac_cv_path_LDCONFIG
4719 if test -n "$LDCONFIG"; then
4720 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
4721 echo "${ECHO_T}$LDCONFIG" >&6
4723 echo "$as_me:$LINENO: result: no" >&5
4724 echo "${ECHO_T}no" >&6
4727 # Find a good install program. We prefer a C program (faster),
4728 # so one script is as good as another. But avoid the broken or
4729 # incompatible versions:
4730 # SysV /etc/install, /usr/sbin/install
4731 # SunOS /usr/etc/install
4732 # IRIX /sbin/install
4734 # AmigaOS /C/install, which installs bootblocks on floppy discs
4735 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4736 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4737 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4738 # ./install, which can be erroneously created by make from ./install.sh.
4739 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4740 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4741 if test -z "$INSTALL"; then
4742 if test "${ac_cv_path_install+set}" = set; then
4743 echo $ECHO_N "(cached) $ECHO_C" >&6
4745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4749 test -z "$as_dir" && as_dir=.
4750 # Account for people who put trailing slashes in PATH elements.
4752 ./ | .// | /cC/* | \
4753 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4756 # OSF1 and SCO ODT 3.0 have their own names for install.
4757 # Don't use installbsd from OSF since it installs stuff as root
4759 for ac_prog in ginstall scoinst install; do
4760 for ac_exec_ext in '' $ac_executable_extensions; do
4761 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4762 if test $ac_prog = install &&
4763 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4764 # AIX install. It has an incompatible calling convention.
4766 elif test $ac_prog = install &&
4767 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4768 # program-specific install script used by HP pwplus--don't use.
4771 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4783 if test "${ac_cv_path_install+set}" = set; then
4784 INSTALL=$ac_cv_path_install
4786 # As a last resort, use the slow shell script. We don't cache a
4787 # path for INSTALL within a source directory, because that will
4788 # break other packages using the cache if that directory is
4789 # removed, or if the path is relative.
4790 INSTALL=$ac_install_sh
4793 echo "$as_me:$LINENO: result: $INSTALL" >&5
4794 echo "${ECHO_T}$INSTALL" >&6
4796 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4797 # It thinks the first close brace ends the variable substitution.
4798 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4800 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4802 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4805 [\\/$]* | ?:[\\/]* ) ;;
4806 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
4809 for ac_prog in lclint lint
4811 # Extract the first word of "$ac_prog", so it can be a program name with args.
4812 set dummy $ac_prog; ac_word=$2
4813 echo "$as_me:$LINENO: checking for $ac_word" >&5
4814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4815 if test "${ac_cv_prog_LINT+set}" = set; then
4816 echo $ECHO_N "(cached) $ECHO_C" >&6
4818 if test -n "$LINT"; then
4819 ac_cv_prog_LINT="$LINT" # Let the user override the test.
4821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4825 test -z "$as_dir" && as_dir=.
4826 for ac_exec_ext in '' $ac_executable_extensions; do
4827 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4828 ac_cv_prog_LINT="$ac_prog"
4829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4837 LINT=$ac_cv_prog_LINT
4838 if test -n "$LINT"; then
4839 echo "$as_me:$LINENO: result: $LINT" >&5
4840 echo "${ECHO_T}$LINT" >&6
4842 echo "$as_me:$LINENO: result: no" >&5
4843 echo "${ECHO_T}no" >&6
4846 test -n "$LINT" && break
4849 if test "$LINT" = "lint"
4851 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4856 for ac_prog in docbook2html db2html
4858 # Extract the first word of "$ac_prog", so it can be a program name with args.
4859 set dummy $ac_prog; ac_word=$2
4860 echo "$as_me:$LINENO: checking for $ac_word" >&5
4861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4862 if test "${ac_cv_prog_DB2HTML+set}" = set; then
4863 echo $ECHO_N "(cached) $ECHO_C" >&6
4865 if test -n "$DB2HTML"; then
4866 ac_cv_prog_DB2HTML="$DB2HTML" # Let the user override the test.
4868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4872 test -z "$as_dir" && as_dir=.
4873 for ac_exec_ext in '' $ac_executable_extensions; do
4874 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4875 ac_cv_prog_DB2HTML="$ac_prog"
4876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4884 DB2HTML=$ac_cv_prog_DB2HTML
4885 if test -n "$DB2HTML"; then
4886 echo "$as_me:$LINENO: result: $DB2HTML" >&5
4887 echo "${ECHO_T}$DB2HTML" >&6
4889 echo "$as_me:$LINENO: result: no" >&5
4890 echo "${ECHO_T}no" >&6
4893 test -n "$DB2HTML" && break
4895 test -n "$DB2HTML" || DB2HTML="false"
4899 for ac_prog in docbook2pdf db2pdf
4901 # Extract the first word of "$ac_prog", so it can be a program name with args.
4902 set dummy $ac_prog; ac_word=$2
4903 echo "$as_me:$LINENO: checking for $ac_word" >&5
4904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4905 if test "${ac_cv_prog_DB2PDF+set}" = set; then
4906 echo $ECHO_N "(cached) $ECHO_C" >&6
4908 if test -n "$DB2PDF"; then
4909 ac_cv_prog_DB2PDF="$DB2PDF" # Let the user override the test.
4911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4915 test -z "$as_dir" && as_dir=.
4916 for ac_exec_ext in '' $ac_executable_extensions; do
4917 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4918 ac_cv_prog_DB2PDF="$ac_prog"
4919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4927 DB2PDF=$ac_cv_prog_DB2PDF
4928 if test -n "$DB2PDF"; then
4929 echo "$as_me:$LINENO: result: $DB2PDF" >&5
4930 echo "${ECHO_T}$DB2PDF" >&6
4932 echo "$as_me:$LINENO: result: no" >&5
4933 echo "${ECHO_T}no" >&6
4936 test -n "$DB2PDF" && break
4938 test -n "$DB2PDF" || DB2PDF="false"
4942 for ac_prog in docbook2ps db2ps
4944 # Extract the first word of "$ac_prog", so it can be a program name with args.
4945 set dummy $ac_prog; ac_word=$2
4946 echo "$as_me:$LINENO: checking for $ac_word" >&5
4947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4948 if test "${ac_cv_prog_DB2PS+set}" = set; then
4949 echo $ECHO_N "(cached) $ECHO_C" >&6
4951 if test -n "$DB2PS"; then
4952 ac_cv_prog_DB2PS="$DB2PS" # Let the user override the test.
4954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4958 test -z "$as_dir" && as_dir=.
4959 for ac_exec_ext in '' $ac_executable_extensions; do
4960 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4961 ac_cv_prog_DB2PS="$ac_prog"
4962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4970 DB2PS=$ac_cv_prog_DB2PS
4971 if test -n "$DB2PS"; then
4972 echo "$as_me:$LINENO: result: $DB2PS" >&5
4973 echo "${ECHO_T}$DB2PS" >&6
4975 echo "$as_me:$LINENO: result: no" >&5
4976 echo "${ECHO_T}no" >&6
4979 test -n "$DB2PS" && break
4981 test -n "$DB2PS" || DB2PS="false"
4985 for ac_prog in docbook2txt db2txt
4987 # Extract the first word of "$ac_prog", so it can be a program name with args.
4988 set dummy $ac_prog; ac_word=$2
4989 echo "$as_me:$LINENO: checking for $ac_word" >&5
4990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4991 if test "${ac_cv_prog_DB2TXT+set}" = set; then
4992 echo $ECHO_N "(cached) $ECHO_C" >&6
4994 if test -n "$DB2TXT"; then
4995 ac_cv_prog_DB2TXT="$DB2TXT" # Let the user override the test.
4997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5001 test -z "$as_dir" && as_dir=.
5002 for ac_exec_ext in '' $ac_executable_extensions; do
5003 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5004 ac_cv_prog_DB2TXT="$ac_prog"
5005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5013 DB2TXT=$ac_cv_prog_DB2TXT
5014 if test -n "$DB2TXT"; then
5015 echo "$as_me:$LINENO: result: $DB2TXT" >&5
5016 echo "${ECHO_T}$DB2TXT" >&6
5018 echo "$as_me:$LINENO: result: no" >&5
5019 echo "${ECHO_T}no" >&6
5022 test -n "$DB2TXT" && break
5024 test -n "$DB2TXT" || DB2TXT="false"
5030 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
5031 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
5032 if test "${ac_cv_lib_m_sqrt+set}" = set; then
5033 echo $ECHO_N "(cached) $ECHO_C" >&6
5035 ac_check_lib_save_LIBS=$LIBS
5037 cat >conftest.$ac_ext <<_ACEOF
5038 #line $LINENO "configure"
5041 cat confdefs.h >>conftest.$ac_ext
5042 cat >>conftest.$ac_ext <<_ACEOF
5043 /* end confdefs.h. */
5045 /* Override any gcc2 internal prototype to avoid an error. */
5049 /* We use char because int might match the return type of a gcc2
5050 builtin and then its argument prototype would still apply. */
5060 rm -f conftest.$ac_objext conftest$ac_exeext
5061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5062 (eval $ac_link) 2>&5
5064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5065 (exit $ac_status); } &&
5066 { ac_try='test -s conftest$ac_exeext'
5067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5071 (exit $ac_status); }; }; then
5072 ac_cv_lib_m_sqrt=yes
5074 echo "$as_me: failed program was:" >&5
5075 sed 's/^/| /' conftest.$ac_ext >&5
5079 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5080 LIBS=$ac_check_lib_save_LIBS
5082 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
5083 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
5084 if test $ac_cv_lib_m_sqrt = yes; then
5085 cat >>confdefs.h <<_ACEOF
5094 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
5095 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
5096 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
5097 echo $ECHO_N "(cached) $ECHO_C" >&6
5099 ac_check_lib_save_LIBS=$LIBS
5101 cat >conftest.$ac_ext <<_ACEOF
5102 #line $LINENO "configure"
5105 cat confdefs.h >>conftest.$ac_ext
5106 cat >>conftest.$ac_ext <<_ACEOF
5107 /* end confdefs.h. */
5109 /* Override any gcc2 internal prototype to avoid an error. */
5113 /* We use char because int might match the return type of a gcc2
5114 builtin and then its argument prototype would still apply. */
5115 char i386_set_ldt ();
5124 rm -f conftest.$ac_objext conftest$ac_exeext
5125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5126 (eval $ac_link) 2>&5
5128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5129 (exit $ac_status); } &&
5130 { ac_try='test -s conftest$ac_exeext'
5131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5135 (exit $ac_status); }; }; then
5136 ac_cv_lib_i386_i386_set_ldt=yes
5138 echo "$as_me: failed program was:" >&5
5139 sed 's/^/| /' conftest.$ac_ext >&5
5141 ac_cv_lib_i386_i386_set_ldt=no
5143 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5144 LIBS=$ac_check_lib_save_LIBS
5146 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5147 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
5148 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
5149 cat >>confdefs.h <<_ACEOF
5150 #define HAVE_LIBI386 1
5158 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5159 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5160 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5161 echo $ECHO_N "(cached) $ECHO_C" >&6
5163 ac_check_lib_save_LIBS=$LIBS
5164 LIBS="-lossaudio $LIBS"
5165 cat >conftest.$ac_ext <<_ACEOF
5166 #line $LINENO "configure"
5169 cat confdefs.h >>conftest.$ac_ext
5170 cat >>conftest.$ac_ext <<_ACEOF
5171 /* end confdefs.h. */
5173 /* Override any gcc2 internal prototype to avoid an error. */
5177 /* We use char because int might match the return type of a gcc2
5178 builtin and then its argument prototype would still apply. */
5188 rm -f conftest.$ac_objext conftest$ac_exeext
5189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5190 (eval $ac_link) 2>&5
5192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5193 (exit $ac_status); } &&
5194 { ac_try='test -s conftest$ac_exeext'
5195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5199 (exit $ac_status); }; }; then
5200 ac_cv_lib_ossaudio__oss_ioctl=yes
5202 echo "$as_me: failed program was:" >&5
5203 sed 's/^/| /' conftest.$ac_ext >&5
5205 ac_cv_lib_ossaudio__oss_ioctl=no
5207 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5208 LIBS=$ac_check_lib_save_LIBS
5210 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5211 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5212 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5213 cat >>confdefs.h <<_ACEOF
5214 #define HAVE_LIBOSSAUDIO 1
5217 LIBS="-lossaudio $LIBS"
5222 for ac_func in iswalnum
5224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5225 echo "$as_me:$LINENO: checking for $ac_func" >&5
5226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5227 if eval "test \"\${$as_ac_var+set}\" = set"; then
5228 echo $ECHO_N "(cached) $ECHO_C" >&6
5230 cat >conftest.$ac_ext <<_ACEOF
5231 #line $LINENO "configure"
5234 cat confdefs.h >>conftest.$ac_ext
5235 cat >>conftest.$ac_ext <<_ACEOF
5236 /* end confdefs.h. */
5237 /* System header to define __stub macros and hopefully few prototypes,
5238 which can conflict with char $ac_func (); below.
5239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5240 <limits.h> exists even on freestanding compilers. */
5242 # include <limits.h>
5244 # include <assert.h>
5246 /* Override any gcc2 internal prototype to avoid an error. */
5251 /* We use char because int might match the return type of a gcc2
5252 builtin and then its argument prototype would still apply. */
5254 /* The GNU C library defines this for functions which it implements
5255 to always fail with ENOSYS. Some functions are actually named
5256 something starting with __ and the normal name is an alias. */
5257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5260 char (*f) () = $ac_func;
5269 return f != $ac_func;
5274 rm -f conftest.$ac_objext conftest$ac_exeext
5275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5276 (eval $ac_link) 2>&5
5278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5279 (exit $ac_status); } &&
5280 { ac_try='test -s conftest$ac_exeext'
5281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5285 (exit $ac_status); }; }; then
5286 eval "$as_ac_var=yes"
5288 echo "$as_me: failed program was:" >&5
5289 sed 's/^/| /' conftest.$ac_ext >&5
5291 eval "$as_ac_var=no"
5293 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5297 if test `eval echo '${'$as_ac_var'}'` = yes; then
5298 cat >>confdefs.h <<_ACEOF
5299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5304 echo "$as_me:$LINENO: checking for iswalnum in -lw" >&5
5305 echo $ECHO_N "checking for iswalnum in -lw... $ECHO_C" >&6
5306 if test "${ac_cv_lib_w_iswalnum+set}" = set; then
5307 echo $ECHO_N "(cached) $ECHO_C" >&6
5309 ac_check_lib_save_LIBS=$LIBS
5311 cat >conftest.$ac_ext <<_ACEOF
5312 #line $LINENO "configure"
5315 cat confdefs.h >>conftest.$ac_ext
5316 cat >>conftest.$ac_ext <<_ACEOF
5317 /* end confdefs.h. */
5319 /* Override any gcc2 internal prototype to avoid an error. */
5323 /* We use char because int might match the return type of a gcc2
5324 builtin and then its argument prototype would still apply. */
5334 rm -f conftest.$ac_objext conftest$ac_exeext
5335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5336 (eval $ac_link) 2>&5
5338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5339 (exit $ac_status); } &&
5340 { ac_try='test -s conftest$ac_exeext'
5341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5345 (exit $ac_status); }; }; then
5346 ac_cv_lib_w_iswalnum=yes
5348 echo "$as_me: failed program was:" >&5
5349 sed 's/^/| /' conftest.$ac_ext >&5
5351 ac_cv_lib_w_iswalnum=no
5353 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5354 LIBS=$ac_check_lib_save_LIBS
5356 echo "$as_me:$LINENO: result: $ac_cv_lib_w_iswalnum" >&5
5357 echo "${ECHO_T}$ac_cv_lib_w_iswalnum" >&6
5358 if test $ac_cv_lib_w_iswalnum = yes; then
5359 cat >>confdefs.h <<_ACEOF
5371 for ac_func in gethostbyname
5373 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5374 echo "$as_me:$LINENO: checking for $ac_func" >&5
5375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5376 if eval "test \"\${$as_ac_var+set}\" = set"; then
5377 echo $ECHO_N "(cached) $ECHO_C" >&6
5379 cat >conftest.$ac_ext <<_ACEOF
5380 #line $LINENO "configure"
5383 cat confdefs.h >>conftest.$ac_ext
5384 cat >>conftest.$ac_ext <<_ACEOF
5385 /* end confdefs.h. */
5386 /* System header to define __stub macros and hopefully few prototypes,
5387 which can conflict with char $ac_func (); below.
5388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5389 <limits.h> exists even on freestanding compilers. */
5391 # include <limits.h>
5393 # include <assert.h>
5395 /* Override any gcc2 internal prototype to avoid an error. */
5400 /* We use char because int might match the return type of a gcc2
5401 builtin and then its argument prototype would still apply. */
5403 /* The GNU C library defines this for functions which it implements
5404 to always fail with ENOSYS. Some functions are actually named
5405 something starting with __ and the normal name is an alias. */
5406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5409 char (*f) () = $ac_func;
5418 return f != $ac_func;
5423 rm -f conftest.$ac_objext conftest$ac_exeext
5424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5425 (eval $ac_link) 2>&5
5427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5428 (exit $ac_status); } &&
5429 { ac_try='test -s conftest$ac_exeext'
5430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5434 (exit $ac_status); }; }; then
5435 eval "$as_ac_var=yes"
5437 echo "$as_me: failed program was:" >&5
5438 sed 's/^/| /' conftest.$ac_ext >&5
5440 eval "$as_ac_var=no"
5442 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5446 if test `eval echo '${'$as_ac_var'}'` = yes; then
5447 cat >>confdefs.h <<_ACEOF
5448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5453 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5454 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
5455 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5456 echo $ECHO_N "(cached) $ECHO_C" >&6
5458 ac_check_lib_save_LIBS=$LIBS
5460 cat >conftest.$ac_ext <<_ACEOF
5461 #line $LINENO "configure"
5464 cat confdefs.h >>conftest.$ac_ext
5465 cat >>conftest.$ac_ext <<_ACEOF
5466 /* end confdefs.h. */
5468 /* Override any gcc2 internal prototype to avoid an error. */
5472 /* We use char because int might match the return type of a gcc2
5473 builtin and then its argument prototype would still apply. */
5474 char gethostbyname ();
5483 rm -f conftest.$ac_objext conftest$ac_exeext
5484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5485 (eval $ac_link) 2>&5
5487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5488 (exit $ac_status); } &&
5489 { ac_try='test -s conftest$ac_exeext'
5490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5494 (exit $ac_status); }; }; then
5495 ac_cv_lib_nsl_gethostbyname=yes
5497 echo "$as_me: failed program was:" >&5
5498 sed 's/^/| /' conftest.$ac_ext >&5
5500 ac_cv_lib_nsl_gethostbyname=no
5502 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5503 LIBS=$ac_check_lib_save_LIBS
5505 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5506 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
5507 if test $ac_cv_lib_nsl_gethostbyname = yes; then
5508 cat >>confdefs.h <<_ACEOF
5509 #define HAVE_LIBNSL 1
5520 for ac_func in connect
5522 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5523 echo "$as_me:$LINENO: checking for $ac_func" >&5
5524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5525 if eval "test \"\${$as_ac_var+set}\" = set"; then
5526 echo $ECHO_N "(cached) $ECHO_C" >&6
5528 cat >conftest.$ac_ext <<_ACEOF
5529 #line $LINENO "configure"
5532 cat confdefs.h >>conftest.$ac_ext
5533 cat >>conftest.$ac_ext <<_ACEOF
5534 /* end confdefs.h. */
5535 /* System header to define __stub macros and hopefully few prototypes,
5536 which can conflict with char $ac_func (); below.
5537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5538 <limits.h> exists even on freestanding compilers. */
5540 # include <limits.h>
5542 # include <assert.h>
5544 /* Override any gcc2 internal prototype to avoid an error. */
5549 /* We use char because int might match the return type of a gcc2
5550 builtin and then its argument prototype would still apply. */
5552 /* The GNU C library defines this for functions which it implements
5553 to always fail with ENOSYS. Some functions are actually named
5554 something starting with __ and the normal name is an alias. */
5555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5558 char (*f) () = $ac_func;
5567 return f != $ac_func;
5572 rm -f conftest.$ac_objext conftest$ac_exeext
5573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5574 (eval $ac_link) 2>&5
5576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5577 (exit $ac_status); } &&
5578 { ac_try='test -s conftest$ac_exeext'
5579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5583 (exit $ac_status); }; }; then
5584 eval "$as_ac_var=yes"
5586 echo "$as_me: failed program was:" >&5
5587 sed 's/^/| /' conftest.$ac_ext >&5
5589 eval "$as_ac_var=no"
5591 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5594 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5595 if test `eval echo '${'$as_ac_var'}'` = yes; then
5596 cat >>confdefs.h <<_ACEOF
5597 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5602 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
5603 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
5604 if test "${ac_cv_lib_socket_connect+set}" = set; then
5605 echo $ECHO_N "(cached) $ECHO_C" >&6
5607 ac_check_lib_save_LIBS=$LIBS
5608 LIBS="-lsocket $LIBS"
5609 cat >conftest.$ac_ext <<_ACEOF
5610 #line $LINENO "configure"
5613 cat confdefs.h >>conftest.$ac_ext
5614 cat >>conftest.$ac_ext <<_ACEOF
5615 /* end confdefs.h. */
5617 /* Override any gcc2 internal prototype to avoid an error. */
5621 /* We use char because int might match the return type of a gcc2
5622 builtin and then its argument prototype would still apply. */
5632 rm -f conftest.$ac_objext conftest$ac_exeext
5633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5634 (eval $ac_link) 2>&5
5636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5637 (exit $ac_status); } &&
5638 { ac_try='test -s conftest$ac_exeext'
5639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5643 (exit $ac_status); }; }; then
5644 ac_cv_lib_socket_connect=yes
5646 echo "$as_me: failed program was:" >&5
5647 sed 's/^/| /' conftest.$ac_ext >&5
5649 ac_cv_lib_socket_connect=no
5651 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5652 LIBS=$ac_check_lib_save_LIBS
5654 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
5655 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
5656 if test $ac_cv_lib_socket_connect = yes; then
5657 cat >>confdefs.h <<_ACEOF
5658 #define HAVE_LIBSOCKET 1
5661 LIBS="-lsocket $LIBS"
5669 for ac_func in inet_aton
5671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5672 echo "$as_me:$LINENO: checking for $ac_func" >&5
5673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5674 if eval "test \"\${$as_ac_var+set}\" = set"; then
5675 echo $ECHO_N "(cached) $ECHO_C" >&6
5677 cat >conftest.$ac_ext <<_ACEOF
5678 #line $LINENO "configure"
5681 cat confdefs.h >>conftest.$ac_ext
5682 cat >>conftest.$ac_ext <<_ACEOF
5683 /* end confdefs.h. */
5684 /* System header to define __stub macros and hopefully few prototypes,
5685 which can conflict with char $ac_func (); below.
5686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5687 <limits.h> exists even on freestanding compilers. */
5689 # include <limits.h>
5691 # include <assert.h>
5693 /* Override any gcc2 internal prototype to avoid an error. */
5698 /* We use char because int might match the return type of a gcc2
5699 builtin and then its argument prototype would still apply. */
5701 /* The GNU C library defines this for functions which it implements
5702 to always fail with ENOSYS. Some functions are actually named
5703 something starting with __ and the normal name is an alias. */
5704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5707 char (*f) () = $ac_func;
5716 return f != $ac_func;
5721 rm -f conftest.$ac_objext conftest$ac_exeext
5722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5723 (eval $ac_link) 2>&5
5725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5726 (exit $ac_status); } &&
5727 { ac_try='test -s conftest$ac_exeext'
5728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5732 (exit $ac_status); }; }; then
5733 eval "$as_ac_var=yes"
5735 echo "$as_me: failed program was:" >&5
5736 sed 's/^/| /' conftest.$ac_ext >&5
5738 eval "$as_ac_var=no"
5740 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5744 if test `eval echo '${'$as_ac_var'}'` = yes; then
5745 cat >>confdefs.h <<_ACEOF
5746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5751 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
5752 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
5753 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
5754 echo $ECHO_N "(cached) $ECHO_C" >&6
5756 ac_check_lib_save_LIBS=$LIBS
5757 LIBS="-lresolv $LIBS"
5758 cat >conftest.$ac_ext <<_ACEOF
5759 #line $LINENO "configure"
5762 cat confdefs.h >>conftest.$ac_ext
5763 cat >>conftest.$ac_ext <<_ACEOF
5764 /* end confdefs.h. */
5766 /* Override any gcc2 internal prototype to avoid an error. */
5770 /* We use char because int might match the return type of a gcc2
5771 builtin and then its argument prototype would still apply. */
5781 rm -f conftest.$ac_objext conftest$ac_exeext
5782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5783 (eval $ac_link) 2>&5
5785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5786 (exit $ac_status); } &&
5787 { ac_try='test -s conftest$ac_exeext'
5788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5792 (exit $ac_status); }; }; then
5793 ac_cv_lib_resolv_inet_aton=yes
5795 echo "$as_me: failed program was:" >&5
5796 sed 's/^/| /' conftest.$ac_ext >&5
5798 ac_cv_lib_resolv_inet_aton=no
5800 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5801 LIBS=$ac_check_lib_save_LIBS
5803 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
5804 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
5805 if test $ac_cv_lib_resolv_inet_aton = yes; then
5806 cat >>confdefs.h <<_ACEOF
5807 #define HAVE_LIBRESOLV 1
5810 LIBS="-lresolv $LIBS"
5818 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
5819 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
5820 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
5821 echo $ECHO_N "(cached) $ECHO_C" >&6
5823 ac_check_lib_save_LIBS=$LIBS
5825 cat >conftest.$ac_ext <<_ACEOF
5826 #line $LINENO "configure"
5829 cat confdefs.h >>conftest.$ac_ext
5830 cat >>conftest.$ac_ext <<_ACEOF
5831 /* end confdefs.h. */
5833 /* Override any gcc2 internal prototype to avoid an error. */
5837 /* We use char because int might match the return type of a gcc2
5838 builtin and then its argument prototype would still apply. */
5839 char _xpg4_setrunelocale ();
5843 _xpg4_setrunelocale ();
5848 rm -f conftest.$ac_objext conftest$ac_exeext
5849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5850 (eval $ac_link) 2>&5
5852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5853 (exit $ac_status); } &&
5854 { ac_try='test -s conftest$ac_exeext'
5855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5859 (exit $ac_status); }; }; then
5860 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
5862 echo "$as_me: failed program was:" >&5
5863 sed 's/^/| /' conftest.$ac_ext >&5
5865 ac_cv_lib_xpg4__xpg4_setrunelocale=no
5867 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5868 LIBS=$ac_check_lib_save_LIBS
5870 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
5871 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
5872 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
5873 cat >>confdefs.h <<_ACEOF
5874 #define HAVE_LIBXPG4 1
5882 echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
5883 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6
5884 if test "${ac_cv_lib_poll_poll+set}" = set; then
5885 echo $ECHO_N "(cached) $ECHO_C" >&6
5887 ac_check_lib_save_LIBS=$LIBS
5889 cat >conftest.$ac_ext <<_ACEOF
5890 #line $LINENO "configure"
5893 cat confdefs.h >>conftest.$ac_ext
5894 cat >>conftest.$ac_ext <<_ACEOF
5895 /* end confdefs.h. */
5897 /* Override any gcc2 internal prototype to avoid an error. */
5901 /* We use char because int might match the return type of a gcc2
5902 builtin and then its argument prototype would still apply. */
5912 rm -f conftest.$ac_objext conftest$ac_exeext
5913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5914 (eval $ac_link) 2>&5
5916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5917 (exit $ac_status); } &&
5918 { ac_try='test -s conftest$ac_exeext'
5919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5923 (exit $ac_status); }; }; then
5924 ac_cv_lib_poll_poll=yes
5926 echo "$as_me: failed program was:" >&5
5927 sed 's/^/| /' conftest.$ac_ext >&5
5929 ac_cv_lib_poll_poll=no
5931 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5932 LIBS=$ac_check_lib_save_LIBS
5934 echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
5935 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6
5936 if test $ac_cv_lib_poll_poll = yes; then
5937 cat >>confdefs.h <<_ACEOF
5938 #define HAVE_LIBPOLL 1
5945 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
5946 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
5947 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
5948 echo $ECHO_N "(cached) $ECHO_C" >&6
5950 ac_check_lib_save_LIBS=$LIBS
5951 LIBS="-lpthread $LIBS"
5952 cat >conftest.$ac_ext <<_ACEOF
5953 #line $LINENO "configure"
5956 cat confdefs.h >>conftest.$ac_ext
5957 cat >>conftest.$ac_ext <<_ACEOF
5958 /* end confdefs.h. */
5960 /* Override any gcc2 internal prototype to avoid an error. */
5964 /* We use char because int might match the return type of a gcc2
5965 builtin and then its argument prototype would still apply. */
5966 char pthread_create ();
5975 rm -f conftest.$ac_objext conftest$ac_exeext
5976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5977 (eval $ac_link) 2>&5
5979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5980 (exit $ac_status); } &&
5981 { ac_try='test -s conftest$ac_exeext'
5982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5986 (exit $ac_status); }; }; then
5987 ac_cv_lib_pthread_pthread_create=yes
5989 echo "$as_me: failed program was:" >&5
5990 sed 's/^/| /' conftest.$ac_ext >&5
5992 ac_cv_lib_pthread_pthread_create=no
5994 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5995 LIBS=$ac_check_lib_save_LIBS
5997 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
5998 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
5999 if test $ac_cv_lib_pthread_pthread_create = yes; then
6000 LIBPTHREAD="-lpthread"
6007 echo "$as_me:$LINENO: checking for egrep" >&5
6008 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6009 if test "${ac_cv_prog_egrep+set}" = set; then
6010 echo $ECHO_N "(cached) $ECHO_C" >&6
6012 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
6013 then ac_cv_prog_egrep='grep -E'
6014 else ac_cv_prog_egrep='egrep'
6017 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6018 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6019 EGREP=$ac_cv_prog_egrep
6022 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6023 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6024 if test "${ac_cv_header_stdc+set}" = set; then
6025 echo $ECHO_N "(cached) $ECHO_C" >&6
6027 cat >conftest.$ac_ext <<_ACEOF
6028 #line $LINENO "configure"
6031 cat confdefs.h >>conftest.$ac_ext
6032 cat >>conftest.$ac_ext <<_ACEOF
6033 /* end confdefs.h. */
6047 rm -f conftest.$ac_objext
6048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6049 (eval $ac_compile) 2>&5
6051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6052 (exit $ac_status); } &&
6053 { ac_try='test -s conftest.$ac_objext'
6054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6058 (exit $ac_status); }; }; then
6059 ac_cv_header_stdc=yes
6061 echo "$as_me: failed program was:" >&5
6062 sed 's/^/| /' conftest.$ac_ext >&5
6064 ac_cv_header_stdc=no
6066 rm -f conftest.$ac_objext conftest.$ac_ext
6068 if test $ac_cv_header_stdc = yes; then
6069 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6070 cat >conftest.$ac_ext <<_ACEOF
6071 #line $LINENO "configure"
6074 cat confdefs.h >>conftest.$ac_ext
6075 cat >>conftest.$ac_ext <<_ACEOF
6076 /* end confdefs.h. */
6080 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6081 $EGREP "memchr" >/dev/null 2>&1; then
6084 ac_cv_header_stdc=no
6090 if test $ac_cv_header_stdc = yes; then
6091 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6092 cat >conftest.$ac_ext <<_ACEOF
6093 #line $LINENO "configure"
6096 cat confdefs.h >>conftest.$ac_ext
6097 cat >>conftest.$ac_ext <<_ACEOF
6098 /* end confdefs.h. */
6102 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6103 $EGREP "free" >/dev/null 2>&1; then
6106 ac_cv_header_stdc=no
6112 if test $ac_cv_header_stdc = yes; then
6113 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6114 if test "$cross_compiling" = yes; then
6117 cat >conftest.$ac_ext <<_ACEOF
6118 #line $LINENO "configure"
6121 cat confdefs.h >>conftest.$ac_ext
6122 cat >>conftest.$ac_ext <<_ACEOF
6123 /* end confdefs.h. */
6125 #if ((' ' & 0x0FF) == 0x020)
6126 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6127 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6129 # define ISLOWER(c) \
6130 (('a' <= (c) && (c) <= 'i') \
6131 || ('j' <= (c) && (c) <= 'r') \
6132 || ('s' <= (c) && (c) <= 'z'))
6133 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6136 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6141 for (i = 0; i < 256; i++)
6142 if (XOR (islower (i), ISLOWER (i))
6143 || toupper (i) != TOUPPER (i))
6148 rm -f conftest$ac_exeext
6149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6150 (eval $ac_link) 2>&5
6152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6153 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6158 (exit $ac_status); }; }; then
6161 echo "$as_me: program exited with status $ac_status" >&5
6162 echo "$as_me: failed program was:" >&5
6163 sed 's/^/| /' conftest.$ac_ext >&5
6166 ac_cv_header_stdc=no
6168 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6172 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6173 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6174 if test $ac_cv_header_stdc = yes; then
6176 cat >>confdefs.h <<\_ACEOF
6177 #define STDC_HEADERS 1
6182 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6192 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6193 inttypes.h stdint.h unistd.h
6195 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6196 echo "$as_me:$LINENO: checking for $ac_header" >&5
6197 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6198 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6199 echo $ECHO_N "(cached) $ECHO_C" >&6
6201 cat >conftest.$ac_ext <<_ACEOF
6202 #line $LINENO "configure"
6205 cat confdefs.h >>conftest.$ac_ext
6206 cat >>conftest.$ac_ext <<_ACEOF
6207 /* end confdefs.h. */
6208 $ac_includes_default
6210 #include <$ac_header>
6212 rm -f conftest.$ac_objext
6213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6214 (eval $ac_compile) 2>&5
6216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6217 (exit $ac_status); } &&
6218 { ac_try='test -s conftest.$ac_objext'
6219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6223 (exit $ac_status); }; }; then
6224 eval "$as_ac_Header=yes"
6226 echo "$as_me: failed program was:" >&5
6227 sed 's/^/| /' conftest.$ac_ext >&5
6229 eval "$as_ac_Header=no"
6231 rm -f conftest.$ac_objext conftest.$ac_ext
6233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6234 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6235 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6236 cat >>confdefs.h <<_ACEOF
6237 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6246 for ac_header in jpeglib.h
6248 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6249 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6250 echo "$as_me:$LINENO: checking for $ac_header" >&5
6251 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6252 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6253 echo $ECHO_N "(cached) $ECHO_C" >&6
6255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6256 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6258 # Is the header compilable?
6259 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6260 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6261 cat >conftest.$ac_ext <<_ACEOF
6262 #line $LINENO "configure"
6265 cat confdefs.h >>conftest.$ac_ext
6266 cat >>conftest.$ac_ext <<_ACEOF
6267 /* end confdefs.h. */
6268 $ac_includes_default
6269 #include <$ac_header>
6271 rm -f conftest.$ac_objext
6272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6273 (eval $ac_compile) 2>&5
6275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6276 (exit $ac_status); } &&
6277 { ac_try='test -s conftest.$ac_objext'
6278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6282 (exit $ac_status); }; }; then
6283 ac_header_compiler=yes
6285 echo "$as_me: failed program was:" >&5
6286 sed 's/^/| /' conftest.$ac_ext >&5
6288 ac_header_compiler=no
6290 rm -f conftest.$ac_objext conftest.$ac_ext
6291 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6292 echo "${ECHO_T}$ac_header_compiler" >&6
6294 # Is the header present?
6295 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6296 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6297 cat >conftest.$ac_ext <<_ACEOF
6298 #line $LINENO "configure"
6301 cat confdefs.h >>conftest.$ac_ext
6302 cat >>conftest.$ac_ext <<_ACEOF
6303 /* end confdefs.h. */
6304 #include <$ac_header>
6306 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6307 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6309 grep -v '^ *+' conftest.er1 >conftest.err
6311 cat conftest.err >&5
6312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6313 (exit $ac_status); } >/dev/null; then
6314 if test -s conftest.err; then
6315 ac_cpp_err=$ac_c_preproc_warn_flag
6322 if test -z "$ac_cpp_err"; then
6323 ac_header_preproc=yes
6325 echo "$as_me: failed program was:" >&5
6326 sed 's/^/| /' conftest.$ac_ext >&5
6328 ac_header_preproc=no
6330 rm -f conftest.err conftest.$ac_ext
6331 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6332 echo "${ECHO_T}$ac_header_preproc" >&6
6334 # So? What about this header?
6335 case $ac_header_compiler:$ac_header_preproc in
6337 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6338 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6339 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6340 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6343 ## ------------------------------------ ##
6344 ## Report this to bug-autoconf@gnu.org. ##
6345 ## ------------------------------------ ##
6348 sed "s/^/$as_me: WARNING: /" >&2
6351 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6352 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6353 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6354 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6355 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6356 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6359 ## ------------------------------------ ##
6360 ## Report this to bug-autoconf@gnu.org. ##
6361 ## ------------------------------------ ##
6364 sed "s/^/$as_me: WARNING: /" >&2
6367 echo "$as_me:$LINENO: checking for $ac_header" >&5
6368 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6369 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6370 echo $ECHO_N "(cached) $ECHO_C" >&6
6372 eval "$as_ac_Header=$ac_header_preproc"
6374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6375 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6378 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6379 cat >>confdefs.h <<_ACEOF
6380 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6382 echo "$as_me:$LINENO: checking for jpeg_start_decompress in -ljpeg" >&5
6383 echo $ECHO_N "checking for jpeg_start_decompress in -ljpeg... $ECHO_C" >&6
6384 if test "${ac_cv_lib_jpeg_jpeg_start_decompress+set}" = set; then
6385 echo $ECHO_N "(cached) $ECHO_C" >&6
6387 ac_check_lib_save_LIBS=$LIBS
6389 cat >conftest.$ac_ext <<_ACEOF
6390 #line $LINENO "configure"
6393 cat confdefs.h >>conftest.$ac_ext
6394 cat >>conftest.$ac_ext <<_ACEOF
6395 /* end confdefs.h. */
6397 /* Override any gcc2 internal prototype to avoid an error. */
6401 /* We use char because int might match the return type of a gcc2
6402 builtin and then its argument prototype would still apply. */
6403 char jpeg_start_decompress ();
6407 jpeg_start_decompress ();
6412 rm -f conftest.$ac_objext conftest$ac_exeext
6413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6414 (eval $ac_link) 2>&5
6416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6417 (exit $ac_status); } &&
6418 { ac_try='test -s conftest$ac_exeext'
6419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6423 (exit $ac_status); }; }; then
6424 ac_cv_lib_jpeg_jpeg_start_decompress=yes
6426 echo "$as_me: failed program was:" >&5
6427 sed 's/^/| /' conftest.$ac_ext >&5
6429 ac_cv_lib_jpeg_jpeg_start_decompress=no
6431 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6432 LIBS=$ac_check_lib_save_LIBS
6434 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_start_decompress" >&5
6435 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_start_decompress" >&6
6436 if test $ac_cv_lib_jpeg_jpeg_start_decompress = yes; then
6438 cat >>confdefs.h <<\_ACEOF
6439 #define HAVE_LIBJPEG 1
6455 for ac_header in gif_lib.h
6457 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6458 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6459 echo "$as_me:$LINENO: checking for $ac_header" >&5
6460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6461 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6462 echo $ECHO_N "(cached) $ECHO_C" >&6
6464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6465 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6467 # Is the header compilable?
6468 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6469 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6470 cat >conftest.$ac_ext <<_ACEOF
6471 #line $LINENO "configure"
6474 cat confdefs.h >>conftest.$ac_ext
6475 cat >>conftest.$ac_ext <<_ACEOF
6476 /* end confdefs.h. */
6477 $ac_includes_default
6478 #include <$ac_header>
6480 rm -f conftest.$ac_objext
6481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6482 (eval $ac_compile) 2>&5
6484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6485 (exit $ac_status); } &&
6486 { ac_try='test -s conftest.$ac_objext'
6487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6491 (exit $ac_status); }; }; then
6492 ac_header_compiler=yes
6494 echo "$as_me: failed program was:" >&5
6495 sed 's/^/| /' conftest.$ac_ext >&5
6497 ac_header_compiler=no
6499 rm -f conftest.$ac_objext conftest.$ac_ext
6500 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6501 echo "${ECHO_T}$ac_header_compiler" >&6
6503 # Is the header present?
6504 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6505 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6506 cat >conftest.$ac_ext <<_ACEOF
6507 #line $LINENO "configure"
6510 cat confdefs.h >>conftest.$ac_ext
6511 cat >>conftest.$ac_ext <<_ACEOF
6512 /* end confdefs.h. */
6513 #include <$ac_header>
6515 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6516 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6518 grep -v '^ *+' conftest.er1 >conftest.err
6520 cat conftest.err >&5
6521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6522 (exit $ac_status); } >/dev/null; then
6523 if test -s conftest.err; then
6524 ac_cpp_err=$ac_c_preproc_warn_flag
6531 if test -z "$ac_cpp_err"; then
6532 ac_header_preproc=yes
6534 echo "$as_me: failed program was:" >&5
6535 sed 's/^/| /' conftest.$ac_ext >&5
6537 ac_header_preproc=no
6539 rm -f conftest.err conftest.$ac_ext
6540 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6541 echo "${ECHO_T}$ac_header_preproc" >&6
6543 # So? What about this header?
6544 case $ac_header_compiler:$ac_header_preproc in
6546 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6547 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6548 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6549 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6552 ## ------------------------------------ ##
6553 ## Report this to bug-autoconf@gnu.org. ##
6554 ## ------------------------------------ ##
6557 sed "s/^/$as_me: WARNING: /" >&2
6560 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6561 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6562 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6563 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6564 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6565 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6568 ## ------------------------------------ ##
6569 ## Report this to bug-autoconf@gnu.org. ##
6570 ## ------------------------------------ ##
6573 sed "s/^/$as_me: WARNING: /" >&2
6576 echo "$as_me:$LINENO: checking for $ac_header" >&5
6577 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6578 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6579 echo $ECHO_N "(cached) $ECHO_C" >&6
6581 eval "$as_ac_Header=$ac_header_preproc"
6583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6584 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6587 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6588 cat >>confdefs.h <<_ACEOF
6589 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6591 echo "$as_me:$LINENO: checking for DGifOpen in -lungif" >&5
6592 echo $ECHO_N "checking for DGifOpen in -lungif... $ECHO_C" >&6
6593 if test "${ac_cv_lib_ungif_DGifOpen+set}" = set; then
6594 echo $ECHO_N "(cached) $ECHO_C" >&6
6596 ac_check_lib_save_LIBS=$LIBS
6597 LIBS="-lungif $LIBS"
6598 cat >conftest.$ac_ext <<_ACEOF
6599 #line $LINENO "configure"
6602 cat confdefs.h >>conftest.$ac_ext
6603 cat >>conftest.$ac_ext <<_ACEOF
6604 /* end confdefs.h. */
6606 /* Override any gcc2 internal prototype to avoid an error. */
6610 /* We use char because int might match the return type of a gcc2
6611 builtin and then its argument prototype would still apply. */
6621 rm -f conftest.$ac_objext conftest$ac_exeext
6622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6623 (eval $ac_link) 2>&5
6625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6626 (exit $ac_status); } &&
6627 { ac_try='test -s conftest$ac_exeext'
6628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6632 (exit $ac_status); }; }; then
6633 ac_cv_lib_ungif_DGifOpen=yes
6635 echo "$as_me: failed program was:" >&5
6636 sed 's/^/| /' conftest.$ac_ext >&5
6638 ac_cv_lib_ungif_DGifOpen=no
6640 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6641 LIBS=$ac_check_lib_save_LIBS
6643 echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_DGifOpen" >&5
6644 echo "${ECHO_T}$ac_cv_lib_ungif_DGifOpen" >&6
6645 if test $ac_cv_lib_ungif_DGifOpen = yes; then
6647 cat >>confdefs.h <<\_ACEOF
6648 #define HAVE_LIBGIF 1
6653 echo "$as_me:$LINENO: checking for DGifOpen in -lgif" >&5
6654 echo $ECHO_N "checking for DGifOpen in -lgif... $ECHO_C" >&6
6655 if test "${ac_cv_lib_gif_DGifOpen+set}" = set; then
6656 echo $ECHO_N "(cached) $ECHO_C" >&6
6658 ac_check_lib_save_LIBS=$LIBS
6660 cat >conftest.$ac_ext <<_ACEOF
6661 #line $LINENO "configure"
6664 cat confdefs.h >>conftest.$ac_ext
6665 cat >>conftest.$ac_ext <<_ACEOF
6666 /* end 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. */
6683 rm -f conftest.$ac_objext conftest$ac_exeext
6684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6685 (eval $ac_link) 2>&5
6687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6688 (exit $ac_status); } &&
6689 { ac_try='test -s conftest$ac_exeext'
6690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6694 (exit $ac_status); }; }; then
6695 ac_cv_lib_gif_DGifOpen=yes
6697 echo "$as_me: failed program was:" >&5
6698 sed 's/^/| /' conftest.$ac_ext >&5
6700 ac_cv_lib_gif_DGifOpen=no
6702 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6703 LIBS=$ac_check_lib_save_LIBS
6705 echo "$as_me:$LINENO: result: $ac_cv_lib_gif_DGifOpen" >&5
6706 echo "${ECHO_T}$ac_cv_lib_gif_DGifOpen" >&6
6707 if test $ac_cv_lib_gif_DGifOpen = yes; then
6708 cat >>confdefs.h <<\_ACEOF
6709 #define HAVE_LIBGIF 1
6731 if test "$have_x" = "yes"
6734 ac_save_CPPFLAGS="$CPPFLAGS"
6735 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
6738 for ac_header in X11/Xlib.h
6740 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6741 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6742 echo "$as_me:$LINENO: checking for $ac_header" >&5
6743 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6744 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6745 echo $ECHO_N "(cached) $ECHO_C" >&6
6747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6748 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6750 # Is the header compilable?
6751 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6752 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6753 cat >conftest.$ac_ext <<_ACEOF
6754 #line $LINENO "configure"
6757 cat confdefs.h >>conftest.$ac_ext
6758 cat >>conftest.$ac_ext <<_ACEOF
6759 /* end confdefs.h. */
6760 $ac_includes_default
6761 #include <$ac_header>
6763 rm -f conftest.$ac_objext
6764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6765 (eval $ac_compile) 2>&5
6767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6768 (exit $ac_status); } &&
6769 { ac_try='test -s conftest.$ac_objext'
6770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6774 (exit $ac_status); }; }; then
6775 ac_header_compiler=yes
6777 echo "$as_me: failed program was:" >&5
6778 sed 's/^/| /' conftest.$ac_ext >&5
6780 ac_header_compiler=no
6782 rm -f conftest.$ac_objext conftest.$ac_ext
6783 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6784 echo "${ECHO_T}$ac_header_compiler" >&6
6786 # Is the header present?
6787 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6788 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6789 cat >conftest.$ac_ext <<_ACEOF
6790 #line $LINENO "configure"
6793 cat confdefs.h >>conftest.$ac_ext
6794 cat >>conftest.$ac_ext <<_ACEOF
6795 /* end confdefs.h. */
6796 #include <$ac_header>
6798 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6799 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6801 grep -v '^ *+' conftest.er1 >conftest.err
6803 cat conftest.err >&5
6804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6805 (exit $ac_status); } >/dev/null; then
6806 if test -s conftest.err; then
6807 ac_cpp_err=$ac_c_preproc_warn_flag
6814 if test -z "$ac_cpp_err"; then
6815 ac_header_preproc=yes
6817 echo "$as_me: failed program was:" >&5
6818 sed 's/^/| /' conftest.$ac_ext >&5
6820 ac_header_preproc=no
6822 rm -f conftest.err conftest.$ac_ext
6823 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6824 echo "${ECHO_T}$ac_header_preproc" >&6
6826 # So? What about this header?
6827 case $ac_header_compiler:$ac_header_preproc in
6829 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6830 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6831 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6832 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6835 ## ------------------------------------ ##
6836 ## Report this to bug-autoconf@gnu.org. ##
6837 ## ------------------------------------ ##
6840 sed "s/^/$as_me: WARNING: /" >&2
6843 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6844 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6845 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6846 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6847 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6848 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6851 ## ------------------------------------ ##
6852 ## Report this to bug-autoconf@gnu.org. ##
6853 ## ------------------------------------ ##
6856 sed "s/^/$as_me: WARNING: /" >&2
6859 echo "$as_me:$LINENO: checking for $ac_header" >&5
6860 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6861 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6862 echo $ECHO_N "(cached) $ECHO_C" >&6
6864 eval "$as_ac_Header=$ac_header_preproc"
6866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6867 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6870 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6871 cat >>confdefs.h <<_ACEOF
6872 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6884 for ac_header in X11/XKBlib.h \
6886 X11/extensions/shape.h \
6887 X11/extensions/XShm.h \
6888 X11/extensions/Xrandr.h \
6889 X11/extensions/Xrender.h \
6890 X11/extensions/Xvlib.h \
6891 X11/extensions/xf86dga.h \
6892 X11/extensions/xf86vmode.h
6894 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6895 echo "$as_me:$LINENO: checking for $ac_header" >&5
6896 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6897 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6898 echo $ECHO_N "(cached) $ECHO_C" >&6
6900 cat >conftest.$ac_ext <<_ACEOF
6901 #line $LINENO "configure"
6904 cat confdefs.h >>conftest.$ac_ext
6905 cat >>conftest.$ac_ext <<_ACEOF
6906 /* end confdefs.h. */
6907 #include <X11/Xlib.h>
6908 #ifdef HAVE_X11_XUTIL_H
6909 # include <X11/Xutil.h>
6912 #include <$ac_header>
6914 rm -f conftest.$ac_objext
6915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6916 (eval $ac_compile) 2>&5
6918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6919 (exit $ac_status); } &&
6920 { ac_try='test -s conftest.$ac_objext'
6921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6925 (exit $ac_status); }; }; then
6926 eval "$as_ac_Header=yes"
6928 echo "$as_me: failed program was:" >&5
6929 sed 's/^/| /' conftest.$ac_ext >&5
6931 eval "$as_ac_Header=no"
6933 rm -f conftest.$ac_objext conftest.$ac_ext
6935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6936 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6937 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6938 cat >>confdefs.h <<_ACEOF
6939 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6947 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
6949 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
6950 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
6951 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
6952 echo $ECHO_N "(cached) $ECHO_C" >&6
6954 ac_check_lib_save_LIBS=$LIBS
6955 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6956 cat >conftest.$ac_ext <<_ACEOF
6957 #line $LINENO "configure"
6960 cat confdefs.h >>conftest.$ac_ext
6961 cat >>conftest.$ac_ext <<_ACEOF
6962 /* end confdefs.h. */
6964 /* Override any gcc2 internal prototype to avoid an error. */
6968 /* We use char because int might match the return type of a gcc2
6969 builtin and then its argument prototype would still apply. */
6970 char XkbQueryExtension ();
6974 XkbQueryExtension ();
6979 rm -f conftest.$ac_objext conftest$ac_exeext
6980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6981 (eval $ac_link) 2>&5
6983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6984 (exit $ac_status); } &&
6985 { ac_try='test -s conftest$ac_exeext'
6986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6990 (exit $ac_status); }; }; then
6991 ac_cv_lib_X11_XkbQueryExtension=yes
6993 echo "$as_me: failed program was:" >&5
6994 sed 's/^/| /' conftest.$ac_ext >&5
6996 ac_cv_lib_X11_XkbQueryExtension=no
6998 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6999 LIBS=$ac_check_lib_save_LIBS
7001 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7002 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
7003 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7005 cat >>confdefs.h <<\_ACEOF
7013 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7015 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7016 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
7017 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7018 echo $ECHO_N "(cached) $ECHO_C" >&6
7020 ac_check_lib_save_LIBS=$LIBS
7021 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7022 cat >conftest.$ac_ext <<_ACEOF
7023 #line $LINENO "configure"
7026 cat confdefs.h >>conftest.$ac_ext
7027 cat >>conftest.$ac_ext <<_ACEOF
7028 /* end confdefs.h. */
7030 /* Override any gcc2 internal prototype to avoid an error. */
7034 /* We use char because int might match the return type of a gcc2
7035 builtin and then its argument prototype would still apply. */
7036 char XShmQueryExtension ();
7040 XShmQueryExtension ();
7045 rm -f conftest.$ac_objext conftest$ac_exeext
7046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7047 (eval $ac_link) 2>&5
7049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7050 (exit $ac_status); } &&
7051 { ac_try='test -s conftest$ac_exeext'
7052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7056 (exit $ac_status); }; }; then
7057 ac_cv_lib_Xext_XShmQueryExtension=yes
7059 echo "$as_me: failed program was:" >&5
7060 sed 's/^/| /' conftest.$ac_ext >&5
7062 ac_cv_lib_Xext_XShmQueryExtension=no
7064 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7065 LIBS=$ac_check_lib_save_LIBS
7067 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7068 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
7069 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7071 cat >>confdefs.h <<\_ACEOF
7072 #define HAVE_LIBXXSHM 1
7079 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7081 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7082 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
7083 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7084 echo $ECHO_N "(cached) $ECHO_C" >&6
7086 ac_check_lib_save_LIBS=$LIBS
7087 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7088 cat >conftest.$ac_ext <<_ACEOF
7089 #line $LINENO "configure"
7092 cat confdefs.h >>conftest.$ac_ext
7093 cat >>conftest.$ac_ext <<_ACEOF
7094 /* end confdefs.h. */
7096 /* Override any gcc2 internal prototype to avoid an error. */
7100 /* We use char because int might match the return type of a gcc2
7101 builtin and then its argument prototype would still apply. */
7102 char XShapeQueryExtension ();
7106 XShapeQueryExtension ();
7111 rm -f conftest.$ac_objext conftest$ac_exeext
7112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7113 (eval $ac_link) 2>&5
7115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7116 (exit $ac_status); } &&
7117 { ac_try='test -s conftest$ac_exeext'
7118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7122 (exit $ac_status); }; }; then
7123 ac_cv_lib_Xext_XShapeQueryExtension=yes
7125 echo "$as_me: failed program was:" >&5
7126 sed 's/^/| /' conftest.$ac_ext >&5
7128 ac_cv_lib_Xext_XShapeQueryExtension=no
7130 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7131 LIBS=$ac_check_lib_save_LIBS
7133 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
7134 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
7135 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
7137 cat >>confdefs.h <<\_ACEOF
7138 #define HAVE_LIBXSHAPE 1
7145 if test "$ac_cv_header_X11_extensions_xf86dga_h" = "yes"
7147 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
7148 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
7149 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
7150 echo $ECHO_N "(cached) $ECHO_C" >&6
7152 ac_check_lib_save_LIBS=$LIBS
7153 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7154 cat >conftest.$ac_ext <<_ACEOF
7155 #line $LINENO "configure"
7158 cat confdefs.h >>conftest.$ac_ext
7159 cat >>conftest.$ac_ext <<_ACEOF
7160 /* end confdefs.h. */
7162 /* Override any gcc2 internal prototype to avoid an error. */
7166 /* We use char because int might match the return type of a gcc2
7167 builtin and then its argument prototype would still apply. */
7168 char XDGAQueryExtension ();
7172 XDGAQueryExtension ();
7177 rm -f conftest.$ac_objext conftest$ac_exeext
7178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7179 (eval $ac_link) 2>&5
7181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7182 (exit $ac_status); } &&
7183 { ac_try='test -s conftest$ac_exeext'
7184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7188 (exit $ac_status); }; }; then
7189 ac_cv_lib_Xxf86dga_XDGAQueryExtension=yes
7191 echo "$as_me: failed program was:" >&5
7192 sed 's/^/| /' conftest.$ac_ext >&5
7194 ac_cv_lib_Xxf86dga_XDGAQueryExtension=no
7196 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7197 LIBS=$ac_check_lib_save_LIBS
7199 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
7200 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
7201 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
7203 cat >>confdefs.h <<\_ACEOF
7204 #define HAVE_LIBXXF86DGA2 1
7207 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
7210 echo "$as_me:$LINENO: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
7211 echo $ECHO_N "checking for XF86DGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
7212 if test "${ac_cv_lib_Xxf86dga_XF86DGAQueryExtension+set}" = set; then
7213 echo $ECHO_N "(cached) $ECHO_C" >&6
7215 ac_check_lib_save_LIBS=$LIBS
7216 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
7218 cat >conftest.$ac_ext <<_ACEOF
7219 #line $LINENO "configure"
7222 cat confdefs.h >>conftest.$ac_ext
7223 cat >>conftest.$ac_ext <<_ACEOF
7224 /* end confdefs.h. */
7226 /* Override any gcc2 internal prototype to avoid an error. */
7230 /* We use char because int might match the return type of a gcc2
7231 builtin and then its argument prototype would still apply. */
7232 char XF86DGAQueryExtension ();
7236 XF86DGAQueryExtension ();
7241 rm -f conftest.$ac_objext conftest$ac_exeext
7242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7243 (eval $ac_link) 2>&5
7245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7246 (exit $ac_status); } &&
7247 { ac_try='test -s conftest$ac_exeext'
7248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7252 (exit $ac_status); }; }; then
7253 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=yes
7255 echo "$as_me: failed program was:" >&5
7256 sed 's/^/| /' conftest.$ac_ext >&5
7258 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=no
7260 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7261 LIBS=$ac_check_lib_save_LIBS
7263 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&5
7264 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&6
7265 if test $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension = yes; then
7267 cat >>confdefs.h <<\_ACEOF
7268 #define HAVE_LIBXXF86DGA 1
7271 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
7280 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
7282 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
7283 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
7284 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
7285 echo $ECHO_N "(cached) $ECHO_C" >&6
7287 ac_check_lib_save_LIBS=$LIBS
7288 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7289 cat >conftest.$ac_ext <<_ACEOF
7290 #line $LINENO "configure"
7293 cat confdefs.h >>conftest.$ac_ext
7294 cat >>conftest.$ac_ext <<_ACEOF
7295 /* end confdefs.h. */
7297 /* Override any gcc2 internal prototype to avoid an error. */
7301 /* We use char because int might match the return type of a gcc2
7302 builtin and then its argument prototype would still apply. */
7303 char XF86VidModeQueryExtension ();
7307 XF86VidModeQueryExtension ();
7312 rm -f conftest.$ac_objext conftest$ac_exeext
7313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7314 (eval $ac_link) 2>&5
7316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7317 (exit $ac_status); } &&
7318 { ac_try='test -s conftest$ac_exeext'
7319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7323 (exit $ac_status); }; }; then
7324 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
7326 echo "$as_me: failed program was:" >&5
7327 sed 's/^/| /' conftest.$ac_ext >&5
7329 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
7331 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7332 LIBS=$ac_check_lib_save_LIBS
7334 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
7335 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
7336 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
7338 cat >>confdefs.h <<\_ACEOF
7339 #define HAVE_LIBXXF86VM 1
7342 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
7348 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
7350 echo "$as_me:$LINENO: checking for XRRSetScreenConfigAndRate in -lXrandr" >&5
7351 echo $ECHO_N "checking for XRRSetScreenConfigAndRate in -lXrandr... $ECHO_C" >&6
7352 if test "${ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate+set}" = set; then
7353 echo $ECHO_N "(cached) $ECHO_C" >&6
7355 ac_check_lib_save_LIBS=$LIBS
7356 LIBS="-lXrandr $X_LIBS -lXrender -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7357 cat >conftest.$ac_ext <<_ACEOF
7358 #line $LINENO "configure"
7361 cat confdefs.h >>conftest.$ac_ext
7362 cat >>conftest.$ac_ext <<_ACEOF
7363 /* end confdefs.h. */
7365 /* Override any gcc2 internal prototype to avoid an error. */
7369 /* We use char because int might match the return type of a gcc2
7370 builtin and then its argument prototype would still apply. */
7371 char XRRSetScreenConfigAndRate ();
7375 XRRSetScreenConfigAndRate ();
7380 rm -f conftest.$ac_objext conftest$ac_exeext
7381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7382 (eval $ac_link) 2>&5
7384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7385 (exit $ac_status); } &&
7386 { ac_try='test -s conftest$ac_exeext'
7387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7391 (exit $ac_status); }; }; then
7392 ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate=yes
7394 echo "$as_me: failed program was:" >&5
7395 sed 's/^/| /' conftest.$ac_ext >&5
7397 ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate=no
7399 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7400 LIBS=$ac_check_lib_save_LIBS
7402 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate" >&5
7403 echo "${ECHO_T}$ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate" >&6
7404 if test $ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate = yes; then
7406 cat >>confdefs.h <<\_ACEOF
7407 #define HAVE_LIBXRANDR 1
7410 X_PRE_LIBS="$X_PRE_LIBS -lXrandr -lXrender"
7416 if test "$ac_cv_header_X11_extensions_Xvlib_h" = "yes"
7418 echo "$as_me:$LINENO: checking for XvShmCreateImage in -lXv" >&5
7419 echo $ECHO_N "checking for XvShmCreateImage in -lXv... $ECHO_C" >&6
7420 if test "${ac_cv_lib_Xv_XvShmCreateImage+set}" = set; then
7421 echo $ECHO_N "(cached) $ECHO_C" >&6
7423 ac_check_lib_save_LIBS=$LIBS
7424 LIBS="-lXv $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7425 cat >conftest.$ac_ext <<_ACEOF
7426 #line $LINENO "configure"
7429 cat confdefs.h >>conftest.$ac_ext
7430 cat >>conftest.$ac_ext <<_ACEOF
7431 /* end confdefs.h. */
7433 /* Override any gcc2 internal prototype to avoid an error. */
7437 /* We use char because int might match the return type of a gcc2
7438 builtin and then its argument prototype would still apply. */
7439 char XvShmCreateImage ();
7443 XvShmCreateImage ();
7448 rm -f conftest.$ac_objext conftest$ac_exeext
7449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7450 (eval $ac_link) 2>&5
7452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7453 (exit $ac_status); } &&
7454 { ac_try='test -s conftest$ac_exeext'
7455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7459 (exit $ac_status); }; }; then
7460 ac_cv_lib_Xv_XvShmCreateImage=yes
7462 echo "$as_me: failed program was:" >&5
7463 sed 's/^/| /' conftest.$ac_ext >&5
7465 ac_cv_lib_Xv_XvShmCreateImage=no
7467 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7468 LIBS=$ac_check_lib_save_LIBS
7470 echo "$as_me:$LINENO: result: $ac_cv_lib_Xv_XvShmCreateImage" >&5
7471 echo "${ECHO_T}$ac_cv_lib_Xv_XvShmCreateImage" >&6
7472 if test $ac_cv_lib_Xv_XvShmCreateImage = yes; then
7474 cat >>confdefs.h <<\_ACEOF
7475 #define HAVE_XVIDEO 1
7478 X_PRE_LIBS="$X_PRE_LIBS -lXv"
7489 if test "x$with_opengl" != "xno"
7491 if test -f /usr/X11R6/lib/libGL.a -a ! -f /usr/X11R6/lib/libGL.so
7493 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
7494 This prevents linking to OpenGL. Delete the file and restart configure." >&5
7495 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
7496 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
7497 { (exit 1); exit 1; }; }
7502 for ac_header in GL/gl.h GL/glx.h
7504 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7505 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7506 echo "$as_me:$LINENO: checking for $ac_header" >&5
7507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7509 echo $ECHO_N "(cached) $ECHO_C" >&6
7511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7512 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7514 # Is the header compilable?
7515 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7516 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7517 cat >conftest.$ac_ext <<_ACEOF
7518 #line $LINENO "configure"
7521 cat confdefs.h >>conftest.$ac_ext
7522 cat >>conftest.$ac_ext <<_ACEOF
7523 /* end confdefs.h. */
7524 $ac_includes_default
7525 #include <$ac_header>
7527 rm -f conftest.$ac_objext
7528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7529 (eval $ac_compile) 2>&5
7531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7532 (exit $ac_status); } &&
7533 { ac_try='test -s conftest.$ac_objext'
7534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7538 (exit $ac_status); }; }; then
7539 ac_header_compiler=yes
7541 echo "$as_me: failed program was:" >&5
7542 sed 's/^/| /' conftest.$ac_ext >&5
7544 ac_header_compiler=no
7546 rm -f conftest.$ac_objext conftest.$ac_ext
7547 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7548 echo "${ECHO_T}$ac_header_compiler" >&6
7550 # Is the header present?
7551 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7552 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7553 cat >conftest.$ac_ext <<_ACEOF
7554 #line $LINENO "configure"
7557 cat confdefs.h >>conftest.$ac_ext
7558 cat >>conftest.$ac_ext <<_ACEOF
7559 /* end confdefs.h. */
7560 #include <$ac_header>
7562 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7563 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7565 grep -v '^ *+' conftest.er1 >conftest.err
7567 cat conftest.err >&5
7568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7569 (exit $ac_status); } >/dev/null; then
7570 if test -s conftest.err; then
7571 ac_cpp_err=$ac_c_preproc_warn_flag
7578 if test -z "$ac_cpp_err"; then
7579 ac_header_preproc=yes
7581 echo "$as_me: failed program was:" >&5
7582 sed 's/^/| /' conftest.$ac_ext >&5
7584 ac_header_preproc=no
7586 rm -f conftest.err conftest.$ac_ext
7587 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7588 echo "${ECHO_T}$ac_header_preproc" >&6
7590 # So? What about this header?
7591 case $ac_header_compiler:$ac_header_preproc in
7593 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7594 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7595 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7596 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7599 ## ------------------------------------ ##
7600 ## Report this to bug-autoconf@gnu.org. ##
7601 ## ------------------------------------ ##
7604 sed "s/^/$as_me: WARNING: /" >&2
7607 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7608 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7609 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7610 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7611 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7612 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7615 ## ------------------------------------ ##
7616 ## Report this to bug-autoconf@gnu.org. ##
7617 ## ------------------------------------ ##
7620 sed "s/^/$as_me: WARNING: /" >&2
7623 echo "$as_me:$LINENO: checking for $ac_header" >&5
7624 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7625 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7626 echo $ECHO_N "(cached) $ECHO_C" >&6
7628 eval "$as_ac_Header=$ac_header_preproc"
7630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7631 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7634 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7635 cat >>confdefs.h <<_ACEOF
7636 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7643 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
7646 for ac_header in GL/glext.h
7648 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7649 echo "$as_me:$LINENO: checking for $ac_header" >&5
7650 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7651 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7652 echo $ECHO_N "(cached) $ECHO_C" >&6
7654 cat >conftest.$ac_ext <<_ACEOF
7655 #line $LINENO "configure"
7658 cat confdefs.h >>conftest.$ac_ext
7659 cat >>conftest.$ac_ext <<_ACEOF
7660 /* end confdefs.h. */
7663 #include <$ac_header>
7665 rm -f conftest.$ac_objext
7666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7667 (eval $ac_compile) 2>&5
7669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7670 (exit $ac_status); } &&
7671 { ac_try='test -s conftest.$ac_objext'
7672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7676 (exit $ac_status); }; }; then
7677 eval "$as_ac_Header=yes"
7679 echo "$as_me: failed program was:" >&5
7680 sed 's/^/| /' conftest.$ac_ext >&5
7682 eval "$as_ac_Header=no"
7684 rm -f conftest.$ac_objext conftest.$ac_ext
7686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7687 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7688 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7689 cat >>confdefs.h <<_ACEOF
7690 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7697 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
7698 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
7699 if test "${wine_cv_opengl_version_OK+set}" = set; then
7700 echo $ECHO_N "(cached) $ECHO_C" >&6
7702 cat >conftest.$ac_ext <<_ACEOF
7703 #line $LINENO "configure"
7706 cat confdefs.h >>conftest.$ac_ext
7707 cat >>conftest.$ac_ext <<_ACEOF
7708 /* end confdefs.h. */
7713 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
7718 rm -f conftest.$ac_objext
7719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7720 (eval $ac_compile) 2>&5
7722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7723 (exit $ac_status); } &&
7724 { ac_try='test -s conftest.$ac_objext'
7725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7729 (exit $ac_status); }; }; then
7730 wine_cv_opengl_version_OK="yes"
7732 echo "$as_me: failed program was:" >&5
7733 sed 's/^/| /' conftest.$ac_ext >&5
7735 wine_cv_opengl_version_OK="no"
7738 rm -f conftest.$ac_objext conftest.$ac_ext
7741 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
7742 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
7744 if test "$wine_cv_opengl_version_OK" = "yes"
7746 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
7747 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
7748 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
7749 echo $ECHO_N "(cached) $ECHO_C" >&6
7751 ac_check_lib_save_LIBS=$LIBS
7752 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
7753 cat >conftest.$ac_ext <<_ACEOF
7754 #line $LINENO "configure"
7757 cat confdefs.h >>conftest.$ac_ext
7758 cat >>conftest.$ac_ext <<_ACEOF
7759 /* end confdefs.h. */
7761 /* Override any gcc2 internal prototype to avoid an error. */
7765 /* We use char because int might match the return type of a gcc2
7766 builtin and then its argument prototype would still apply. */
7767 char glXCreateContext ();
7771 glXCreateContext ();
7776 rm -f conftest.$ac_objext conftest$ac_exeext
7777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7778 (eval $ac_link) 2>&5
7780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7781 (exit $ac_status); } &&
7782 { ac_try='test -s conftest$ac_exeext'
7783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7787 (exit $ac_status); }; }; then
7788 ac_cv_lib_GL_glXCreateContext=yes
7790 echo "$as_me: failed program was:" >&5
7791 sed 's/^/| /' conftest.$ac_ext >&5
7793 ac_cv_lib_GL_glXCreateContext=no
7795 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7796 LIBS=$ac_check_lib_save_LIBS
7798 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
7799 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
7800 if test $ac_cv_lib_GL_glXCreateContext = yes; then
7806 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
7808 OPENGLFILES='$(OPENGLFILES)'
7810 cat >>confdefs.h <<\_ACEOF
7811 #define HAVE_OPENGL 1
7815 echo "$as_me:$LINENO: checking for glXGetProcAddressARB in -lGL" >&5
7816 echo $ECHO_N "checking for glXGetProcAddressARB in -lGL... $ECHO_C" >&6
7817 if test "${ac_cv_lib_GL_glXGetProcAddressARB+set}" = set; then
7818 echo $ECHO_N "(cached) $ECHO_C" >&6
7820 ac_check_lib_save_LIBS=$LIBS
7821 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
7822 cat >conftest.$ac_ext <<_ACEOF
7823 #line $LINENO "configure"
7826 cat confdefs.h >>conftest.$ac_ext
7827 cat >>conftest.$ac_ext <<_ACEOF
7828 /* end confdefs.h. */
7830 /* Override any gcc2 internal prototype to avoid an error. */
7834 /* We use char because int might match the return type of a gcc2
7835 builtin and then its argument prototype would still apply. */
7836 char glXGetProcAddressARB ();
7840 glXGetProcAddressARB ();
7845 rm -f conftest.$ac_objext conftest$ac_exeext
7846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7847 (eval $ac_link) 2>&5
7849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7850 (exit $ac_status); } &&
7851 { ac_try='test -s conftest$ac_exeext'
7852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7856 (exit $ac_status); }; }; then
7857 ac_cv_lib_GL_glXGetProcAddressARB=yes
7859 echo "$as_me: failed program was:" >&5
7860 sed 's/^/| /' conftest.$ac_ext >&5
7862 ac_cv_lib_GL_glXGetProcAddressARB=no
7864 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7865 LIBS=$ac_check_lib_save_LIBS
7867 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXGetProcAddressARB" >&5
7868 echo "${ECHO_T}$ac_cv_lib_GL_glXGetProcAddressARB" >&6
7869 if test $ac_cv_lib_GL_glXGetProcAddressARB = yes; then
7871 cat >>confdefs.h <<\_ACEOF
7872 #define HAVE_GLX_GETPROCADDRESS 1
7878 if test "$ac_cv_lib_GL_glXGetProcAddressARB" = "yes"
7880 echo "$as_me:$LINENO: checking for OpenGL extension functions prototypes" >&5
7881 echo $ECHO_N "checking for OpenGL extension functions prototypes... $ECHO_C" >&6
7882 if test "${wine_cv_extension_prototypes+set}" = set; then
7883 echo $ECHO_N "(cached) $ECHO_C" >&6
7885 cat >conftest.$ac_ext <<_ACEOF
7886 #line $LINENO "configure"
7889 cat confdefs.h >>conftest.$ac_ext
7890 cat >>conftest.$ac_ext <<_ACEOF
7891 /* end confdefs.h. */
7893 #ifdef HAVE_GL_GLEXT_H
7894 # include <GL/glext.h>
7900 PFNGLCOLORTABLEEXTPROC test_proc;
7905 rm -f conftest.$ac_objext
7906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7907 (eval $ac_compile) 2>&5
7909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7910 (exit $ac_status); } &&
7911 { ac_try='test -s conftest.$ac_objext'
7912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7916 (exit $ac_status); }; }; then
7917 wine_cv_extension_prototypes="yes"
7919 echo "$as_me: failed program was:" >&5
7920 sed 's/^/| /' conftest.$ac_ext >&5
7922 wine_cv_extension_prototypes="no"
7925 rm -f conftest.$ac_objext conftest.$ac_ext
7928 echo "$as_me:$LINENO: result: $wine_cv_extension_prototypes" >&5
7929 echo "${ECHO_T}$wine_cv_extension_prototypes" >&6
7930 if test "$wine_cv_extension_prototypes" = "yes"
7933 cat >>confdefs.h <<\_ACEOF
7934 #define HAVE_GLEXT_PROTOTYPES 1
7941 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
7942 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
7943 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
7944 echo $ECHO_N "(cached) $ECHO_C" >&6
7946 ac_check_lib_save_LIBS=$LIBS
7947 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
7949 cat >conftest.$ac_ext <<_ACEOF
7950 #line $LINENO "configure"
7953 cat confdefs.h >>conftest.$ac_ext
7954 cat >>conftest.$ac_ext <<_ACEOF
7955 /* end confdefs.h. */
7957 /* Override any gcc2 internal prototype to avoid an error. */
7961 /* We use char because int might match the return type of a gcc2
7962 builtin and then its argument prototype would still apply. */
7972 rm -f conftest.$ac_objext conftest$ac_exeext
7973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7974 (eval $ac_link) 2>&5
7976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7977 (exit $ac_status); } &&
7978 { ac_try='test -s conftest$ac_exeext'
7979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7983 (exit $ac_status); }; }; then
7984 ac_cv_lib_GLU_gluLookAt=yes
7986 echo "$as_me: failed program was:" >&5
7987 sed 's/^/| /' conftest.$ac_ext >&5
7989 ac_cv_lib_GLU_gluLookAt=no
7991 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7992 LIBS=$ac_check_lib_save_LIBS
7994 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
7995 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
7996 if test $ac_cv_lib_GLU_gluLookAt = yes; then
7997 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
7998 GLU32FILES='$(GLU32FILES)'
8004 echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
8005 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6
8006 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
8007 echo $ECHO_N "(cached) $ECHO_C" >&6
8009 ac_check_lib_save_LIBS=$LIBS
8010 LIBS="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
8011 cat >conftest.$ac_ext <<_ACEOF
8012 #line $LINENO "configure"
8015 cat confdefs.h >>conftest.$ac_ext
8016 cat >>conftest.$ac_ext <<_ACEOF
8017 /* end confdefs.h. */
8019 /* Override any gcc2 internal prototype to avoid an error. */
8023 /* We use char because int might match the return type of a gcc2
8024 builtin and then its argument prototype would still apply. */
8025 char glutMainLoop ();
8034 rm -f conftest.$ac_objext conftest$ac_exeext
8035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8036 (eval $ac_link) 2>&5
8038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8039 (exit $ac_status); } &&
8040 { ac_try='test -s conftest$ac_exeext'
8041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8045 (exit $ac_status); }; }; then
8046 ac_cv_lib_glut_glutMainLoop=yes
8048 echo "$as_me: failed program was:" >&5
8049 sed 's/^/| /' conftest.$ac_ext >&5
8051 ac_cv_lib_glut_glutMainLoop=no
8053 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8054 LIBS=$ac_check_lib_save_LIBS
8056 echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
8057 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6
8058 if test $ac_cv_lib_glut_glutMainLoop = yes; then
8059 GLUT_LIBS="-lglut -lXmu -lXi"
8061 GLUT32FILES='$(GLUT32FILES)'
8071 for ac_header in audio/audiolib.h
8073 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8074 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8075 echo "$as_me:$LINENO: checking for $ac_header" >&5
8076 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8077 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8078 echo $ECHO_N "(cached) $ECHO_C" >&6
8080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8081 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8083 # Is the header compilable?
8084 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8085 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8086 cat >conftest.$ac_ext <<_ACEOF
8087 #line $LINENO "configure"
8090 cat confdefs.h >>conftest.$ac_ext
8091 cat >>conftest.$ac_ext <<_ACEOF
8092 /* end confdefs.h. */
8093 $ac_includes_default
8094 #include <$ac_header>
8096 rm -f conftest.$ac_objext
8097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8098 (eval $ac_compile) 2>&5
8100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8101 (exit $ac_status); } &&
8102 { ac_try='test -s conftest.$ac_objext'
8103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8107 (exit $ac_status); }; }; then
8108 ac_header_compiler=yes
8110 echo "$as_me: failed program was:" >&5
8111 sed 's/^/| /' conftest.$ac_ext >&5
8113 ac_header_compiler=no
8115 rm -f conftest.$ac_objext conftest.$ac_ext
8116 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8117 echo "${ECHO_T}$ac_header_compiler" >&6
8119 # Is the header present?
8120 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8121 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8122 cat >conftest.$ac_ext <<_ACEOF
8123 #line $LINENO "configure"
8126 cat confdefs.h >>conftest.$ac_ext
8127 cat >>conftest.$ac_ext <<_ACEOF
8128 /* end confdefs.h. */
8129 #include <$ac_header>
8131 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8132 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8134 grep -v '^ *+' conftest.er1 >conftest.err
8136 cat conftest.err >&5
8137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8138 (exit $ac_status); } >/dev/null; then
8139 if test -s conftest.err; then
8140 ac_cpp_err=$ac_c_preproc_warn_flag
8147 if test -z "$ac_cpp_err"; then
8148 ac_header_preproc=yes
8150 echo "$as_me: failed program was:" >&5
8151 sed 's/^/| /' conftest.$ac_ext >&5
8153 ac_header_preproc=no
8155 rm -f conftest.err conftest.$ac_ext
8156 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8157 echo "${ECHO_T}$ac_header_preproc" >&6
8159 # So? What about this header?
8160 case $ac_header_compiler:$ac_header_preproc in
8162 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8163 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8164 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8165 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8168 ## ------------------------------------ ##
8169 ## Report this to bug-autoconf@gnu.org. ##
8170 ## ------------------------------------ ##
8173 sed "s/^/$as_me: WARNING: /" >&2
8176 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8177 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8178 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8179 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8180 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8181 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8184 ## ------------------------------------ ##
8185 ## Report this to bug-autoconf@gnu.org. ##
8186 ## ------------------------------------ ##
8189 sed "s/^/$as_me: WARNING: /" >&2
8192 echo "$as_me:$LINENO: checking for $ac_header" >&5
8193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8194 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8195 echo $ECHO_N "(cached) $ECHO_C" >&6
8197 eval "$as_ac_Header=$ac_header_preproc"
8199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8200 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8203 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8204 cat >>confdefs.h <<_ACEOF
8205 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8208 for ac_header in audio/soundlib.h
8210 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8211 echo "$as_me:$LINENO: checking for $ac_header" >&5
8212 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8213 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8214 echo $ECHO_N "(cached) $ECHO_C" >&6
8216 cat >conftest.$ac_ext <<_ACEOF
8217 #line $LINENO "configure"
8220 cat confdefs.h >>conftest.$ac_ext
8221 cat >>conftest.$ac_ext <<_ACEOF
8222 /* end confdefs.h. */
8223 #include <audio/audiolib.h>
8225 #include <$ac_header>
8227 rm -f conftest.$ac_objext
8228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8229 (eval $ac_compile) 2>&5
8231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8232 (exit $ac_status); } &&
8233 { ac_try='test -s conftest.$ac_objext'
8234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8238 (exit $ac_status); }; }; then
8239 eval "$as_ac_Header=yes"
8241 echo "$as_me: failed program was:" >&5
8242 sed 's/^/| /' conftest.$ac_ext >&5
8244 eval "$as_ac_Header=no"
8246 rm -f conftest.$ac_objext conftest.$ac_ext
8248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8249 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8250 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8251 cat >>confdefs.h <<_ACEOF
8252 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8259 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8260 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
8261 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8262 echo $ECHO_N "(cached) $ECHO_C" >&6
8264 ac_check_lib_save_LIBS=$LIBS
8265 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8266 cat >conftest.$ac_ext <<_ACEOF
8267 #line $LINENO "configure"
8270 cat confdefs.h >>conftest.$ac_ext
8271 cat >>conftest.$ac_ext <<_ACEOF
8272 /* end confdefs.h. */
8274 /* Override any gcc2 internal prototype to avoid an error. */
8278 /* We use char because int might match the return type of a gcc2
8279 builtin and then its argument prototype would still apply. */
8280 char AuCreateFlow ();
8289 rm -f conftest.$ac_objext conftest$ac_exeext
8290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8291 (eval $ac_link) 2>&5
8293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8294 (exit $ac_status); } &&
8295 { ac_try='test -s conftest$ac_exeext'
8296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8300 (exit $ac_status); }; }; then
8301 ac_cv_lib_audio_AuCreateFlow=yes
8303 echo "$as_me: failed program was:" >&5
8304 sed 's/^/| /' conftest.$ac_ext >&5
8306 ac_cv_lib_audio_AuCreateFlow=no
8308 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8309 LIBS=$ac_check_lib_save_LIBS
8311 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8312 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
8313 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8315 cat >>confdefs.h <<\_ACEOF
8319 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8327 CPPFLAGS="$ac_save_CPPFLAGS"
8336 if test "x$with_curses" != "xno"
8339 for ac_header in ncurses.h
8341 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8342 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8343 echo "$as_me:$LINENO: checking for $ac_header" >&5
8344 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8345 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8346 echo $ECHO_N "(cached) $ECHO_C" >&6
8348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8349 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8351 # Is the header compilable?
8352 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8353 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8354 cat >conftest.$ac_ext <<_ACEOF
8355 #line $LINENO "configure"
8358 cat confdefs.h >>conftest.$ac_ext
8359 cat >>conftest.$ac_ext <<_ACEOF
8360 /* end confdefs.h. */
8361 $ac_includes_default
8362 #include <$ac_header>
8364 rm -f conftest.$ac_objext
8365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8366 (eval $ac_compile) 2>&5
8368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8369 (exit $ac_status); } &&
8370 { ac_try='test -s conftest.$ac_objext'
8371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8375 (exit $ac_status); }; }; then
8376 ac_header_compiler=yes
8378 echo "$as_me: failed program was:" >&5
8379 sed 's/^/| /' conftest.$ac_ext >&5
8381 ac_header_compiler=no
8383 rm -f conftest.$ac_objext conftest.$ac_ext
8384 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8385 echo "${ECHO_T}$ac_header_compiler" >&6
8387 # Is the header present?
8388 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8389 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8390 cat >conftest.$ac_ext <<_ACEOF
8391 #line $LINENO "configure"
8394 cat confdefs.h >>conftest.$ac_ext
8395 cat >>conftest.$ac_ext <<_ACEOF
8396 /* end confdefs.h. */
8397 #include <$ac_header>
8399 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8400 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8402 grep -v '^ *+' conftest.er1 >conftest.err
8404 cat conftest.err >&5
8405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8406 (exit $ac_status); } >/dev/null; then
8407 if test -s conftest.err; then
8408 ac_cpp_err=$ac_c_preproc_warn_flag
8415 if test -z "$ac_cpp_err"; then
8416 ac_header_preproc=yes
8418 echo "$as_me: failed program was:" >&5
8419 sed 's/^/| /' conftest.$ac_ext >&5
8421 ac_header_preproc=no
8423 rm -f conftest.err conftest.$ac_ext
8424 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8425 echo "${ECHO_T}$ac_header_preproc" >&6
8427 # So? What about this header?
8428 case $ac_header_compiler:$ac_header_preproc in
8430 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8431 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8432 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8433 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8436 ## ------------------------------------ ##
8437 ## Report this to bug-autoconf@gnu.org. ##
8438 ## ------------------------------------ ##
8441 sed "s/^/$as_me: WARNING: /" >&2
8444 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8445 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8446 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8447 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8448 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8449 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8452 ## ------------------------------------ ##
8453 ## Report this to bug-autoconf@gnu.org. ##
8454 ## ------------------------------------ ##
8457 sed "s/^/$as_me: WARNING: /" >&2
8460 echo "$as_me:$LINENO: checking for $ac_header" >&5
8461 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8462 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8463 echo $ECHO_N "(cached) $ECHO_C" >&6
8465 eval "$as_ac_Header=$ac_header_preproc"
8467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8468 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8471 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8472 cat >>confdefs.h <<_ACEOF
8473 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8475 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
8476 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
8477 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
8478 echo $ECHO_N "(cached) $ECHO_C" >&6
8480 ac_check_lib_save_LIBS=$LIBS
8481 LIBS="-lncurses $LIBS"
8482 cat >conftest.$ac_ext <<_ACEOF
8483 #line $LINENO "configure"
8486 cat confdefs.h >>conftest.$ac_ext
8487 cat >>conftest.$ac_ext <<_ACEOF
8488 /* end confdefs.h. */
8490 /* Override any gcc2 internal prototype to avoid an error. */
8494 /* We use char because int might match the return type of a gcc2
8495 builtin and then its argument prototype would still apply. */
8505 rm -f conftest.$ac_objext conftest$ac_exeext
8506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8507 (eval $ac_link) 2>&5
8509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8510 (exit $ac_status); } &&
8511 { ac_try='test -s conftest$ac_exeext'
8512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8516 (exit $ac_status); }; }; then
8517 ac_cv_lib_ncurses_waddch=yes
8519 echo "$as_me: failed program was:" >&5
8520 sed 's/^/| /' conftest.$ac_ext >&5
8522 ac_cv_lib_ncurses_waddch=no
8524 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8525 LIBS=$ac_check_lib_save_LIBS
8527 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
8528 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
8529 if test $ac_cv_lib_ncurses_waddch = yes; then
8531 cat >>confdefs.h <<\_ACEOF
8532 #define HAVE_LIBNCURSES 1
8535 CURSESLIBS="-lncurses"
8538 for ac_header in curses.h
8540 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8541 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8542 echo "$as_me:$LINENO: checking for $ac_header" >&5
8543 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8544 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8545 echo $ECHO_N "(cached) $ECHO_C" >&6
8547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8548 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8550 # Is the header compilable?
8551 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8552 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8553 cat >conftest.$ac_ext <<_ACEOF
8554 #line $LINENO "configure"
8557 cat confdefs.h >>conftest.$ac_ext
8558 cat >>conftest.$ac_ext <<_ACEOF
8559 /* end confdefs.h. */
8560 $ac_includes_default
8561 #include <$ac_header>
8563 rm -f conftest.$ac_objext
8564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8565 (eval $ac_compile) 2>&5
8567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8568 (exit $ac_status); } &&
8569 { ac_try='test -s conftest.$ac_objext'
8570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8574 (exit $ac_status); }; }; then
8575 ac_header_compiler=yes
8577 echo "$as_me: failed program was:" >&5
8578 sed 's/^/| /' conftest.$ac_ext >&5
8580 ac_header_compiler=no
8582 rm -f conftest.$ac_objext conftest.$ac_ext
8583 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8584 echo "${ECHO_T}$ac_header_compiler" >&6
8586 # Is the header present?
8587 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8588 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8589 cat >conftest.$ac_ext <<_ACEOF
8590 #line $LINENO "configure"
8593 cat confdefs.h >>conftest.$ac_ext
8594 cat >>conftest.$ac_ext <<_ACEOF
8595 /* end confdefs.h. */
8596 #include <$ac_header>
8598 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8599 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8601 grep -v '^ *+' conftest.er1 >conftest.err
8603 cat conftest.err >&5
8604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8605 (exit $ac_status); } >/dev/null; then
8606 if test -s conftest.err; then
8607 ac_cpp_err=$ac_c_preproc_warn_flag
8614 if test -z "$ac_cpp_err"; then
8615 ac_header_preproc=yes
8617 echo "$as_me: failed program was:" >&5
8618 sed 's/^/| /' conftest.$ac_ext >&5
8620 ac_header_preproc=no
8622 rm -f conftest.err conftest.$ac_ext
8623 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8624 echo "${ECHO_T}$ac_header_preproc" >&6
8626 # So? What about this header?
8627 case $ac_header_compiler:$ac_header_preproc in
8629 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8630 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8631 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8632 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8635 ## ------------------------------------ ##
8636 ## Report this to bug-autoconf@gnu.org. ##
8637 ## ------------------------------------ ##
8640 sed "s/^/$as_me: WARNING: /" >&2
8643 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8644 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8645 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8646 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8647 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8648 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8651 ## ------------------------------------ ##
8652 ## Report this to bug-autoconf@gnu.org. ##
8653 ## ------------------------------------ ##
8656 sed "s/^/$as_me: WARNING: /" >&2
8659 echo "$as_me:$LINENO: checking for $ac_header" >&5
8660 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8661 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8662 echo $ECHO_N "(cached) $ECHO_C" >&6
8664 eval "$as_ac_Header=$ac_header_preproc"
8666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8667 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8670 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8671 cat >>confdefs.h <<_ACEOF
8672 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8674 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
8675 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
8676 if test "${ac_cv_lib_curses_waddch+set}" = set; then
8677 echo $ECHO_N "(cached) $ECHO_C" >&6
8679 ac_check_lib_save_LIBS=$LIBS
8680 LIBS="-lcurses $LIBS"
8681 cat >conftest.$ac_ext <<_ACEOF
8682 #line $LINENO "configure"
8685 cat confdefs.h >>conftest.$ac_ext
8686 cat >>conftest.$ac_ext <<_ACEOF
8687 /* end confdefs.h. */
8689 /* Override any gcc2 internal prototype to avoid an error. */
8693 /* We use char because int might match the return type of a gcc2
8694 builtin and then its argument prototype would still apply. */
8704 rm -f conftest.$ac_objext conftest$ac_exeext
8705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8706 (eval $ac_link) 2>&5
8708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8709 (exit $ac_status); } &&
8710 { ac_try='test -s conftest$ac_exeext'
8711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8715 (exit $ac_status); }; }; then
8716 ac_cv_lib_curses_waddch=yes
8718 echo "$as_me: failed program was:" >&5
8719 sed 's/^/| /' conftest.$ac_ext >&5
8721 ac_cv_lib_curses_waddch=no
8723 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8724 LIBS=$ac_check_lib_save_LIBS
8726 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
8727 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
8728 if test $ac_cv_lib_curses_waddch = yes; then
8730 cat >>confdefs.h <<\_ACEOF
8731 #define HAVE_LIBCURSES 1
8734 CURSESLIBS="-lcurses"
8748 LIBS="$CURSESLIBS $LIBS"
8751 for ac_func in getbkgd resizeterm
8753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8754 echo "$as_me:$LINENO: checking for $ac_func" >&5
8755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8756 if eval "test \"\${$as_ac_var+set}\" = set"; then
8757 echo $ECHO_N "(cached) $ECHO_C" >&6
8759 cat >conftest.$ac_ext <<_ACEOF
8760 #line $LINENO "configure"
8763 cat confdefs.h >>conftest.$ac_ext
8764 cat >>conftest.$ac_ext <<_ACEOF
8765 /* end confdefs.h. */
8766 /* System header to define __stub macros and hopefully few prototypes,
8767 which can conflict with char $ac_func (); below.
8768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8769 <limits.h> exists even on freestanding compilers. */
8771 # include <limits.h>
8773 # include <assert.h>
8775 /* Override any gcc2 internal prototype to avoid an error. */
8780 /* We use char because int might match the return type of a gcc2
8781 builtin and then its argument prototype would still apply. */
8783 /* The GNU C library defines this for functions which it implements
8784 to always fail with ENOSYS. Some functions are actually named
8785 something starting with __ and the normal name is an alias. */
8786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8789 char (*f) () = $ac_func;
8798 return f != $ac_func;
8803 rm -f conftest.$ac_objext conftest$ac_exeext
8804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8805 (eval $ac_link) 2>&5
8807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8808 (exit $ac_status); } &&
8809 { ac_try='test -s conftest$ac_exeext'
8810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8814 (exit $ac_status); }; }; then
8815 eval "$as_ac_var=yes"
8817 echo "$as_me: failed program was:" >&5
8818 sed 's/^/| /' conftest.$ac_ext >&5
8820 eval "$as_ac_var=no"
8822 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8826 if test `eval echo '${'$as_ac_var'}'` = yes; then
8827 cat >>confdefs.h <<_ACEOF
8828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8838 # Extract the first word of "sane-config", so it can be a program name with args.
8839 set dummy sane-config; ac_word=$2
8840 echo "$as_me:$LINENO: checking for $ac_word" >&5
8841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8842 if test "${ac_cv_prog_sane_devel+set}" = set; then
8843 echo $ECHO_N "(cached) $ECHO_C" >&6
8845 if test -n "$sane_devel"; then
8846 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
8848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8852 test -z "$as_dir" && as_dir=.
8853 for ac_exec_ext in '' $ac_executable_extensions; do
8854 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8855 ac_cv_prog_sane_devel="sane-config"
8856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8862 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
8865 sane_devel=$ac_cv_prog_sane_devel
8866 if test -n "$sane_devel"; then
8867 echo "$as_me:$LINENO: result: $sane_devel" >&5
8868 echo "${ECHO_T}$sane_devel" >&6
8870 echo "$as_me:$LINENO: result: no" >&5
8871 echo "${ECHO_T}no" >&6
8874 if test "$sane_devel" = "no"
8879 SANELIBS="`$sane_devel --libs`"
8880 SANEINCL="`$sane_devel --cflags`"
8881 ac_save_CPPFLAGS="$CPPFLAGS"
8882 ac_save_LIBS="$LIBS"
8883 CPPFLAGS="$CPPFLAGS $SANEINCL"
8884 LIBS="$LIBS $SANELIBS"
8885 if test "${ac_cv_header_sane_sane_h+set}" = set; then
8886 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
8887 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
8888 if test "${ac_cv_header_sane_sane_h+set}" = set; then
8889 echo $ECHO_N "(cached) $ECHO_C" >&6
8891 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
8892 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
8894 # Is the header compilable?
8895 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
8896 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
8897 cat >conftest.$ac_ext <<_ACEOF
8898 #line $LINENO "configure"
8901 cat confdefs.h >>conftest.$ac_ext
8902 cat >>conftest.$ac_ext <<_ACEOF
8903 /* end confdefs.h. */
8904 $ac_includes_default
8905 #include <sane/sane.h>
8907 rm -f conftest.$ac_objext
8908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8909 (eval $ac_compile) 2>&5
8911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8912 (exit $ac_status); } &&
8913 { ac_try='test -s conftest.$ac_objext'
8914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8918 (exit $ac_status); }; }; then
8919 ac_header_compiler=yes
8921 echo "$as_me: failed program was:" >&5
8922 sed 's/^/| /' conftest.$ac_ext >&5
8924 ac_header_compiler=no
8926 rm -f conftest.$ac_objext conftest.$ac_ext
8927 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8928 echo "${ECHO_T}$ac_header_compiler" >&6
8930 # Is the header present?
8931 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
8932 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
8933 cat >conftest.$ac_ext <<_ACEOF
8934 #line $LINENO "configure"
8937 cat confdefs.h >>conftest.$ac_ext
8938 cat >>conftest.$ac_ext <<_ACEOF
8939 /* end confdefs.h. */
8940 #include <sane/sane.h>
8942 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8943 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8945 grep -v '^ *+' conftest.er1 >conftest.err
8947 cat conftest.err >&5
8948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8949 (exit $ac_status); } >/dev/null; then
8950 if test -s conftest.err; then
8951 ac_cpp_err=$ac_c_preproc_warn_flag
8958 if test -z "$ac_cpp_err"; then
8959 ac_header_preproc=yes
8961 echo "$as_me: failed program was:" >&5
8962 sed 's/^/| /' conftest.$ac_ext >&5
8964 ac_header_preproc=no
8966 rm -f conftest.err conftest.$ac_ext
8967 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8968 echo "${ECHO_T}$ac_header_preproc" >&6
8970 # So? What about this header?
8971 case $ac_header_compiler:$ac_header_preproc in
8973 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
8974 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8975 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
8976 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
8979 ## ------------------------------------ ##
8980 ## Report this to bug-autoconf@gnu.org. ##
8981 ## ------------------------------------ ##
8984 sed "s/^/$as_me: WARNING: /" >&2
8987 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
8988 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
8989 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
8990 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
8991 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
8992 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
8995 ## ------------------------------------ ##
8996 ## Report this to bug-autoconf@gnu.org. ##
8997 ## ------------------------------------ ##
9000 sed "s/^/$as_me: WARNING: /" >&2
9003 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9004 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9005 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9006 echo $ECHO_N "(cached) $ECHO_C" >&6
9008 ac_cv_header_sane_sane_h=$ac_header_preproc
9010 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9011 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9014 if test $ac_cv_header_sane_sane_h = yes; then
9015 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
9016 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
9017 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
9018 echo $ECHO_N "(cached) $ECHO_C" >&6
9020 ac_check_lib_save_LIBS=$LIBS
9022 cat >conftest.$ac_ext <<_ACEOF
9023 #line $LINENO "configure"
9026 cat confdefs.h >>conftest.$ac_ext
9027 cat >>conftest.$ac_ext <<_ACEOF
9028 /* end confdefs.h. */
9030 /* Override any gcc2 internal prototype to avoid an error. */
9034 /* We use char because int might match the return type of a gcc2
9035 builtin and then its argument prototype would still apply. */
9045 rm -f conftest.$ac_objext conftest$ac_exeext
9046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9047 (eval $ac_link) 2>&5
9049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9050 (exit $ac_status); } &&
9051 { ac_try='test -s conftest$ac_exeext'
9052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9056 (exit $ac_status); }; }; then
9057 ac_cv_lib_sane_sane_open=yes
9059 echo "$as_me: failed program was:" >&5
9060 sed 's/^/| /' conftest.$ac_ext >&5
9062 ac_cv_lib_sane_sane_open=no
9064 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9065 LIBS=$ac_check_lib_save_LIBS
9067 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
9068 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
9069 if test $ac_cv_lib_sane_sane_open = yes; then
9071 cat >>confdefs.h <<\_ACEOF
9086 LIBS="$ac_save_LIBS"
9087 CPPFLAGS="$ac_save_CPPFLAGS"
9093 for ac_header in unicode/ubidi.h
9095 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9097 echo "$as_me:$LINENO: checking for $ac_header" >&5
9098 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9099 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9100 echo $ECHO_N "(cached) $ECHO_C" >&6
9102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9103 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9105 # Is the header compilable?
9106 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9107 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9108 cat >conftest.$ac_ext <<_ACEOF
9109 #line $LINENO "configure"
9112 cat confdefs.h >>conftest.$ac_ext
9113 cat >>conftest.$ac_ext <<_ACEOF
9114 /* end confdefs.h. */
9115 $ac_includes_default
9116 #include <$ac_header>
9118 rm -f conftest.$ac_objext
9119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9120 (eval $ac_compile) 2>&5
9122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9123 (exit $ac_status); } &&
9124 { ac_try='test -s conftest.$ac_objext'
9125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9129 (exit $ac_status); }; }; then
9130 ac_header_compiler=yes
9132 echo "$as_me: failed program was:" >&5
9133 sed 's/^/| /' conftest.$ac_ext >&5
9135 ac_header_compiler=no
9137 rm -f conftest.$ac_objext conftest.$ac_ext
9138 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9139 echo "${ECHO_T}$ac_header_compiler" >&6
9141 # Is the header present?
9142 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9143 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9144 cat >conftest.$ac_ext <<_ACEOF
9145 #line $LINENO "configure"
9148 cat confdefs.h >>conftest.$ac_ext
9149 cat >>conftest.$ac_ext <<_ACEOF
9150 /* end confdefs.h. */
9151 #include <$ac_header>
9153 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9154 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9156 grep -v '^ *+' conftest.er1 >conftest.err
9158 cat conftest.err >&5
9159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9160 (exit $ac_status); } >/dev/null; then
9161 if test -s conftest.err; then
9162 ac_cpp_err=$ac_c_preproc_warn_flag
9169 if test -z "$ac_cpp_err"; then
9170 ac_header_preproc=yes
9172 echo "$as_me: failed program was:" >&5
9173 sed 's/^/| /' conftest.$ac_ext >&5
9175 ac_header_preproc=no
9177 rm -f conftest.err conftest.$ac_ext
9178 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9179 echo "${ECHO_T}$ac_header_preproc" >&6
9181 # So? What about this header?
9182 case $ac_header_compiler:$ac_header_preproc in
9184 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9185 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9186 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9187 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9190 ## ------------------------------------ ##
9191 ## Report this to bug-autoconf@gnu.org. ##
9192 ## ------------------------------------ ##
9195 sed "s/^/$as_me: WARNING: /" >&2
9198 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9199 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9200 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9201 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9202 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9203 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9206 ## ------------------------------------ ##
9207 ## Report this to bug-autoconf@gnu.org. ##
9208 ## ------------------------------------ ##
9211 sed "s/^/$as_me: WARNING: /" >&2
9214 echo "$as_me:$LINENO: checking for $ac_header" >&5
9215 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9216 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9217 echo $ECHO_N "(cached) $ECHO_C" >&6
9219 eval "$as_ac_Header=$ac_header_preproc"
9221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9222 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9225 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9226 cat >>confdefs.h <<_ACEOF
9227 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9234 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
9236 echo "$as_me:$LINENO: checking whether we can statically link the ICU libraries" >&5
9237 echo $ECHO_N "checking whether we can statically link the ICU libraries... $ECHO_C" >&6
9238 if test "${ac_cv_lib_icu+set}" = set; then
9239 echo $ECHO_N "(cached) $ECHO_C" >&6
9242 ICU_LIB_DIR="${ICU_LIB_DIR-/usr/lib}"
9243 ICUUC_LIB="${ICUUC_LIB-$ICU_LIB_DIR/libicuuc.a}"
9244 ICUDATA_LIB="${ICUDATA_LIB-$ICU_LIB_DIR/libicudata.a}"
9245 LIBS="$LIBS $ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
9246 cat >conftest.$ac_ext <<_ACEOF
9247 #line $LINENO "configure"
9250 cat confdefs.h >>conftest.$ac_ext
9251 cat >>conftest.$ac_ext <<_ACEOF
9252 /* end confdefs.h. */
9253 #include <unicode/ubidi.h>
9262 rm -f conftest.$ac_objext conftest$ac_exeext
9263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9264 (eval $ac_link) 2>&5
9266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9267 (exit $ac_status); } &&
9268 { ac_try='test -s conftest$ac_exeext'
9269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9273 (exit $ac_status); }; }; then
9276 echo "$as_me: failed program was:" >&5
9277 sed 's/^/| /' conftest.$ac_ext >&5
9281 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9284 echo "$as_me:$LINENO: result: $ac_cv_lib_icu" >&5
9285 echo "${ECHO_T}$ac_cv_lib_icu" >&6
9286 if test "$ac_cv_lib_icu" = "yes"
9289 cat >>confdefs.h <<\_ACEOF
9293 ICULIBS="$ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
9298 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
9299 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
9300 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
9301 echo $ECHO_N "(cached) $ECHO_C" >&6
9303 ac_check_lib_save_LIBS=$LIBS
9304 LIBS="-lfreetype $X_LIBS $LIBS"
9305 cat >conftest.$ac_ext <<_ACEOF
9306 #line $LINENO "configure"
9309 cat confdefs.h >>conftest.$ac_ext
9310 cat >>conftest.$ac_ext <<_ACEOF
9311 /* end confdefs.h. */
9313 /* Override any gcc2 internal prototype to avoid an error. */
9317 /* We use char because int might match the return type of a gcc2
9318 builtin and then its argument prototype would still apply. */
9319 char FT_Init_FreeType ();
9323 FT_Init_FreeType ();
9328 rm -f conftest.$ac_objext conftest$ac_exeext
9329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9330 (eval $ac_link) 2>&5
9332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9333 (exit $ac_status); } &&
9334 { ac_try='test -s conftest$ac_exeext'
9335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9339 (exit $ac_status); }; }; then
9340 ac_cv_lib_freetype_FT_Init_FreeType=yes
9342 echo "$as_me: failed program was:" >&5
9343 sed 's/^/| /' conftest.$ac_ext >&5
9345 ac_cv_lib_freetype_FT_Init_FreeType=no
9347 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9348 LIBS=$ac_check_lib_save_LIBS
9350 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
9351 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
9352 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
9358 if test "$ft_lib" = "no"
9361 wine_cv_msg_freetype=no
9363 # Extract the first word of "freetype-config", so it can be a program name with args.
9364 set dummy freetype-config; ac_word=$2
9365 echo "$as_me:$LINENO: checking for $ac_word" >&5
9366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9367 if test "${ac_cv_prog_ft_devel+set}" = set; then
9368 echo $ECHO_N "(cached) $ECHO_C" >&6
9370 if test -n "$ft_devel"; then
9371 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
9373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9377 test -z "$as_dir" && as_dir=.
9378 for ac_exec_ext in '' $ac_executable_extensions; do
9379 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9380 ac_cv_prog_ft_devel="freetype-config"
9381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9387 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
9390 ft_devel=$ac_cv_prog_ft_devel
9391 if test -n "$ft_devel"; then
9392 echo "$as_me:$LINENO: result: $ft_devel" >&5
9393 echo "${ECHO_T}$ft_devel" >&6
9395 echo "$as_me:$LINENO: result: no" >&5
9396 echo "${ECHO_T}no" >&6
9399 if test "$ft_devel" = "no"
9401 # Extract the first word of "freetype2-config", so it can be a program name with args.
9402 set dummy freetype2-config; ac_word=$2
9403 echo "$as_me:$LINENO: checking for $ac_word" >&5
9404 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9405 if test "${ac_cv_prog_ft_devel2+set}" = set; then
9406 echo $ECHO_N "(cached) $ECHO_C" >&6
9408 if test -n "$ft_devel2"; then
9409 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
9411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9415 test -z "$as_dir" && as_dir=.
9416 for ac_exec_ext in '' $ac_executable_extensions; do
9417 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9418 ac_cv_prog_ft_devel2="freetype2-config"
9419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9425 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
9428 ft_devel2=$ac_cv_prog_ft_devel2
9429 if test -n "$ft_devel2"; then
9430 echo "$as_me:$LINENO: result: $ft_devel2" >&5
9431 echo "${ECHO_T}$ft_devel2" >&6
9433 echo "$as_me:$LINENO: result: no" >&5
9434 echo "${ECHO_T}no" >&6
9437 if test "$ft_devel2" = "freetype2-config"
9442 if test "$ft_devel" = "no"
9445 wine_cv_msg_freetype=yes
9447 FREETYPEINCL=`$ft_devel --cflags`
9448 ac_save_CPPFLAGS="$CPPFLAGS"
9449 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
9459 for ac_header in ft2build.h \
9460 freetype/freetype.h \
9461 freetype/ftglyph.h \
9462 freetype/tttables.h \
9463 freetype/ftnames.h \
9464 freetype/ftsnames.h \
9465 freetype/ttnameid.h \
9466 freetype/ftoutln.h \
9467 freetype/internal/sfnt.h
9469 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9470 echo "$as_me:$LINENO: checking for $ac_header" >&5
9471 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9472 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9473 echo $ECHO_N "(cached) $ECHO_C" >&6
9475 cat >conftest.$ac_ext <<_ACEOF
9476 #line $LINENO "configure"
9479 cat confdefs.h >>conftest.$ac_ext
9480 cat >>conftest.$ac_ext <<_ACEOF
9481 /* end confdefs.h. */
9483 #include <ft2build.h>
9486 #include <$ac_header>
9488 rm -f conftest.$ac_objext
9489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9490 (eval $ac_compile) 2>&5
9492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9493 (exit $ac_status); } &&
9494 { ac_try='test -s conftest.$ac_objext'
9495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9499 (exit $ac_status); }; }; then
9500 eval "$as_ac_Header=yes"
9502 echo "$as_me: failed program was:" >&5
9503 sed 's/^/| /' conftest.$ac_ext >&5
9505 eval "$as_ac_Header=no"
9507 rm -f conftest.$ac_objext conftest.$ac_ext
9509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9510 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9511 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9512 cat >>confdefs.h <<_ACEOF
9513 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9520 cat >conftest.$ac_ext <<_ACEOF
9521 #line $LINENO "configure"
9524 cat confdefs.h >>conftest.$ac_ext
9525 cat >>conftest.$ac_ext <<_ACEOF
9526 /* end confdefs.h. */
9527 #include <ft2build.h>
9528 #include <freetype/fttrigon.h>
9530 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9531 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9533 grep -v '^ *+' conftest.er1 >conftest.err
9535 cat conftest.err >&5
9536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9537 (exit $ac_status); } >/dev/null; then
9538 if test -s conftest.err; then
9539 ac_cpp_err=$ac_c_preproc_warn_flag
9546 if test -z "$ac_cpp_err"; then
9548 cat >>confdefs.h <<\_ACEOF
9549 #define HAVE_FREETYPE_FTTRIGON_H 1
9552 wine_cv_fttrigon=yes
9554 echo "$as_me: failed program was:" >&5
9555 sed 's/^/| /' conftest.$ac_ext >&5
9559 rm -f conftest.err conftest.$ac_ext
9560 CPPFLAGS="$ac_save_CPPFLAGS"
9561 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
9564 cat >>confdefs.h <<\_ACEOF
9565 #define HAVE_FREETYPE 1
9568 wine_cv_msg_freetype=no
9571 wine_cv_msg_freetype=yes
9577 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
9578 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
9579 if test "${ac_cv_c_ppdev+set}" = set; then
9580 echo $ECHO_N "(cached) $ECHO_C" >&6
9582 cat >conftest.$ac_ext <<_ACEOF
9583 #line $LINENO "configure"
9586 cat confdefs.h >>conftest.$ac_ext
9587 cat >>conftest.$ac_ext <<_ACEOF
9588 /* end confdefs.h. */
9589 #include <linux/ppdev.h>
9598 rm -f conftest.$ac_objext
9599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9600 (eval $ac_compile) 2>&5
9602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9603 (exit $ac_status); } &&
9604 { ac_try='test -s conftest.$ac_objext'
9605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9609 (exit $ac_status); }; }; then
9612 echo "$as_me: failed program was:" >&5
9613 sed 's/^/| /' conftest.$ac_ext >&5
9617 rm -f conftest.$ac_objext conftest.$ac_ext
9620 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
9621 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
9622 if test "$ac_cv_c_ppdev" = "yes"
9625 cat >>confdefs.h <<\_ACEOF
9626 #define HAVE_PPDEV 1
9631 echo "$as_me:$LINENO: checking for va_copy" >&5
9632 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
9633 if test "${ac_cv_c_va_copy+set}" = set; then
9634 echo $ECHO_N "(cached) $ECHO_C" >&6
9636 cat >conftest.$ac_ext <<_ACEOF
9637 #line $LINENO "configure"
9640 cat confdefs.h >>conftest.$ac_ext
9641 cat >>conftest.$ac_ext <<_ACEOF
9642 /* end confdefs.h. */
9654 rm -f conftest.$ac_objext conftest$ac_exeext
9655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9656 (eval $ac_link) 2>&5
9658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9659 (exit $ac_status); } &&
9660 { ac_try='test -s conftest$ac_exeext'
9661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9665 (exit $ac_status); }; }; then
9666 ac_cv_c_va_copy="yes"
9668 echo "$as_me: failed program was:" >&5
9669 sed 's/^/| /' conftest.$ac_ext >&5
9671 ac_cv_c_va_copy="no"
9673 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9676 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
9677 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
9678 if test "$ac_cv_c_va_copy" = "yes"
9681 cat >>confdefs.h <<\_ACEOF
9682 #define HAVE_VA_COPY 1
9686 echo "$as_me:$LINENO: checking for __va_copy" >&5
9687 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
9688 if test "${ac_cv_c___va_copy+set}" = set; then
9689 echo $ECHO_N "(cached) $ECHO_C" >&6
9691 cat >conftest.$ac_ext <<_ACEOF
9692 #line $LINENO "configure"
9695 cat confdefs.h >>conftest.$ac_ext
9696 cat >>conftest.$ac_ext <<_ACEOF
9697 /* end confdefs.h. */
9709 rm -f conftest.$ac_objext conftest$ac_exeext
9710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9711 (eval $ac_link) 2>&5
9713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9714 (exit $ac_status); } &&
9715 { ac_try='test -s conftest$ac_exeext'
9716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9720 (exit $ac_status); }; }; then
9721 ac_cv_c___va_copy="yes"
9723 echo "$as_me: failed program was:" >&5
9724 sed 's/^/| /' conftest.$ac_ext >&5
9726 ac_cv_c___va_copy="no"
9728 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9731 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
9732 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
9733 if test "$ac_cv_c___va_copy" = "yes"
9736 cat >>confdefs.h <<\_ACEOF
9737 #define HAVE___VA_COPY 1
9742 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
9743 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
9744 if test "${ac_cv_c_sigsetjmp+set}" = set; then
9745 echo $ECHO_N "(cached) $ECHO_C" >&6
9747 cat >conftest.$ac_ext <<_ACEOF
9748 #line $LINENO "configure"
9751 cat confdefs.h >>conftest.$ac_ext
9752 cat >>conftest.$ac_ext <<_ACEOF
9753 /* end confdefs.h. */
9759 sigsetjmp( buf, 1 );
9760 siglongjmp( buf, 1 );
9765 rm -f conftest.$ac_objext conftest$ac_exeext
9766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9767 (eval $ac_link) 2>&5
9769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9770 (exit $ac_status); } &&
9771 { ac_try='test -s conftest$ac_exeext'
9772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9776 (exit $ac_status); }; }; then
9777 ac_cv_c_sigsetjmp="yes"
9779 echo "$as_me: failed program was:" >&5
9780 sed 's/^/| /' conftest.$ac_ext >&5
9782 ac_cv_c_sigsetjmp="no"
9784 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9787 echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
9788 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6
9789 if test "$ac_cv_c_sigsetjmp" = "yes"
9792 cat >>confdefs.h <<\_ACEOF
9793 #define HAVE_SIGSETJMP 1
9798 echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
9799 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6
9800 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
9801 echo $ECHO_N "(cached) $ECHO_C" >&6
9803 cat >conftest.$ac_ext <<_ACEOF
9804 #line $LINENO "configure"
9807 cat confdefs.h >>conftest.$ac_ext
9808 cat >>conftest.$ac_ext <<_ACEOF
9809 /* end confdefs.h. */
9811 #include <pthread.h>
9816 if ((pthread_rwlock_t *) 0)
9818 if (sizeof (pthread_rwlock_t))
9824 rm -f conftest.$ac_objext
9825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9826 (eval $ac_compile) 2>&5
9828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9829 (exit $ac_status); } &&
9830 { ac_try='test -s conftest.$ac_objext'
9831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9835 (exit $ac_status); }; }; then
9836 ac_cv_type_pthread_rwlock_t=yes
9838 echo "$as_me: failed program was:" >&5
9839 sed 's/^/| /' conftest.$ac_ext >&5
9841 ac_cv_type_pthread_rwlock_t=no
9843 rm -f conftest.$ac_objext conftest.$ac_ext
9845 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
9846 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6
9847 if test $ac_cv_type_pthread_rwlock_t = yes; then
9849 cat >>confdefs.h <<_ACEOF
9850 #define HAVE_PTHREAD_RWLOCK_T 1
9855 echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
9856 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6
9857 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
9858 echo $ECHO_N "(cached) $ECHO_C" >&6
9860 cat >conftest.$ac_ext <<_ACEOF
9861 #line $LINENO "configure"
9864 cat confdefs.h >>conftest.$ac_ext
9865 cat >>conftest.$ac_ext <<_ACEOF
9866 /* end confdefs.h. */
9868 #include <pthread.h>
9873 if ((pthread_rwlockattr_t *) 0)
9875 if (sizeof (pthread_rwlockattr_t))
9881 rm -f conftest.$ac_objext
9882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9883 (eval $ac_compile) 2>&5
9885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9886 (exit $ac_status); } &&
9887 { ac_try='test -s conftest.$ac_objext'
9888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9892 (exit $ac_status); }; }; then
9893 ac_cv_type_pthread_rwlockattr_t=yes
9895 echo "$as_me: failed program was:" >&5
9896 sed 's/^/| /' conftest.$ac_ext >&5
9898 ac_cv_type_pthread_rwlockattr_t=no
9900 rm -f conftest.$ac_objext conftest.$ac_ext
9902 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
9903 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6
9904 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
9906 cat >>confdefs.h <<_ACEOF
9907 #define HAVE_PTHREAD_RWLOCKATTR_T 1
9914 ac_save_LIBS="$LIBS"
9915 LIBS="$LIBS $LIBPTHREAD"
9917 for ac_func in pthread_getattr_np
9919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9920 echo "$as_me:$LINENO: checking for $ac_func" >&5
9921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9922 if eval "test \"\${$as_ac_var+set}\" = set"; then
9923 echo $ECHO_N "(cached) $ECHO_C" >&6
9925 cat >conftest.$ac_ext <<_ACEOF
9926 #line $LINENO "configure"
9929 cat confdefs.h >>conftest.$ac_ext
9930 cat >>conftest.$ac_ext <<_ACEOF
9931 /* end confdefs.h. */
9932 /* System header to define __stub macros and hopefully few prototypes,
9933 which can conflict with char $ac_func (); below.
9934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9935 <limits.h> exists even on freestanding compilers. */
9937 # include <limits.h>
9939 # include <assert.h>
9941 /* Override any gcc2 internal prototype to avoid an error. */
9946 /* We use char because int might match the return type of a gcc2
9947 builtin and then its argument prototype would still apply. */
9949 /* The GNU C library defines this for functions which it implements
9950 to always fail with ENOSYS. Some functions are actually named
9951 something starting with __ and the normal name is an alias. */
9952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9955 char (*f) () = $ac_func;
9964 return f != $ac_func;
9969 rm -f conftest.$ac_objext conftest$ac_exeext
9970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9971 (eval $ac_link) 2>&5
9973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9974 (exit $ac_status); } &&
9975 { ac_try='test -s conftest$ac_exeext'
9976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9980 (exit $ac_status); }; }; then
9981 eval "$as_ac_var=yes"
9983 echo "$as_me: failed program was:" >&5
9984 sed 's/^/| /' conftest.$ac_ext >&5
9986 eval "$as_ac_var=no"
9988 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9992 if test `eval echo '${'$as_ac_var'}'` = yes; then
9993 cat >>confdefs.h <<_ACEOF
9994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10000 LIBS="$ac_save_LIBS"
10005 for ac_header in sys/soundcard.h machine/soundcard.h soundcard.h
10007 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10008 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10009 echo "$as_me:$LINENO: checking for $ac_header" >&5
10010 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10011 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10012 echo $ECHO_N "(cached) $ECHO_C" >&6
10014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10015 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10017 # Is the header compilable?
10018 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10019 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10020 cat >conftest.$ac_ext <<_ACEOF
10021 #line $LINENO "configure"
10024 cat confdefs.h >>conftest.$ac_ext
10025 cat >>conftest.$ac_ext <<_ACEOF
10026 /* end confdefs.h. */
10027 $ac_includes_default
10028 #include <$ac_header>
10030 rm -f conftest.$ac_objext
10031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10032 (eval $ac_compile) 2>&5
10034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10035 (exit $ac_status); } &&
10036 { ac_try='test -s conftest.$ac_objext'
10037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10038 (eval $ac_try) 2>&5
10040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10041 (exit $ac_status); }; }; then
10042 ac_header_compiler=yes
10044 echo "$as_me: failed program was:" >&5
10045 sed 's/^/| /' conftest.$ac_ext >&5
10047 ac_header_compiler=no
10049 rm -f conftest.$ac_objext conftest.$ac_ext
10050 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10051 echo "${ECHO_T}$ac_header_compiler" >&6
10053 # Is the header present?
10054 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10055 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10056 cat >conftest.$ac_ext <<_ACEOF
10057 #line $LINENO "configure"
10060 cat confdefs.h >>conftest.$ac_ext
10061 cat >>conftest.$ac_ext <<_ACEOF
10062 /* end confdefs.h. */
10063 #include <$ac_header>
10065 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10066 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10068 grep -v '^ *+' conftest.er1 >conftest.err
10070 cat conftest.err >&5
10071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10072 (exit $ac_status); } >/dev/null; then
10073 if test -s conftest.err; then
10074 ac_cpp_err=$ac_c_preproc_warn_flag
10081 if test -z "$ac_cpp_err"; then
10082 ac_header_preproc=yes
10084 echo "$as_me: failed program was:" >&5
10085 sed 's/^/| /' conftest.$ac_ext >&5
10087 ac_header_preproc=no
10089 rm -f conftest.err conftest.$ac_ext
10090 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10091 echo "${ECHO_T}$ac_header_preproc" >&6
10093 # So? What about this header?
10094 case $ac_header_compiler:$ac_header_preproc in
10096 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10097 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10098 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10099 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10102 ## ------------------------------------ ##
10103 ## Report this to bug-autoconf@gnu.org. ##
10104 ## ------------------------------------ ##
10107 sed "s/^/$as_me: WARNING: /" >&2
10110 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10111 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10112 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10113 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10114 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10115 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10118 ## ------------------------------------ ##
10119 ## Report this to bug-autoconf@gnu.org. ##
10120 ## ------------------------------------ ##
10123 sed "s/^/$as_me: WARNING: /" >&2
10126 echo "$as_me:$LINENO: checking for $ac_header" >&5
10127 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10128 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10129 echo $ECHO_N "(cached) $ECHO_C" >&6
10131 eval "$as_ac_Header=$ac_header_preproc"
10133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10134 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10137 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10138 cat >>confdefs.h <<_ACEOF
10139 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10147 echo "$as_me:$LINENO: checking for Open Sound System" >&5
10148 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
10149 if test "${ac_cv_c_opensoundsystem+set}" = set; then
10150 echo $ECHO_N "(cached) $ECHO_C" >&6
10152 cat >conftest.$ac_ext <<_ACEOF
10153 #line $LINENO "configure"
10156 cat confdefs.h >>conftest.$ac_ext
10157 cat >>conftest.$ac_ext <<_ACEOF
10158 /* end confdefs.h. */
10160 #if defined(HAVE_SYS_SOUNDCARD_H)
10161 #include <sys/soundcard.h>
10162 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
10163 #include <machine/soundcard.h>
10164 #elif defined(HAVE_SOUNDCARD_H)
10165 #include <soundcard.h>
10173 /* check for one of the Open Sound System specific SNDCTL_ defines */
10174 #if !defined(SNDCTL_DSP_STEREO)
10175 #error No open sound system
10182 rm -f conftest.$ac_objext
10183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10184 (eval $ac_compile) 2>&5
10186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10187 (exit $ac_status); } &&
10188 { ac_try='test -s conftest.$ac_objext'
10189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10190 (eval $ac_try) 2>&5
10192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10193 (exit $ac_status); }; }; then
10194 ac_cv_c_opensoundsystem="yes"
10196 echo "$as_me: failed program was:" >&5
10197 sed 's/^/| /' conftest.$ac_ext >&5
10199 ac_cv_c_opensoundsystem="no"
10201 rm -f conftest.$ac_objext conftest.$ac_ext
10203 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
10204 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
10206 if test "$ac_cv_c_opensoundsystem" = "yes"
10209 cat >>confdefs.h <<\_ACEOF
10215 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
10216 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
10217 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
10218 echo $ECHO_N "(cached) $ECHO_C" >&6
10220 cat >conftest.$ac_ext <<_ACEOF
10221 #line $LINENO "configure"
10224 cat confdefs.h >>conftest.$ac_ext
10225 cat >>conftest.$ac_ext <<_ACEOF
10226 /* end confdefs.h. */
10228 #if defined(HAVE_SYS_SOUNDCARD_H)
10229 #include <sys/soundcard.h>
10230 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
10231 #include <machine/soundcard.h>
10232 #elif defined(HAVE_SOUNDCARD_H)
10233 #include <soundcard.h>
10241 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
10242 #if !defined(SNDCTL_SEQ_SYNC)
10243 #error No open sound system MIDI interface
10250 rm -f conftest.$ac_objext
10251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10252 (eval $ac_compile) 2>&5
10254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10255 (exit $ac_status); } &&
10256 { ac_try='test -s conftest.$ac_objext'
10257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10258 (eval $ac_try) 2>&5
10260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10261 (exit $ac_status); }; }; then
10262 ac_cv_c_opensoundsystem_midi="yes"
10264 echo "$as_me: failed program was:" >&5
10265 sed 's/^/| /' conftest.$ac_ext >&5
10267 ac_cv_c_opensoundsystem_midi="no"
10269 rm -f conftest.$ac_objext conftest.$ac_ext
10271 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
10272 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
10274 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
10277 cat >>confdefs.h <<\_ACEOF
10278 #define HAVE_OSS_MIDI 1
10283 # Extract the first word of "artsc-config", so it can be a program name with args.
10284 set dummy artsc-config; ac_word=$2
10285 echo "$as_me:$LINENO: checking for $ac_word" >&5
10286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10287 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
10288 echo $ECHO_N "(cached) $ECHO_C" >&6
10290 case $ARTSCCONFIG in
10292 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
10295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10296 for as_dir in $PATH
10299 test -z "$as_dir" && as_dir=.
10300 for ac_exec_ext in '' $ac_executable_extensions; do
10301 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10302 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
10303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10312 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
10314 if test -n "$ARTSCCONFIG"; then
10315 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
10316 echo "${ECHO_T}$ARTSCCONFIG" >&6
10318 echo "$as_me:$LINENO: result: no" >&5
10319 echo "${ECHO_T}no" >&6
10322 echo "$as_me:$LINENO: checking for aRts Sound server" >&5
10323 echo $ECHO_N "checking for aRts Sound server... $ECHO_C" >&6
10324 if test "${ac_cv_c_artsserver+set}" = set; then
10325 echo $ECHO_N "(cached) $ECHO_C" >&6
10327 if test x$ARTSCCONFIG = x -o x$ARTSCCONFIG = x'"$ARTSCCONFIG"';
10329 ac_cv_c_artsserver=no
10331 ARTSC_CFLAGS=`$ARTSCCONFIG --cflags`
10332 ARTSC_LIBS=`$ARTSCCONFIG --libs`
10333 ac_cv_c_artsserver=no
10334 save_CFLAGS="$CFLAGS"
10335 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
10336 cat >conftest.$ac_ext <<_ACEOF
10337 #line $LINENO "configure"
10340 cat confdefs.h >>conftest.$ac_ext
10341 cat >>conftest.$ac_ext <<_ACEOF
10342 /* end confdefs.h. */
10350 arts_stream_t stream;
10356 rm -f conftest.$ac_objext
10357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10358 (eval $ac_compile) 2>&5
10360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10361 (exit $ac_status); } &&
10362 { ac_try='test -s conftest.$ac_objext'
10363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10364 (eval $ac_try) 2>&5
10366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10367 (exit $ac_status); }; }; then
10369 ac_cv_c_artsserver=yes
10372 echo "$as_me: failed program was:" >&5
10373 sed 's/^/| /' conftest.$ac_ext >&5
10376 rm -f conftest.$ac_objext conftest.$ac_ext
10377 CFLAGS="$save_CFLAGS"
10380 echo "$as_me:$LINENO: result: $ac_cv_c_artsserver" >&5
10381 echo "${ECHO_T}$ac_cv_c_artsserver" >&6
10383 if test "$ac_cv_c_artsserver" = "yes"
10385 ARTSLIBS=$ARTSC_LIBS
10387 ARTSINCL=$ARTSC_CFLAGS
10391 cat >>confdefs.h <<\_ACEOF
10392 #define HAVE_ARTS 1
10401 for ac_header in alsa/asoundlib.h sys/asoundlib.h
10403 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10404 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10405 echo "$as_me:$LINENO: checking for $ac_header" >&5
10406 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10407 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10408 echo $ECHO_N "(cached) $ECHO_C" >&6
10410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10411 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10413 # Is the header compilable?
10414 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10415 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10416 cat >conftest.$ac_ext <<_ACEOF
10417 #line $LINENO "configure"
10420 cat confdefs.h >>conftest.$ac_ext
10421 cat >>conftest.$ac_ext <<_ACEOF
10422 /* end confdefs.h. */
10423 $ac_includes_default
10424 #include <$ac_header>
10426 rm -f conftest.$ac_objext
10427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10428 (eval $ac_compile) 2>&5
10430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10431 (exit $ac_status); } &&
10432 { ac_try='test -s conftest.$ac_objext'
10433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10434 (eval $ac_try) 2>&5
10436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10437 (exit $ac_status); }; }; then
10438 ac_header_compiler=yes
10440 echo "$as_me: failed program was:" >&5
10441 sed 's/^/| /' conftest.$ac_ext >&5
10443 ac_header_compiler=no
10445 rm -f conftest.$ac_objext conftest.$ac_ext
10446 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10447 echo "${ECHO_T}$ac_header_compiler" >&6
10449 # Is the header present?
10450 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10451 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10452 cat >conftest.$ac_ext <<_ACEOF
10453 #line $LINENO "configure"
10456 cat confdefs.h >>conftest.$ac_ext
10457 cat >>conftest.$ac_ext <<_ACEOF
10458 /* end confdefs.h. */
10459 #include <$ac_header>
10461 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10462 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10464 grep -v '^ *+' conftest.er1 >conftest.err
10466 cat conftest.err >&5
10467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10468 (exit $ac_status); } >/dev/null; then
10469 if test -s conftest.err; then
10470 ac_cpp_err=$ac_c_preproc_warn_flag
10477 if test -z "$ac_cpp_err"; then
10478 ac_header_preproc=yes
10480 echo "$as_me: failed program was:" >&5
10481 sed 's/^/| /' conftest.$ac_ext >&5
10483 ac_header_preproc=no
10485 rm -f conftest.err conftest.$ac_ext
10486 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10487 echo "${ECHO_T}$ac_header_preproc" >&6
10489 # So? What about this header?
10490 case $ac_header_compiler:$ac_header_preproc in
10492 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10493 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10494 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10495 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10498 ## ------------------------------------ ##
10499 ## Report this to bug-autoconf@gnu.org. ##
10500 ## ------------------------------------ ##
10503 sed "s/^/$as_me: WARNING: /" >&2
10506 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10507 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10508 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10509 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10510 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10511 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10514 ## ------------------------------------ ##
10515 ## Report this to bug-autoconf@gnu.org. ##
10516 ## ------------------------------------ ##
10519 sed "s/^/$as_me: WARNING: /" >&2
10522 echo "$as_me:$LINENO: checking for $ac_header" >&5
10523 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10524 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10525 echo $ECHO_N "(cached) $ECHO_C" >&6
10527 eval "$as_ac_Header=$ac_header_preproc"
10529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10530 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10533 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10534 cat >>confdefs.h <<_ACEOF
10535 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10542 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
10544 echo "$as_me:$LINENO: checking for snd_pcm_open in -lasound" >&5
10545 echo $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6
10546 if test "${ac_cv_lib_asound_snd_pcm_open+set}" = set; then
10547 echo $ECHO_N "(cached) $ECHO_C" >&6
10549 ac_check_lib_save_LIBS=$LIBS
10550 LIBS="-lasound $LIBS"
10551 cat >conftest.$ac_ext <<_ACEOF
10552 #line $LINENO "configure"
10555 cat confdefs.h >>conftest.$ac_ext
10556 cat >>conftest.$ac_ext <<_ACEOF
10557 /* end confdefs.h. */
10559 /* Override any gcc2 internal prototype to avoid an error. */
10563 /* We use char because int might match the return type of a gcc2
10564 builtin and then its argument prototype would still apply. */
10565 char snd_pcm_open ();
10574 rm -f conftest.$ac_objext conftest$ac_exeext
10575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10576 (eval $ac_link) 2>&5
10578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10579 (exit $ac_status); } &&
10580 { ac_try='test -s conftest$ac_exeext'
10581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10582 (eval $ac_try) 2>&5
10584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10585 (exit $ac_status); }; }; then
10586 ac_cv_lib_asound_snd_pcm_open=yes
10588 echo "$as_me: failed program was:" >&5
10589 sed 's/^/| /' conftest.$ac_ext >&5
10591 ac_cv_lib_asound_snd_pcm_open=no
10593 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10594 LIBS=$ac_check_lib_save_LIBS
10596 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5
10597 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6
10598 if test $ac_cv_lib_asound_snd_pcm_open = yes; then
10600 cat >>confdefs.h <<\_ACEOF
10601 #define HAVE_ALSA 1
10604 ALSALIBS="-lasound"
10613 for ac_header in libaudioio.h
10615 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10616 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10617 echo "$as_me:$LINENO: checking for $ac_header" >&5
10618 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10619 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10620 echo $ECHO_N "(cached) $ECHO_C" >&6
10622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10623 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10625 # Is the header compilable?
10626 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10627 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10628 cat >conftest.$ac_ext <<_ACEOF
10629 #line $LINENO "configure"
10632 cat confdefs.h >>conftest.$ac_ext
10633 cat >>conftest.$ac_ext <<_ACEOF
10634 /* end confdefs.h. */
10635 $ac_includes_default
10636 #include <$ac_header>
10638 rm -f conftest.$ac_objext
10639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10640 (eval $ac_compile) 2>&5
10642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10643 (exit $ac_status); } &&
10644 { ac_try='test -s conftest.$ac_objext'
10645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10646 (eval $ac_try) 2>&5
10648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10649 (exit $ac_status); }; }; then
10650 ac_header_compiler=yes
10652 echo "$as_me: failed program was:" >&5
10653 sed 's/^/| /' conftest.$ac_ext >&5
10655 ac_header_compiler=no
10657 rm -f conftest.$ac_objext conftest.$ac_ext
10658 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10659 echo "${ECHO_T}$ac_header_compiler" >&6
10661 # Is the header present?
10662 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10663 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10664 cat >conftest.$ac_ext <<_ACEOF
10665 #line $LINENO "configure"
10668 cat confdefs.h >>conftest.$ac_ext
10669 cat >>conftest.$ac_ext <<_ACEOF
10670 /* end confdefs.h. */
10671 #include <$ac_header>
10673 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10674 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10676 grep -v '^ *+' conftest.er1 >conftest.err
10678 cat conftest.err >&5
10679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10680 (exit $ac_status); } >/dev/null; then
10681 if test -s conftest.err; then
10682 ac_cpp_err=$ac_c_preproc_warn_flag
10689 if test -z "$ac_cpp_err"; then
10690 ac_header_preproc=yes
10692 echo "$as_me: failed program was:" >&5
10693 sed 's/^/| /' conftest.$ac_ext >&5
10695 ac_header_preproc=no
10697 rm -f conftest.err conftest.$ac_ext
10698 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10699 echo "${ECHO_T}$ac_header_preproc" >&6
10701 # So? What about this header?
10702 case $ac_header_compiler:$ac_header_preproc in
10704 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10705 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10706 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10707 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10710 ## ------------------------------------ ##
10711 ## Report this to bug-autoconf@gnu.org. ##
10712 ## ------------------------------------ ##
10715 sed "s/^/$as_me: WARNING: /" >&2
10718 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10719 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10720 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10721 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10722 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10723 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10726 ## ------------------------------------ ##
10727 ## Report this to bug-autoconf@gnu.org. ##
10728 ## ------------------------------------ ##
10731 sed "s/^/$as_me: WARNING: /" >&2
10734 echo "$as_me:$LINENO: checking for $ac_header" >&5
10735 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10736 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10737 echo $ECHO_N "(cached) $ECHO_C" >&6
10739 eval "$as_ac_Header=$ac_header_preproc"
10741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10742 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10745 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10746 cat >>confdefs.h <<_ACEOF
10747 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10749 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
10750 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
10751 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
10752 echo $ECHO_N "(cached) $ECHO_C" >&6
10754 ac_check_lib_save_LIBS=$LIBS
10755 LIBS="-laudioio $LIBS"
10756 cat >conftest.$ac_ext <<_ACEOF
10757 #line $LINENO "configure"
10760 cat confdefs.h >>conftest.$ac_ext
10761 cat >>conftest.$ac_ext <<_ACEOF
10762 /* end confdefs.h. */
10764 /* Override any gcc2 internal prototype to avoid an error. */
10768 /* We use char because int might match the return type of a gcc2
10769 builtin and then its argument prototype would still apply. */
10770 char AudioIOGetVersion ();
10774 AudioIOGetVersion ();
10779 rm -f conftest.$ac_objext conftest$ac_exeext
10780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10781 (eval $ac_link) 2>&5
10783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10784 (exit $ac_status); } &&
10785 { ac_try='test -s conftest$ac_exeext'
10786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10787 (eval $ac_try) 2>&5
10789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10790 (exit $ac_status); }; }; then
10791 ac_cv_lib_audioio_AudioIOGetVersion=yes
10793 echo "$as_me: failed program was:" >&5
10794 sed 's/^/| /' conftest.$ac_ext >&5
10796 ac_cv_lib_audioio_AudioIOGetVersion=no
10798 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10799 LIBS=$ac_check_lib_save_LIBS
10801 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
10802 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
10803 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
10804 AUDIOIOLIBS="-laudioio"
10806 cat >>confdefs.h <<\_ACEOF
10807 #define HAVE_LIBAUDIOIO 1
10819 for ac_header in capi20.h
10821 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10822 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10823 echo "$as_me:$LINENO: checking for $ac_header" >&5
10824 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10825 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10826 echo $ECHO_N "(cached) $ECHO_C" >&6
10828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10829 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10831 # Is the header compilable?
10832 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10833 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10834 cat >conftest.$ac_ext <<_ACEOF
10835 #line $LINENO "configure"
10838 cat confdefs.h >>conftest.$ac_ext
10839 cat >>conftest.$ac_ext <<_ACEOF
10840 /* end confdefs.h. */
10841 $ac_includes_default
10842 #include <$ac_header>
10844 rm -f conftest.$ac_objext
10845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10846 (eval $ac_compile) 2>&5
10848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10849 (exit $ac_status); } &&
10850 { ac_try='test -s conftest.$ac_objext'
10851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10852 (eval $ac_try) 2>&5
10854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10855 (exit $ac_status); }; }; then
10856 ac_header_compiler=yes
10858 echo "$as_me: failed program was:" >&5
10859 sed 's/^/| /' conftest.$ac_ext >&5
10861 ac_header_compiler=no
10863 rm -f conftest.$ac_objext conftest.$ac_ext
10864 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10865 echo "${ECHO_T}$ac_header_compiler" >&6
10867 # Is the header present?
10868 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10869 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10870 cat >conftest.$ac_ext <<_ACEOF
10871 #line $LINENO "configure"
10874 cat confdefs.h >>conftest.$ac_ext
10875 cat >>conftest.$ac_ext <<_ACEOF
10876 /* end confdefs.h. */
10877 #include <$ac_header>
10879 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10880 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10882 grep -v '^ *+' conftest.er1 >conftest.err
10884 cat conftest.err >&5
10885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10886 (exit $ac_status); } >/dev/null; then
10887 if test -s conftest.err; then
10888 ac_cpp_err=$ac_c_preproc_warn_flag
10895 if test -z "$ac_cpp_err"; then
10896 ac_header_preproc=yes
10898 echo "$as_me: failed program was:" >&5
10899 sed 's/^/| /' conftest.$ac_ext >&5
10901 ac_header_preproc=no
10903 rm -f conftest.err conftest.$ac_ext
10904 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10905 echo "${ECHO_T}$ac_header_preproc" >&6
10907 # So? What about this header?
10908 case $ac_header_compiler:$ac_header_preproc in
10910 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10911 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10912 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10913 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10916 ## ------------------------------------ ##
10917 ## Report this to bug-autoconf@gnu.org. ##
10918 ## ------------------------------------ ##
10921 sed "s/^/$as_me: WARNING: /" >&2
10924 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10925 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10926 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10927 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10928 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10929 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10932 ## ------------------------------------ ##
10933 ## Report this to bug-autoconf@gnu.org. ##
10934 ## ------------------------------------ ##
10937 sed "s/^/$as_me: WARNING: /" >&2
10940 echo "$as_me:$LINENO: checking for $ac_header" >&5
10941 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10942 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10943 echo $ECHO_N "(cached) $ECHO_C" >&6
10945 eval "$as_ac_Header=$ac_header_preproc"
10947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10948 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10951 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10952 cat >>confdefs.h <<_ACEOF
10953 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10957 for ac_header in linux/capi.h
10959 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10960 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10961 echo "$as_me:$LINENO: checking for $ac_header" >&5
10962 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10963 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10964 echo $ECHO_N "(cached) $ECHO_C" >&6
10966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10967 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10969 # Is the header compilable?
10970 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10971 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10972 cat >conftest.$ac_ext <<_ACEOF
10973 #line $LINENO "configure"
10976 cat confdefs.h >>conftest.$ac_ext
10977 cat >>conftest.$ac_ext <<_ACEOF
10978 /* end confdefs.h. */
10979 $ac_includes_default
10980 #include <$ac_header>
10982 rm -f conftest.$ac_objext
10983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10984 (eval $ac_compile) 2>&5
10986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10987 (exit $ac_status); } &&
10988 { ac_try='test -s conftest.$ac_objext'
10989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10990 (eval $ac_try) 2>&5
10992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10993 (exit $ac_status); }; }; then
10994 ac_header_compiler=yes
10996 echo "$as_me: failed program was:" >&5
10997 sed 's/^/| /' conftest.$ac_ext >&5
10999 ac_header_compiler=no
11001 rm -f conftest.$ac_objext conftest.$ac_ext
11002 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11003 echo "${ECHO_T}$ac_header_compiler" >&6
11005 # Is the header present?
11006 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11007 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11008 cat >conftest.$ac_ext <<_ACEOF
11009 #line $LINENO "configure"
11012 cat confdefs.h >>conftest.$ac_ext
11013 cat >>conftest.$ac_ext <<_ACEOF
11014 /* end confdefs.h. */
11015 #include <$ac_header>
11017 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11018 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11020 grep -v '^ *+' conftest.er1 >conftest.err
11022 cat conftest.err >&5
11023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11024 (exit $ac_status); } >/dev/null; then
11025 if test -s conftest.err; then
11026 ac_cpp_err=$ac_c_preproc_warn_flag
11033 if test -z "$ac_cpp_err"; then
11034 ac_header_preproc=yes
11036 echo "$as_me: failed program was:" >&5
11037 sed 's/^/| /' conftest.$ac_ext >&5
11039 ac_header_preproc=no
11041 rm -f conftest.err conftest.$ac_ext
11042 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11043 echo "${ECHO_T}$ac_header_preproc" >&6
11045 # So? What about this header?
11046 case $ac_header_compiler:$ac_header_preproc in
11048 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11049 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11050 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11051 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11054 ## ------------------------------------ ##
11055 ## Report this to bug-autoconf@gnu.org. ##
11056 ## ------------------------------------ ##
11059 sed "s/^/$as_me: WARNING: /" >&2
11062 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11063 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11064 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11065 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11066 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11067 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11070 ## ------------------------------------ ##
11071 ## Report this to bug-autoconf@gnu.org. ##
11072 ## ------------------------------------ ##
11075 sed "s/^/$as_me: WARNING: /" >&2
11078 echo "$as_me:$LINENO: checking for $ac_header" >&5
11079 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11080 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11081 echo $ECHO_N "(cached) $ECHO_C" >&6
11083 eval "$as_ac_Header=$ac_header_preproc"
11085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11086 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11089 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11090 cat >>confdefs.h <<_ACEOF
11091 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11094 echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
11095 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6
11096 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
11097 echo $ECHO_N "(cached) $ECHO_C" >&6
11099 ac_check_lib_save_LIBS=$LIBS
11100 LIBS="-lcapi20 $LIBS"
11101 cat >conftest.$ac_ext <<_ACEOF
11102 #line $LINENO "configure"
11105 cat confdefs.h >>conftest.$ac_ext
11106 cat >>conftest.$ac_ext <<_ACEOF
11107 /* end confdefs.h. */
11109 /* Override any gcc2 internal prototype to avoid an error. */
11113 /* We use char because int might match the return type of a gcc2
11114 builtin and then its argument prototype would still apply. */
11115 char capi20_register ();
11119 capi20_register ();
11124 rm -f conftest.$ac_objext conftest$ac_exeext
11125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11126 (eval $ac_link) 2>&5
11128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11129 (exit $ac_status); } &&
11130 { ac_try='test -s conftest$ac_exeext'
11131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11132 (eval $ac_try) 2>&5
11134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11135 (exit $ac_status); }; }; then
11136 ac_cv_lib_capi20_capi20_register=yes
11138 echo "$as_me: failed program was:" >&5
11139 sed 's/^/| /' conftest.$ac_ext >&5
11141 ac_cv_lib_capi20_capi20_register=no
11143 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11144 LIBS=$ac_check_lib_save_LIBS
11146 echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
11147 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6
11148 if test $ac_cv_lib_capi20_capi20_register = yes; then
11151 cat >>confdefs.h <<\_ACEOF
11152 #define HAVE_CAPI4LINUX 1
11155 CAPI4LINUXLIBS="-lcapi20"
11172 echo "$as_me:$LINENO: checking whether mmap64 works defined as mmap" >&5
11173 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
11174 if test "${ac_cv_mmap64_works+set}" = set; then
11175 echo $ECHO_N "(cached) $ECHO_C" >&6
11177 if test "$cross_compiling" = yes; then
11178 ac_cv_mmap64_works="no"
11180 cat >conftest.$ac_ext <<_ACEOF
11181 #line $LINENO "configure"
11184 cat confdefs.h >>conftest.$ac_ext
11185 cat >>conftest.$ac_ext <<_ACEOF
11186 /* end confdefs.h. */
11188 #define _FILE_OFFSET_BITS 64
11190 #include <unistd.h>
11192 #include <sys/mman.h>
11195 int main(int argc,char **argv) {
11196 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
11197 if (fd == -1) exit(1);
11199 unlink("conftest.map");
11201 write(fd,"test",4);
11203 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
11209 fprintf(stderr,"success!\n");
11215 rm -f conftest$ac_exeext
11216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11217 (eval $ac_link) 2>&5
11219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11220 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11222 (eval $ac_try) 2>&5
11224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11225 (exit $ac_status); }; }; then
11226 ac_cv_mmap64_works="yes"
11228 echo "$as_me: program exited with status $ac_status" >&5
11229 echo "$as_me: failed program was:" >&5
11230 sed 's/^/| /' conftest.$ac_ext >&5
11232 ( exit $ac_status )
11233 ac_cv_mmap64_works="no"
11235 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11238 echo "$as_me:$LINENO: result: $ac_cv_mmap64_works" >&5
11239 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
11241 if test "$ac_cv_mmap64_works" = "yes"
11244 cat >>confdefs.h <<\_ACEOF
11245 #define _FILE_OFFSET_BITS 64
11253 if test "x${GCC}" = "xyes"
11257 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
11258 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
11259 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
11260 echo $ECHO_N "(cached) $ECHO_C" >&6
11262 if test "$cross_compiling" = yes; then
11263 ac_cv_c_gcc_strength_bug="yes"
11265 cat >conftest.$ac_ext <<_ACEOF
11266 #line $LINENO "configure"
11269 cat confdefs.h >>conftest.$ac_ext
11270 cat >>conftest.$ac_ext <<_ACEOF
11271 /* end confdefs.h. */
11273 int L[4] = {0,1,2,3};
11275 static int Array[3];
11276 unsigned int B = 3;
11278 for(i=0; i<B; i++) Array[i] = i - 3;
11279 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
11282 exit( Array[1] != -2 || L[2] != 3);
11285 rm -f conftest$ac_exeext
11286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11287 (eval $ac_link) 2>&5
11289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11290 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11292 (eval $ac_try) 2>&5
11294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11295 (exit $ac_status); }; }; then
11296 ac_cv_c_gcc_strength_bug="no"
11298 echo "$as_me: program exited with status $ac_status" >&5
11299 echo "$as_me: failed program was:" >&5
11300 sed 's/^/| /' conftest.$ac_ext >&5
11302 ( exit $ac_status )
11303 ac_cv_c_gcc_strength_bug="yes"
11305 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11308 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
11309 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
11310 if test "$ac_cv_c_gcc_strength_bug" = "yes"
11312 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
11315 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
11316 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
11317 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
11318 echo $ECHO_N "(cached) $ECHO_C" >&6
11320 ac_wine_try_cflags_saved=$CFLAGS
11321 CFLAGS="$CFLAGS -mpreferred-stack-boundary=2"
11322 cat >conftest.$ac_ext <<_ACEOF
11323 #line $LINENO "configure"
11326 cat confdefs.h >>conftest.$ac_ext
11327 cat >>conftest.$ac_ext <<_ACEOF
11328 /* end confdefs.h. */
11338 rm -f conftest.$ac_objext conftest$ac_exeext
11339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11340 (eval $ac_link) 2>&5
11342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11343 (exit $ac_status); } &&
11344 { ac_try='test -s conftest$ac_exeext'
11345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11346 (eval $ac_try) 2>&5
11348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11349 (exit $ac_status); }; }; then
11350 ac_cv_c_gcc_stack_boundary="yes"
11352 echo "$as_me: failed program was:" >&5
11353 sed 's/^/| /' conftest.$ac_ext >&5
11355 ac_cv_c_gcc_stack_boundary="no"
11357 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11358 CFLAGS=$ac_wine_try_cflags_saved
11360 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
11361 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
11362 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
11364 EXTRACFLAGS="$EXTRACFLAGS -mpreferred-stack-boundary=2"
11367 echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
11368 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6
11369 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
11370 echo $ECHO_N "(cached) $ECHO_C" >&6
11372 ac_wine_try_cflags_saved=$CFLAGS
11373 CFLAGS="$CFLAGS -fno-strict-aliasing"
11374 cat >conftest.$ac_ext <<_ACEOF
11375 #line $LINENO "configure"
11378 cat confdefs.h >>conftest.$ac_ext
11379 cat >>conftest.$ac_ext <<_ACEOF
11380 /* end confdefs.h. */
11390 rm -f conftest.$ac_objext conftest$ac_exeext
11391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11392 (eval $ac_link) 2>&5
11394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11395 (exit $ac_status); } &&
11396 { ac_try='test -s conftest$ac_exeext'
11397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11398 (eval $ac_try) 2>&5
11400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11401 (exit $ac_status); }; }; then
11402 ac_cv_c_gcc_no_strict_aliasing="yes"
11404 echo "$as_me: failed program was:" >&5
11405 sed 's/^/| /' conftest.$ac_ext >&5
11407 ac_cv_c_gcc_no_strict_aliasing="no"
11409 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11410 CFLAGS=$ac_wine_try_cflags_saved
11412 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
11413 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6
11414 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
11416 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
11419 echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
11420 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6
11421 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
11422 echo $ECHO_N "(cached) $ECHO_C" >&6
11424 ac_wine_try_cflags_saved=$CFLAGS
11425 CFLAGS="$CFLAGS -gstabs+"
11426 cat >conftest.$ac_ext <<_ACEOF
11427 #line $LINENO "configure"
11430 cat confdefs.h >>conftest.$ac_ext
11431 cat >>conftest.$ac_ext <<_ACEOF
11432 /* end confdefs.h. */
11442 rm -f conftest.$ac_objext conftest$ac_exeext
11443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11444 (eval $ac_link) 2>&5
11446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11447 (exit $ac_status); } &&
11448 { ac_try='test -s conftest$ac_exeext'
11449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11450 (eval $ac_try) 2>&5
11452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11453 (exit $ac_status); }; }; then
11454 ac_cv_c_gcc_gstabs="yes"
11456 echo "$as_me: failed program was:" >&5
11457 sed 's/^/| /' conftest.$ac_ext >&5
11459 ac_cv_c_gcc_gstabs="no"
11461 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11462 CFLAGS=$ac_wine_try_cflags_saved
11464 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
11465 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6
11466 if test "$ac_cv_c_gcc_gstabs" = "yes"
11468 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
11471 saved_CFLAGS="$CFLAGS"
11472 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
11473 echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
11474 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6
11475 if test "${ac_cv_c_string_h_warnings+set}" = set; then
11476 echo $ECHO_N "(cached) $ECHO_C" >&6
11478 cat >conftest.$ac_ext <<_ACEOF
11479 #line $LINENO "configure"
11482 cat confdefs.h >>conftest.$ac_ext
11483 cat >>conftest.$ac_ext <<_ACEOF
11484 /* end confdefs.h. */
11485 #include <string.h>
11494 rm -f conftest.$ac_objext
11495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11496 (eval $ac_compile) 2>&5
11498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11499 (exit $ac_status); } &&
11500 { ac_try='test -s conftest.$ac_objext'
11501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11502 (eval $ac_try) 2>&5
11504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11505 (exit $ac_status); }; }; then
11506 ac_cv_c_string_h_warnings=no
11508 echo "$as_me: failed program was:" >&5
11509 sed 's/^/| /' conftest.$ac_ext >&5
11511 ac_cv_c_string_h_warnings=yes
11513 rm -f conftest.$ac_objext conftest.$ac_ext
11515 echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
11516 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6
11517 CFLAGS="$saved_CFLAGS"
11518 if test "$ac_cv_c_string_h_warnings" = "no"
11520 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
11525 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
11526 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
11527 if test "${ac_cv_asm_func_def+set}" = set; then
11528 echo $ECHO_N "(cached) $ECHO_C" >&6
11530 cat >conftest.$ac_ext <<_ACEOF
11531 #line $LINENO "configure"
11534 cat confdefs.h >>conftest.$ac_ext
11535 cat >>conftest.$ac_ext <<_ACEOF
11536 /* end confdefs.h. */
11537 void ac_asm(void) { asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0"); }
11547 rm -f conftest.$ac_objext conftest$ac_exeext
11548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11549 (eval $ac_link) 2>&5
11551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11552 (exit $ac_status); } &&
11553 { ac_try='test -s conftest$ac_exeext'
11554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11555 (eval $ac_try) 2>&5
11557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11558 (exit $ac_status); }; }; then
11559 ac_cv_asm_func_def=".def"
11561 echo "$as_me: failed program was:" >&5
11562 sed 's/^/| /' conftest.$ac_ext >&5
11564 cat >conftest.$ac_ext <<_ACEOF
11565 #line $LINENO "configure"
11568 cat confdefs.h >>conftest.$ac_ext
11569 cat >>conftest.$ac_ext <<_ACEOF
11570 /* end confdefs.h. */
11571 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
11581 rm -f conftest.$ac_objext conftest$ac_exeext
11582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11583 (eval $ac_link) 2>&5
11585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11586 (exit $ac_status); } &&
11587 { ac_try='test -s conftest$ac_exeext'
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
11593 ac_cv_asm_func_def=".type @function"
11595 echo "$as_me: failed program was:" >&5
11596 sed 's/^/| /' conftest.$ac_ext >&5
11598 cat >conftest.$ac_ext <<_ACEOF
11599 #line $LINENO "configure"
11602 cat confdefs.h >>conftest.$ac_ext
11603 cat >>conftest.$ac_ext <<_ACEOF
11604 /* end confdefs.h. */
11605 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
11615 rm -f conftest.$ac_objext conftest$ac_exeext
11616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11617 (eval $ac_link) 2>&5
11619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11620 (exit $ac_status); } &&
11621 { ac_try='test -s conftest$ac_exeext'
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_cv_asm_func_def=".type 2"
11629 echo "$as_me: failed program was:" >&5
11630 sed 's/^/| /' conftest.$ac_ext >&5
11632 ac_cv_asm_func_def="unknown"
11634 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11636 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11638 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11640 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
11641 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
11645 case "$ac_cv_asm_func_def" in
11647 cat >>confdefs.h <<\_ACEOF
11648 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
11652 cat >>confdefs.h <<\_ACEOF
11653 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
11657 cat >>confdefs.h <<\_ACEOF
11658 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
11662 cat >>confdefs.h <<\_ACEOF
11663 #define __ASM_FUNC(name) ""
11669 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
11670 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
11671 if test "${ac_cv_c_extern_prefix+set}" = set; then
11672 echo $ECHO_N "(cached) $ECHO_C" >&6
11674 cat >conftest.$ac_ext <<_ACEOF
11675 #line $LINENO "configure"
11678 cat confdefs.h >>conftest.$ac_ext
11679 cat >>conftest.$ac_ext <<_ACEOF
11680 /* end confdefs.h. */
11681 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
11682 extern int ac_test;
11686 if (ac_test) return 1
11691 rm -f conftest.$ac_objext conftest$ac_exeext
11692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11693 (eval $ac_link) 2>&5
11695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11696 (exit $ac_status); } &&
11697 { ac_try='test -s conftest$ac_exeext'
11698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11699 (eval $ac_try) 2>&5
11701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11702 (exit $ac_status); }; }; then
11703 ac_cv_c_extern_prefix="yes"
11705 echo "$as_me: failed program was:" >&5
11706 sed 's/^/| /' conftest.$ac_ext >&5
11708 ac_cv_c_extern_prefix="no"
11710 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11712 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
11713 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
11717 if test "$ac_cv_c_extern_prefix" = "yes"
11719 cat >>confdefs.h <<\_ACEOF
11720 #define __ASM_NAME(name) "_" name
11724 cat >>confdefs.h <<\_ACEOF
11725 #define __ASM_NAME(name) name
11731 echo "$as_me:$LINENO: checking whether assembler accepts .string" >&5
11732 echo $ECHO_N "checking whether assembler accepts .string... $ECHO_C" >&6
11733 if test "${ac_cv_c_asm_string+set}" = set; then
11734 echo $ECHO_N "(cached) $ECHO_C" >&6
11736 cat >conftest.$ac_ext <<_ACEOF
11737 #line $LINENO "configure"
11740 cat confdefs.h >>conftest.$ac_ext
11741 cat >>conftest.$ac_ext <<_ACEOF
11742 /* end confdefs.h. */
11743 void ac_asm(void) { asm(".data\n\t.string \"test\"\n\t.text"); }
11753 rm -f conftest.$ac_objext conftest$ac_exeext
11754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11755 (eval $ac_link) 2>&5
11757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11758 (exit $ac_status); } &&
11759 { ac_try='test -s conftest$ac_exeext'
11760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11761 (eval $ac_try) 2>&5
11763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11764 (exit $ac_status); }; }; then
11765 ac_cv_c_asm_string="yes"
11767 echo "$as_me: failed program was:" >&5
11768 sed 's/^/| /' conftest.$ac_ext >&5
11770 ac_cv_c_asm_string="no"
11772 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11774 echo "$as_me:$LINENO: result: $ac_cv_c_asm_string" >&5
11775 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
11776 if test "$ac_cv_c_asm_string" = "yes"
11779 cat >>confdefs.h <<\_ACEOF
11780 #define __ASM_STRING ".string"
11784 echo "$as_me:$LINENO: checking whether assembler accepts .asciz" >&5
11785 echo $ECHO_N "checking whether assembler accepts .asciz... $ECHO_C" >&6
11786 if test "${ac_cv_c_asm_asciz+set}" = set; then
11787 echo $ECHO_N "(cached) $ECHO_C" >&6
11789 cat >conftest.$ac_ext <<_ACEOF
11790 #line $LINENO "configure"
11793 cat confdefs.h >>conftest.$ac_ext
11794 cat >>conftest.$ac_ext <<_ACEOF
11795 /* end confdefs.h. */
11796 void ac_asm(void) { asm(".data\n\t.asciz \"test\"\n\t.text"); }
11806 rm -f conftest.$ac_objext conftest$ac_exeext
11807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11808 (eval $ac_link) 2>&5
11810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11811 (exit $ac_status); } &&
11812 { ac_try='test -s conftest$ac_exeext'
11813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11814 (eval $ac_try) 2>&5
11816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11817 (exit $ac_status); }; }; then
11818 ac_cv_c_asm_asciz="yes"
11820 echo "$as_me: failed program was:" >&5
11821 sed 's/^/| /' conftest.$ac_ext >&5
11823 ac_cv_c_asm_asciz="no"
11825 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11827 echo "$as_me:$LINENO: result: $ac_cv_c_asm_asciz" >&5
11828 echo "${ECHO_T}$ac_cv_c_asm_asciz" >&6
11829 if test "$ac_cv_c_asm_asciz" = "yes"
11831 cat >>confdefs.h <<\_ACEOF
11832 #define __ASM_STRING ".asciz"
11836 cat >>confdefs.h <<\_ACEOF
11837 #define __ASM_STRING ".ascii"
11844 echo "$as_me:$LINENO: checking whether assembler accepts .short" >&5
11845 echo $ECHO_N "checking whether assembler accepts .short... $ECHO_C" >&6
11846 if test "${ac_cv_c_asm_short+set}" = set; then
11847 echo $ECHO_N "(cached) $ECHO_C" >&6
11849 cat >conftest.$ac_ext <<_ACEOF
11850 #line $LINENO "configure"
11853 cat confdefs.h >>conftest.$ac_ext
11854 cat >>conftest.$ac_ext <<_ACEOF
11855 /* end confdefs.h. */
11856 void ac_asm(void) { asm(".data\n\t.short 1\n\t.text"); }
11866 rm -f conftest.$ac_objext conftest$ac_exeext
11867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11868 (eval $ac_link) 2>&5
11870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11871 (exit $ac_status); } &&
11872 { ac_try='test -s conftest$ac_exeext'
11873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11874 (eval $ac_try) 2>&5
11876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11877 (exit $ac_status); }; }; then
11878 ac_cv_c_asm_short="yes"
11880 echo "$as_me: failed program was:" >&5
11881 sed 's/^/| /' conftest.$ac_ext >&5
11883 ac_cv_c_asm_short="no"
11885 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11887 echo "$as_me:$LINENO: result: $ac_cv_c_asm_short" >&5
11888 echo "${ECHO_T}$ac_cv_c_asm_short" >&6
11889 if test "$ac_cv_c_asm_short" = "yes"
11892 cat >>confdefs.h <<\_ACEOF
11893 #define __ASM_SHORT ".short"
11897 cat >>confdefs.h <<\_ACEOF
11898 #define __ASM_SHORT ".half"
11906 DLLFLAGS="-D_REENTRANT"
11921 if test -n "$ac_tool_prefix"; then
11922 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
11923 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
11924 echo "$as_me:$LINENO: checking for $ac_word" >&5
11925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11926 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
11927 echo $ECHO_N "(cached) $ECHO_C" >&6
11929 if test -n "$DLLTOOL"; then
11930 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
11932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11933 for as_dir in $PATH
11936 test -z "$as_dir" && as_dir=.
11937 for ac_exec_ext in '' $ac_executable_extensions; do
11938 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11939 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
11940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11948 DLLTOOL=$ac_cv_prog_DLLTOOL
11949 if test -n "$DLLTOOL"; then
11950 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
11951 echo "${ECHO_T}$DLLTOOL" >&6
11953 echo "$as_me:$LINENO: result: no" >&5
11954 echo "${ECHO_T}no" >&6
11958 if test -z "$ac_cv_prog_DLLTOOL"; then
11959 ac_ct_DLLTOOL=$DLLTOOL
11960 # Extract the first word of "dlltool", so it can be a program name with args.
11961 set dummy dlltool; ac_word=$2
11962 echo "$as_me:$LINENO: checking for $ac_word" >&5
11963 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11964 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
11965 echo $ECHO_N "(cached) $ECHO_C" >&6
11967 if test -n "$ac_ct_DLLTOOL"; then
11968 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
11970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11971 for as_dir in $PATH
11974 test -z "$as_dir" && as_dir=.
11975 for ac_exec_ext in '' $ac_executable_extensions; do
11976 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11977 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
11978 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11984 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
11987 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
11988 if test -n "$ac_ct_DLLTOOL"; then
11989 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
11990 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
11992 echo "$as_me:$LINENO: result: no" >&5
11993 echo "${ECHO_T}no" >&6
11996 DLLTOOL=$ac_ct_DLLTOOL
11998 DLLTOOL="$ac_cv_prog_DLLTOOL"
12001 if test -n "$ac_tool_prefix"; then
12002 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
12003 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
12004 echo "$as_me:$LINENO: checking for $ac_word" >&5
12005 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12006 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
12007 echo $ECHO_N "(cached) $ECHO_C" >&6
12009 if test -n "$DLLWRAP"; then
12010 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
12012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12013 for as_dir in $PATH
12016 test -z "$as_dir" && as_dir=.
12017 for ac_exec_ext in '' $ac_executable_extensions; do
12018 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12019 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
12020 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12028 DLLWRAP=$ac_cv_prog_DLLWRAP
12029 if test -n "$DLLWRAP"; then
12030 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
12031 echo "${ECHO_T}$DLLWRAP" >&6
12033 echo "$as_me:$LINENO: result: no" >&5
12034 echo "${ECHO_T}no" >&6
12038 if test -z "$ac_cv_prog_DLLWRAP"; then
12039 ac_ct_DLLWRAP=$DLLWRAP
12040 # Extract the first word of "dllwrap", so it can be a program name with args.
12041 set dummy dllwrap; ac_word=$2
12042 echo "$as_me:$LINENO: checking for $ac_word" >&5
12043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12044 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
12045 echo $ECHO_N "(cached) $ECHO_C" >&6
12047 if test -n "$ac_ct_DLLWRAP"; then
12048 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
12050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12051 for as_dir in $PATH
12054 test -z "$as_dir" && as_dir=.
12055 for ac_exec_ext in '' $ac_executable_extensions; do
12056 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12057 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
12058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12064 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP="false"
12067 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
12068 if test -n "$ac_ct_DLLWRAP"; then
12069 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
12070 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
12072 echo "$as_me:$LINENO: result: no" >&5
12073 echo "${ECHO_T}no" >&6
12076 DLLWRAP=$ac_ct_DLLWRAP
12078 DLLWRAP="$ac_cv_prog_DLLWRAP"
12081 if test "$DLLWRAP" = "false"; then
12090 for ac_header in dlfcn.h
12092 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12093 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12094 echo "$as_me:$LINENO: checking for $ac_header" >&5
12095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12097 echo $ECHO_N "(cached) $ECHO_C" >&6
12099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12100 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12102 # Is the header compilable?
12103 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12104 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12105 cat >conftest.$ac_ext <<_ACEOF
12106 #line $LINENO "configure"
12109 cat confdefs.h >>conftest.$ac_ext
12110 cat >>conftest.$ac_ext <<_ACEOF
12111 /* end confdefs.h. */
12112 $ac_includes_default
12113 #include <$ac_header>
12115 rm -f conftest.$ac_objext
12116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12117 (eval $ac_compile) 2>&5
12119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12120 (exit $ac_status); } &&
12121 { ac_try='test -s conftest.$ac_objext'
12122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12123 (eval $ac_try) 2>&5
12125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12126 (exit $ac_status); }; }; then
12127 ac_header_compiler=yes
12129 echo "$as_me: failed program was:" >&5
12130 sed 's/^/| /' conftest.$ac_ext >&5
12132 ac_header_compiler=no
12134 rm -f conftest.$ac_objext conftest.$ac_ext
12135 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12136 echo "${ECHO_T}$ac_header_compiler" >&6
12138 # Is the header present?
12139 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12140 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12141 cat >conftest.$ac_ext <<_ACEOF
12142 #line $LINENO "configure"
12145 cat confdefs.h >>conftest.$ac_ext
12146 cat >>conftest.$ac_ext <<_ACEOF
12147 /* end confdefs.h. */
12148 #include <$ac_header>
12150 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12151 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12153 grep -v '^ *+' conftest.er1 >conftest.err
12155 cat conftest.err >&5
12156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12157 (exit $ac_status); } >/dev/null; then
12158 if test -s conftest.err; then
12159 ac_cpp_err=$ac_c_preproc_warn_flag
12166 if test -z "$ac_cpp_err"; then
12167 ac_header_preproc=yes
12169 echo "$as_me: failed program was:" >&5
12170 sed 's/^/| /' conftest.$ac_ext >&5
12172 ac_header_preproc=no
12174 rm -f conftest.err conftest.$ac_ext
12175 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12176 echo "${ECHO_T}$ac_header_preproc" >&6
12178 # So? What about this header?
12179 case $ac_header_compiler:$ac_header_preproc in
12181 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12182 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12183 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12184 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12187 ## ------------------------------------ ##
12188 ## Report this to bug-autoconf@gnu.org. ##
12189 ## ------------------------------------ ##
12192 sed "s/^/$as_me: WARNING: /" >&2
12195 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12196 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12197 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12198 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12199 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12200 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12203 ## ------------------------------------ ##
12204 ## Report this to bug-autoconf@gnu.org. ##
12205 ## ------------------------------------ ##
12208 sed "s/^/$as_me: WARNING: /" >&2
12211 echo "$as_me:$LINENO: checking for $ac_header" >&5
12212 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12213 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12214 echo $ECHO_N "(cached) $ECHO_C" >&6
12216 eval "$as_ac_Header=$ac_header_preproc"
12218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12219 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12222 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12223 cat >>confdefs.h <<_ACEOF
12224 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12227 for ac_func in dlopen
12229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12230 echo "$as_me:$LINENO: checking for $ac_func" >&5
12231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12232 if eval "test \"\${$as_ac_var+set}\" = set"; then
12233 echo $ECHO_N "(cached) $ECHO_C" >&6
12235 cat >conftest.$ac_ext <<_ACEOF
12236 #line $LINENO "configure"
12239 cat confdefs.h >>conftest.$ac_ext
12240 cat >>conftest.$ac_ext <<_ACEOF
12241 /* end confdefs.h. */
12242 /* System header to define __stub macros and hopefully few prototypes,
12243 which can conflict with char $ac_func (); below.
12244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12245 <limits.h> exists even on freestanding compilers. */
12247 # include <limits.h>
12249 # include <assert.h>
12251 /* Override any gcc2 internal prototype to avoid an error. */
12256 /* We use char because int might match the return type of a gcc2
12257 builtin and then its argument prototype would still apply. */
12259 /* The GNU C library defines this for functions which it implements
12260 to always fail with ENOSYS. Some functions are actually named
12261 something starting with __ and the normal name is an alias. */
12262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12265 char (*f) () = $ac_func;
12274 return f != $ac_func;
12279 rm -f conftest.$ac_objext conftest$ac_exeext
12280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12281 (eval $ac_link) 2>&5
12283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12284 (exit $ac_status); } &&
12285 { ac_try='test -s conftest$ac_exeext'
12286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12287 (eval $ac_try) 2>&5
12289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12290 (exit $ac_status); }; }; then
12291 eval "$as_ac_var=yes"
12293 echo "$as_me: failed program was:" >&5
12294 sed 's/^/| /' conftest.$ac_ext >&5
12296 eval "$as_ac_var=no"
12298 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12302 if test `eval echo '${'$as_ac_var'}'` = yes; then
12303 cat >>confdefs.h <<_ACEOF
12304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12308 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12309 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12310 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12311 echo $ECHO_N "(cached) $ECHO_C" >&6
12313 ac_check_lib_save_LIBS=$LIBS
12315 cat >conftest.$ac_ext <<_ACEOF
12316 #line $LINENO "configure"
12319 cat confdefs.h >>conftest.$ac_ext
12320 cat >>conftest.$ac_ext <<_ACEOF
12321 /* end confdefs.h. */
12323 /* Override any gcc2 internal prototype to avoid an error. */
12327 /* We use char because int might match the return type of a gcc2
12328 builtin and then its argument prototype would still apply. */
12338 rm -f conftest.$ac_objext conftest$ac_exeext
12339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12340 (eval $ac_link) 2>&5
12342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12343 (exit $ac_status); } &&
12344 { ac_try='test -s conftest$ac_exeext'
12345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12346 (eval $ac_try) 2>&5
12348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12349 (exit $ac_status); }; }; then
12350 ac_cv_lib_dl_dlopen=yes
12352 echo "$as_me: failed program was:" >&5
12353 sed 's/^/| /' conftest.$ac_ext >&5
12355 ac_cv_lib_dl_dlopen=no
12357 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12358 LIBS=$ac_check_lib_save_LIBS
12360 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12361 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12362 if test $ac_cv_lib_dl_dlopen = yes; then
12364 cat >>confdefs.h <<\_ACEOF
12365 #define HAVE_DLOPEN 1
12383 if test "$LIBEXT" = "so"
12385 DLLFLAGS="$DLLFLAGS -fPIC"
12387 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
12388 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
12389 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
12390 echo $ECHO_N "(cached) $ECHO_C" >&6
12392 ac_wine_try_cflags_saved=$CFLAGS
12393 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
12394 cat >conftest.$ac_ext <<_ACEOF
12395 #line $LINENO "configure"
12398 cat confdefs.h >>conftest.$ac_ext
12399 cat >>conftest.$ac_ext <<_ACEOF
12400 /* end confdefs.h. */
12410 rm -f conftest.$ac_objext conftest$ac_exeext
12411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12412 (eval $ac_link) 2>&5
12414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12415 (exit $ac_status); } &&
12416 { ac_try='test -s conftest$ac_exeext'
12417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12418 (eval $ac_try) 2>&5
12420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12421 (exit $ac_status); }; }; then
12422 ac_cv_c_dll_gnuelf="yes"
12424 echo "$as_me: failed program was:" >&5
12425 sed 's/^/| /' conftest.$ac_ext >&5
12427 ac_cv_c_dll_gnuelf="no"
12429 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12430 CFLAGS=$ac_wine_try_cflags_saved
12432 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
12433 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
12434 if test "$ac_cv_c_dll_gnuelf" = "yes"
12436 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
12437 LDDLL="\$(CC) -shared -Wl,-Bsymbolic"
12438 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
12439 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
12440 if test "${ac_cv_c_dll_zdefs+set}" = set; then
12441 echo $ECHO_N "(cached) $ECHO_C" >&6
12443 ac_wine_try_cflags_saved=$CFLAGS
12444 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
12445 cat >conftest.$ac_ext <<_ACEOF
12446 #line $LINENO "configure"
12449 cat confdefs.h >>conftest.$ac_ext
12450 cat >>conftest.$ac_ext <<_ACEOF
12451 /* end confdefs.h. */
12461 rm -f conftest.$ac_objext conftest$ac_exeext
12462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12463 (eval $ac_link) 2>&5
12465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12466 (exit $ac_status); } &&
12467 { ac_try='test -s conftest$ac_exeext'
12468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12469 (eval $ac_try) 2>&5
12471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12472 (exit $ac_status); }; }; then
12473 ac_cv_c_dll_zdefs="yes"
12475 echo "$as_me: failed program was:" >&5
12476 sed 's/^/| /' conftest.$ac_ext >&5
12478 ac_cv_c_dll_zdefs="no"
12480 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12481 CFLAGS=$ac_wine_try_cflags_saved
12483 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
12484 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
12485 if test "$ac_cv_c_dll_zdefs" = "yes"
12487 LDDLL="$LDDLL,-z,defs"
12490 echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
12491 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6
12492 if test "${ac_cv_c_export_dynamic+set}" = set; then
12493 echo $ECHO_N "(cached) $ECHO_C" >&6
12495 ac_wine_try_cflags_saved=$CFLAGS
12496 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
12497 cat >conftest.$ac_ext <<_ACEOF
12498 #line $LINENO "configure"
12501 cat confdefs.h >>conftest.$ac_ext
12502 cat >>conftest.$ac_ext <<_ACEOF
12503 /* end confdefs.h. */
12513 rm -f conftest.$ac_objext conftest$ac_exeext
12514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12515 (eval $ac_link) 2>&5
12517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12518 (exit $ac_status); } &&
12519 { ac_try='test -s conftest$ac_exeext'
12520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12521 (eval $ac_try) 2>&5
12523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12524 (exit $ac_status); }; }; then
12525 ac_cv_c_export_dynamic="yes"
12527 echo "$as_me: failed program was:" >&5
12528 sed 's/^/| /' conftest.$ac_ext >&5
12530 ac_cv_c_export_dynamic="no"
12532 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12533 CFLAGS=$ac_wine_try_cflags_saved
12535 echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
12536 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6
12537 if test "$ac_cv_c_export_dynamic" = "yes"
12539 LDEXECFLAGS="-Wl,--export-dynamic"
12545 echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x00110000" >&5
12546 echo $ECHO_N "checking whether we can relocate the executable to 0x00110000... $ECHO_C" >&6
12547 if test "${ac_cv_ld_reloc_exec+set}" = set; then
12548 echo $ECHO_N "(cached) $ECHO_C" >&6
12550 saved_CFLAGS="$CFLAGS"
12551 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x00110400"
12552 if test "$cross_compiling" = yes; then
12553 ac_cv_ld_reloc_exec="no"
12555 cat >conftest.$ac_ext <<_ACEOF
12556 #line $LINENO "configure"
12559 cat confdefs.h >>conftest.$ac_ext
12560 cat >>conftest.$ac_ext <<_ACEOF
12561 /* end confdefs.h. */
12562 #include <unistd.h>
12563 int main() { return (sbrk(32*1024*1024) == (void *)-1); }
12565 rm -f conftest$ac_exeext
12566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12567 (eval $ac_link) 2>&5
12569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12570 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12572 (eval $ac_try) 2>&5
12574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12575 (exit $ac_status); }; }; then
12576 ac_cv_ld_reloc_exec="yes"
12578 echo "$as_me: program exited with status $ac_status" >&5
12579 echo "$as_me: failed program was:" >&5
12580 sed 's/^/| /' conftest.$ac_ext >&5
12582 ( exit $ac_status )
12583 ac_cv_ld_reloc_exec="no"
12585 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12587 CFLAGS="$saved_CFLAGS"
12589 echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
12590 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6
12591 if test "$ac_cv_ld_reloc_exec" = "yes"
12593 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x00110400"
12599 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
12600 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
12601 if test "${ac_cv_c_dll_unixware+set}" = set; then
12602 echo $ECHO_N "(cached) $ECHO_C" >&6
12604 ac_wine_try_cflags_saved=$CFLAGS
12605 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
12606 cat >conftest.$ac_ext <<_ACEOF
12607 #line $LINENO "configure"
12610 cat confdefs.h >>conftest.$ac_ext
12611 cat >>conftest.$ac_ext <<_ACEOF
12612 /* end confdefs.h. */
12622 rm -f conftest.$ac_objext conftest$ac_exeext
12623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12624 (eval $ac_link) 2>&5
12626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12627 (exit $ac_status); } &&
12628 { ac_try='test -s conftest$ac_exeext'
12629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12630 (eval $ac_try) 2>&5
12632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12633 (exit $ac_status); }; }; then
12634 ac_cv_c_dll_unixware="yes"
12636 echo "$as_me: failed program was:" >&5
12637 sed 's/^/| /' conftest.$ac_ext >&5
12639 ac_cv_c_dll_unixware="no"
12641 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12642 CFLAGS=$ac_wine_try_cflags_saved
12644 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
12645 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
12646 if test "$ac_cv_c_dll_unixware" = "yes"
12648 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
12649 LDDLL="\$(CC) -Wl,-G,-B,symbolic"
12652 echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
12653 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6
12654 if test "${ac_cv_c_dll_macho+set}" = set; then
12655 echo $ECHO_N "(cached) $ECHO_C" >&6
12657 ac_wine_try_cflags_saved=$CFLAGS
12658 CFLAGS="$CFLAGS -bundle"
12659 cat >conftest.$ac_ext <<_ACEOF
12660 #line $LINENO "configure"
12663 cat confdefs.h >>conftest.$ac_ext
12664 cat >>conftest.$ac_ext <<_ACEOF
12665 /* end confdefs.h. */
12675 rm -f conftest.$ac_objext conftest$ac_exeext
12676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12677 (eval $ac_link) 2>&5
12679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12680 (exit $ac_status); } &&
12681 { ac_try='test -s conftest$ac_exeext'
12682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12683 (eval $ac_try) 2>&5
12685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12686 (exit $ac_status); }; }; then
12687 ac_cv_c_dll_macho="yes"
12689 echo "$as_me: failed program was:" >&5
12690 sed 's/^/| /' conftest.$ac_ext >&5
12692 ac_cv_c_dll_macho="no"
12694 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12695 CFLAGS=$ac_wine_try_cflags_saved
12697 echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
12698 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6
12699 if test "$ac_cv_c_dll_macho" = "yes"
12702 LDDLL="\$(CC) -bundle -flat_namespace -undefined suppress"
12703 LDSHARED="\$(CC) -dynamiclib"
12704 CFLAGS="$CFLAGS -ffixed-r13 -no-cpp-precomp"
12712 if test "$cross_compiling" = "no"
12714 for ac_prog in i586-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
12716 # Extract the first word of "$ac_prog", so it can be a program name with args.
12717 set dummy $ac_prog; ac_word=$2
12718 echo "$as_me:$LINENO: checking for $ac_word" >&5
12719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12720 if test "${ac_cv_prog_CROSSCC+set}" = set; then
12721 echo $ECHO_N "(cached) $ECHO_C" >&6
12723 if test -n "$CROSSCC"; then
12724 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
12726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12727 for as_dir in $PATH
12730 test -z "$as_dir" && as_dir=.
12731 for ac_exec_ext in '' $ac_executable_extensions; do
12732 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12733 ac_cv_prog_CROSSCC="$ac_prog"
12734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12742 CROSSCC=$ac_cv_prog_CROSSCC
12743 if test -n "$CROSSCC"; then
12744 echo "$as_me:$LINENO: result: $CROSSCC" >&5
12745 echo "${ECHO_T}$CROSSCC" >&6
12747 echo "$as_me:$LINENO: result: no" >&5
12748 echo "${ECHO_T}no" >&6
12751 test -n "$CROSSCC" && break
12753 test -n "$CROSSCC" || CROSSCC="false"
12755 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
12757 # Extract the first word of "$ac_prog", so it can be a program name with args.
12758 set dummy $ac_prog; ac_word=$2
12759 echo "$as_me:$LINENO: checking for $ac_word" >&5
12760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12761 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
12762 echo $ECHO_N "(cached) $ECHO_C" >&6
12764 if test -n "$DLLTOOL"; then
12765 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
12767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12768 for as_dir in $PATH
12771 test -z "$as_dir" && as_dir=.
12772 for ac_exec_ext in '' $ac_executable_extensions; do
12773 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12774 ac_cv_prog_DLLTOOL="$ac_prog"
12775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12783 DLLTOOL=$ac_cv_prog_DLLTOOL
12784 if test -n "$DLLTOOL"; then
12785 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
12786 echo "${ECHO_T}$DLLTOOL" >&6
12788 echo "$as_me:$LINENO: result: no" >&5
12789 echo "${ECHO_T}no" >&6
12792 test -n "$DLLTOOL" && break
12794 test -n "$DLLTOOL" || DLLTOOL="false"
12796 for ac_prog in i586-mingw32msvc-windres i386-mingw32-windres mingw-windres
12798 # Extract the first word of "$ac_prog", so it can be a program name with args.
12799 set dummy $ac_prog; ac_word=$2
12800 echo "$as_me:$LINENO: checking for $ac_word" >&5
12801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12802 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
12803 echo $ECHO_N "(cached) $ECHO_C" >&6
12805 if test -n "$CROSSWINDRES"; then
12806 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
12808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12809 for as_dir in $PATH
12812 test -z "$as_dir" && as_dir=.
12813 for ac_exec_ext in '' $ac_executable_extensions; do
12814 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12815 ac_cv_prog_CROSSWINDRES="$ac_prog"
12816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12824 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
12825 if test -n "$CROSSWINDRES"; then
12826 echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
12827 echo "${ECHO_T}$CROSSWINDRES" >&6
12829 echo "$as_me:$LINENO: result: no" >&5
12830 echo "${ECHO_T}no" >&6
12833 test -n "$CROSSWINDRES" && break
12835 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
12837 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
12842 if test "$LIBEXT" = "a"; then
12843 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
12844 It is currently not possible to build Wine without shared library
12845 (.so) support to allow transparent switch between .so and .dll files.
12846 If you are using Linux, you will need a newer binutils.
12848 echo "$as_me: error: could not find a way to build shared libraries.
12849 It is currently not possible to build Wine without shared library
12850 (.so) support to allow transparent switch between .so and .dll files.
12851 If you are using Linux, you will need a newer binutils.
12853 { (exit 1); exit 1; }; }
12858 LDPATH="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
12861 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$DYLD_LIBRARY_PATH\""
12864 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
12876 WINE_BINARIES="wine-glibc wine-kthread wine-pthread"
12878 MAIN_BINARY="wine-glibc"
12882 WINE_BINARIES="wine-kthread"
12884 MAIN_BINARY="wine-kthread"
12890 if test "$LIBEXT" = "so"
12892 # Extract the first word of "ldd", so it can be a program name with args.
12893 set dummy ldd; ac_word=$2
12894 echo "$as_me:$LINENO: checking for $ac_word" >&5
12895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12896 if test "${ac_cv_path_LDD+set}" = set; then
12897 echo $ECHO_N "(cached) $ECHO_C" >&6
12901 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
12904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12905 as_dummy="/sbin:/usr/sbin:$PATH"
12906 for as_dir in $as_dummy
12909 test -z "$as_dir" && as_dir=.
12910 for ac_exec_ext in '' $ac_executable_extensions; do
12911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12912 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
12913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12919 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
12923 LDD=$ac_cv_path_LDD
12925 if test -n "$LDD"; then
12926 echo "$as_me:$LINENO: result: $LDD" >&5
12927 echo "${ECHO_T}$LDD" >&6
12929 echo "$as_me:$LINENO: result: no" >&5
12930 echo "${ECHO_T}no" >&6
12934 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
12935 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
12936 if test "${ac_cv_lib_soname_X11+set}" = set; then
12937 echo $ECHO_N "(cached) $ECHO_C" >&6
12939 ac_get_soname_save_LIBS=$LIBS
12940 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
12941 cat >conftest.$ac_ext <<_ACEOF
12942 #line $LINENO "configure"
12945 cat confdefs.h >>conftest.$ac_ext
12946 cat >>conftest.$ac_ext <<_ACEOF
12947 /* end confdefs.h. */
12949 /* Override any gcc2 internal prototype to avoid an error. */
12953 /* We use char because int might match the return type of a gcc2
12954 builtin and then its argument prototype would still apply. */
12955 char XCreateWindow ();
12964 rm -f conftest.$ac_objext conftest$ac_exeext
12965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12966 (eval $ac_link) 2>&5
12968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12969 (exit $ac_status); } &&
12970 { ac_try='test -s conftest$ac_exeext'
12971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12972 (eval $ac_try) 2>&5
12974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12975 (exit $ac_status); }; }; then
12976 ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed 's/^.*\(libX11\.so[^ ]*\).*$/\1/'`
12977 if test "x$ac_cv_lib_soname_X11" = "x"
12979 ac_cv_lib_soname_X11="libX11.so"
12982 echo "$as_me: failed program was:" >&5
12983 sed 's/^/| /' conftest.$ac_ext >&5
12985 ac_cv_lib_soname_X11="libX11.so"
12987 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12988 LIBS=$ac_get_soname_save_LIBS
12990 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
12991 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
12992 if test "x$ac_cv_lib_soname_X11" != xNONE
12994 cat >>confdefs.h <<_ACEOF
12995 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
12999 echo "$as_me:$LINENO: checking for -lXext soname" >&5
13000 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
13001 if test "${ac_cv_lib_soname_Xext+set}" = set; then
13002 echo $ECHO_N "(cached) $ECHO_C" >&6
13004 ac_get_soname_save_LIBS=$LIBS
13005 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
13006 cat >conftest.$ac_ext <<_ACEOF
13007 #line $LINENO "configure"
13010 cat confdefs.h >>conftest.$ac_ext
13011 cat >>conftest.$ac_ext <<_ACEOF
13012 /* end confdefs.h. */
13014 /* Override any gcc2 internal prototype to avoid an error. */
13018 /* We use char because int might match the return type of a gcc2
13019 builtin and then its argument prototype would still apply. */
13020 char XextCreateExtension ();
13024 XextCreateExtension ();
13029 rm -f conftest.$ac_objext conftest$ac_exeext
13030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13031 (eval $ac_link) 2>&5
13033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13034 (exit $ac_status); } &&
13035 { ac_try='test -s conftest$ac_exeext'
13036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13037 (eval $ac_try) 2>&5
13039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13040 (exit $ac_status); }; }; then
13041 ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed 's/^.*\(libXext\.so[^ ]*\).*$/\1/'`
13042 if test "x$ac_cv_lib_soname_Xext" = "x"
13044 ac_cv_lib_soname_Xext="libXext.so"
13047 echo "$as_me: failed program was:" >&5
13048 sed 's/^/| /' conftest.$ac_ext >&5
13050 ac_cv_lib_soname_Xext="libXext.so"
13052 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13053 LIBS=$ac_get_soname_save_LIBS
13055 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
13056 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
13057 if test "x$ac_cv_lib_soname_Xext" != xNONE
13059 cat >>confdefs.h <<_ACEOF
13060 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
13064 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
13065 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
13066 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
13067 echo $ECHO_N "(cached) $ECHO_C" >&6
13069 ac_get_soname_save_LIBS=$LIBS
13070 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
13071 cat >conftest.$ac_ext <<_ACEOF
13072 #line $LINENO "configure"
13075 cat confdefs.h >>conftest.$ac_ext
13076 cat >>conftest.$ac_ext <<_ACEOF
13077 /* end confdefs.h. */
13079 /* Override any gcc2 internal prototype to avoid an error. */
13083 /* We use char because int might match the return type of a gcc2
13084 builtin and then its argument prototype would still apply. */
13085 char XRenderQueryExtension ();
13089 XRenderQueryExtension ();
13094 rm -f conftest.$ac_objext conftest$ac_exeext
13095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13096 (eval $ac_link) 2>&5
13098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13099 (exit $ac_status); } &&
13100 { ac_try='test -s conftest$ac_exeext'
13101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13102 (eval $ac_try) 2>&5
13104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13105 (exit $ac_status); }; }; then
13106 ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed 's/^.*\(libXrender\.so[^ ]*\).*$/\1/'`
13107 if test "x$ac_cv_lib_soname_Xrender" = "x"
13109 ac_cv_lib_soname_Xrender="libXrender.so"
13112 echo "$as_me: failed program was:" >&5
13113 sed 's/^/| /' conftest.$ac_ext >&5
13115 ac_cv_lib_soname_Xrender="libXrender.so"
13117 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13118 LIBS=$ac_get_soname_save_LIBS
13120 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
13121 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
13122 if test "x$ac_cv_lib_soname_Xrender" != xNONE
13124 cat >>confdefs.h <<_ACEOF
13125 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
13129 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
13130 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
13131 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13132 echo $ECHO_N "(cached) $ECHO_C" >&6
13134 ac_get_soname_save_LIBS=$LIBS
13135 LIBS="-lfreetype $X_LIBS $LIBS"
13136 cat >conftest.$ac_ext <<_ACEOF
13137 #line $LINENO "configure"
13140 cat confdefs.h >>conftest.$ac_ext
13141 cat >>conftest.$ac_ext <<_ACEOF
13142 /* end confdefs.h. */
13144 /* Override any gcc2 internal prototype to avoid an error. */
13148 /* We use char because int might match the return type of a gcc2
13149 builtin and then its argument prototype would still apply. */
13150 char FT_Init_FreeType ();
13154 FT_Init_FreeType ();
13159 rm -f conftest.$ac_objext conftest$ac_exeext
13160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13161 (eval $ac_link) 2>&5
13163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13164 (exit $ac_status); } &&
13165 { ac_try='test -s conftest$ac_exeext'
13166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13167 (eval $ac_try) 2>&5
13169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13170 (exit $ac_status); }; }; then
13171 ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed 's/^.*\(libfreetype\.so[^ ]*\).*$/\1/'`
13172 if test "x$ac_cv_lib_soname_freetype" = "x"
13174 ac_cv_lib_soname_freetype="libfreetype.so"
13177 echo "$as_me: failed program was:" >&5
13178 sed 's/^/| /' conftest.$ac_ext >&5
13180 ac_cv_lib_soname_freetype="libfreetype.so"
13182 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13183 LIBS=$ac_get_soname_save_LIBS
13185 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13186 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
13187 if test "x$ac_cv_lib_soname_freetype" != xNONE
13189 cat >>confdefs.h <<_ACEOF
13190 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13194 echo "$as_me:$LINENO: checking for -lGL soname" >&5
13195 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
13196 if test "${ac_cv_lib_soname_GL+set}" = set; then
13197 echo $ECHO_N "(cached) $ECHO_C" >&6
13199 ac_get_soname_save_LIBS=$LIBS
13200 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
13201 cat >conftest.$ac_ext <<_ACEOF
13202 #line $LINENO "configure"
13205 cat confdefs.h >>conftest.$ac_ext
13206 cat >>conftest.$ac_ext <<_ACEOF
13207 /* end confdefs.h. */
13209 /* Override any gcc2 internal prototype to avoid an error. */
13213 /* We use char because int might match the return type of a gcc2
13214 builtin and then its argument prototype would still apply. */
13215 char glXQueryExtension ();
13219 glXQueryExtension ();
13224 rm -f conftest.$ac_objext conftest$ac_exeext
13225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13226 (eval $ac_link) 2>&5
13228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13229 (exit $ac_status); } &&
13230 { ac_try='test -s conftest$ac_exeext'
13231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13232 (eval $ac_try) 2>&5
13234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13235 (exit $ac_status); }; }; then
13236 ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed 's/^.*\(libGL\.so[^ ]*\).*$/\1/'`
13237 if test "x$ac_cv_lib_soname_GL" = "x"
13239 ac_cv_lib_soname_GL="libGL.so"
13242 echo "$as_me: failed program was:" >&5
13243 sed 's/^/| /' conftest.$ac_ext >&5
13245 ac_cv_lib_soname_GL="libGL.so"
13247 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13248 LIBS=$ac_get_soname_save_LIBS
13250 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
13251 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
13252 if test "x$ac_cv_lib_soname_GL" != xNONE
13254 cat >>confdefs.h <<_ACEOF
13255 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
13259 echo "$as_me:$LINENO: checking for -lcups soname" >&5
13260 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
13261 if test "${ac_cv_lib_soname_cups+set}" = set; then
13262 echo $ECHO_N "(cached) $ECHO_C" >&6
13264 ac_get_soname_save_LIBS=$LIBS
13265 LIBS="-lcups $LIBS"
13266 cat >conftest.$ac_ext <<_ACEOF
13267 #line $LINENO "configure"
13270 cat confdefs.h >>conftest.$ac_ext
13271 cat >>conftest.$ac_ext <<_ACEOF
13272 /* end confdefs.h. */
13274 /* Override any gcc2 internal prototype to avoid an error. */
13278 /* We use char because int might match the return type of a gcc2
13279 builtin and then its argument prototype would still apply. */
13280 char cupsGetDefault ();
13289 rm -f conftest.$ac_objext conftest$ac_exeext
13290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13291 (eval $ac_link) 2>&5
13293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13294 (exit $ac_status); } &&
13295 { ac_try='test -s conftest$ac_exeext'
13296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13297 (eval $ac_try) 2>&5
13299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13300 (exit $ac_status); }; }; then
13301 ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed 's/^.*\(libcups\.so[^ ]*\).*$/\1/'`
13302 if test "x$ac_cv_lib_soname_cups" = "x"
13304 ac_cv_lib_soname_cups="libcups.so"
13307 echo "$as_me: failed program was:" >&5
13308 sed 's/^/| /' conftest.$ac_ext >&5
13310 ac_cv_lib_soname_cups="libcups.so"
13312 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13313 LIBS=$ac_get_soname_save_LIBS
13315 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
13316 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
13317 if test "x$ac_cv_lib_soname_cups" != xNONE
13319 cat >>confdefs.h <<_ACEOF
13320 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13324 echo "$as_me:$LINENO: checking for -ljack soname" >&5
13325 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6
13326 if test "${ac_cv_lib_soname_jack+set}" = set; then
13327 echo $ECHO_N "(cached) $ECHO_C" >&6
13329 ac_get_soname_save_LIBS=$LIBS
13330 LIBS="-ljack $LIBS"
13331 cat >conftest.$ac_ext <<_ACEOF
13332 #line $LINENO "configure"
13335 cat confdefs.h >>conftest.$ac_ext
13336 cat >>conftest.$ac_ext <<_ACEOF
13337 /* end confdefs.h. */
13339 /* Override any gcc2 internal prototype to avoid an error. */
13343 /* We use char because int might match the return type of a gcc2
13344 builtin and then its argument prototype would still apply. */
13345 char jack_client_new ();
13349 jack_client_new ();
13354 rm -f conftest.$ac_objext conftest$ac_exeext
13355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13356 (eval $ac_link) 2>&5
13358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13359 (exit $ac_status); } &&
13360 { ac_try='test -s conftest$ac_exeext'
13361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13362 (eval $ac_try) 2>&5
13364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13365 (exit $ac_status); }; }; then
13366 ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed 's/^.*\(libjack\.so[^ ]*\).*$/\1/'`
13367 if test "x$ac_cv_lib_soname_jack" = "x"
13369 ac_cv_lib_soname_jack="libjack.so"
13372 echo "$as_me: failed program was:" >&5
13373 sed 's/^/| /' conftest.$ac_ext >&5
13375 ac_cv_lib_soname_jack="libjack.so"
13377 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13378 LIBS=$ac_get_soname_save_LIBS
13380 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
13381 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6
13382 if test "x$ac_cv_lib_soname_jack" != xNONE
13384 cat >>confdefs.h <<_ACEOF
13385 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
13389 echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
13390 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6
13391 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
13392 echo $ECHO_N "(cached) $ECHO_C" >&6
13394 ac_get_soname_save_LIBS=$LIBS
13395 LIBS="-lfontconfig $LIBS"
13396 cat >conftest.$ac_ext <<_ACEOF
13397 #line $LINENO "configure"
13400 cat confdefs.h >>conftest.$ac_ext
13401 cat >>conftest.$ac_ext <<_ACEOF
13402 /* end confdefs.h. */
13404 /* Override any gcc2 internal prototype to avoid an error. */
13408 /* We use char because int might match the return type of a gcc2
13409 builtin and then its argument prototype would still apply. */
13419 rm -f conftest.$ac_objext conftest$ac_exeext
13420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13421 (eval $ac_link) 2>&5
13423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13424 (exit $ac_status); } &&
13425 { ac_try='test -s conftest$ac_exeext'
13426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13427 (eval $ac_try) 2>&5
13429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13430 (exit $ac_status); }; }; then
13431 ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed 's/^.*\(libfontconfig\.so[^ ]*\).*$/\1/'`
13432 if test "x$ac_cv_lib_soname_fontconfig" = "x"
13434 ac_cv_lib_soname_fontconfig="libfontconfig.so"
13437 echo "$as_me: failed program was:" >&5
13438 sed 's/^/| /' conftest.$ac_ext >&5
13440 ac_cv_lib_soname_fontconfig="libfontconfig.so"
13442 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13443 LIBS=$ac_get_soname_save_LIBS
13445 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
13446 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6
13447 if test "x$ac_cv_lib_soname_fontconfig" != xNONE
13449 cat >>confdefs.h <<_ACEOF
13450 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13454 echo "$as_me:$LINENO: checking for -lssl soname" >&5
13455 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6
13456 if test "${ac_cv_lib_soname_ssl+set}" = set; then
13457 echo $ECHO_N "(cached) $ECHO_C" >&6
13459 ac_get_soname_save_LIBS=$LIBS
13461 cat >conftest.$ac_ext <<_ACEOF
13462 #line $LINENO "configure"
13465 cat confdefs.h >>conftest.$ac_ext
13466 cat >>conftest.$ac_ext <<_ACEOF
13467 /* end confdefs.h. */
13469 /* Override any gcc2 internal prototype to avoid an error. */
13473 /* We use char because int might match the return type of a gcc2
13474 builtin and then its argument prototype would still apply. */
13475 char SSL_library_init ();
13479 SSL_library_init ();
13484 rm -f conftest.$ac_objext conftest$ac_exeext
13485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13486 (eval $ac_link) 2>&5
13488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13489 (exit $ac_status); } &&
13490 { ac_try='test -s conftest$ac_exeext'
13491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13492 (eval $ac_try) 2>&5
13494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13495 (exit $ac_status); }; }; then
13496 ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed 's/^.*\(libssl\.so[^ ]*\).*$/\1/'`
13497 if test "x$ac_cv_lib_soname_ssl" = "x"
13499 ac_cv_lib_soname_ssl="libssl.so"
13502 echo "$as_me: failed program was:" >&5
13503 sed 's/^/| /' conftest.$ac_ext >&5
13505 ac_cv_lib_soname_ssl="libssl.so"
13507 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13508 LIBS=$ac_get_soname_save_LIBS
13510 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
13511 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6
13512 if test "x$ac_cv_lib_soname_ssl" != xNONE
13514 cat >>confdefs.h <<_ACEOF
13515 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
13519 echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
13520 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6
13521 if test "${ac_cv_lib_soname_crypto+set}" = set; then
13522 echo $ECHO_N "(cached) $ECHO_C" >&6
13524 ac_get_soname_save_LIBS=$LIBS
13525 LIBS="-lcrypto $LIBS"
13526 cat >conftest.$ac_ext <<_ACEOF
13527 #line $LINENO "configure"
13530 cat confdefs.h >>conftest.$ac_ext
13531 cat >>conftest.$ac_ext <<_ACEOF
13532 /* end confdefs.h. */
13534 /* Override any gcc2 internal prototype to avoid an error. */
13538 /* We use char because int might match the return type of a gcc2
13539 builtin and then its argument prototype would still apply. */
13540 char BIO_new_socket ();
13549 rm -f conftest.$ac_objext conftest$ac_exeext
13550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13551 (eval $ac_link) 2>&5
13553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13554 (exit $ac_status); } &&
13555 { ac_try='test -s conftest$ac_exeext'
13556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13557 (eval $ac_try) 2>&5
13559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13560 (exit $ac_status); }; }; then
13561 ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed 's/^.*\(libcrypto\.so[^ ]*\).*$/\1/'`
13562 if test "x$ac_cv_lib_soname_crypto" = "x"
13564 ac_cv_lib_soname_crypto="libcrypto.so"
13567 echo "$as_me: failed program was:" >&5
13568 sed 's/^/| /' conftest.$ac_ext >&5
13570 ac_cv_lib_soname_crypto="libcrypto.so"
13572 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13573 LIBS=$ac_get_soname_save_LIBS
13575 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
13576 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6
13577 if test "x$ac_cv_lib_soname_crypto" != xNONE
13579 cat >>confdefs.h <<_ACEOF
13580 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
13584 echo "$as_me:$LINENO: checking for -lncurses soname" >&5
13585 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6
13586 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
13587 echo $ECHO_N "(cached) $ECHO_C" >&6
13589 ac_get_soname_save_LIBS=$LIBS
13590 LIBS="-lncurses $LIBS"
13591 cat >conftest.$ac_ext <<_ACEOF
13592 #line $LINENO "configure"
13595 cat confdefs.h >>conftest.$ac_ext
13596 cat >>conftest.$ac_ext <<_ACEOF
13597 /* end confdefs.h. */
13599 /* Override any gcc2 internal prototype to avoid an error. */
13603 /* We use char because int might match the return type of a gcc2
13604 builtin and then its argument prototype would still apply. */
13614 rm -f conftest.$ac_objext conftest$ac_exeext
13615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13616 (eval $ac_link) 2>&5
13618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13619 (exit $ac_status); } &&
13620 { ac_try='test -s conftest$ac_exeext'
13621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13622 (eval $ac_try) 2>&5
13624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13625 (exit $ac_status); }; }; then
13626 ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed 's/^.*\(libncurses\.so[^ ]*\).*$/\1/'`
13627 if test "x$ac_cv_lib_soname_ncurses" = "x"
13629 ac_cv_lib_soname_ncurses="libncurses.so"
13632 echo "$as_me: failed program was:" >&5
13633 sed 's/^/| /' conftest.$ac_ext >&5
13635 ac_cv_lib_soname_ncurses="libncurses.so"
13637 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13638 LIBS=$ac_get_soname_save_LIBS
13640 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
13641 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6
13642 if test "x$ac_cv_lib_soname_ncurses" != xNONE
13644 cat >>confdefs.h <<_ACEOF
13645 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13649 echo "$as_me:$LINENO: checking for -lcurses soname" >&5
13650 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6
13651 if test "${ac_cv_lib_soname_curses+set}" = set; then
13652 echo $ECHO_N "(cached) $ECHO_C" >&6
13654 ac_get_soname_save_LIBS=$LIBS
13655 LIBS="-lcurses $LIBS"
13656 cat >conftest.$ac_ext <<_ACEOF
13657 #line $LINENO "configure"
13660 cat confdefs.h >>conftest.$ac_ext
13661 cat >>conftest.$ac_ext <<_ACEOF
13662 /* end confdefs.h. */
13664 /* Override any gcc2 internal prototype to avoid an error. */
13668 /* We use char because int might match the return type of a gcc2
13669 builtin and then its argument prototype would still apply. */
13679 rm -f conftest.$ac_objext conftest$ac_exeext
13680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13681 (eval $ac_link) 2>&5
13683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13684 (exit $ac_status); } &&
13685 { ac_try='test -s conftest$ac_exeext'
13686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13687 (eval $ac_try) 2>&5
13689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13690 (exit $ac_status); }; }; then
13691 ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed 's/^.*\(libcurses\.so[^ ]*\).*$/\1/'`
13692 if test "x$ac_cv_lib_soname_curses" = "x"
13694 ac_cv_lib_soname_curses="libcurses.so"
13697 echo "$as_me: failed program was:" >&5
13698 sed 's/^/| /' conftest.$ac_ext >&5
13700 ac_cv_lib_soname_curses="libcurses.so"
13702 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13703 LIBS=$ac_get_soname_save_LIBS
13705 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
13706 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6
13707 if test "x$ac_cv_lib_soname_curses" != xNONE
13709 cat >>confdefs.h <<_ACEOF
13710 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13717 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
13718 # for constant arguments. Useless!
13719 echo "$as_me:$LINENO: checking for working alloca.h" >&5
13720 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
13721 if test "${ac_cv_working_alloca_h+set}" = set; then
13722 echo $ECHO_N "(cached) $ECHO_C" >&6
13724 cat >conftest.$ac_ext <<_ACEOF
13725 #line $LINENO "configure"
13728 cat confdefs.h >>conftest.$ac_ext
13729 cat >>conftest.$ac_ext <<_ACEOF
13730 /* end confdefs.h. */
13731 #include <alloca.h>
13735 char *p = (char *) alloca (2 * sizeof (int));
13740 rm -f conftest.$ac_objext conftest$ac_exeext
13741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13742 (eval $ac_link) 2>&5
13744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13745 (exit $ac_status); } &&
13746 { ac_try='test -s conftest$ac_exeext'
13747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13748 (eval $ac_try) 2>&5
13750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13751 (exit $ac_status); }; }; then
13752 ac_cv_working_alloca_h=yes
13754 echo "$as_me: failed program was:" >&5
13755 sed 's/^/| /' conftest.$ac_ext >&5
13757 ac_cv_working_alloca_h=no
13759 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13761 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
13762 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
13763 if test $ac_cv_working_alloca_h = yes; then
13765 cat >>confdefs.h <<\_ACEOF
13766 #define HAVE_ALLOCA_H 1
13771 echo "$as_me:$LINENO: checking for alloca" >&5
13772 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
13773 if test "${ac_cv_func_alloca_works+set}" = set; then
13774 echo $ECHO_N "(cached) $ECHO_C" >&6
13776 cat >conftest.$ac_ext <<_ACEOF
13777 #line $LINENO "configure"
13780 cat confdefs.h >>conftest.$ac_ext
13781 cat >>conftest.$ac_ext <<_ACEOF
13782 /* end confdefs.h. */
13784 # define alloca __builtin_alloca
13787 # include <malloc.h>
13788 # define alloca _alloca
13791 # include <alloca.h>
13796 # ifndef alloca /* predefined by HP cc +Olibcalls */
13807 char *p = (char *) alloca (1);
13812 rm -f conftest.$ac_objext conftest$ac_exeext
13813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13814 (eval $ac_link) 2>&5
13816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13817 (exit $ac_status); } &&
13818 { ac_try='test -s conftest$ac_exeext'
13819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13820 (eval $ac_try) 2>&5
13822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13823 (exit $ac_status); }; }; then
13824 ac_cv_func_alloca_works=yes
13826 echo "$as_me: failed program was:" >&5
13827 sed 's/^/| /' conftest.$ac_ext >&5
13829 ac_cv_func_alloca_works=no
13831 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13833 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
13834 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
13836 if test $ac_cv_func_alloca_works = yes; then
13838 cat >>confdefs.h <<\_ACEOF
13839 #define HAVE_ALLOCA 1
13843 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
13844 # that cause trouble. Some versions do not even contain alloca or
13845 # contain a buggy version. If you still want to use their alloca,
13846 # use ar to extract alloca.o from them instead of compiling alloca.c.
13848 ALLOCA=alloca.$ac_objext
13850 cat >>confdefs.h <<\_ACEOF
13855 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
13856 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
13857 if test "${ac_cv_os_cray+set}" = set; then
13858 echo $ECHO_N "(cached) $ECHO_C" >&6
13860 cat >conftest.$ac_ext <<_ACEOF
13861 #line $LINENO "configure"
13864 cat confdefs.h >>conftest.$ac_ext
13865 cat >>conftest.$ac_ext <<_ACEOF
13866 /* end confdefs.h. */
13867 #if defined(CRAY) && ! defined(CRAY2)
13874 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13875 $EGREP "webecray" >/dev/null 2>&1; then
13883 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
13884 echo "${ECHO_T}$ac_cv_os_cray" >&6
13885 if test $ac_cv_os_cray = yes; then
13886 for ac_func in _getb67 GETB67 getb67; do
13887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13888 echo "$as_me:$LINENO: checking for $ac_func" >&5
13889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13890 if eval "test \"\${$as_ac_var+set}\" = set"; then
13891 echo $ECHO_N "(cached) $ECHO_C" >&6
13893 cat >conftest.$ac_ext <<_ACEOF
13894 #line $LINENO "configure"
13897 cat confdefs.h >>conftest.$ac_ext
13898 cat >>conftest.$ac_ext <<_ACEOF
13899 /* end confdefs.h. */
13900 /* System header to define __stub macros and hopefully few prototypes,
13901 which can conflict with char $ac_func (); below.
13902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13903 <limits.h> exists even on freestanding compilers. */
13905 # include <limits.h>
13907 # include <assert.h>
13909 /* Override any gcc2 internal prototype to avoid an error. */
13914 /* We use char because int might match the return type of a gcc2
13915 builtin and then its argument prototype would still apply. */
13917 /* The GNU C library defines this for functions which it implements
13918 to always fail with ENOSYS. Some functions are actually named
13919 something starting with __ and the normal name is an alias. */
13920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13923 char (*f) () = $ac_func;
13932 return f != $ac_func;
13937 rm -f conftest.$ac_objext conftest$ac_exeext
13938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13939 (eval $ac_link) 2>&5
13941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13942 (exit $ac_status); } &&
13943 { ac_try='test -s conftest$ac_exeext'
13944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13945 (eval $ac_try) 2>&5
13947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13948 (exit $ac_status); }; }; then
13949 eval "$as_ac_var=yes"
13951 echo "$as_me: failed program was:" >&5
13952 sed 's/^/| /' conftest.$ac_ext >&5
13954 eval "$as_ac_var=no"
13956 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13960 if test `eval echo '${'$as_ac_var'}'` = yes; then
13962 cat >>confdefs.h <<_ACEOF
13963 #define CRAY_STACKSEG_END $ac_func
13972 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
13973 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
13974 if test "${ac_cv_c_stack_direction+set}" = set; then
13975 echo $ECHO_N "(cached) $ECHO_C" >&6
13977 if test "$cross_compiling" = yes; then
13978 ac_cv_c_stack_direction=0
13980 cat >conftest.$ac_ext <<_ACEOF
13981 #line $LINENO "configure"
13984 cat confdefs.h >>conftest.$ac_ext
13985 cat >>conftest.$ac_ext <<_ACEOF
13986 /* end confdefs.h. */
13988 find_stack_direction ()
13990 static char *addr = 0;
13995 return find_stack_direction ();
13998 return (&dummy > addr) ? 1 : -1;
14004 exit (find_stack_direction () < 0);
14007 rm -f conftest$ac_exeext
14008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14009 (eval $ac_link) 2>&5
14011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14012 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14014 (eval $ac_try) 2>&5
14016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14017 (exit $ac_status); }; }; then
14018 ac_cv_c_stack_direction=1
14020 echo "$as_me: program exited with status $ac_status" >&5
14021 echo "$as_me: failed program was:" >&5
14022 sed 's/^/| /' conftest.$ac_ext >&5
14024 ( exit $ac_status )
14025 ac_cv_c_stack_direction=-1
14027 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14030 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
14031 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
14033 cat >>confdefs.h <<_ACEOF
14034 #define STACK_DIRECTION $ac_cv_c_stack_direction
14147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14148 echo "$as_me:$LINENO: checking for $ac_func" >&5
14149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14150 if eval "test \"\${$as_ac_var+set}\" = set"; then
14151 echo $ECHO_N "(cached) $ECHO_C" >&6
14153 cat >conftest.$ac_ext <<_ACEOF
14154 #line $LINENO "configure"
14157 cat confdefs.h >>conftest.$ac_ext
14158 cat >>conftest.$ac_ext <<_ACEOF
14159 /* end confdefs.h. */
14160 /* System header to define __stub macros and hopefully few prototypes,
14161 which can conflict with char $ac_func (); below.
14162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14163 <limits.h> exists even on freestanding compilers. */
14165 # include <limits.h>
14167 # include <assert.h>
14169 /* Override any gcc2 internal prototype to avoid an error. */
14174 /* We use char because int might match the return type of a gcc2
14175 builtin and then its argument prototype would still apply. */
14177 /* The GNU C library defines this for functions which it implements
14178 to always fail with ENOSYS. Some functions are actually named
14179 something starting with __ and the normal name is an alias. */
14180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14183 char (*f) () = $ac_func;
14192 return f != $ac_func;
14197 rm -f conftest.$ac_objext conftest$ac_exeext
14198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14199 (eval $ac_link) 2>&5
14201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14202 (exit $ac_status); } &&
14203 { ac_try='test -s conftest$ac_exeext'
14204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14205 (eval $ac_try) 2>&5
14207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14208 (exit $ac_status); }; }; then
14209 eval "$as_ac_var=yes"
14211 echo "$as_me: failed program was:" >&5
14212 sed 's/^/| /' conftest.$ac_ext >&5
14214 eval "$as_ac_var=no"
14216 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14219 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14220 if test `eval echo '${'$as_ac_var'}'` = yes; then
14221 cat >>confdefs.h <<_ACEOF
14222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14317 fontconfig/fontconfig.h \
14336 netinet/in_systm.h \
14338 netinet/tcp_fsm.h \
14348 scsi/scsi_ioctl.h \
14390 valgrind/memcheck.h
14393 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14394 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14395 echo "$as_me:$LINENO: checking for $ac_header" >&5
14396 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14397 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14398 echo $ECHO_N "(cached) $ECHO_C" >&6
14400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14401 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14403 # Is the header compilable?
14404 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14405 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14406 cat >conftest.$ac_ext <<_ACEOF
14407 #line $LINENO "configure"
14410 cat confdefs.h >>conftest.$ac_ext
14411 cat >>conftest.$ac_ext <<_ACEOF
14412 /* end confdefs.h. */
14413 $ac_includes_default
14414 #include <$ac_header>
14416 rm -f conftest.$ac_objext
14417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14418 (eval $ac_compile) 2>&5
14420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14421 (exit $ac_status); } &&
14422 { ac_try='test -s conftest.$ac_objext'
14423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14424 (eval $ac_try) 2>&5
14426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14427 (exit $ac_status); }; }; then
14428 ac_header_compiler=yes
14430 echo "$as_me: failed program was:" >&5
14431 sed 's/^/| /' conftest.$ac_ext >&5
14433 ac_header_compiler=no
14435 rm -f conftest.$ac_objext conftest.$ac_ext
14436 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14437 echo "${ECHO_T}$ac_header_compiler" >&6
14439 # Is the header present?
14440 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14441 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14442 cat >conftest.$ac_ext <<_ACEOF
14443 #line $LINENO "configure"
14446 cat confdefs.h >>conftest.$ac_ext
14447 cat >>conftest.$ac_ext <<_ACEOF
14448 /* end confdefs.h. */
14449 #include <$ac_header>
14451 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14452 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14454 grep -v '^ *+' conftest.er1 >conftest.err
14456 cat conftest.err >&5
14457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14458 (exit $ac_status); } >/dev/null; then
14459 if test -s conftest.err; then
14460 ac_cpp_err=$ac_c_preproc_warn_flag
14467 if test -z "$ac_cpp_err"; then
14468 ac_header_preproc=yes
14470 echo "$as_me: failed program was:" >&5
14471 sed 's/^/| /' conftest.$ac_ext >&5
14473 ac_header_preproc=no
14475 rm -f conftest.err conftest.$ac_ext
14476 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14477 echo "${ECHO_T}$ac_header_preproc" >&6
14479 # So? What about this header?
14480 case $ac_header_compiler:$ac_header_preproc in
14482 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14483 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14484 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14485 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14488 ## ------------------------------------ ##
14489 ## Report this to bug-autoconf@gnu.org. ##
14490 ## ------------------------------------ ##
14493 sed "s/^/$as_me: WARNING: /" >&2
14496 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14497 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14498 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14499 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14500 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14501 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14504 ## ------------------------------------ ##
14505 ## Report this to bug-autoconf@gnu.org. ##
14506 ## ------------------------------------ ##
14509 sed "s/^/$as_me: WARNING: /" >&2
14512 echo "$as_me:$LINENO: checking for $ac_header" >&5
14513 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14514 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14515 echo $ECHO_N "(cached) $ECHO_C" >&6
14517 eval "$as_ac_Header=$ac_header_preproc"
14519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14520 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14523 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14524 cat >>confdefs.h <<_ACEOF
14525 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14532 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
14533 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
14534 if test "${ac_cv_header_stat_broken+set}" = set; then
14535 echo $ECHO_N "(cached) $ECHO_C" >&6
14537 cat >conftest.$ac_ext <<_ACEOF
14538 #line $LINENO "configure"
14541 cat confdefs.h >>conftest.$ac_ext
14542 cat >>conftest.$ac_ext <<_ACEOF
14543 /* end confdefs.h. */
14544 #include <sys/types.h>
14545 #include <sys/stat.h>
14547 #if defined(S_ISBLK) && defined(S_IFDIR)
14548 # if S_ISBLK (S_IFDIR)
14553 #if defined(S_ISBLK) && defined(S_IFCHR)
14554 # if S_ISBLK (S_IFCHR)
14559 #if defined(S_ISLNK) && defined(S_IFREG)
14560 # if S_ISLNK (S_IFREG)
14565 #if defined(S_ISSOCK) && defined(S_IFREG)
14566 # if S_ISSOCK (S_IFREG)
14572 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14573 $EGREP "You lose" >/dev/null 2>&1; then
14574 ac_cv_header_stat_broken=yes
14576 ac_cv_header_stat_broken=no
14581 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
14582 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
14583 if test $ac_cv_header_stat_broken = yes; then
14585 cat >>confdefs.h <<\_ACEOF
14586 #define STAT_MACROS_BROKEN 1
14595 for ac_header in sys/mount.h sys/user.h
14597 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14598 echo "$as_me:$LINENO: checking for $ac_header" >&5
14599 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14600 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14601 echo $ECHO_N "(cached) $ECHO_C" >&6
14603 cat >conftest.$ac_ext <<_ACEOF
14604 #line $LINENO "configure"
14607 cat confdefs.h >>conftest.$ac_ext
14608 cat >>conftest.$ac_ext <<_ACEOF
14609 /* end confdefs.h. */
14610 #include <sys/types.h>
14611 #if HAVE_SYS_PARAM_H
14612 # include <sys/param.h>
14615 #include <$ac_header>
14617 rm -f conftest.$ac_objext
14618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14619 (eval $ac_compile) 2>&5
14621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14622 (exit $ac_status); } &&
14623 { ac_try='test -s conftest.$ac_objext'
14624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14625 (eval $ac_try) 2>&5
14627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14628 (exit $ac_status); }; }; then
14629 eval "$as_ac_Header=yes"
14631 echo "$as_me: failed program was:" >&5
14632 sed 's/^/| /' conftest.$ac_ext >&5
14634 eval "$as_ac_Header=no"
14636 rm -f conftest.$ac_objext conftest.$ac_ext
14638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14639 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14640 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14641 cat >>confdefs.h <<_ACEOF
14642 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14655 for ac_header in net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h
14657 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14658 echo "$as_me:$LINENO: checking for $ac_header" >&5
14659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14660 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14661 echo $ECHO_N "(cached) $ECHO_C" >&6
14663 cat >conftest.$ac_ext <<_ACEOF
14664 #line $LINENO "configure"
14667 cat confdefs.h >>conftest.$ac_ext
14668 cat >>conftest.$ac_ext <<_ACEOF
14669 /* end confdefs.h. */
14670 #include <sys/types.h>
14671 #if HAVE_SYS_SOCKET_H
14672 # include <sys/socket.h>
14675 #include <$ac_header>
14677 rm -f conftest.$ac_objext
14678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14679 (eval $ac_compile) 2>&5
14681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14682 (exit $ac_status); } &&
14683 { ac_try='test -s conftest.$ac_objext'
14684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14685 (eval $ac_try) 2>&5
14687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14688 (exit $ac_status); }; }; then
14689 eval "$as_ac_Header=yes"
14691 echo "$as_me: failed program was:" >&5
14692 sed 's/^/| /' conftest.$ac_ext >&5
14694 eval "$as_ac_Header=no"
14696 rm -f conftest.$ac_objext conftest.$ac_ext
14698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14699 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14700 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14701 cat >>confdefs.h <<_ACEOF
14702 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14711 for ac_header in resolv.h
14713 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14714 echo "$as_me:$LINENO: checking for $ac_header" >&5
14715 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14716 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14717 echo $ECHO_N "(cached) $ECHO_C" >&6
14719 cat >conftest.$ac_ext <<_ACEOF
14720 #line $LINENO "configure"
14723 cat confdefs.h >>conftest.$ac_ext
14724 cat >>conftest.$ac_ext <<_ACEOF
14725 /* end confdefs.h. */
14726 #include <sys/types.h>
14727 #if HAVE_SYS_SOCKET_H
14728 # include <sys/socket.h>
14730 #if HAVE_NETINET_IN_H
14731 # include <netinet/in.h>
14733 #if HAVE_ARPA_NAMESER_H
14734 # include <arpa/nameser.h>
14737 #include <$ac_header>
14739 rm -f conftest.$ac_objext
14740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14741 (eval $ac_compile) 2>&5
14743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14744 (exit $ac_status); } &&
14745 { ac_try='test -s conftest.$ac_objext'
14746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14747 (eval $ac_try) 2>&5
14749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14750 (exit $ac_status); }; }; then
14751 eval "$as_ac_Header=yes"
14753 echo "$as_me: failed program was:" >&5
14754 sed 's/^/| /' conftest.$ac_ext >&5
14756 eval "$as_ac_Header=no"
14758 rm -f conftest.$ac_objext conftest.$ac_ext
14760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14761 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14762 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14763 cat >>confdefs.h <<_ACEOF
14764 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14773 for ac_header in netinet/ip.h
14775 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14776 echo "$as_me:$LINENO: checking for $ac_header" >&5
14777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14779 echo $ECHO_N "(cached) $ECHO_C" >&6
14781 cat >conftest.$ac_ext <<_ACEOF
14782 #line $LINENO "configure"
14785 cat confdefs.h >>conftest.$ac_ext
14786 cat >>conftest.$ac_ext <<_ACEOF
14787 /* end confdefs.h. */
14788 #include <sys/types.h>
14789 #if HAVE_SYS_SOCKET_H
14790 # include <sys/socket.h>
14792 #if HAVE_NETINET_IN_SYSTM_H
14793 # include <netinet/in_systm.h>
14796 #include <$ac_header>
14798 rm -f conftest.$ac_objext
14799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14800 (eval $ac_compile) 2>&5
14802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14803 (exit $ac_status); } &&
14804 { ac_try='test -s conftest.$ac_objext'
14805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14806 (eval $ac_try) 2>&5
14808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14809 (exit $ac_status); }; }; then
14810 eval "$as_ac_Header=yes"
14812 echo "$as_me: failed program was:" >&5
14813 sed 's/^/| /' conftest.$ac_ext >&5
14815 eval "$as_ac_Header=no"
14817 rm -f conftest.$ac_objext conftest.$ac_ext
14819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14820 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14821 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14822 cat >>confdefs.h <<_ACEOF
14823 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14832 for ac_header in ucontext.h
14834 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14835 echo "$as_me:$LINENO: checking for $ac_header" >&5
14836 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14837 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14838 echo $ECHO_N "(cached) $ECHO_C" >&6
14840 cat >conftest.$ac_ext <<_ACEOF
14841 #line $LINENO "configure"
14844 cat confdefs.h >>conftest.$ac_ext
14845 cat >>conftest.$ac_ext <<_ACEOF
14846 /* end confdefs.h. */
14847 #include <signal.h>
14849 #include <$ac_header>
14851 rm -f conftest.$ac_objext
14852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14853 (eval $ac_compile) 2>&5
14855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14856 (exit $ac_status); } &&
14857 { ac_try='test -s conftest.$ac_objext'
14858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14859 (eval $ac_try) 2>&5
14861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14862 (exit $ac_status); }; }; then
14863 eval "$as_ac_Header=yes"
14865 echo "$as_me: failed program was:" >&5
14866 sed 's/^/| /' conftest.$ac_ext >&5
14868 eval "$as_ac_Header=no"
14870 rm -f conftest.$ac_objext conftest.$ac_ext
14872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14873 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14874 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14875 cat >>confdefs.h <<_ACEOF
14876 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14885 echo "$as_me:$LINENO: checking for GNU style IPX support" >&5
14886 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
14887 if test "${ac_cv_c_ipx_gnu+set}" = set; then
14888 echo $ECHO_N "(cached) $ECHO_C" >&6
14890 cat >conftest.$ac_ext <<_ACEOF
14891 #line $LINENO "configure"
14894 cat confdefs.h >>conftest.$ac_ext
14895 cat >>conftest.$ac_ext <<_ACEOF
14896 /* end confdefs.h. */
14897 #include <sys/types.h>
14898 #ifdef HAVE_SYS_SOCKET_H
14899 # include <sys/socket.h>
14901 #include <netipx/ipx.h>
14905 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
14910 rm -f conftest.$ac_objext
14911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14912 (eval $ac_compile) 2>&5
14914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14915 (exit $ac_status); } &&
14916 { ac_try='test -s conftest.$ac_objext'
14917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14918 (eval $ac_try) 2>&5
14920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14921 (exit $ac_status); }; }; then
14922 ac_cv_c_ipx_gnu="yes"
14924 echo "$as_me: failed program was:" >&5
14925 sed 's/^/| /' conftest.$ac_ext >&5
14927 ac_cv_c_ipx_gnu="no"
14929 rm -f conftest.$ac_objext conftest.$ac_ext
14932 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_gnu" >&5
14933 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
14934 if test "$ac_cv_c_ipx_gnu" = "yes"
14937 cat >>confdefs.h <<\_ACEOF
14938 #define HAVE_IPX_GNU 1
14943 if test "$ac_cv_c_ipx_gnu" = "no"
14945 echo "$as_me:$LINENO: checking for linux style IPX support" >&5
14946 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
14947 if test "${ac_cv_c_ipx_linux+set}" = set; then
14948 echo $ECHO_N "(cached) $ECHO_C" >&6
14950 cat >conftest.$ac_ext <<_ACEOF
14951 #line $LINENO "configure"
14954 cat confdefs.h >>conftest.$ac_ext
14955 cat >>conftest.$ac_ext <<_ACEOF
14956 /* end confdefs.h. */
14957 #include <sys/types.h>
14958 #ifdef HAVE_SYS_SOCKET_H
14959 # include <sys/socket.h>
14961 #include <asm/types.h>
14962 #include <linux/ipx.h>
14966 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
14971 rm -f conftest.$ac_objext
14972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14973 (eval $ac_compile) 2>&5
14975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14976 (exit $ac_status); } &&
14977 { ac_try='test -s conftest.$ac_objext'
14978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14979 (eval $ac_try) 2>&5
14981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14982 (exit $ac_status); }; }; then
14983 ac_cv_c_ipx_linux="yes"
14985 echo "$as_me: failed program was:" >&5
14986 sed 's/^/| /' conftest.$ac_ext >&5
14988 ac_cv_c_ipx_linux="no"
14990 rm -f conftest.$ac_objext conftest.$ac_ext
14993 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_linux" >&5
14994 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
14995 if test "$ac_cv_c_ipx_linux" = "yes"
14998 cat >>confdefs.h <<\_ACEOF
14999 #define HAVE_IPX_LINUX 1
15006 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15007 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15008 if test "${ac_cv_c_const+set}" = set; then
15009 echo $ECHO_N "(cached) $ECHO_C" >&6
15011 cat >conftest.$ac_ext <<_ACEOF
15012 #line $LINENO "configure"
15015 cat confdefs.h >>conftest.$ac_ext
15016 cat >>conftest.$ac_ext <<_ACEOF
15017 /* end confdefs.h. */
15022 /* FIXME: Include the comments suggested by Paul. */
15023 #ifndef __cplusplus
15024 /* Ultrix mips cc rejects this. */
15025 typedef int charset[2];
15027 /* SunOS 4.1.1 cc rejects this. */
15028 char const *const *ccp;
15030 /* NEC SVR4.0.2 mips cc rejects this. */
15031 struct point {int x, y;};
15032 static struct point const zero = {0,0};
15033 /* AIX XL C 1.02.0.0 rejects this.
15034 It does not let you subtract one const X* pointer from another in
15035 an arm of an if-expression whose if-part is not a constant
15037 const char *g = "string";
15038 ccp = &g + (g ? g-g : 0);
15039 /* HPUX 7.0 cc rejects these. */
15042 ccp = (char const *const *) p;
15043 { /* SCO 3.2v4 cc rejects this. */
15045 char const *s = 0 ? (char *) 0 : (char const *) 0;
15049 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15050 int x[] = {25, 17};
15051 const int *foo = &x[0];
15054 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15055 typedef const int *iptr;
15059 { /* AIX XL C 1.02.0.0 rejects this saying
15060 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15061 struct s { int j; const int *ap[3]; };
15062 struct s *b; b->j = 5;
15064 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15065 const int foo = 10;
15073 rm -f conftest.$ac_objext
15074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15075 (eval $ac_compile) 2>&5
15077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15078 (exit $ac_status); } &&
15079 { ac_try='test -s conftest.$ac_objext'
15080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15081 (eval $ac_try) 2>&5
15083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15084 (exit $ac_status); }; }; then
15087 echo "$as_me: failed program was:" >&5
15088 sed 's/^/| /' conftest.$ac_ext >&5
15092 rm -f conftest.$ac_objext conftest.$ac_ext
15094 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15095 echo "${ECHO_T}$ac_cv_c_const" >&6
15096 if test $ac_cv_c_const = no; then
15098 cat >>confdefs.h <<\_ACEOF
15104 echo "$as_me:$LINENO: checking for inline" >&5
15105 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15106 if test "${ac_cv_c_inline+set}" = set; then
15107 echo $ECHO_N "(cached) $ECHO_C" >&6
15110 for ac_kw in inline __inline__ __inline; do
15111 cat >conftest.$ac_ext <<_ACEOF
15112 #line $LINENO "configure"
15115 cat confdefs.h >>conftest.$ac_ext
15116 cat >>conftest.$ac_ext <<_ACEOF
15117 /* end confdefs.h. */
15118 #ifndef __cplusplus
15120 static $ac_kw foo_t static_foo () {return 0; }
15121 $ac_kw foo_t foo () {return 0; }
15125 rm -f conftest.$ac_objext
15126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15127 (eval $ac_compile) 2>&5
15129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15130 (exit $ac_status); } &&
15131 { ac_try='test -s conftest.$ac_objext'
15132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15133 (eval $ac_try) 2>&5
15135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15136 (exit $ac_status); }; }; then
15137 ac_cv_c_inline=$ac_kw; break
15139 echo "$as_me: failed program was:" >&5
15140 sed 's/^/| /' conftest.$ac_ext >&5
15143 rm -f conftest.$ac_objext conftest.$ac_ext
15147 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15148 echo "${ECHO_T}$ac_cv_c_inline" >&6
15149 case $ac_cv_c_inline in
15152 cat >>confdefs.h <<\_ACEOF
15156 *) cat >>confdefs.h <<_ACEOF
15157 #define inline $ac_cv_c_inline
15162 echo "$as_me:$LINENO: checking for mode_t" >&5
15163 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
15164 if test "${ac_cv_type_mode_t+set}" = set; then
15165 echo $ECHO_N "(cached) $ECHO_C" >&6
15167 cat >conftest.$ac_ext <<_ACEOF
15168 #line $LINENO "configure"
15171 cat confdefs.h >>conftest.$ac_ext
15172 cat >>conftest.$ac_ext <<_ACEOF
15173 /* end confdefs.h. */
15174 $ac_includes_default
15180 if (sizeof (mode_t))
15186 rm -f conftest.$ac_objext
15187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15188 (eval $ac_compile) 2>&5
15190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15191 (exit $ac_status); } &&
15192 { ac_try='test -s conftest.$ac_objext'
15193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15194 (eval $ac_try) 2>&5
15196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15197 (exit $ac_status); }; }; then
15198 ac_cv_type_mode_t=yes
15200 echo "$as_me: failed program was:" >&5
15201 sed 's/^/| /' conftest.$ac_ext >&5
15203 ac_cv_type_mode_t=no
15205 rm -f conftest.$ac_objext conftest.$ac_ext
15207 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
15208 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
15209 if test $ac_cv_type_mode_t = yes; then
15211 cat >>confdefs.h <<_ACEOF
15212 #define HAVE_MODE_T 1
15217 echo "$as_me:$LINENO: checking for off_t" >&5
15218 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
15219 if test "${ac_cv_type_off_t+set}" = set; then
15220 echo $ECHO_N "(cached) $ECHO_C" >&6
15222 cat >conftest.$ac_ext <<_ACEOF
15223 #line $LINENO "configure"
15226 cat confdefs.h >>conftest.$ac_ext
15227 cat >>conftest.$ac_ext <<_ACEOF
15228 /* end confdefs.h. */
15229 $ac_includes_default
15235 if (sizeof (off_t))
15241 rm -f conftest.$ac_objext
15242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15243 (eval $ac_compile) 2>&5
15245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15246 (exit $ac_status); } &&
15247 { ac_try='test -s conftest.$ac_objext'
15248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15249 (eval $ac_try) 2>&5
15251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15252 (exit $ac_status); }; }; then
15253 ac_cv_type_off_t=yes
15255 echo "$as_me: failed program was:" >&5
15256 sed 's/^/| /' conftest.$ac_ext >&5
15258 ac_cv_type_off_t=no
15260 rm -f conftest.$ac_objext conftest.$ac_ext
15262 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
15263 echo "${ECHO_T}$ac_cv_type_off_t" >&6
15264 if test $ac_cv_type_off_t = yes; then
15266 cat >>confdefs.h <<_ACEOF
15267 #define HAVE_OFF_T 1
15272 echo "$as_me:$LINENO: checking for pid_t" >&5
15273 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
15274 if test "${ac_cv_type_pid_t+set}" = set; then
15275 echo $ECHO_N "(cached) $ECHO_C" >&6
15277 cat >conftest.$ac_ext <<_ACEOF
15278 #line $LINENO "configure"
15281 cat confdefs.h >>conftest.$ac_ext
15282 cat >>conftest.$ac_ext <<_ACEOF
15283 /* end confdefs.h. */
15284 $ac_includes_default
15290 if (sizeof (pid_t))
15296 rm -f conftest.$ac_objext
15297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15298 (eval $ac_compile) 2>&5
15300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15301 (exit $ac_status); } &&
15302 { ac_try='test -s conftest.$ac_objext'
15303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15304 (eval $ac_try) 2>&5
15306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15307 (exit $ac_status); }; }; then
15308 ac_cv_type_pid_t=yes
15310 echo "$as_me: failed program was:" >&5
15311 sed 's/^/| /' conftest.$ac_ext >&5
15313 ac_cv_type_pid_t=no
15315 rm -f conftest.$ac_objext conftest.$ac_ext
15317 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
15318 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
15319 if test $ac_cv_type_pid_t = yes; then
15321 cat >>confdefs.h <<_ACEOF
15322 #define HAVE_PID_T 1
15327 echo "$as_me:$LINENO: checking for size_t" >&5
15328 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
15329 if test "${ac_cv_type_size_t+set}" = set; then
15330 echo $ECHO_N "(cached) $ECHO_C" >&6
15332 cat >conftest.$ac_ext <<_ACEOF
15333 #line $LINENO "configure"
15336 cat confdefs.h >>conftest.$ac_ext
15337 cat >>conftest.$ac_ext <<_ACEOF
15338 /* end confdefs.h. */
15339 $ac_includes_default
15345 if (sizeof (size_t))
15351 rm -f conftest.$ac_objext
15352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15353 (eval $ac_compile) 2>&5
15355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15356 (exit $ac_status); } &&
15357 { ac_try='test -s conftest.$ac_objext'
15358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15359 (eval $ac_try) 2>&5
15361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15362 (exit $ac_status); }; }; then
15363 ac_cv_type_size_t=yes
15365 echo "$as_me: failed program was:" >&5
15366 sed 's/^/| /' conftest.$ac_ext >&5
15368 ac_cv_type_size_t=no
15370 rm -f conftest.$ac_objext conftest.$ac_ext
15372 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
15373 echo "${ECHO_T}$ac_cv_type_size_t" >&6
15374 if test $ac_cv_type_size_t = yes; then
15376 cat >>confdefs.h <<_ACEOF
15377 #define HAVE_SIZE_T 1
15382 echo "$as_me:$LINENO: checking for ssize_t" >&5
15383 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
15384 if test "${ac_cv_type_ssize_t+set}" = set; then
15385 echo $ECHO_N "(cached) $ECHO_C" >&6
15387 cat >conftest.$ac_ext <<_ACEOF
15388 #line $LINENO "configure"
15391 cat confdefs.h >>conftest.$ac_ext
15392 cat >>conftest.$ac_ext <<_ACEOF
15393 /* end confdefs.h. */
15394 $ac_includes_default
15400 if (sizeof (ssize_t))
15406 rm -f conftest.$ac_objext
15407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15408 (eval $ac_compile) 2>&5
15410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15411 (exit $ac_status); } &&
15412 { ac_try='test -s conftest.$ac_objext'
15413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15414 (eval $ac_try) 2>&5
15416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15417 (exit $ac_status); }; }; then
15418 ac_cv_type_ssize_t=yes
15420 echo "$as_me: failed program was:" >&5
15421 sed 's/^/| /' conftest.$ac_ext >&5
15423 ac_cv_type_ssize_t=no
15425 rm -f conftest.$ac_objext conftest.$ac_ext
15427 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
15428 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
15429 if test $ac_cv_type_ssize_t = yes; then
15431 cat >>confdefs.h <<_ACEOF
15432 #define HAVE_SSIZE_T 1
15438 echo "$as_me:$LINENO: checking for long long" >&5
15439 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15440 if test "${ac_cv_type_long_long+set}" = set; then
15441 echo $ECHO_N "(cached) $ECHO_C" >&6
15443 cat >conftest.$ac_ext <<_ACEOF
15444 #line $LINENO "configure"
15447 cat confdefs.h >>conftest.$ac_ext
15448 cat >>conftest.$ac_ext <<_ACEOF
15449 /* end confdefs.h. */
15450 $ac_includes_default
15454 if ((long long *) 0)
15456 if (sizeof (long long))
15462 rm -f conftest.$ac_objext
15463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15464 (eval $ac_compile) 2>&5
15466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15467 (exit $ac_status); } &&
15468 { ac_try='test -s conftest.$ac_objext'
15469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15470 (eval $ac_try) 2>&5
15472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15473 (exit $ac_status); }; }; then
15474 ac_cv_type_long_long=yes
15476 echo "$as_me: failed program was:" >&5
15477 sed 's/^/| /' conftest.$ac_ext >&5
15479 ac_cv_type_long_long=no
15481 rm -f conftest.$ac_objext conftest.$ac_ext
15483 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15484 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15486 echo "$as_me:$LINENO: checking size of long long" >&5
15487 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15488 if test "${ac_cv_sizeof_long_long+set}" = set; then
15489 echo $ECHO_N "(cached) $ECHO_C" >&6
15491 if test "$ac_cv_type_long_long" = yes; then
15492 # The cast to unsigned long works around a bug in the HP C Compiler
15493 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15494 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15495 # This bug is HP SR number 8606223364.
15496 if test "$cross_compiling" = yes; then
15497 # Depending upon the size, compute the lo and hi bounds.
15498 cat >conftest.$ac_ext <<_ACEOF
15499 #line $LINENO "configure"
15502 cat confdefs.h >>conftest.$ac_ext
15503 cat >>conftest.$ac_ext <<_ACEOF
15504 /* end confdefs.h. */
15505 $ac_includes_default
15509 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15516 rm -f conftest.$ac_objext
15517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15518 (eval $ac_compile) 2>&5
15520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15521 (exit $ac_status); } &&
15522 { ac_try='test -s conftest.$ac_objext'
15523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15524 (eval $ac_try) 2>&5
15526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15527 (exit $ac_status); }; }; then
15530 cat >conftest.$ac_ext <<_ACEOF
15531 #line $LINENO "configure"
15534 cat confdefs.h >>conftest.$ac_ext
15535 cat >>conftest.$ac_ext <<_ACEOF
15536 /* end confdefs.h. */
15537 $ac_includes_default
15541 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15548 rm -f conftest.$ac_objext
15549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15550 (eval $ac_compile) 2>&5
15552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15553 (exit $ac_status); } &&
15554 { ac_try='test -s conftest.$ac_objext'
15555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15556 (eval $ac_try) 2>&5
15558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15559 (exit $ac_status); }; }; then
15560 ac_hi=$ac_mid; break
15562 echo "$as_me: failed program was:" >&5
15563 sed 's/^/| /' conftest.$ac_ext >&5
15565 ac_lo=`expr $ac_mid + 1`
15566 if test $ac_lo -le $ac_mid; then
15570 ac_mid=`expr 2 '*' $ac_mid + 1`
15572 rm -f conftest.$ac_objext conftest.$ac_ext
15575 echo "$as_me: failed program was:" >&5
15576 sed 's/^/| /' conftest.$ac_ext >&5
15578 cat >conftest.$ac_ext <<_ACEOF
15579 #line $LINENO "configure"
15582 cat confdefs.h >>conftest.$ac_ext
15583 cat >>conftest.$ac_ext <<_ACEOF
15584 /* end confdefs.h. */
15585 $ac_includes_default
15589 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15596 rm -f conftest.$ac_objext
15597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15598 (eval $ac_compile) 2>&5
15600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15601 (exit $ac_status); } &&
15602 { ac_try='test -s conftest.$ac_objext'
15603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15604 (eval $ac_try) 2>&5
15606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15607 (exit $ac_status); }; }; then
15610 cat >conftest.$ac_ext <<_ACEOF
15611 #line $LINENO "configure"
15614 cat confdefs.h >>conftest.$ac_ext
15615 cat >>conftest.$ac_ext <<_ACEOF
15616 /* end confdefs.h. */
15617 $ac_includes_default
15621 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15628 rm -f conftest.$ac_objext
15629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15630 (eval $ac_compile) 2>&5
15632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15633 (exit $ac_status); } &&
15634 { ac_try='test -s conftest.$ac_objext'
15635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15636 (eval $ac_try) 2>&5
15638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15639 (exit $ac_status); }; }; then
15640 ac_lo=$ac_mid; break
15642 echo "$as_me: failed program was:" >&5
15643 sed 's/^/| /' conftest.$ac_ext >&5
15645 ac_hi=`expr '(' $ac_mid ')' - 1`
15646 if test $ac_mid -le $ac_hi; then
15650 ac_mid=`expr 2 '*' $ac_mid`
15652 rm -f conftest.$ac_objext conftest.$ac_ext
15655 echo "$as_me: failed program was:" >&5
15656 sed 's/^/| /' conftest.$ac_ext >&5
15660 rm -f conftest.$ac_objext conftest.$ac_ext
15662 rm -f conftest.$ac_objext conftest.$ac_ext
15663 # Binary search between lo and hi bounds.
15664 while test "x$ac_lo" != "x$ac_hi"; do
15665 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15666 cat >conftest.$ac_ext <<_ACEOF
15667 #line $LINENO "configure"
15670 cat confdefs.h >>conftest.$ac_ext
15671 cat >>conftest.$ac_ext <<_ACEOF
15672 /* end confdefs.h. */
15673 $ac_includes_default
15677 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15684 rm -f conftest.$ac_objext
15685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15686 (eval $ac_compile) 2>&5
15688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15689 (exit $ac_status); } &&
15690 { ac_try='test -s conftest.$ac_objext'
15691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15692 (eval $ac_try) 2>&5
15694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15695 (exit $ac_status); }; }; then
15698 echo "$as_me: failed program was:" >&5
15699 sed 's/^/| /' conftest.$ac_ext >&5
15701 ac_lo=`expr '(' $ac_mid ')' + 1`
15703 rm -f conftest.$ac_objext conftest.$ac_ext
15706 ?*) ac_cv_sizeof_long_long=$ac_lo;;
15707 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15708 See \`config.log' for more details." >&5
15709 echo "$as_me: error: cannot compute sizeof (long long), 77
15710 See \`config.log' for more details." >&2;}
15711 { (exit 1); exit 1; }; } ;;
15714 if test "$cross_compiling" = yes; then
15715 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15716 See \`config.log' for more details." >&5
15717 echo "$as_me: error: cannot run test program while cross compiling
15718 See \`config.log' for more details." >&2;}
15719 { (exit 1); exit 1; }; }
15721 cat >conftest.$ac_ext <<_ACEOF
15722 #line $LINENO "configure"
15725 cat confdefs.h >>conftest.$ac_ext
15726 cat >>conftest.$ac_ext <<_ACEOF
15727 /* end confdefs.h. */
15728 $ac_includes_default
15729 long longval () { return (long) (sizeof (long long)); }
15730 unsigned long ulongval () { return (long) (sizeof (long long)); }
15732 #include <stdlib.h>
15737 FILE *f = fopen ("conftest.val", "w");
15740 if (((long) (sizeof (long long))) < 0)
15742 long i = longval ();
15743 if (i != ((long) (sizeof (long long))))
15745 fprintf (f, "%ld\n", i);
15749 unsigned long i = ulongval ();
15750 if (i != ((long) (sizeof (long long))))
15752 fprintf (f, "%lu\n", i);
15754 exit (ferror (f) || fclose (f) != 0);
15760 rm -f conftest$ac_exeext
15761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15762 (eval $ac_link) 2>&5
15764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15765 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15767 (eval $ac_try) 2>&5
15769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15770 (exit $ac_status); }; }; then
15771 ac_cv_sizeof_long_long=`cat conftest.val`
15773 echo "$as_me: program exited with status $ac_status" >&5
15774 echo "$as_me: failed program was:" >&5
15775 sed 's/^/| /' conftest.$ac_ext >&5
15777 ( exit $ac_status )
15778 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15779 See \`config.log' for more details." >&5
15780 echo "$as_me: error: cannot compute sizeof (long long), 77
15781 See \`config.log' for more details." >&2;}
15782 { (exit 1); exit 1; }; }
15784 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15789 ac_cv_sizeof_long_long=0
15792 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15793 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15794 cat >>confdefs.h <<_ACEOF
15795 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15800 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
15801 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
15802 if test "${wine_cv_linux_input_h+set}" = set; then
15803 echo $ECHO_N "(cached) $ECHO_C" >&6
15805 cat >conftest.$ac_ext <<_ACEOF
15806 #line $LINENO "configure"
15809 cat confdefs.h >>conftest.$ac_ext
15810 cat >>conftest.$ac_ext <<_ACEOF
15811 /* end confdefs.h. */
15813 #include <linux/input.h>
15819 int foo = EVIOCGBIT(EV_ABS,42);
15820 int bar = BTN_PINKIE;
15827 rm -f conftest.$ac_objext
15828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15829 (eval $ac_compile) 2>&5
15831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); } &&
15833 { ac_try='test -s conftest.$ac_objext'
15834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15835 (eval $ac_try) 2>&5
15837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15838 (exit $ac_status); }; }; then
15839 wine_cv_linux_input_h=yes
15841 echo "$as_me: failed program was:" >&5
15842 sed 's/^/| /' conftest.$ac_ext >&5
15844 wine_cv_linux_input_h=no
15846 rm -f conftest.$ac_objext conftest.$ac_ext
15849 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
15850 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
15851 if test "$wine_cv_linux_input_h" = "yes"
15854 cat >>confdefs.h <<\_ACEOF
15855 #define HAVE_CORRECT_LINUXINPUT_H 1
15861 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15862 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
15863 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
15864 echo $ECHO_N "(cached) $ECHO_C" >&6
15866 cat >conftest.$ac_ext <<_ACEOF
15867 #line $LINENO "configure"
15870 cat confdefs.h >>conftest.$ac_ext
15871 cat >>conftest.$ac_ext <<_ACEOF
15872 /* end confdefs.h. */
15882 struct hostent *result;
15889 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15890 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15896 rm -f conftest.$ac_objext
15897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15898 (eval $ac_compile) 2>&5
15900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15901 (exit $ac_status); } &&
15902 { ac_try='test -s conftest.$ac_objext'
15903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15904 (eval $ac_try) 2>&5
15906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15907 (exit $ac_status); }; }; then
15908 wine_cv_linux_gethostbyname_r_6=yes
15910 echo "$as_me: failed program was:" >&5
15911 sed 's/^/| /' conftest.$ac_ext >&5
15913 wine_cv_linux_gethostbyname_r_6=no
15916 rm -f conftest.$ac_objext conftest.$ac_ext
15919 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
15920 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
15921 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15924 cat >>confdefs.h <<\_ACEOF
15925 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
15930 if test "$ac_cv_header_linux_joystick_h" = "yes"
15932 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15933 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
15934 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
15935 echo $ECHO_N "(cached) $ECHO_C" >&6
15937 cat >conftest.$ac_ext <<_ACEOF
15938 #line $LINENO "configure"
15941 cat confdefs.h >>conftest.$ac_ext
15942 cat >>conftest.$ac_ext <<_ACEOF
15943 /* end confdefs.h. */
15945 #include <sys/ioctl.h>
15946 #include <linux/joystick.h>
15948 struct js_event blub;
15949 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15950 #error "no 2.2 header"
15961 rm -f conftest.$ac_objext
15962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15963 (eval $ac_compile) 2>&5
15965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15966 (exit $ac_status); } &&
15967 { ac_try='test -s conftest.$ac_objext'
15968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15969 (eval $ac_try) 2>&5
15971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15972 (exit $ac_status); }; }; then
15973 wine_cv_linux_joystick_22_api=yes
15975 echo "$as_me: failed program was:" >&5
15976 sed 's/^/| /' conftest.$ac_ext >&5
15978 wine_cv_linux_joystick_22_api=no
15980 rm -f conftest.$ac_objext conftest.$ac_ext
15983 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
15984 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
15985 if test "$wine_cv_linux_joystick_22_api" = "yes"
15988 cat >>confdefs.h <<\_ACEOF
15989 #define HAVE_LINUX_22_JOYSTICK_API 1
15996 if test "$ac_cv_header_sys_vfs_h" = "yes"
15998 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
15999 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
16000 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
16001 echo $ECHO_N "(cached) $ECHO_C" >&6
16003 cat >conftest.$ac_ext <<_ACEOF
16004 #line $LINENO "configure"
16007 cat confdefs.h >>conftest.$ac_ext
16008 cat >>conftest.$ac_ext <<_ACEOF
16009 /* end confdefs.h. */
16011 #include <sys/types.h>
16012 #ifdef HAVE_SYS_PARAM_H
16013 # include <sys/param.h>
16015 #include <sys/vfs.h>
16021 struct statfs stfs;
16023 memset(&stfs,0,sizeof(stfs));
16029 rm -f conftest.$ac_objext
16030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16031 (eval $ac_compile) 2>&5
16033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16034 (exit $ac_status); } &&
16035 { ac_try='test -s conftest.$ac_objext'
16036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16037 (eval $ac_try) 2>&5
16039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16040 (exit $ac_status); }; }; then
16041 wine_cv_sys_vfs_has_statfs=yes
16043 echo "$as_me: failed program was:" >&5
16044 sed 's/^/| /' conftest.$ac_ext >&5
16046 wine_cv_sys_vfs_has_statfs=no
16049 rm -f conftest.$ac_objext conftest.$ac_ext
16052 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
16053 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
16054 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
16057 cat >>confdefs.h <<\_ACEOF
16058 #define STATFS_DEFINED_BY_SYS_VFS 1
16064 if test "$ac_cv_header_sys_statfs_h" = "yes"
16066 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
16067 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
16068 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
16069 echo $ECHO_N "(cached) $ECHO_C" >&6
16071 cat >conftest.$ac_ext <<_ACEOF
16072 #line $LINENO "configure"
16075 cat confdefs.h >>conftest.$ac_ext
16076 cat >>conftest.$ac_ext <<_ACEOF
16077 /* end confdefs.h. */
16079 #include <sys/types.h>
16080 #ifdef HAVE_SYS_PARAM_H
16081 # include <sys/param.h>
16083 #include <sys/statfs.h>
16089 struct statfs stfs;
16095 rm -f conftest.$ac_objext
16096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16097 (eval $ac_compile) 2>&5
16099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16100 (exit $ac_status); } &&
16101 { ac_try='test -s conftest.$ac_objext'
16102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16103 (eval $ac_try) 2>&5
16105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16106 (exit $ac_status); }; }; then
16107 wine_cv_sys_statfs_has_statfs=yes
16109 echo "$as_me: failed program was:" >&5
16110 sed 's/^/| /' conftest.$ac_ext >&5
16112 wine_cv_sys_statfs_has_statfs=no
16115 rm -f conftest.$ac_objext conftest.$ac_ext
16118 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
16119 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
16120 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
16123 cat >>confdefs.h <<\_ACEOF
16124 #define STATFS_DEFINED_BY_SYS_STATFS 1
16130 if test "$ac_cv_header_sys_mount_h" = "yes"
16132 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
16133 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
16134 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
16135 echo $ECHO_N "(cached) $ECHO_C" >&6
16137 cat >conftest.$ac_ext <<_ACEOF
16138 #line $LINENO "configure"
16141 cat confdefs.h >>conftest.$ac_ext
16142 cat >>conftest.$ac_ext <<_ACEOF
16143 /* end confdefs.h. */
16145 #include <sys/types.h>
16146 #ifdef HAVE_SYS_PARAM_H
16147 # include <sys/param.h>
16149 #include <sys/mount.h>
16155 struct statfs stfs;
16161 rm -f conftest.$ac_objext
16162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16163 (eval $ac_compile) 2>&5
16165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16166 (exit $ac_status); } &&
16167 { ac_try='test -s conftest.$ac_objext'
16168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16169 (eval $ac_try) 2>&5
16171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16172 (exit $ac_status); }; }; then
16173 wine_cv_sys_mount_has_statfs=yes
16175 echo "$as_me: failed program was:" >&5
16176 sed 's/^/| /' conftest.$ac_ext >&5
16178 wine_cv_sys_mount_has_statfs=no
16181 rm -f conftest.$ac_objext conftest.$ac_ext
16184 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
16185 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
16186 if test "$wine_cv_sys_mount_has_statfs" = "yes"
16189 cat >>confdefs.h <<\_ACEOF
16190 #define STATFS_DEFINED_BY_SYS_MOUNT 1
16197 echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
16198 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6
16199 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
16200 echo $ECHO_N "(cached) $ECHO_C" >&6
16202 cat >conftest.$ac_ext <<_ACEOF
16203 #line $LINENO "configure"
16206 cat confdefs.h >>conftest.$ac_ext
16207 cat >>conftest.$ac_ext <<_ACEOF
16208 /* end confdefs.h. */
16209 #include <sys/types.h>
16210 #ifdef HAVE_SYS_PARAM_H
16211 # include <sys/param.h>
16213 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
16214 # include <sys/mount.h>
16216 # ifdef STATFS_DEFINED_BY_SYS_VFS
16217 # include <sys/vfs.h>
16219 # ifdef STATFS_DEFINED_BY_SYS_STATFS
16220 # include <sys/statfs.h>
16228 static struct statfs ac_aggr;
16229 if (ac_aggr.f_bfree)
16235 rm -f conftest.$ac_objext
16236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16237 (eval $ac_compile) 2>&5
16239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16240 (exit $ac_status); } &&
16241 { ac_try='test -s conftest.$ac_objext'
16242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16243 (eval $ac_try) 2>&5
16245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16246 (exit $ac_status); }; }; then
16247 ac_cv_member_struct_statfs_f_bfree=yes
16249 echo "$as_me: failed program was:" >&5
16250 sed 's/^/| /' conftest.$ac_ext >&5
16252 cat >conftest.$ac_ext <<_ACEOF
16253 #line $LINENO "configure"
16256 cat confdefs.h >>conftest.$ac_ext
16257 cat >>conftest.$ac_ext <<_ACEOF
16258 /* end confdefs.h. */
16259 #include <sys/types.h>
16260 #ifdef HAVE_SYS_PARAM_H
16261 # include <sys/param.h>
16263 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
16264 # include <sys/mount.h>
16266 # ifdef STATFS_DEFINED_BY_SYS_VFS
16267 # include <sys/vfs.h>
16269 # ifdef STATFS_DEFINED_BY_SYS_STATFS
16270 # include <sys/statfs.h>
16278 static struct statfs ac_aggr;
16279 if (sizeof ac_aggr.f_bfree)
16285 rm -f conftest.$ac_objext
16286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16287 (eval $ac_compile) 2>&5
16289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16290 (exit $ac_status); } &&
16291 { ac_try='test -s conftest.$ac_objext'
16292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16293 (eval $ac_try) 2>&5
16295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16296 (exit $ac_status); }; }; then
16297 ac_cv_member_struct_statfs_f_bfree=yes
16299 echo "$as_me: failed program was:" >&5
16300 sed 's/^/| /' conftest.$ac_ext >&5
16302 ac_cv_member_struct_statfs_f_bfree=no
16304 rm -f conftest.$ac_objext conftest.$ac_ext
16306 rm -f conftest.$ac_objext conftest.$ac_ext
16308 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
16309 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6
16310 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
16312 cat >>confdefs.h <<_ACEOF
16313 #define HAVE_STRUCT_STATFS_F_BFREE 1
16318 echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
16319 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6
16320 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
16321 echo $ECHO_N "(cached) $ECHO_C" >&6
16323 cat >conftest.$ac_ext <<_ACEOF
16324 #line $LINENO "configure"
16327 cat confdefs.h >>conftest.$ac_ext
16328 cat >>conftest.$ac_ext <<_ACEOF
16329 /* end confdefs.h. */
16330 #include <sys/types.h>
16331 #ifdef HAVE_SYS_PARAM_H
16332 # include <sys/param.h>
16334 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
16335 # include <sys/mount.h>
16337 # ifdef STATFS_DEFINED_BY_SYS_VFS
16338 # include <sys/vfs.h>
16340 # ifdef STATFS_DEFINED_BY_SYS_STATFS
16341 # include <sys/statfs.h>
16349 static struct statfs ac_aggr;
16350 if (ac_aggr.f_bavail)
16356 rm -f conftest.$ac_objext
16357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16358 (eval $ac_compile) 2>&5
16360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16361 (exit $ac_status); } &&
16362 { ac_try='test -s conftest.$ac_objext'
16363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16364 (eval $ac_try) 2>&5
16366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16367 (exit $ac_status); }; }; then
16368 ac_cv_member_struct_statfs_f_bavail=yes
16370 echo "$as_me: failed program was:" >&5
16371 sed 's/^/| /' conftest.$ac_ext >&5
16373 cat >conftest.$ac_ext <<_ACEOF
16374 #line $LINENO "configure"
16377 cat confdefs.h >>conftest.$ac_ext
16378 cat >>conftest.$ac_ext <<_ACEOF
16379 /* end confdefs.h. */
16380 #include <sys/types.h>
16381 #ifdef HAVE_SYS_PARAM_H
16382 # include <sys/param.h>
16384 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
16385 # include <sys/mount.h>
16387 # ifdef STATFS_DEFINED_BY_SYS_VFS
16388 # include <sys/vfs.h>
16390 # ifdef STATFS_DEFINED_BY_SYS_STATFS
16391 # include <sys/statfs.h>
16399 static struct statfs ac_aggr;
16400 if (sizeof ac_aggr.f_bavail)
16406 rm -f conftest.$ac_objext
16407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16408 (eval $ac_compile) 2>&5
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 (exit $ac_status); } &&
16412 { ac_try='test -s conftest.$ac_objext'
16413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16414 (eval $ac_try) 2>&5
16416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417 (exit $ac_status); }; }; then
16418 ac_cv_member_struct_statfs_f_bavail=yes
16420 echo "$as_me: failed program was:" >&5
16421 sed 's/^/| /' conftest.$ac_ext >&5
16423 ac_cv_member_struct_statfs_f_bavail=no
16425 rm -f conftest.$ac_objext conftest.$ac_ext
16427 rm -f conftest.$ac_objext conftest.$ac_ext
16429 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
16430 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6
16431 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
16433 cat >>confdefs.h <<_ACEOF
16434 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16441 echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
16442 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6
16443 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
16444 echo $ECHO_N "(cached) $ECHO_C" >&6
16446 cat >conftest.$ac_ext <<_ACEOF
16447 #line $LINENO "configure"
16450 cat confdefs.h >>conftest.$ac_ext
16451 cat >>conftest.$ac_ext <<_ACEOF
16452 /* end confdefs.h. */
16453 #include <sys/types.h>
16454 #ifdef HAVE_SYS_SOCKET_H
16455 # include <sys/socket.h>
16457 #ifdef HAVE_SYS_UN_H
16458 # include <sys/un.h>
16464 static struct msghdr ac_aggr;
16465 if (ac_aggr.msg_accrights)
16471 rm -f conftest.$ac_objext
16472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16473 (eval $ac_compile) 2>&5
16475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16476 (exit $ac_status); } &&
16477 { ac_try='test -s conftest.$ac_objext'
16478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16479 (eval $ac_try) 2>&5
16481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16482 (exit $ac_status); }; }; then
16483 ac_cv_member_struct_msghdr_msg_accrights=yes
16485 echo "$as_me: failed program was:" >&5
16486 sed 's/^/| /' conftest.$ac_ext >&5
16488 cat >conftest.$ac_ext <<_ACEOF
16489 #line $LINENO "configure"
16492 cat confdefs.h >>conftest.$ac_ext
16493 cat >>conftest.$ac_ext <<_ACEOF
16494 /* end confdefs.h. */
16495 #include <sys/types.h>
16496 #ifdef HAVE_SYS_SOCKET_H
16497 # include <sys/socket.h>
16499 #ifdef HAVE_SYS_UN_H
16500 # include <sys/un.h>
16506 static struct msghdr ac_aggr;
16507 if (sizeof ac_aggr.msg_accrights)
16513 rm -f conftest.$ac_objext
16514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16515 (eval $ac_compile) 2>&5
16517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16518 (exit $ac_status); } &&
16519 { ac_try='test -s conftest.$ac_objext'
16520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16521 (eval $ac_try) 2>&5
16523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16524 (exit $ac_status); }; }; then
16525 ac_cv_member_struct_msghdr_msg_accrights=yes
16527 echo "$as_me: failed program was:" >&5
16528 sed 's/^/| /' conftest.$ac_ext >&5
16530 ac_cv_member_struct_msghdr_msg_accrights=no
16532 rm -f conftest.$ac_objext conftest.$ac_ext
16534 rm -f conftest.$ac_objext conftest.$ac_ext
16536 echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
16537 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6
16538 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
16540 cat >>confdefs.h <<_ACEOF
16541 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16546 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
16547 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6
16548 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
16549 echo $ECHO_N "(cached) $ECHO_C" >&6
16551 cat >conftest.$ac_ext <<_ACEOF
16552 #line $LINENO "configure"
16555 cat confdefs.h >>conftest.$ac_ext
16556 cat >>conftest.$ac_ext <<_ACEOF
16557 /* end confdefs.h. */
16558 #include <sys/types.h>
16559 #ifdef HAVE_SYS_SOCKET_H
16560 # include <sys/socket.h>
16562 #ifdef HAVE_SYS_UN_H
16563 # include <sys/un.h>
16569 static struct sockaddr ac_aggr;
16570 if (ac_aggr.sa_len)
16576 rm -f conftest.$ac_objext
16577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16578 (eval $ac_compile) 2>&5
16580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16581 (exit $ac_status); } &&
16582 { ac_try='test -s conftest.$ac_objext'
16583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16584 (eval $ac_try) 2>&5
16586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16587 (exit $ac_status); }; }; then
16588 ac_cv_member_struct_sockaddr_sa_len=yes
16590 echo "$as_me: failed program was:" >&5
16591 sed 's/^/| /' conftest.$ac_ext >&5
16593 cat >conftest.$ac_ext <<_ACEOF
16594 #line $LINENO "configure"
16597 cat confdefs.h >>conftest.$ac_ext
16598 cat >>conftest.$ac_ext <<_ACEOF
16599 /* end confdefs.h. */
16600 #include <sys/types.h>
16601 #ifdef HAVE_SYS_SOCKET_H
16602 # include <sys/socket.h>
16604 #ifdef HAVE_SYS_UN_H
16605 # include <sys/un.h>
16611 static struct sockaddr ac_aggr;
16612 if (sizeof ac_aggr.sa_len)
16618 rm -f conftest.$ac_objext
16619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16620 (eval $ac_compile) 2>&5
16622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16623 (exit $ac_status); } &&
16624 { ac_try='test -s conftest.$ac_objext'
16625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16626 (eval $ac_try) 2>&5
16628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16629 (exit $ac_status); }; }; then
16630 ac_cv_member_struct_sockaddr_sa_len=yes
16632 echo "$as_me: failed program was:" >&5
16633 sed 's/^/| /' conftest.$ac_ext >&5
16635 ac_cv_member_struct_sockaddr_sa_len=no
16637 rm -f conftest.$ac_objext conftest.$ac_ext
16639 rm -f conftest.$ac_objext conftest.$ac_ext
16641 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
16642 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6
16643 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
16645 cat >>confdefs.h <<_ACEOF
16646 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16651 echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
16652 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6
16653 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
16654 echo $ECHO_N "(cached) $ECHO_C" >&6
16656 cat >conftest.$ac_ext <<_ACEOF
16657 #line $LINENO "configure"
16660 cat confdefs.h >>conftest.$ac_ext
16661 cat >>conftest.$ac_ext <<_ACEOF
16662 /* end confdefs.h. */
16663 #include <sys/types.h>
16664 #ifdef HAVE_SYS_SOCKET_H
16665 # include <sys/socket.h>
16667 #ifdef HAVE_SYS_UN_H
16668 # include <sys/un.h>
16674 static struct sockaddr_un ac_aggr;
16675 if (ac_aggr.sun_len)
16681 rm -f conftest.$ac_objext
16682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16683 (eval $ac_compile) 2>&5
16685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16686 (exit $ac_status); } &&
16687 { ac_try='test -s conftest.$ac_objext'
16688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16689 (eval $ac_try) 2>&5
16691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16692 (exit $ac_status); }; }; then
16693 ac_cv_member_struct_sockaddr_un_sun_len=yes
16695 echo "$as_me: failed program was:" >&5
16696 sed 's/^/| /' conftest.$ac_ext >&5
16698 cat >conftest.$ac_ext <<_ACEOF
16699 #line $LINENO "configure"
16702 cat confdefs.h >>conftest.$ac_ext
16703 cat >>conftest.$ac_ext <<_ACEOF
16704 /* end confdefs.h. */
16705 #include <sys/types.h>
16706 #ifdef HAVE_SYS_SOCKET_H
16707 # include <sys/socket.h>
16709 #ifdef HAVE_SYS_UN_H
16710 # include <sys/un.h>
16716 static struct sockaddr_un ac_aggr;
16717 if (sizeof ac_aggr.sun_len)
16723 rm -f conftest.$ac_objext
16724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16725 (eval $ac_compile) 2>&5
16727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16728 (exit $ac_status); } &&
16729 { ac_try='test -s conftest.$ac_objext'
16730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16731 (eval $ac_try) 2>&5
16733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16734 (exit $ac_status); }; }; then
16735 ac_cv_member_struct_sockaddr_un_sun_len=yes
16737 echo "$as_me: failed program was:" >&5
16738 sed 's/^/| /' conftest.$ac_ext >&5
16740 ac_cv_member_struct_sockaddr_un_sun_len=no
16742 rm -f conftest.$ac_objext conftest.$ac_ext
16744 rm -f conftest.$ac_objext conftest.$ac_ext
16746 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
16747 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6
16748 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
16750 cat >>confdefs.h <<_ACEOF
16751 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16758 echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
16759 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6
16760 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
16761 echo $ECHO_N "(cached) $ECHO_C" >&6
16763 cat >conftest.$ac_ext <<_ACEOF
16764 #line $LINENO "configure"
16767 cat confdefs.h >>conftest.$ac_ext
16768 cat >>conftest.$ac_ext <<_ACEOF
16769 /* end confdefs.h. */
16770 #include <signal.h>
16775 static siginfo_t ac_aggr;
16782 rm -f conftest.$ac_objext
16783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16784 (eval $ac_compile) 2>&5
16786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16787 (exit $ac_status); } &&
16788 { ac_try='test -s conftest.$ac_objext'
16789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16790 (eval $ac_try) 2>&5
16792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16793 (exit $ac_status); }; }; then
16794 ac_cv_member_siginfo_t_si_fd=yes
16796 echo "$as_me: failed program was:" >&5
16797 sed 's/^/| /' conftest.$ac_ext >&5
16799 cat >conftest.$ac_ext <<_ACEOF
16800 #line $LINENO "configure"
16803 cat confdefs.h >>conftest.$ac_ext
16804 cat >>conftest.$ac_ext <<_ACEOF
16805 /* end confdefs.h. */
16806 #include <signal.h>
16811 static siginfo_t ac_aggr;
16812 if (sizeof ac_aggr.si_fd)
16818 rm -f conftest.$ac_objext
16819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16820 (eval $ac_compile) 2>&5
16822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16823 (exit $ac_status); } &&
16824 { ac_try='test -s conftest.$ac_objext'
16825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16826 (eval $ac_try) 2>&5
16828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16829 (exit $ac_status); }; }; then
16830 ac_cv_member_siginfo_t_si_fd=yes
16832 echo "$as_me: failed program was:" >&5
16833 sed 's/^/| /' conftest.$ac_ext >&5
16835 ac_cv_member_siginfo_t_si_fd=no
16837 rm -f conftest.$ac_objext conftest.$ac_ext
16839 rm -f conftest.$ac_objext conftest.$ac_ext
16841 echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
16842 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6
16843 if test $ac_cv_member_siginfo_t_si_fd = yes; then
16845 cat >>confdefs.h <<_ACEOF
16846 #define HAVE_SIGINFO_T_SI_FD 1
16853 echo "$as_me:$LINENO: checking for struct option.name" >&5
16854 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6
16855 if test "${ac_cv_member_struct_option_name+set}" = set; then
16856 echo $ECHO_N "(cached) $ECHO_C" >&6
16858 cat >conftest.$ac_ext <<_ACEOF
16859 #line $LINENO "configure"
16862 cat confdefs.h >>conftest.$ac_ext
16863 cat >>conftest.$ac_ext <<_ACEOF
16864 /* end confdefs.h. */
16865 #ifdef HAVE_GETOPT_H
16866 #include <getopt.h>
16872 static struct option ac_aggr;
16879 rm -f conftest.$ac_objext
16880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16881 (eval $ac_compile) 2>&5
16883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16884 (exit $ac_status); } &&
16885 { ac_try='test -s conftest.$ac_objext'
16886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16887 (eval $ac_try) 2>&5
16889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16890 (exit $ac_status); }; }; then
16891 ac_cv_member_struct_option_name=yes
16893 echo "$as_me: failed program was:" >&5
16894 sed 's/^/| /' conftest.$ac_ext >&5
16896 cat >conftest.$ac_ext <<_ACEOF
16897 #line $LINENO "configure"
16900 cat confdefs.h >>conftest.$ac_ext
16901 cat >>conftest.$ac_ext <<_ACEOF
16902 /* end confdefs.h. */
16903 #ifdef HAVE_GETOPT_H
16904 #include <getopt.h>
16910 static struct option ac_aggr;
16911 if (sizeof ac_aggr.name)
16917 rm -f conftest.$ac_objext
16918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16919 (eval $ac_compile) 2>&5
16921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16922 (exit $ac_status); } &&
16923 { ac_try='test -s conftest.$ac_objext'
16924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16925 (eval $ac_try) 2>&5
16927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16928 (exit $ac_status); }; }; then
16929 ac_cv_member_struct_option_name=yes
16931 echo "$as_me: failed program was:" >&5
16932 sed 's/^/| /' conftest.$ac_ext >&5
16934 ac_cv_member_struct_option_name=no
16936 rm -f conftest.$ac_objext conftest.$ac_ext
16938 rm -f conftest.$ac_objext conftest.$ac_ext
16940 echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
16941 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6
16942 if test $ac_cv_member_struct_option_name = yes; then
16944 cat >>confdefs.h <<_ACEOF
16945 #define HAVE_STRUCT_OPTION_NAME 1
16952 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
16953 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
16954 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
16955 echo $ECHO_N "(cached) $ECHO_C" >&6
16957 cat >conftest.$ac_ext <<_ACEOF
16958 #line $LINENO "configure"
16961 cat confdefs.h >>conftest.$ac_ext
16962 cat >>conftest.$ac_ext <<_ACEOF
16963 /* end confdefs.h. */
16964 $ac_includes_default
16968 static struct stat ac_aggr;
16969 if (ac_aggr.st_blocks)
16975 rm -f conftest.$ac_objext
16976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16977 (eval $ac_compile) 2>&5
16979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16980 (exit $ac_status); } &&
16981 { ac_try='test -s conftest.$ac_objext'
16982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16983 (eval $ac_try) 2>&5
16985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16986 (exit $ac_status); }; }; then
16987 ac_cv_member_struct_stat_st_blocks=yes
16989 echo "$as_me: failed program was:" >&5
16990 sed 's/^/| /' conftest.$ac_ext >&5
16992 cat >conftest.$ac_ext <<_ACEOF
16993 #line $LINENO "configure"
16996 cat confdefs.h >>conftest.$ac_ext
16997 cat >>conftest.$ac_ext <<_ACEOF
16998 /* end confdefs.h. */
16999 $ac_includes_default
17003 static struct stat ac_aggr;
17004 if (sizeof ac_aggr.st_blocks)
17010 rm -f conftest.$ac_objext
17011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17012 (eval $ac_compile) 2>&5
17014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17015 (exit $ac_status); } &&
17016 { ac_try='test -s conftest.$ac_objext'
17017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17018 (eval $ac_try) 2>&5
17020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17021 (exit $ac_status); }; }; then
17022 ac_cv_member_struct_stat_st_blocks=yes
17024 echo "$as_me: failed program was:" >&5
17025 sed 's/^/| /' conftest.$ac_ext >&5
17027 ac_cv_member_struct_stat_st_blocks=no
17029 rm -f conftest.$ac_objext conftest.$ac_ext
17031 rm -f conftest.$ac_objext conftest.$ac_ext
17033 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
17034 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
17035 if test $ac_cv_member_struct_stat_st_blocks = yes; then
17037 cat >>confdefs.h <<_ACEOF
17038 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17047 *i[3456789]86*) echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
17048 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
17049 if test "${ac_cv_cpp_def___i386__+set}" = set; then
17050 echo $ECHO_N "(cached) $ECHO_C" >&6
17052 cat >conftest.$ac_ext <<_ACEOF
17053 #line $LINENO "configure"
17056 cat confdefs.h >>conftest.$ac_ext
17057 cat >>conftest.$ac_ext <<_ACEOF
17058 /* end confdefs.h. */
17063 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17064 $EGREP "yes" >/dev/null 2>&1; then
17065 ac_cv_cpp_def___i386__=yes
17067 ac_cv_cpp_def___i386__=no
17072 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
17073 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6
17074 if test $ac_cv_cpp_def___i386__ = yes; then
17075 CFLAGS="$CFLAGS -D__i386__"
17076 LINTFLAGS="$LINTFLAGS -D__i386__"
17079 *alpha*) echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
17080 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6
17081 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
17082 echo $ECHO_N "(cached) $ECHO_C" >&6
17084 cat >conftest.$ac_ext <<_ACEOF
17085 #line $LINENO "configure"
17088 cat confdefs.h >>conftest.$ac_ext
17089 cat >>conftest.$ac_ext <<_ACEOF
17090 /* end confdefs.h. */
17095 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17096 $EGREP "yes" >/dev/null 2>&1; then
17097 ac_cv_cpp_def___ALPHA__=yes
17099 ac_cv_cpp_def___ALPHA__=no
17104 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
17105 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6
17106 if test $ac_cv_cpp_def___ALPHA__ = yes; then
17107 CFLAGS="$CFLAGS -D__ALPHA__"
17108 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
17111 *sparc*) echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
17112 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
17113 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
17114 echo $ECHO_N "(cached) $ECHO_C" >&6
17116 cat >conftest.$ac_ext <<_ACEOF
17117 #line $LINENO "configure"
17120 cat confdefs.h >>conftest.$ac_ext
17121 cat >>conftest.$ac_ext <<_ACEOF
17122 /* end confdefs.h. */
17127 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17128 $EGREP "yes" >/dev/null 2>&1; then
17129 ac_cv_cpp_def___sparc__=yes
17131 ac_cv_cpp_def___sparc__=no
17136 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
17137 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
17138 if test $ac_cv_cpp_def___sparc__ = yes; then
17139 CFLAGS="$CFLAGS -D__sparc__"
17140 LINTFLAGS="$LINTFLAGS -D__sparc__"
17143 *powerpc*) echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
17144 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6
17145 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
17146 echo $ECHO_N "(cached) $ECHO_C" >&6
17148 cat >conftest.$ac_ext <<_ACEOF
17149 #line $LINENO "configure"
17152 cat confdefs.h >>conftest.$ac_ext
17153 cat >>conftest.$ac_ext <<_ACEOF
17154 /* end confdefs.h. */
17155 #ifndef __powerpc__
17159 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17160 $EGREP "yes" >/dev/null 2>&1; then
17161 ac_cv_cpp_def___powerpc__=yes
17163 ac_cv_cpp_def___powerpc__=no
17168 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
17169 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6
17170 if test $ac_cv_cpp_def___powerpc__ = yes; then
17171 CFLAGS="$CFLAGS -D__powerpc__"
17172 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17177 case $host_vendor in
17178 *sun*) echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
17179 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
17180 if test "${ac_cv_cpp_def___sun__+set}" = set; then
17181 echo $ECHO_N "(cached) $ECHO_C" >&6
17183 cat >conftest.$ac_ext <<_ACEOF
17184 #line $LINENO "configure"
17187 cat confdefs.h >>conftest.$ac_ext
17188 cat >>conftest.$ac_ext <<_ACEOF
17189 /* end confdefs.h. */
17194 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17195 $EGREP "yes" >/dev/null 2>&1; then
17196 ac_cv_cpp_def___sun__=yes
17198 ac_cv_cpp_def___sun__=no
17203 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
17204 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6
17205 if test $ac_cv_cpp_def___sun__ = yes; then
17206 CFLAGS="$CFLAGS -D__sun__"
17207 LINTFLAGS="$LINTFLAGS -D__sun__"
17216 ac_config_commands="$ac_config_commands controls"
17218 ac_config_commands="$ac_config_commands dlls/ddraw/d3ddevice"
17220 ac_config_commands="$ac_config_commands dlls/ddraw/dclipper"
17222 ac_config_commands="$ac_config_commands dlls/ddraw/ddraw"
17224 ac_config_commands="$ac_config_commands dlls/ddraw/direct3d"
17226 ac_config_commands="$ac_config_commands dlls/ddraw/dpalette"
17228 ac_config_commands="$ac_config_commands dlls/ddraw/dsurface"
17230 ac_config_commands="$ac_config_commands dlls/dinput/joystick"
17232 ac_config_commands="$ac_config_commands dlls/dinput/keyboard"
17234 ac_config_commands="$ac_config_commands dlls/dinput/mouse"
17236 ac_config_commands="$ac_config_commands dlls/gdi/enhmfdrv"
17238 ac_config_commands="$ac_config_commands dlls/gdi/mfdrv"
17240 ac_config_commands="$ac_config_commands dlls/kernel/messages"
17242 ac_config_commands="$ac_config_commands dlls/user/dde"
17244 ac_config_commands="$ac_config_commands dlls/user/resources"
17246 ac_config_commands="$ac_config_commands dlls/wineps/data"
17248 ac_config_commands="$ac_config_commands files"
17250 ac_config_commands="$ac_config_commands graphics"
17252 ac_config_commands="$ac_config_commands include/wine"
17254 ac_config_commands="$ac_config_commands misc"
17256 ac_config_commands="$ac_config_commands objects"
17258 ac_config_commands="$ac_config_commands programs/regedit/tests"
17260 ac_config_commands="$ac_config_commands windows"
17263 MAKE_RULES=Make.rules
17266 MAKE_DLL_RULES=dlls/Makedll.rules
17269 MAKE_TEST_RULES=dlls/Maketest.rules
17272 MAKE_LIB_RULES=libs/Makelib.rules
17275 MAKE_PROG_RULES=programs/Makeprog.rules
17278 ac_config_files="$ac_config_files Make.rules dlls/Makedll.rules dlls/Maketest.rules libs/Makelib.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/capi2032/Makefile dlls/cfgmgr32/Makefile dlls/comcat/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/commdlg/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/ctl3d/Makefile dlls/wined3d/Makefile dlls/d3d8/Makefile dlls/d3d9/Makefile dlls/d3dim/Makefile dlls/d3dx8/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/glut32/Makefile dlls/icmp/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/iphlpapi/Makefile dlls/kernel/Makefile dlls/kernel/tests/Makefile dlls/lzexpand/Makefile dlls/mapi32/Makefile dlls/mpr/Makefile dlls/msacm/Makefile dlls/msacm/imaadp32/Makefile dlls/msacm/msadp32/Makefile dlls/msacm/msg711/Makefile dlls/msacm/winemp3/Makefile dlls/msdmo/Makefile dlls/mshtml/Makefile dlls/msi/Makefile dlls/msimg32/Makefile dlls/msisys/Makefile dlls/msnet32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrtd/Makefile dlls/msvideo/Makefile dlls/msvideo/msrle32/Makefile dlls/mswsock/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/odbc32/Makefile dlls/ole32/Makefile dlls/oleacc/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr/Makefile dlls/opengl32/Makefile dlls/psapi/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/rasapi32/Makefile dlls/richedit/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/shdocvw/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/sti/Makefile dlls/tapi32/Makefile dlls/ttydrv/Makefile dlls/twain/Makefile dlls/unicows/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/uxtheme/Makefile dlls/version/Makefile dlls/win32s/Makefile dlls/winaspi/Makefile dlls/winedos/Makefile dlls/wineps/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/mcianim/Makefile dlls/winmm/mciavi/Makefile dlls/winmm/mcicda/Makefile dlls/winmm/mciseq/Makefile dlls/winmm/mciwave/Makefile dlls/winmm/midimap/Makefile dlls/winmm/tests/Makefile dlls/winmm/wavemap/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/winenas/Makefile dlls/winmm/winejack/Makefile dlls/winmm/wineoss/Makefile dlls/winnls/Makefile dlls/winsock/Makefile dlls/winsock/tests/Makefile dlls/winspool/Makefile dlls/winspool/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wow32/Makefile dlls/wsock32/Makefile dlls/x11drv/Makefile documentation/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/unicode/Makefile libs/uuid/Makefile libs/wine/Makefile libs/wpp/Makefile loader/Makefile programs/Makefile programs/avitools/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/expand/Makefile programs/notepad/Makefile programs/progman/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wcmd/Makefile programs/wineboot/Makefile programs/winecfg/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemenubuilder/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winetest/Makefile programs/winevdm/Makefile programs/winhelp/Makefile programs/winver/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile"
17281 cat >confcache <<\_ACEOF
17282 # This file is a shell script that caches the results of configure
17283 # tests run on this system so they can be shared between configure
17284 # scripts and configure runs, see configure's option --config-cache.
17285 # It is not useful on other systems. If it contains results you don't
17286 # want to keep, you may remove or edit it.
17288 # config.status only pays attention to the cache file if you give it
17289 # the --recheck option to rerun configure.
17291 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17292 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17293 # following values.
17297 # The following way of writing the cache mishandles newlines in values,
17298 # but we know of no workaround that is simple, portable, and efficient.
17299 # So, don't put newlines in cache variables' values.
17300 # Ultrix sh set writes to stderr and can't be redirected directly,
17301 # and sets the high bit in the cache file unless we assign to the vars.
17304 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17306 # `set' does not quote correctly, so add quotes (double-quote
17307 # substitution turns \\\\ into \\, and sed turns \\ into \).
17310 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17313 # `set' quotes correctly as required by POSIX, so do not add quotes.
17315 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17322 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17324 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17326 if diff $cache_file confcache >/dev/null 2>&1; then :; else
17327 if test -w $cache_file; then
17328 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17329 cat confcache >$cache_file
17331 echo "not updating unwritable cache $cache_file"
17336 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17337 # Let make expand exec_prefix.
17338 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17340 # VPATH may cause trouble with some makes, so we remove $(srcdir),
17341 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
17342 # trailing colons and then remove the whole line if VPATH becomes empty
17343 # (actually we leave an empty line to preserve line numbers).
17344 if test "x$srcdir" = x.; then
17345 ac_vpsub='/^[ ]*VPATH[ ]*=/{
17346 s/:*\$(srcdir):*/:/;
17347 s/:*\${srcdir}:*/:/;
17349 s/^\([^=]*=[ ]*\):*/\1/;
17355 DEFS=-DHAVE_CONFIG_H
17359 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17360 # 1. Remove the extension, and $U if already installed.
17361 ac_i=`echo "$ac_i" |
17362 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
17364 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
17365 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
17367 LIBOBJS=$ac_libobjs
17369 LTLIBOBJS=$ac_ltlibobjs
17373 : ${CONFIG_STATUS=./config.status}
17374 ac_clean_files_save=$ac_clean_files
17375 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17376 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
17377 echo "$as_me: creating $CONFIG_STATUS" >&6;}
17378 cat >$CONFIG_STATUS <<_ACEOF
17380 # Generated by $as_me.
17381 # Run this file to recreate the current configuration.
17382 # Compiler output produced by configure, useful for debugging
17383 # configure, is in config.log if it exists.
17386 ac_cs_recheck=false
17388 SHELL=\${CONFIG_SHELL-$SHELL}
17391 cat >>$CONFIG_STATUS <<\_ACEOF
17392 ## --------------------- ##
17393 ## M4sh Initialization. ##
17394 ## --------------------- ##
17396 # Be Bourne compatible
17397 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17400 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17401 # is contrary to our usage. Disable this feature.
17402 alias -g '${1+"$@"}'='"$@"'
17403 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
17407 # Support unset when possible.
17408 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
17415 # Work around bugs in pre-3.0 UWIN ksh.
17416 $as_unset ENV MAIL MAILPATH
17423 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
17424 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
17425 LC_TELEPHONE LC_TIME
17427 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
17428 eval $as_var=C; export $as_var
17434 # Required to use basename.
17435 if expr a : '\(a\)' >/dev/null 2>&1; then
17441 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
17442 as_basename=basename
17448 # Name of the executable.
17449 as_me=`$as_basename "$0" ||
17450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17451 X"$0" : 'X\(//\)$' \| \
17452 X"$0" : 'X\(/\)$' \| \
17453 . : '\(.\)' 2>/dev/null ||
17455 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
17456 /^X\/\(\/\/\)$/{ s//\1/; q; }
17457 /^X\/\(\/\).*/{ s//\1/; q; }
17461 # PATH needs CR, and LINENO needs CR and PATH.
17462 # Avoid depending upon Character Ranges.
17463 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17464 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17465 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17466 as_cr_digits='0123456789'
17467 as_cr_alnum=$as_cr_Letters$as_cr_digits
17469 # The user is always right.
17470 if test "${PATH_SEPARATOR+set}" != set; then
17471 echo "#! /bin/sh" >conf$$.sh
17472 echo "exit 0" >>conf$$.sh
17474 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
17483 as_lineno_1=$LINENO
17484 as_lineno_2=$LINENO
17485 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
17486 test "x$as_lineno_1" != "x$as_lineno_2" &&
17487 test "x$as_lineno_3" = "x$as_lineno_2" || {
17488 # Find who we are. Look in the path if we contain no path at all
17491 *[\\/]* ) as_myself=$0 ;;
17492 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17493 for as_dir in $PATH
17496 test -z "$as_dir" && as_dir=.
17497 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17502 # We did not find ourselves, most probably we were run as `sh COMMAND'
17503 # in which case we are not to be found in the path.
17504 if test "x$as_myself" = x; then
17507 if test ! -f "$as_myself"; then
17508 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
17509 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
17510 { (exit 1); exit 1; }; }
17512 case $CONFIG_SHELL in
17514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17515 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
17518 test -z "$as_dir" && as_dir=.
17519 for as_base in sh bash ksh sh5; do
17522 if ("$as_dir/$as_base" -c '
17523 as_lineno_1=$LINENO
17524 as_lineno_2=$LINENO
17525 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
17526 test "x$as_lineno_1" != "x$as_lineno_2" &&
17527 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
17528 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
17529 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
17530 CONFIG_SHELL=$as_dir/$as_base
17531 export CONFIG_SHELL
17532 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
17540 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
17541 # uniformly replaced by the line number. The first 'sed' inserts a
17542 # line-number line before each line; the second 'sed' does the real
17543 # work. The second script uses 'N' to pair each line-number line
17544 # with the numbered line, and appends trailing '-' during
17545 # substitution so that $LINENO is not a special case at line end.
17546 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
17547 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
17548 sed '=' <$as_myself |
17553 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
17556 s,^['$as_cr_digits']*\n,,
17557 ' >$as_me.lineno &&
17558 chmod +x $as_me.lineno ||
17559 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
17560 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
17561 { (exit 1); exit 1; }; }
17563 # Don't try to exec as it changes $[0], causing all sort of problems
17564 # (the dirname of $[0] is not the place where we might find the
17565 # original and so on. Autoconf is especially sensible to this).
17567 # Exit status is that of the last command.
17572 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
17573 *c*,-n*) ECHO_N= ECHO_C='
17575 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
17576 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
17579 if expr a : '\(a\)' >/dev/null 2>&1; then
17585 rm -f conf$$ conf$$.exe conf$$.file
17587 if ln -s conf$$.file conf$$ 2>/dev/null; then
17588 # We could just check for DJGPP; but this test a) works b) is more generic
17589 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
17590 if test -f conf$$.exe; then
17591 # Don't use ln at all; we don't have any links
17596 elif ln conf$$.file conf$$ 2>/dev/null; then
17601 rm -f conf$$ conf$$.exe conf$$.file
17603 if mkdir -p . 2>/dev/null; then
17609 as_executable_p="test -f"
17611 # Sed expression to map a string onto a valid CPP name.
17612 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
17614 # Sed expression to map a string onto a valid variable name.
17615 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
17619 # We need space, tab and new line, in precisely that order.
17629 # Open the log real soon, to keep \$[0] and so on meaningful, and to
17630 # report actual input values of CONFIG_FILES etc. instead of their
17631 # values after options handling. Logging --version etc. is OK.
17635 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17636 ## Running $as_me. ##
17641 This file was extended by Wine $as_me 20031212, which was
17642 generated by GNU Autoconf 2.57. Invocation command line was
17644 CONFIG_FILES = $CONFIG_FILES
17645 CONFIG_HEADERS = $CONFIG_HEADERS
17646 CONFIG_LINKS = $CONFIG_LINKS
17647 CONFIG_COMMANDS = $CONFIG_COMMANDS
17651 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
17655 # Files that config.status was made for.
17656 if test -n "$ac_config_files"; then
17657 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
17660 if test -n "$ac_config_headers"; then
17661 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
17664 if test -n "$ac_config_links"; then
17665 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
17668 if test -n "$ac_config_commands"; then
17669 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
17672 cat >>$CONFIG_STATUS <<\_ACEOF
17675 \`$as_me' instantiates files from templates according to the
17676 current configuration.
17678 Usage: $0 [OPTIONS] [FILE]...
17680 -h, --help print this help, then exit
17681 -V, --version print version number, then exit
17682 -q, --quiet do not print progress messages
17683 -d, --debug don't remove temporary files
17684 --recheck update $as_me by reconfiguring in the same conditions
17685 --file=FILE[:TEMPLATE]
17686 instantiate the configuration file FILE
17687 --header=FILE[:TEMPLATE]
17688 instantiate the configuration header FILE
17690 Configuration files:
17693 Configuration headers:
17696 Configuration commands:
17699 Report bugs to <bug-autoconf@gnu.org>."
17702 cat >>$CONFIG_STATUS <<_ACEOF
17704 Wine config.status 20031212
17705 configured by $0, generated by GNU Autoconf 2.57,
17706 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
17708 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
17709 Free Software Foundation, Inc.
17710 This config.status script is free software; the Free Software Foundation
17711 gives unlimited permission to copy, distribute and modify it."
17716 cat >>$CONFIG_STATUS <<\_ACEOF
17717 # If no file are specified by the user, then we need to provide default
17718 # value. By we need to know if files were specified by the user.
17724 ac_option=`expr "x$1" : 'x\([^=]*\)='`
17725 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
17733 *) # This is not an option, so the user has probably given explicit
17736 ac_need_defaults=false;;
17740 # Handling of the options.
17742 cat >>$CONFIG_STATUS <<\_ACEOF
17743 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17745 --version | --vers* | -V )
17746 echo "$ac_cs_version"; exit 0 ;;
17748 # Conflict between --help and --header
17749 { { echo "$as_me:$LINENO: error: ambiguous option: $1
17750 Try \`$0 --help' for more information." >&5
17751 echo "$as_me: error: ambiguous option: $1
17752 Try \`$0 --help' for more information." >&2;}
17753 { (exit 1); exit 1; }; };;
17754 --help | --hel | -h )
17755 echo "$ac_cs_usage"; exit 0 ;;
17756 --debug | --d* | -d )
17758 --file | --fil | --fi | --f )
17760 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
17761 ac_need_defaults=false;;
17762 --header | --heade | --head | --hea )
17764 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
17765 ac_need_defaults=false;;
17766 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17767 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17770 # This is an error.
17771 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
17772 Try \`$0 --help' for more information." >&5
17773 echo "$as_me: error: unrecognized option: $1
17774 Try \`$0 --help' for more information." >&2;}
17775 { (exit 1); exit 1; }; } ;;
17777 *) ac_config_targets="$ac_config_targets $1" ;;
17783 ac_configure_extra_args=
17785 if $ac_cs_silent; then
17787 ac_configure_extra_args="$ac_configure_extra_args --silent"
17791 cat >>$CONFIG_STATUS <<_ACEOF
17792 if \$ac_cs_recheck; then
17793 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
17794 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17803 cat >>$CONFIG_STATUS <<\_ACEOF
17804 for ac_config_target in $ac_config_targets
17806 case "$ac_config_target" in
17807 # Handling of arguments.
17808 "Make.rules" ) CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
17809 "dlls/Makedll.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
17810 "dlls/Maketest.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
17811 "libs/Makelib.rules" ) CONFIG_FILES="$CONFIG_FILES libs/Makelib.rules" ;;
17812 "programs/Makeprog.rules" ) CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
17813 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17814 "dlls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
17815 "dlls/advapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
17816 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
17817 "dlls/avicap32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
17818 "dlls/avifil32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
17819 "dlls/cabinet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
17820 "dlls/capi2032/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
17821 "dlls/cfgmgr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
17822 "dlls/comcat/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
17823 "dlls/comctl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
17824 "dlls/comctl32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
17825 "dlls/commdlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/commdlg/Makefile" ;;
17826 "dlls/crtdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
17827 "dlls/crypt32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
17828 "dlls/ctl3d/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ctl3d/Makefile" ;;
17829 "dlls/wined3d/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
17830 "dlls/d3d8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
17831 "dlls/d3d9/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
17832 "dlls/d3dim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
17833 "dlls/d3dx8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
17834 "dlls/dciman32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
17835 "dlls/ddraw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
17836 "dlls/ddraw/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
17837 "dlls/devenum/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
17838 "dlls/dinput/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
17839 "dlls/dinput8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
17840 "dlls/dmband/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
17841 "dlls/dmcompos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
17842 "dlls/dmime/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
17843 "dlls/dmloader/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
17844 "dlls/dmscript/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
17845 "dlls/dmstyle/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
17846 "dlls/dmsynth/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
17847 "dlls/dmusic/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
17848 "dlls/dmusic32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
17849 "dlls/dplay/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
17850 "dlls/dplayx/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
17851 "dlls/dpnhpast/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
17852 "dlls/dsound/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
17853 "dlls/dsound/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
17854 "dlls/gdi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/Makefile" ;;
17855 "dlls/gdi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
17856 "dlls/glu32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
17857 "dlls/glut32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/glut32/Makefile" ;;
17858 "dlls/icmp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
17859 "dlls/imagehlp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
17860 "dlls/imm32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
17861 "dlls/iphlpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
17862 "dlls/kernel/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/Makefile" ;;
17863 "dlls/kernel/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
17864 "dlls/lzexpand/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
17865 "dlls/mapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
17866 "dlls/mpr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
17867 "dlls/msacm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/Makefile" ;;
17868 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
17869 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
17870 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
17871 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
17872 "dlls/msdmo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
17873 "dlls/mshtml/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
17874 "dlls/msi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
17875 "dlls/msimg32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
17876 "dlls/msisys/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msisys/Makefile" ;;
17877 "dlls/msnet32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
17878 "dlls/msvcrt/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
17879 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
17880 "dlls/msvcrt20/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
17881 "dlls/msvcrtd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
17882 "dlls/msvideo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvideo/Makefile" ;;
17883 "dlls/msvideo/msrle32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvideo/msrle32/Makefile" ;;
17884 "dlls/mswsock/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
17885 "dlls/netapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
17886 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
17887 "dlls/ntdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
17888 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
17889 "dlls/odbc32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
17890 "dlls/ole32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
17891 "dlls/oleacc/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
17892 "dlls/oleaut32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
17893 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
17894 "dlls/olecli/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olecli/Makefile" ;;
17895 "dlls/oledlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
17896 "dlls/olepro32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
17897 "dlls/olesvr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olesvr/Makefile" ;;
17898 "dlls/opengl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
17899 "dlls/psapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
17900 "dlls/qcap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
17901 "dlls/quartz/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
17902 "dlls/rasapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
17903 "dlls/richedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/richedit/Makefile" ;;
17904 "dlls/rpcrt4/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
17905 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
17906 "dlls/serialui/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
17907 "dlls/setupapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
17908 "dlls/shdocvw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
17909 "dlls/shell32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
17910 "dlls/shell32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
17911 "dlls/shfolder/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
17912 "dlls/shlwapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
17913 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
17914 "dlls/snmpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
17915 "dlls/sti/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
17916 "dlls/tapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
17917 "dlls/ttydrv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
17918 "dlls/twain/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/twain/Makefile" ;;
17919 "dlls/unicows/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
17920 "dlls/url/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
17921 "dlls/urlmon/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
17922 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
17923 "dlls/user/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/Makefile" ;;
17924 "dlls/user/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/tests/Makefile" ;;
17925 "dlls/uxtheme/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
17926 "dlls/version/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
17927 "dlls/win32s/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/win32s/Makefile" ;;
17928 "dlls/winaspi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winaspi/Makefile" ;;
17929 "dlls/winedos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
17930 "dlls/wineps/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wineps/Makefile" ;;
17931 "dlls/wininet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
17932 "dlls/wininet/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
17933 "dlls/winmm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
17934 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
17935 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
17936 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
17937 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
17938 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
17939 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
17940 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
17941 "dlls/winmm/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
17942 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
17943 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
17944 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
17945 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
17946 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
17947 "dlls/winmm/winejack/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
17948 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
17949 "dlls/winnls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winnls/Makefile" ;;
17950 "dlls/winsock/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/Makefile" ;;
17951 "dlls/winsock/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/tests/Makefile" ;;
17952 "dlls/winspool/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/Makefile" ;;
17953 "dlls/winspool/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/tests/Makefile" ;;
17954 "dlls/wintab32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
17955 "dlls/wintrust/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
17956 "dlls/wow32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
17957 "dlls/wsock32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
17958 "dlls/x11drv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/x11drv/Makefile" ;;
17959 "documentation/Makefile" ) CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
17960 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
17961 "libs/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
17962 "libs/port/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
17963 "libs/unicode/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/unicode/Makefile" ;;
17964 "libs/uuid/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/uuid/Makefile" ;;
17965 "libs/wine/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
17966 "libs/wpp/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
17967 "loader/Makefile" ) CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
17968 "programs/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
17969 "programs/avitools/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/avitools/Makefile" ;;
17970 "programs/clock/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
17971 "programs/cmdlgtst/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
17972 "programs/control/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
17973 "programs/expand/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
17974 "programs/notepad/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
17975 "programs/progman/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
17976 "programs/regedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
17977 "programs/regsvr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
17978 "programs/rpcss/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
17979 "programs/rundll32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
17980 "programs/start/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
17981 "programs/uninstaller/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
17982 "programs/view/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
17983 "programs/wcmd/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wcmd/Makefile" ;;
17984 "programs/wineboot/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
17985 "programs/winecfg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
17986 "programs/wineconsole/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
17987 "programs/winedbg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
17988 "programs/winefile/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
17989 "programs/winemenubuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
17990 "programs/winemine/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
17991 "programs/winepath/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
17992 "programs/winetest/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
17993 "programs/winevdm/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
17994 "programs/winhelp/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
17995 "programs/winver/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
17996 "server/Makefile" ) CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
17997 "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
17998 "tools/widl/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
17999 "tools/winapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winapi/Makefile" ;;
18000 "tools/winebuild/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
18001 "tools/winedump/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
18002 "tools/winegcc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
18003 "tools/wmc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
18004 "tools/wrc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
18005 "controls" ) CONFIG_COMMANDS="$CONFIG_COMMANDS controls" ;;
18006 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
18007 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
18008 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
18009 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
18010 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
18011 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
18012 "dlls/dinput/joystick" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/dinput/joystick" ;;
18013 "dlls/dinput/keyboard" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/dinput/keyboard" ;;
18014 "dlls/dinput/mouse" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/dinput/mouse" ;;
18015 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
18016 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
18017 "dlls/kernel/messages" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel/messages" ;;
18018 "dlls/user/dde" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/dde" ;;
18019 "dlls/user/resources" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/resources" ;;
18020 "dlls/wineps/data" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps/data" ;;
18021 "files" ) CONFIG_COMMANDS="$CONFIG_COMMANDS files" ;;
18022 "graphics" ) CONFIG_COMMANDS="$CONFIG_COMMANDS graphics" ;;
18023 "include/wine" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
18024 "misc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS misc" ;;
18025 "objects" ) CONFIG_COMMANDS="$CONFIG_COMMANDS objects" ;;
18026 "programs/regedit/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS programs/regedit/tests" ;;
18027 "windows" ) CONFIG_COMMANDS="$CONFIG_COMMANDS windows" ;;
18028 "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18029 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
18030 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
18031 { (exit 1); exit 1; }; };;
18035 # If the user did not use the arguments to specify the items to instantiate,
18036 # then the envvar interface is used. Set only those that are not.
18037 # We use the long form for the default assignment because of an extremely
18038 # bizarre bug on SunOS 4.1.3.
18039 if $ac_need_defaults; then
18040 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18041 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18042 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18045 # Have a temporary directory for convenience. Make it in the build tree
18046 # simply because there is no reason to put it here, and in addition,
18047 # creating and moving files from /tmp can sometimes cause problems.
18048 # Create a temporary directory, and hook for its removal unless debugging.
18051 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
18052 trap '{ (exit 1); exit 1; }' 1 2 13 15
18055 # Create a (secure) tmp directory for tmp files.
18058 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
18059 test -n "$tmp" && test -d "$tmp"
18062 tmp=./confstat$$-$RANDOM
18063 (umask 077 && mkdir $tmp)
18066 echo "$me: cannot create a temporary directory in ." >&2
18067 { (exit 1); exit 1; }
18072 cat >>$CONFIG_STATUS <<_ACEOF
18075 # CONFIG_FILES section.
18078 # No need to generate the scripts if there are no CONFIG_FILES.
18079 # This happens for instance when ./config.status config.h
18080 if test -n "\$CONFIG_FILES"; then
18081 # Protect against being on the right side of a sed subst in config.status.
18082 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
18083 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
18084 s,@SHELL@,$SHELL,;t t
18085 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
18086 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
18087 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
18088 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
18089 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
18090 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
18091 s,@exec_prefix@,$exec_prefix,;t t
18092 s,@prefix@,$prefix,;t t
18093 s,@program_transform_name@,$program_transform_name,;t t
18094 s,@bindir@,$bindir,;t t
18095 s,@sbindir@,$sbindir,;t t
18096 s,@libexecdir@,$libexecdir,;t t
18097 s,@datadir@,$datadir,;t t
18098 s,@sysconfdir@,$sysconfdir,;t t
18099 s,@sharedstatedir@,$sharedstatedir,;t t
18100 s,@localstatedir@,$localstatedir,;t t
18101 s,@libdir@,$libdir,;t t
18102 s,@includedir@,$includedir,;t t
18103 s,@oldincludedir@,$oldincludedir,;t t
18104 s,@infodir@,$infodir,;t t
18105 s,@mandir@,$mandir,;t t
18106 s,@build_alias@,$build_alias,;t t
18107 s,@host_alias@,$host_alias,;t t
18108 s,@target_alias@,$target_alias,;t t
18109 s,@DEFS@,$DEFS,;t t
18110 s,@ECHO_C@,$ECHO_C,;t t
18111 s,@ECHO_N@,$ECHO_N,;t t
18112 s,@ECHO_T@,$ECHO_T,;t t
18113 s,@LIBS@,$LIBS,;t t
18114 s,@WIN16_FILES@,$WIN16_FILES,;t t
18115 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
18116 s,@build@,$build,;t t
18117 s,@build_cpu@,$build_cpu,;t t
18118 s,@build_vendor@,$build_vendor,;t t
18119 s,@build_os@,$build_os,;t t
18120 s,@host@,$host,;t t
18121 s,@host_cpu@,$host_cpu,;t t
18122 s,@host_vendor@,$host_vendor,;t t
18123 s,@host_os@,$host_os,;t t
18124 s,@SET_MAKE@,$SET_MAKE,;t t
18126 s,@CFLAGS@,$CFLAGS,;t t
18127 s,@LDFLAGS@,$LDFLAGS,;t t
18128 s,@CPPFLAGS@,$CPPFLAGS,;t t
18129 s,@ac_ct_CC@,$ac_ct_CC,;t t
18130 s,@EXEEXT@,$EXEEXT,;t t
18131 s,@OBJEXT@,$OBJEXT,;t t
18133 s,@TOOLSDIR@,$TOOLSDIR,;t t
18134 s,@X_CFLAGS@,$X_CFLAGS,;t t
18135 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
18136 s,@X_LIBS@,$X_LIBS,;t t
18137 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
18138 s,@YACC@,$YACC,;t t
18140 s,@LEXLIB@,$LEXLIB,;t t
18141 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
18142 s,@XYACC@,$XYACC,;t t
18143 s,@XLEX@,$XLEX,;t t
18145 s,@ac_ct_AS@,$ac_ct_AS,;t t
18147 s,@ac_ct_LD@,$ac_ct_LD,;t t
18149 s,@ac_ct_AR@,$ac_ct_AR,;t t
18150 s,@RANLIB@,$RANLIB,;t t
18151 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
18152 s,@STRIP@,$STRIP,;t t
18153 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
18154 s,@WINDRES@,$WINDRES,;t t
18155 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
18156 s,@LN_S@,$LN_S,;t t
18158 s,@LDCONFIG@,$LDCONFIG,;t t
18159 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
18160 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
18161 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
18162 s,@LINT@,$LINT,;t t
18163 s,@LINTFLAGS@,$LINTFLAGS,;t t
18164 s,@DB2HTML@,$DB2HTML,;t t
18165 s,@DB2PDF@,$DB2PDF,;t t
18166 s,@DB2PS@,$DB2PS,;t t
18167 s,@DB2TXT@,$DB2TXT,;t t
18168 s,@LIBPTHREAD@,$LIBPTHREAD,;t t
18169 s,@JPEGLIB@,$JPEGLIB,;t t
18170 s,@EGREP@,$EGREP,;t t
18171 s,@GIFLIB@,$GIFLIB,;t t
18172 s,@XLIB@,$XLIB,;t t
18173 s,@XFILES@,$XFILES,;t t
18174 s,@OPENGLFILES@,$OPENGLFILES,;t t
18175 s,@GLU32FILES@,$GLU32FILES,;t t
18176 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
18177 s,@GLUT_LIBS@,$GLUT_LIBS,;t t
18178 s,@GLUT32FILES@,$GLUT32FILES,;t t
18179 s,@NASLIBS@,$NASLIBS,;t t
18180 s,@CURSESLIBS@,$CURSESLIBS,;t t
18181 s,@sane_devel@,$sane_devel,;t t
18182 s,@SANELIBS@,$SANELIBS,;t t
18183 s,@SANEINCL@,$SANEINCL,;t t
18184 s,@ICULIBS@,$ICULIBS,;t t
18185 s,@ft_devel@,$ft_devel,;t t
18186 s,@ft_devel2@,$ft_devel2,;t t
18187 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
18188 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
18189 s,@ARTSLIBS@,$ARTSLIBS,;t t
18190 s,@ARTSINCL@,$ARTSINCL,;t t
18191 s,@ALSALIBS@,$ALSALIBS,;t t
18192 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
18193 s,@CAPI4LINUXLIBS@,$CAPI4LINUXLIBS,;t t
18194 s,@EXTRACFLAGS@,$EXTRACFLAGS,;t t
18195 s,@DLLEXT@,$DLLEXT,;t t
18196 s,@DLLFLAGS@,$DLLFLAGS,;t t
18197 s,@DLLIBS@,$DLLIBS,;t t
18198 s,@LDSHARED@,$LDSHARED,;t t
18199 s,@LDDLL@,$LDDLL,;t t
18200 s,@LIBEXT@,$LIBEXT,;t t
18201 s,@IMPLIBEXT@,$IMPLIBEXT,;t t
18202 s,@DLLTOOL@,$DLLTOOL,;t t
18203 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
18204 s,@DLLWRAP@,$DLLWRAP,;t t
18205 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
18206 s,@LDEXECFLAGS@,$LDEXECFLAGS,;t t
18207 s,@CROSSTEST@,$CROSSTEST,;t t
18208 s,@CROSSCC@,$CROSSCC,;t t
18209 s,@CROSSWINDRES@,$CROSSWINDRES,;t t
18210 s,@LDPATH@,$LDPATH,;t t
18211 s,@CRTLIBS@,$CRTLIBS,;t t
18212 s,@WINE_BINARIES@,$WINE_BINARIES,;t t
18213 s,@MAIN_BINARY@,$MAIN_BINARY,;t t
18215 s,@ALLOCA@,$ALLOCA,;t t
18216 s,@LIBOBJS@,$LIBOBJS,;t t
18217 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
18218 /@MAKE_RULES@/r $MAKE_RULES
18219 s,@MAKE_RULES@,,;t t
18220 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
18221 s,@MAKE_DLL_RULES@,,;t t
18222 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
18223 s,@MAKE_TEST_RULES@,,;t t
18224 /@MAKE_LIB_RULES@/r $MAKE_LIB_RULES
18225 s,@MAKE_LIB_RULES@,,;t t
18226 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
18227 s,@MAKE_PROG_RULES@,,;t t
18232 cat >>$CONFIG_STATUS <<\_ACEOF
18233 # Split the substitutions into bite-sized pieces for seds with
18234 # small command number limits, like on Digital OSF/1 and HP-UX.
18235 ac_max_sed_lines=48
18236 ac_sed_frag=1 # Number of current file.
18237 ac_beg=1 # First line for current file.
18238 ac_end=$ac_max_sed_lines # Line after last line for current file.
18241 while $ac_more_lines; do
18242 if test $ac_beg -gt 1; then
18243 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
18245 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
18247 if test ! -s $tmp/subs.frag; then
18248 ac_more_lines=false
18250 # The purpose of the label and of the branching condition is to
18251 # speed up the sed processing (if there are no `@' at all, there
18252 # is no need to browse any of the substitutions).
18253 # These are the two extra sed commands mentioned above.
18255 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
18256 if test -z "$ac_sed_cmds"; then
18257 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
18259 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
18261 ac_sed_frag=`expr $ac_sed_frag + 1`
18263 ac_end=`expr $ac_end + $ac_max_sed_lines`
18266 if test -z "$ac_sed_cmds"; then
18269 fi # test -n "$CONFIG_FILES"
18272 cat >>$CONFIG_STATUS <<\_ACEOF
18273 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
18274 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18276 - | *:- | *:-:* ) # input from stdin
18278 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
18279 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
18280 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
18281 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
18282 * ) ac_file_in=$ac_file.in ;;
18285 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
18286 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
18287 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18288 X"$ac_file" : 'X\(//\)[^/]' \| \
18289 X"$ac_file" : 'X\(//\)$' \| \
18290 X"$ac_file" : 'X\(/\)' \| \
18291 . : '\(.\)' 2>/dev/null ||
18293 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18294 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18295 /^X\(\/\/\)$/{ s//\1/; q; }
18296 /^X\(\/\).*/{ s//\1/; q; }
18298 { if $as_mkdir_p; then
18303 while test ! -d "$as_dir"; do
18304 as_dirs="$as_dir $as_dirs"
18305 as_dir=`(dirname "$as_dir") 2>/dev/null ||
18306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18307 X"$as_dir" : 'X\(//\)[^/]' \| \
18308 X"$as_dir" : 'X\(//\)$' \| \
18309 X"$as_dir" : 'X\(/\)' \| \
18310 . : '\(.\)' 2>/dev/null ||
18312 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18313 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18314 /^X\(\/\/\)$/{ s//\1/; q; }
18315 /^X\(\/\).*/{ s//\1/; q; }
18318 test ! -n "$as_dirs" || mkdir $as_dirs
18319 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18320 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18321 { (exit 1); exit 1; }; }; }
18325 if test "$ac_dir" != .; then
18326 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
18327 # A "../" for each directory in $ac_dir_suffix.
18328 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
18330 ac_dir_suffix= ac_top_builddir=
18334 .) # No --srcdir option. We are building in place.
18336 if test -z "$ac_top_builddir"; then
18339 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
18341 [\\/]* | ?:[\\/]* ) # Absolute path.
18342 ac_srcdir=$srcdir$ac_dir_suffix;
18343 ac_top_srcdir=$srcdir ;;
18344 *) # Relative path.
18345 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
18346 ac_top_srcdir=$ac_top_builddir$srcdir ;;
18348 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
18350 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
18351 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
18352 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
18353 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
18357 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18358 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
18361 if test x"$ac_file" != x-; then
18362 { echo "$as_me:$LINENO: creating $ac_file" >&5
18363 echo "$as_me: creating $ac_file" >&6;}
18366 # Let's still pretend it is `configure' which instantiates (i.e., don't
18367 # use $as_me), people would be surprised to read:
18368 # /* config.h. Generated by config.status. */
18369 if test x"$ac_file" = x-; then
18372 configure_input="$ac_file. "
18374 configure_input=$configure_input"Generated from `echo $ac_file_in |
18375 sed 's,.*/,,'` by configure."
18377 # First look for the input files in the build tree, otherwise in the
18379 ac_file_inputs=`IFS=:
18380 for f in $ac_file_in; do
18382 -) echo $tmp/stdin ;;
18384 # Absolute (can't be DOS-style, as IFS=:)
18385 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18386 echo "$as_me: error: cannot find input file: $f" >&2;}
18387 { (exit 1); exit 1; }; }
18390 if test -f "$f"; then
18393 elif test -f "$srcdir/$f"; then
18398 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18399 echo "$as_me: error: cannot find input file: $f" >&2;}
18400 { (exit 1); exit 1; }; }
18403 done` || { (exit 1); exit 1; }
18405 cat >>$CONFIG_STATUS <<_ACEOF
18409 cat >>$CONFIG_STATUS <<\_ACEOF
18411 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18412 s,@configure_input@,$configure_input,;t t
18413 s,@srcdir@,$ac_srcdir,;t t
18414 s,@abs_srcdir@,$ac_abs_srcdir,;t t
18415 s,@top_srcdir@,$ac_top_srcdir,;t t
18416 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
18417 s,@builddir@,$ac_builddir,;t t
18418 s,@abs_builddir@,$ac_abs_builddir,;t t
18419 s,@top_builddir@,$ac_top_builddir,;t t
18420 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
18421 s,@INSTALL@,$ac_INSTALL,;t t
18422 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
18424 if test x"$ac_file" != x-; then
18425 mv $tmp/out $ac_file
18433 cat >>$CONFIG_STATUS <<\_ACEOF
18436 # CONFIG_HEADER section.
18439 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18440 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18442 # ac_d sets the value in "#define NAME VALUE" lines.
18443 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18444 ac_dB='[ ].*$,\1#\2'
18447 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18448 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18449 ac_uB='$,\1#\2define\3'
18453 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
18454 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18456 - | *:- | *:-:* ) # input from stdin
18458 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
18459 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
18460 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
18461 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
18462 * ) ac_file_in=$ac_file.in ;;
18465 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
18466 echo "$as_me: creating $ac_file" >&6;}
18468 # First look for the input files in the build tree, otherwise in the
18470 ac_file_inputs=`IFS=:
18471 for f in $ac_file_in; do
18473 -) echo $tmp/stdin ;;
18475 # Absolute (can't be DOS-style, as IFS=:)
18476 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18477 echo "$as_me: error: cannot find input file: $f" >&2;}
18478 { (exit 1); exit 1; }; }
18481 if test -f "$f"; then
18484 elif test -f "$srcdir/$f"; then
18489 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18490 echo "$as_me: error: cannot find input file: $f" >&2;}
18491 { (exit 1); exit 1; }; }
18494 done` || { (exit 1); exit 1; }
18495 # Remove the trailing spaces.
18496 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
18500 # Transform confdefs.h into two sed scripts, `conftest.defines' and
18501 # `conftest.undefs', that substitutes the proper values into
18502 # config.h.in to produce config.h. The first handles `#define'
18503 # templates, and the second `#undef' templates.
18504 # And first: Protect against being on the right side of a sed subst in
18505 # config.status. Protect against being in an unquoted here document
18506 # in config.status.
18507 rm -f conftest.defines conftest.undefs
18508 # Using a here document instead of a string reduces the quoting nightmare.
18509 # Putting comments in sed scripts is not portable.
18511 # `end' is used to avoid that the second main sed command (meant for
18512 # 0-ary CPP macros) applies to n-ary macro definitions.
18513 # See the Autoconf documentation for `clear'.
18514 cat >confdef2sed.sed <<\_ACEOF
18519 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
18521 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
18524 # If some macros were called several times there might be several times
18525 # the same #defines, which is useless. Nevertheless, we may not want to
18526 # sort them, since we want the *last* AC-DEFINE to be honored.
18527 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
18528 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
18529 rm -f confdef2sed.sed
18531 # This sed command replaces #undef with comments. This is necessary, for
18532 # example, in the case of _POSIX_SOURCE, which is predefined and required
18533 # on some systems where configure will not decide to define it.
18534 cat >>conftest.undefs <<\_ACEOF
18535 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
18538 # Break up conftest.defines because some shells have a limit on the size
18539 # of here documents, and old seds have small limits too (100 cmds).
18540 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
18541 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
18542 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
18543 echo ' :' >>$CONFIG_STATUS
18544 rm -f conftest.tail
18545 while grep . conftest.defines >/dev/null
18547 # Write a limited-size here document to $tmp/defines.sed.
18548 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
18549 # Speed up: don't consider the non `#define' lines.
18550 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
18551 # Work around the forget-to-reset-the-flag bug.
18552 echo 't clr' >>$CONFIG_STATUS
18553 echo ': clr' >>$CONFIG_STATUS
18554 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
18556 sed -f $tmp/defines.sed $tmp/in >$tmp/out
18558 mv $tmp/out $tmp/in
18560 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
18561 rm -f conftest.defines
18562 mv conftest.tail conftest.defines
18564 rm -f conftest.defines
18565 echo ' fi # grep' >>$CONFIG_STATUS
18566 echo >>$CONFIG_STATUS
18568 # Break up conftest.undefs because some shells have a limit on the size
18569 # of here documents, and old seds have small limits too (100 cmds).
18570 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
18571 rm -f conftest.tail
18572 while grep . conftest.undefs >/dev/null
18574 # Write a limited-size here document to $tmp/undefs.sed.
18575 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
18576 # Speed up: don't consider the non `#undef'
18577 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
18578 # Work around the forget-to-reset-the-flag bug.
18579 echo 't clr' >>$CONFIG_STATUS
18580 echo ': clr' >>$CONFIG_STATUS
18581 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
18583 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
18585 mv $tmp/out $tmp/in
18587 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
18588 rm -f conftest.undefs
18589 mv conftest.tail conftest.undefs
18591 rm -f conftest.undefs
18593 cat >>$CONFIG_STATUS <<\_ACEOF
18594 # Let's still pretend it is `configure' which instantiates (i.e., don't
18595 # use $as_me), people would be surprised to read:
18596 # /* config.h. Generated by config.status. */
18597 if test x"$ac_file" = x-; then
18598 echo "/* Generated by configure. */" >$tmp/config.h
18600 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
18602 cat $tmp/in >>$tmp/config.h
18604 if test x"$ac_file" != x-; then
18605 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
18606 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
18607 echo "$as_me: $ac_file is unchanged" >&6;}
18609 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
18610 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18611 X"$ac_file" : 'X\(//\)[^/]' \| \
18612 X"$ac_file" : 'X\(//\)$' \| \
18613 X"$ac_file" : 'X\(/\)' \| \
18614 . : '\(.\)' 2>/dev/null ||
18616 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18617 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18618 /^X\(\/\/\)$/{ s//\1/; q; }
18619 /^X\(\/\).*/{ s//\1/; q; }
18621 { if $as_mkdir_p; then
18626 while test ! -d "$as_dir"; do
18627 as_dirs="$as_dir $as_dirs"
18628 as_dir=`(dirname "$as_dir") 2>/dev/null ||
18629 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18630 X"$as_dir" : 'X\(//\)[^/]' \| \
18631 X"$as_dir" : 'X\(//\)$' \| \
18632 X"$as_dir" : 'X\(/\)' \| \
18633 . : '\(.\)' 2>/dev/null ||
18635 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18636 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18637 /^X\(\/\/\)$/{ s//\1/; q; }
18638 /^X\(\/\).*/{ s//\1/; q; }
18641 test ! -n "$as_dirs" || mkdir $as_dirs
18642 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18643 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18644 { (exit 1); exit 1; }; }; }
18647 mv $tmp/config.h $ac_file
18651 rm -f $tmp/config.h
18655 cat >>$CONFIG_STATUS <<\_ACEOF
18658 # CONFIG_COMMANDS section.
18660 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
18661 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
18662 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
18663 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
18664 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18665 X"$ac_dest" : 'X\(//\)[^/]' \| \
18666 X"$ac_dest" : 'X\(//\)$' \| \
18667 X"$ac_dest" : 'X\(/\)' \| \
18668 . : '\(.\)' 2>/dev/null ||
18670 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18671 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18672 /^X\(\/\/\)$/{ s//\1/; q; }
18673 /^X\(\/\).*/{ s//\1/; q; }
18677 if test "$ac_dir" != .; then
18678 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
18679 # A "../" for each directory in $ac_dir_suffix.
18680 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
18682 ac_dir_suffix= ac_top_builddir=
18686 .) # No --srcdir option. We are building in place.
18688 if test -z "$ac_top_builddir"; then
18691 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
18693 [\\/]* | ?:[\\/]* ) # Absolute path.
18694 ac_srcdir=$srcdir$ac_dir_suffix;
18695 ac_top_srcdir=$srcdir ;;
18696 *) # Relative path.
18697 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
18698 ac_top_srcdir=$ac_top_builddir$srcdir ;;
18700 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
18702 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
18703 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
18704 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
18705 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
18708 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
18709 echo "$as_me: executing $ac_dest commands" >&6;}
18711 controls ) test -d "controls" || ({ echo "$as_me:$LINENO: creating controls" >&5
18712 echo "$as_me: creating controls" >&6;} && mkdir "controls") ;;
18713 dlls/ddraw/d3ddevice ) test -d "dlls/ddraw/d3ddevice" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/d3ddevice" >&5
18714 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir "dlls/ddraw/d3ddevice") ;;
18715 dlls/ddraw/dclipper ) test -d "dlls/ddraw/dclipper" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dclipper" >&5
18716 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir "dlls/ddraw/dclipper") ;;
18717 dlls/ddraw/ddraw ) test -d "dlls/ddraw/ddraw" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/ddraw" >&5
18718 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir "dlls/ddraw/ddraw") ;;
18719 dlls/ddraw/direct3d ) test -d "dlls/ddraw/direct3d" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/direct3d" >&5
18720 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir "dlls/ddraw/direct3d") ;;
18721 dlls/ddraw/dpalette ) test -d "dlls/ddraw/dpalette" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dpalette" >&5
18722 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir "dlls/ddraw/dpalette") ;;
18723 dlls/ddraw/dsurface ) test -d "dlls/ddraw/dsurface" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dsurface" >&5
18724 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir "dlls/ddraw/dsurface") ;;
18725 dlls/dinput/joystick ) test -d "dlls/dinput/joystick" || ({ echo "$as_me:$LINENO: creating dlls/dinput/joystick" >&5
18726 echo "$as_me: creating dlls/dinput/joystick" >&6;} && mkdir "dlls/dinput/joystick") ;;
18727 dlls/dinput/keyboard ) test -d "dlls/dinput/keyboard" || ({ echo "$as_me:$LINENO: creating dlls/dinput/keyboard" >&5
18728 echo "$as_me: creating dlls/dinput/keyboard" >&6;} && mkdir "dlls/dinput/keyboard") ;;
18729 dlls/dinput/mouse ) test -d "dlls/dinput/mouse" || ({ echo "$as_me:$LINENO: creating dlls/dinput/mouse" >&5
18730 echo "$as_me: creating dlls/dinput/mouse" >&6;} && mkdir "dlls/dinput/mouse") ;;
18731 dlls/gdi/enhmfdrv ) test -d "dlls/gdi/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
18732 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir "dlls/gdi/enhmfdrv") ;;
18733 dlls/gdi/mfdrv ) test -d "dlls/gdi/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
18734 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir "dlls/gdi/mfdrv") ;;
18735 dlls/kernel/messages ) test -d "dlls/kernel/messages" || ({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
18736 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir "dlls/kernel/messages") ;;
18737 dlls/user/dde ) test -d "dlls/user/dde" || ({ echo "$as_me:$LINENO: creating dlls/user/dde" >&5
18738 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir "dlls/user/dde") ;;
18739 dlls/user/resources ) test -d "dlls/user/resources" || ({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
18740 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir "dlls/user/resources") ;;
18741 dlls/wineps/data ) test -d "dlls/wineps/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
18742 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir "dlls/wineps/data") ;;
18743 files ) test -d "files" || ({ echo "$as_me:$LINENO: creating files" >&5
18744 echo "$as_me: creating files" >&6;} && mkdir "files") ;;
18745 graphics ) test -d "graphics" || ({ echo "$as_me:$LINENO: creating graphics" >&5
18746 echo "$as_me: creating graphics" >&6;} && mkdir "graphics") ;;
18747 include/wine ) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
18748 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
18749 misc ) test -d "misc" || ({ echo "$as_me:$LINENO: creating misc" >&5
18750 echo "$as_me: creating misc" >&6;} && mkdir "misc") ;;
18751 objects ) test -d "objects" || ({ echo "$as_me:$LINENO: creating objects" >&5
18752 echo "$as_me: creating objects" >&6;} && mkdir "objects") ;;
18753 programs/regedit/tests ) test -d "programs/regedit/tests" || ({ echo "$as_me:$LINENO: creating programs/regedit/tests" >&5
18754 echo "$as_me: creating programs/regedit/tests" >&6;} && mkdir "programs/regedit/tests") ;;
18755 windows ) test -d "windows" || ({ echo "$as_me:$LINENO: creating windows" >&5
18756 echo "$as_me: creating windows" >&6;} && mkdir "windows") ;;
18761 cat >>$CONFIG_STATUS <<\_ACEOF
18763 { (exit 0); exit 0; }
18765 chmod +x $CONFIG_STATUS
18766 ac_clean_files=$ac_clean_files_save
18769 # configure is writing to config.log, and then calls config.status.
18770 # config.status does its own redirection, appending to config.log.
18771 # Unfortunately, on DOS this fails, as config.log is still kept open
18772 # by configure, so config.status won't be able to write to it; its
18773 # output is simply discarded. So we exec the FD to /dev/null,
18774 # effectively closing config.log, so it can be properly (re)opened and
18775 # appended to by config.status. When coming back to configure, we
18776 # need to make the FD available again.
18777 if test "$no_create" != yes; then
18779 ac_config_status_args=
18780 test "$silent" = yes &&
18781 ac_config_status_args="$ac_config_status_args --quiet"
18783 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18785 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18786 # would make configure fail if this is the last instruction.
18787 $ac_cs_success || { (exit 1); exit 1; }
18791 if test "$have_x" = "no"
18794 echo "*** Warning: X development files not found. Wine will be built without"
18795 echo "*** X support, which currently does not work, and would probably not be"
18796 echo "*** what you want anyway. You will need to install devel packages of"
18797 echo "*** Xlib/Xfree86 at the very least."
18800 if test "$wine_cv_opengl_version_OK" = "no"
18803 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
18804 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
18807 if test "$wine_cv_msg_freetype" = "yes"
18810 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
18811 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
18812 echo "*** freetype-devel package (or its equivalent on your distribution) to"
18813 echo "*** enable Wine to use TrueType fonts."
18817 echo "Configure finished. Do 'make depend && make' to compile Wine."