2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57 for Wine 20031016.
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='20031016'
270 PACKAGE_STRING='Wine 20031016'
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 MAIN_BINARY 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 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 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 20031016 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 20031016:";;
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-nptl use glibc NPTL threading support
862 --with-wine-tools=<dir> use Wine tools from directory <dir>
863 --with-x use the X Window System
865 Some influential environment variables:
866 CC C compiler command
867 CFLAGS C compiler flags
868 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
869 nonstandard directory <lib dir>
870 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
871 headers in a nonstandard directory <include dir>
874 Use these variables to override the choices made by `configure' or to help
875 it to find libraries and programs with nonstandard names/locations.
880 if test "$ac_init_help" = "recursive"; then
881 # If there are subdirs, report their specific --help.
883 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
884 test -d $ac_dir || continue
887 if test "$ac_dir" != .; then
888 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
889 # A "../" for each directory in $ac_dir_suffix.
890 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
892 ac_dir_suffix= ac_top_builddir=
896 .) # No --srcdir option. We are building in place.
898 if test -z "$ac_top_builddir"; then
901 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
903 [\\/]* | ?:[\\/]* ) # Absolute path.
904 ac_srcdir=$srcdir$ac_dir_suffix;
905 ac_top_srcdir=$srcdir ;;
907 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
908 ac_top_srcdir=$ac_top_builddir$srcdir ;;
910 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
912 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
913 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
914 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
915 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
918 # Check for guested configure; otherwise get Cygnus style configure.
919 if test -f $ac_srcdir/configure.gnu; then
921 $SHELL $ac_srcdir/configure.gnu --help=recursive
922 elif test -f $ac_srcdir/configure; then
924 $SHELL $ac_srcdir/configure --help=recursive
925 elif test -f $ac_srcdir/configure.ac ||
926 test -f $ac_srcdir/configure.in; then
930 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
936 test -n "$ac_init_help" && exit 0
937 if $ac_init_version; then
939 Wine configure 20031016
940 generated by GNU Autoconf 2.57
942 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
943 Free Software Foundation, Inc.
944 This configure script is free software; the Free Software Foundation
945 gives unlimited permission to copy, distribute and modify it.
951 This file contains any messages produced by compilers while
952 running configure, to aid debugging if configure makes a mistake.
954 It was created by Wine $as_me 20031016, which was
955 generated by GNU Autoconf 2.57. Invocation command line was
966 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
967 uname -m = `(uname -m) 2>/dev/null || echo unknown`
968 uname -r = `(uname -r) 2>/dev/null || echo unknown`
969 uname -s = `(uname -s) 2>/dev/null || echo unknown`
970 uname -v = `(uname -v) 2>/dev/null || echo unknown`
972 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
973 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
975 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
976 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
977 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
978 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
979 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
980 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
981 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
989 test -z "$as_dir" && as_dir=.
1005 # Keep a trace of the command line.
1006 # Strip out --no-create and --no-recursion so they do not pile up.
1007 # Strip out --silent because we don't want to record it for future runs.
1008 # Also quote any args containing shell meta-characters.
1009 # Make two passes to allow for proper duplicate-argument suppression.
1014 ac_must_keep_next=false
1020 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1021 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1022 | -silent | --silent | --silen | --sile | --sil)
1024 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1025 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1028 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1030 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1031 if test $ac_must_keep_next = true; then
1032 ac_must_keep_next=false # Got value, back to normal.
1035 *=* | --config-cache | -C | -disable-* | --disable-* \
1036 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1037 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1038 | -with-* | --with-* | -without-* | --without-* | --x)
1039 case "$ac_configure_args0 " in
1040 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1043 -* ) ac_must_keep_next=true ;;
1046 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1047 # Get rid of the leading space.
1053 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1054 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1056 # When interrupted or exit'd, cleanup temporary files, and complete
1057 # config.log. We remove comments because anyway the quotes in there
1058 # would cause problems or look ugly.
1059 # WARNING: Be sure not to use single quotes in there, as some shells,
1060 # such as our DU 5.0 friend, will then `close' the trap.
1061 trap 'exit_status=$?
1062 # Save into config.log some information that might help in debugging.
1067 ## ---------------- ##
1068 ## Cache variables. ##
1069 ## ---------------- ##
1072 # The following way of writing the cache mishandles newlines in values,
1075 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1078 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1079 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1083 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1090 ## ----------------- ##
1091 ## Output variables. ##
1092 ## ----------------- ##
1095 for ac_var in $ac_subst_vars
1097 eval ac_val=$`echo $ac_var`
1098 echo "$ac_var='"'"'$ac_val'"'"'"
1102 if test -n "$ac_subst_files"; then
1109 for ac_var in $ac_subst_files
1111 eval ac_val=$`echo $ac_var`
1112 echo "$ac_var='"'"'$ac_val'"'"'"
1117 if test -s confdefs.h; then
1124 sed "/^$/d" confdefs.h | sort
1127 test "$ac_signal" != 0 &&
1128 echo "$as_me: caught signal $ac_signal"
1129 echo "$as_me: exit $exit_status"
1131 rm -f core *.core &&
1132 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1135 for ac_signal in 1 2 13 15; do
1136 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1140 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1141 rm -rf conftest* confdefs.h
1142 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1145 # Predefined preprocessor variables.
1147 cat >>confdefs.h <<_ACEOF
1148 #define PACKAGE_NAME "$PACKAGE_NAME"
1152 cat >>confdefs.h <<_ACEOF
1153 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1157 cat >>confdefs.h <<_ACEOF
1158 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1162 cat >>confdefs.h <<_ACEOF
1163 #define PACKAGE_STRING "$PACKAGE_STRING"
1167 cat >>confdefs.h <<_ACEOF
1168 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1172 # Let the site file select an alternate cache file if it wants to.
1173 # Prefer explicitly selected file to automatically selected ones.
1174 if test -z "$CONFIG_SITE"; then
1175 if test "x$prefix" != xNONE; then
1176 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1178 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1181 for ac_site_file in $CONFIG_SITE; do
1182 if test -r "$ac_site_file"; then
1183 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1184 echo "$as_me: loading site script $ac_site_file" >&6;}
1185 sed 's/^/| /' "$ac_site_file" >&5
1190 if test -r "$cache_file"; then
1191 # Some versions of bash will fail to source /dev/null (special
1192 # files actually), so we avoid doing that.
1193 if test -f "$cache_file"; then
1194 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1195 echo "$as_me: loading cache $cache_file" >&6;}
1197 [\\/]* | ?:[\\/]* ) . $cache_file;;
1198 *) . ./$cache_file;;
1202 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1203 echo "$as_me: creating cache $cache_file" >&6;}
1207 # Check that the precious variables saved in the cache have kept the same
1209 ac_cache_corrupted=false
1210 for ac_var in `(set) 2>&1 |
1211 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1212 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1213 eval ac_new_set=\$ac_env_${ac_var}_set
1214 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1215 eval ac_new_val="\$ac_env_${ac_var}_value"
1216 case $ac_old_set,$ac_new_set in
1218 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1219 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1220 ac_cache_corrupted=: ;;
1222 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1223 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1224 ac_cache_corrupted=: ;;
1227 if test "x$ac_old_val" != "x$ac_new_val"; then
1228 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1229 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1230 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1231 echo "$as_me: former value: $ac_old_val" >&2;}
1232 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1233 echo "$as_me: current value: $ac_new_val" >&2;}
1234 ac_cache_corrupted=:
1237 # Pass precious variables to config.status.
1238 if test "$ac_new_set" = set; then
1240 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1241 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1242 *) ac_arg=$ac_var=$ac_new_val ;;
1244 case " $ac_configure_args " in
1245 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1246 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1250 if $ac_cache_corrupted; then
1251 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1252 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1253 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1254 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1255 { (exit 1); exit 1; }; }
1259 ac_cpp='$CPP $CPPFLAGS'
1260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1291 ac_config_headers="$ac_config_headers include/config.h"
1294 for ac_dir in tools $srcdir/tools; do
1295 if test -f $ac_dir/install-sh; then
1297 ac_install_sh="$ac_aux_dir/install-sh -c"
1299 elif test -f $ac_dir/install.sh; then
1301 ac_install_sh="$ac_aux_dir/install.sh -c"
1303 elif test -f $ac_dir/shtool; then
1305 ac_install_sh="$ac_aux_dir/shtool install -c"
1309 if test -z "$ac_aux_dir"; then
1310 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&5
1311 echo "$as_me: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&2;}
1312 { (exit 1); exit 1; }; }
1314 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1315 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1316 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1320 # Check whether --enable-win16 or --disable-win16 was given.
1321 if test "${enable_win16+set}" = set; then
1322 enableval="$enable_win16"
1325 # Check whether --enable-debug or --disable-debug was given.
1326 if test "${enable_debug+set}" = set; then
1327 enableval="$enable_debug"
1330 # Check whether --enable-trace or --disable-trace was given.
1331 if test "${enable_trace+set}" = set; then
1332 enableval="$enable_trace"
1337 # Check whether --with-opengl or --without-opengl was given.
1338 if test "${with_opengl+set}" = set; then
1339 withval="$with_opengl"
1343 # Check whether --with-curses or --without-curses was given.
1344 if test "${with_curses+set}" = set; then
1345 withval="$with_curses"
1349 # Check whether --with-nptl or --without-nptl was given.
1350 if test "${with_nptl+set}" = set; then
1351 withval="$with_nptl"
1355 # Check whether --with-wine-tools or --without-wine-tools was given.
1356 if test "${with_wine_tools+set}" = set; then
1357 withval="$with_wine_tools"
1361 WIN16_FILES="\$(WIN16_FILES)"
1363 WIN16_INSTALL="\$(WIN16_INSTALL)"
1365 if test "x$enable_win16" = "xno"
1370 if test "x$enable_debug" = "xno"
1373 cat >>confdefs.h <<\_ACEOF
1374 #define NO_DEBUG_MSGS 1
1378 if test "x$enable_trace" = "xno" -o "x$enable_debug" = "xno"
1381 cat >>confdefs.h <<\_ACEOF
1382 #define NO_TRACE_MSGS 1
1386 if test "x$with_nptl" = "xyes"
1388 MAIN_BINARY="wine-pthread"
1391 MAIN_BINARY="wine-kthread"
1396 # Make sure we can run config.sub.
1397 $ac_config_sub sun4 >/dev/null 2>&1 ||
1398 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1399 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1400 { (exit 1); exit 1; }; }
1402 echo "$as_me:$LINENO: checking build system type" >&5
1403 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1404 if test "${ac_cv_build+set}" = set; then
1405 echo $ECHO_N "(cached) $ECHO_C" >&6
1407 ac_cv_build_alias=$build_alias
1408 test -z "$ac_cv_build_alias" &&
1409 ac_cv_build_alias=`$ac_config_guess`
1410 test -z "$ac_cv_build_alias" &&
1411 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1412 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1413 { (exit 1); exit 1; }; }
1414 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1415 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1416 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1417 { (exit 1); exit 1; }; }
1420 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1421 echo "${ECHO_T}$ac_cv_build" >&6
1423 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1424 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1425 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1428 echo "$as_me:$LINENO: checking host system type" >&5
1429 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1430 if test "${ac_cv_host+set}" = set; then
1431 echo $ECHO_N "(cached) $ECHO_C" >&6
1433 ac_cv_host_alias=$host_alias
1434 test -z "$ac_cv_host_alias" &&
1435 ac_cv_host_alias=$ac_cv_build_alias
1436 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1437 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1438 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1439 { (exit 1); exit 1; }; }
1442 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1443 echo "${ECHO_T}$ac_cv_host" >&6
1445 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1446 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1447 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1450 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1451 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1452 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1453 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1454 echo $ECHO_N "(cached) $ECHO_C" >&6
1456 cat >conftest.make <<\_ACEOF
1458 @echo 'ac_maketemp="$(MAKE)"'
1460 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1461 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1462 if test -n "$ac_maketemp"; then
1463 eval ac_cv_prog_make_${ac_make}_set=yes
1465 eval ac_cv_prog_make_${ac_make}_set=no
1469 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1470 echo "$as_me:$LINENO: result: yes" >&5
1471 echo "${ECHO_T}yes" >&6
1474 echo "$as_me:$LINENO: result: no" >&5
1475 echo "${ECHO_T}no" >&6
1476 SET_MAKE="MAKE=${MAKE-make}"
1480 ac_cpp='$CPP $CPPFLAGS'
1481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1484 if test -n "$ac_tool_prefix"; then
1485 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1486 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1487 echo "$as_me:$LINENO: checking for $ac_word" >&5
1488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1489 if test "${ac_cv_prog_CC+set}" = set; then
1490 echo $ECHO_N "(cached) $ECHO_C" >&6
1492 if test -n "$CC"; then
1493 ac_cv_prog_CC="$CC" # Let the user override the test.
1495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1499 test -z "$as_dir" && as_dir=.
1500 for ac_exec_ext in '' $ac_executable_extensions; do
1501 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1502 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1512 if test -n "$CC"; then
1513 echo "$as_me:$LINENO: result: $CC" >&5
1514 echo "${ECHO_T}$CC" >&6
1516 echo "$as_me:$LINENO: result: no" >&5
1517 echo "${ECHO_T}no" >&6
1521 if test -z "$ac_cv_prog_CC"; then
1523 # Extract the first word of "gcc", so it can be a program name with args.
1524 set dummy gcc; ac_word=$2
1525 echo "$as_me:$LINENO: checking for $ac_word" >&5
1526 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1527 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1528 echo $ECHO_N "(cached) $ECHO_C" >&6
1530 if test -n "$ac_ct_CC"; then
1531 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1537 test -z "$as_dir" && as_dir=.
1538 for ac_exec_ext in '' $ac_executable_extensions; do
1539 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1540 ac_cv_prog_ac_ct_CC="gcc"
1541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1549 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1550 if test -n "$ac_ct_CC"; then
1551 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1552 echo "${ECHO_T}$ac_ct_CC" >&6
1554 echo "$as_me:$LINENO: result: no" >&5
1555 echo "${ECHO_T}no" >&6
1563 if test -z "$CC"; then
1564 if test -n "$ac_tool_prefix"; then
1565 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1566 set dummy ${ac_tool_prefix}cc; ac_word=$2
1567 echo "$as_me:$LINENO: checking for $ac_word" >&5
1568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1569 if test "${ac_cv_prog_CC+set}" = set; then
1570 echo $ECHO_N "(cached) $ECHO_C" >&6
1572 if test -n "$CC"; then
1573 ac_cv_prog_CC="$CC" # Let the user override the test.
1575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1579 test -z "$as_dir" && as_dir=.
1580 for ac_exec_ext in '' $ac_executable_extensions; do
1581 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1582 ac_cv_prog_CC="${ac_tool_prefix}cc"
1583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1592 if test -n "$CC"; then
1593 echo "$as_me:$LINENO: result: $CC" >&5
1594 echo "${ECHO_T}$CC" >&6
1596 echo "$as_me:$LINENO: result: no" >&5
1597 echo "${ECHO_T}no" >&6
1601 if test -z "$ac_cv_prog_CC"; then
1603 # Extract the first word of "cc", so it can be a program name with args.
1604 set dummy cc; ac_word=$2
1605 echo "$as_me:$LINENO: checking for $ac_word" >&5
1606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1607 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1608 echo $ECHO_N "(cached) $ECHO_C" >&6
1610 if test -n "$ac_ct_CC"; then
1611 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1617 test -z "$as_dir" && as_dir=.
1618 for ac_exec_ext in '' $ac_executable_extensions; do
1619 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1620 ac_cv_prog_ac_ct_CC="cc"
1621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1629 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1630 if test -n "$ac_ct_CC"; then
1631 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1632 echo "${ECHO_T}$ac_ct_CC" >&6
1634 echo "$as_me:$LINENO: result: no" >&5
1635 echo "${ECHO_T}no" >&6
1644 if test -z "$CC"; then
1645 # Extract the first word of "cc", so it can be a program name with args.
1646 set dummy cc; ac_word=$2
1647 echo "$as_me:$LINENO: checking for $ac_word" >&5
1648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1649 if test "${ac_cv_prog_CC+set}" = set; then
1650 echo $ECHO_N "(cached) $ECHO_C" >&6
1652 if test -n "$CC"; then
1653 ac_cv_prog_CC="$CC" # Let the user override the test.
1656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1660 test -z "$as_dir" && as_dir=.
1661 for ac_exec_ext in '' $ac_executable_extensions; do
1662 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1663 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1664 ac_prog_rejected=yes
1668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1674 if test $ac_prog_rejected = yes; then
1675 # We found a bogon in the path, so make sure we never use it.
1676 set dummy $ac_cv_prog_CC
1678 if test $# != 0; then
1679 # We chose a different compiler from the bogus one.
1680 # However, it has the same basename, so the bogon will be chosen
1681 # first if we set CC to just the basename; use the full file name.
1683 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1689 if test -n "$CC"; then
1690 echo "$as_me:$LINENO: result: $CC" >&5
1691 echo "${ECHO_T}$CC" >&6
1693 echo "$as_me:$LINENO: result: no" >&5
1694 echo "${ECHO_T}no" >&6
1698 if test -z "$CC"; then
1699 if test -n "$ac_tool_prefix"; then
1702 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1703 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1704 echo "$as_me:$LINENO: checking for $ac_word" >&5
1705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1706 if test "${ac_cv_prog_CC+set}" = set; then
1707 echo $ECHO_N "(cached) $ECHO_C" >&6
1709 if test -n "$CC"; then
1710 ac_cv_prog_CC="$CC" # Let the user override the test.
1712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1716 test -z "$as_dir" && as_dir=.
1717 for ac_exec_ext in '' $ac_executable_extensions; do
1718 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1719 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1729 if test -n "$CC"; then
1730 echo "$as_me:$LINENO: result: $CC" >&5
1731 echo "${ECHO_T}$CC" >&6
1733 echo "$as_me:$LINENO: result: no" >&5
1734 echo "${ECHO_T}no" >&6
1737 test -n "$CC" && break
1740 if test -z "$CC"; then
1744 # Extract the first word of "$ac_prog", so it can be a program name with args.
1745 set dummy $ac_prog; ac_word=$2
1746 echo "$as_me:$LINENO: checking for $ac_word" >&5
1747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1748 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1749 echo $ECHO_N "(cached) $ECHO_C" >&6
1751 if test -n "$ac_ct_CC"; then
1752 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1758 test -z "$as_dir" && as_dir=.
1759 for ac_exec_ext in '' $ac_executable_extensions; do
1760 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1761 ac_cv_prog_ac_ct_CC="$ac_prog"
1762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1770 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1771 if test -n "$ac_ct_CC"; then
1772 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1773 echo "${ECHO_T}$ac_ct_CC" >&6
1775 echo "$as_me:$LINENO: result: no" >&5
1776 echo "${ECHO_T}no" >&6
1779 test -n "$ac_ct_CC" && break
1788 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1789 See \`config.log' for more details." >&5
1790 echo "$as_me: error: no acceptable C compiler found in \$PATH
1791 See \`config.log' for more details." >&2;}
1792 { (exit 1); exit 1; }; }
1794 # Provide some information about the compiler.
1795 echo "$as_me:$LINENO:" \
1796 "checking for C compiler version" >&5
1797 ac_compiler=`set X $ac_compile; echo $2`
1798 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1799 (eval $ac_compiler --version </dev/null >&5) 2>&5
1801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1802 (exit $ac_status); }
1803 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1804 (eval $ac_compiler -v </dev/null >&5) 2>&5
1806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1807 (exit $ac_status); }
1808 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1809 (eval $ac_compiler -V </dev/null >&5) 2>&5
1811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1812 (exit $ac_status); }
1814 cat >conftest.$ac_ext <<_ACEOF
1815 #line $LINENO "configure"
1818 cat confdefs.h >>conftest.$ac_ext
1819 cat >>conftest.$ac_ext <<_ACEOF
1820 /* end confdefs.h. */
1830 ac_clean_files_save=$ac_clean_files
1831 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1832 # Try to create an executable without -o first, disregard a.out.
1833 # It will help us diagnose broken compilers, and finding out an intuition
1835 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1836 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1837 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1838 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1839 (eval $ac_link_default) 2>&5
1841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1842 (exit $ac_status); }; then
1843 # Find the output, starting from the most likely. This scheme is
1844 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1847 # Be careful to initialize this variable, since it used to be cached.
1848 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1850 # b.out is created by i960 compilers.
1851 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1853 test -f "$ac_file" || continue
1855 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1858 # This is the source file.
1861 # We found the default executable, but exeext='' is most
1865 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1866 # FIXME: I believe we export ac_cv_exeext for Libtool,
1867 # but it would be cool to find out if it's true. Does anybody
1868 # maintain Libtool? --akim.
1876 echo "$as_me: failed program was:" >&5
1877 sed 's/^/| /' conftest.$ac_ext >&5
1879 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1880 See \`config.log' for more details." >&5
1881 echo "$as_me: error: C compiler cannot create executables
1882 See \`config.log' for more details." >&2;}
1883 { (exit 77); exit 77; }; }
1886 ac_exeext=$ac_cv_exeext
1887 echo "$as_me:$LINENO: result: $ac_file" >&5
1888 echo "${ECHO_T}$ac_file" >&6
1890 # Check the compiler produces executables we can run. If not, either
1891 # the compiler is broken, or we cross compile.
1892 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1893 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1894 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1895 # If not cross compiling, check that we can run a simple program.
1896 if test "$cross_compiling" != yes; then
1897 if { ac_try='./$ac_file'
1898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1902 (exit $ac_status); }; }; then
1905 if test "$cross_compiling" = maybe; then
1908 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1909 If you meant to cross compile, use \`--host'.
1910 See \`config.log' for more details." >&5
1911 echo "$as_me: error: cannot run C compiled programs.
1912 If you meant to cross compile, use \`--host'.
1913 See \`config.log' for more details." >&2;}
1914 { (exit 1); exit 1; }; }
1918 echo "$as_me:$LINENO: result: yes" >&5
1919 echo "${ECHO_T}yes" >&6
1921 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1922 ac_clean_files=$ac_clean_files_save
1923 # Check the compiler produces executables we can run. If not, either
1924 # the compiler is broken, or we cross compile.
1925 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1926 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1927 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1928 echo "${ECHO_T}$cross_compiling" >&6
1930 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1931 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1933 (eval $ac_link) 2>&5
1935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1936 (exit $ac_status); }; then
1937 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1938 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1939 # work properly (i.e., refer to `conftest.exe'), while it won't with
1941 for ac_file in conftest.exe conftest conftest.*; do
1942 test -f "$ac_file" || continue
1944 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1945 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1952 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1953 See \`config.log' for more details." >&5
1954 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1955 See \`config.log' for more details." >&2;}
1956 { (exit 1); exit 1; }; }
1959 rm -f conftest$ac_cv_exeext
1960 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1961 echo "${ECHO_T}$ac_cv_exeext" >&6
1963 rm -f conftest.$ac_ext
1964 EXEEXT=$ac_cv_exeext
1966 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1967 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1968 if test "${ac_cv_objext+set}" = set; then
1969 echo $ECHO_N "(cached) $ECHO_C" >&6
1971 cat >conftest.$ac_ext <<_ACEOF
1972 #line $LINENO "configure"
1975 cat confdefs.h >>conftest.$ac_ext
1976 cat >>conftest.$ac_ext <<_ACEOF
1977 /* end confdefs.h. */
1987 rm -f conftest.o conftest.obj
1988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1989 (eval $ac_compile) 2>&5
1991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1992 (exit $ac_status); }; then
1993 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1995 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1996 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2001 echo "$as_me: failed program was:" >&5
2002 sed 's/^/| /' conftest.$ac_ext >&5
2004 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2005 See \`config.log' for more details." >&5
2006 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2007 See \`config.log' for more details." >&2;}
2008 { (exit 1); exit 1; }; }
2011 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2013 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2014 echo "${ECHO_T}$ac_cv_objext" >&6
2015 OBJEXT=$ac_cv_objext
2017 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2018 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2019 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2020 echo $ECHO_N "(cached) $ECHO_C" >&6
2022 cat >conftest.$ac_ext <<_ACEOF
2023 #line $LINENO "configure"
2026 cat confdefs.h >>conftest.$ac_ext
2027 cat >>conftest.$ac_ext <<_ACEOF
2028 /* end confdefs.h. */
2041 rm -f conftest.$ac_objext
2042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2043 (eval $ac_compile) 2>&5
2045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2046 (exit $ac_status); } &&
2047 { ac_try='test -s conftest.$ac_objext'
2048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2052 (exit $ac_status); }; }; then
2055 echo "$as_me: failed program was:" >&5
2056 sed 's/^/| /' conftest.$ac_ext >&5
2060 rm -f conftest.$ac_objext conftest.$ac_ext
2061 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2064 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2065 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2066 GCC=`test $ac_compiler_gnu = yes && echo yes`
2067 ac_test_CFLAGS=${CFLAGS+set}
2068 ac_save_CFLAGS=$CFLAGS
2070 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2071 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2072 if test "${ac_cv_prog_cc_g+set}" = set; then
2073 echo $ECHO_N "(cached) $ECHO_C" >&6
2075 cat >conftest.$ac_ext <<_ACEOF
2076 #line $LINENO "configure"
2079 cat confdefs.h >>conftest.$ac_ext
2080 cat >>conftest.$ac_ext <<_ACEOF
2081 /* end confdefs.h. */
2091 rm -f conftest.$ac_objext
2092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2093 (eval $ac_compile) 2>&5
2095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2096 (exit $ac_status); } &&
2097 { ac_try='test -s conftest.$ac_objext'
2098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2102 (exit $ac_status); }; }; then
2105 echo "$as_me: failed program was:" >&5
2106 sed 's/^/| /' conftest.$ac_ext >&5
2110 rm -f conftest.$ac_objext conftest.$ac_ext
2112 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2113 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2114 if test "$ac_test_CFLAGS" = set; then
2115 CFLAGS=$ac_save_CFLAGS
2116 elif test $ac_cv_prog_cc_g = yes; then
2117 if test "$GCC" = yes; then
2123 if test "$GCC" = yes; then
2129 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2130 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2131 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2132 echo $ECHO_N "(cached) $ECHO_C" >&6
2134 ac_cv_prog_cc_stdc=no
2136 cat >conftest.$ac_ext <<_ACEOF
2137 #line $LINENO "configure"
2140 cat confdefs.h >>conftest.$ac_ext
2141 cat >>conftest.$ac_ext <<_ACEOF
2142 /* end confdefs.h. */
2145 #include <sys/types.h>
2146 #include <sys/stat.h>
2147 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2148 struct buf { int x; };
2149 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2150 static char *e (p, i)
2156 static char *f (char * (*g) (char **, int), char **p, ...)
2161 s = g (p, va_arg (v,int));
2165 int test (int i, double x);
2166 struct s1 {int (*f) (int a);};
2167 struct s2 {int (*f) (double a);};
2168 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2174 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2179 # Don't try gcc -ansi; that turns off useful extensions and
2180 # breaks some systems' header files.
2181 # AIX -qlanglvl=ansi
2182 # Ultrix and OSF/1 -std1
2183 # HP-UX 10.20 and later -Ae
2184 # HP-UX older versions -Aa -D_HPUX_SOURCE
2185 # SVR4 -Xc -D__EXTENSIONS__
2186 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2188 CC="$ac_save_CC $ac_arg"
2189 rm -f conftest.$ac_objext
2190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2191 (eval $ac_compile) 2>&5
2193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2194 (exit $ac_status); } &&
2195 { ac_try='test -s conftest.$ac_objext'
2196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2200 (exit $ac_status); }; }; then
2201 ac_cv_prog_cc_stdc=$ac_arg
2204 echo "$as_me: failed program was:" >&5
2205 sed 's/^/| /' conftest.$ac_ext >&5
2208 rm -f conftest.$ac_objext
2210 rm -f conftest.$ac_ext conftest.$ac_objext
2215 case "x$ac_cv_prog_cc_stdc" in
2217 echo "$as_me:$LINENO: result: none needed" >&5
2218 echo "${ECHO_T}none needed" >&6 ;;
2220 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2221 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2222 CC="$CC $ac_cv_prog_cc_stdc" ;;
2225 # Some people use a C++ compiler to compile C. Since we use `exit',
2226 # in C++ we need to declare it. In case someone uses the same compiler
2227 # for both compiling C and C++ we need to have the C++ compiler decide
2228 # the declaration of exit, since it's the most demanding environment.
2229 cat >conftest.$ac_ext <<_ACEOF
2234 rm -f conftest.$ac_objext
2235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2236 (eval $ac_compile) 2>&5
2238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2239 (exit $ac_status); } &&
2240 { ac_try='test -s conftest.$ac_objext'
2241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2245 (exit $ac_status); }; }; then
2246 for ac_declaration in \
2248 'extern "C" void std::exit (int) throw (); using std::exit;' \
2249 'extern "C" void std::exit (int); using std::exit;' \
2250 'extern "C" void exit (int) throw ();' \
2251 'extern "C" void exit (int);' \
2254 cat >conftest.$ac_ext <<_ACEOF
2255 #line $LINENO "configure"
2258 cat confdefs.h >>conftest.$ac_ext
2259 cat >>conftest.$ac_ext <<_ACEOF
2260 /* end confdefs.h. */
2271 rm -f conftest.$ac_objext
2272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2273 (eval $ac_compile) 2>&5
2275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2276 (exit $ac_status); } &&
2277 { ac_try='test -s conftest.$ac_objext'
2278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2282 (exit $ac_status); }; }; then
2285 echo "$as_me: failed program was:" >&5
2286 sed 's/^/| /' conftest.$ac_ext >&5
2290 rm -f conftest.$ac_objext conftest.$ac_ext
2291 cat >conftest.$ac_ext <<_ACEOF
2292 #line $LINENO "configure"
2295 cat confdefs.h >>conftest.$ac_ext
2296 cat >>conftest.$ac_ext <<_ACEOF
2297 /* end confdefs.h. */
2307 rm -f conftest.$ac_objext
2308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2309 (eval $ac_compile) 2>&5
2311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2312 (exit $ac_status); } &&
2313 { ac_try='test -s conftest.$ac_objext'
2314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2318 (exit $ac_status); }; }; then
2321 echo "$as_me: failed program was:" >&5
2322 sed 's/^/| /' conftest.$ac_ext >&5
2325 rm -f conftest.$ac_objext conftest.$ac_ext
2328 if test -n "$ac_declaration"; then
2329 echo '#ifdef __cplusplus' >>confdefs.h
2330 echo $ac_declaration >>confdefs.h
2331 echo '#endif' >>confdefs.h
2335 echo "$as_me: failed program was:" >&5
2336 sed 's/^/| /' conftest.$ac_ext >&5
2339 rm -f conftest.$ac_objext conftest.$ac_ext
2341 ac_cpp='$CPP $CPPFLAGS'
2342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2347 ac_cpp='$CPP $CPPFLAGS'
2348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2351 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2352 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2353 # On Suns, sometimes $CPP names a directory.
2354 if test -n "$CPP" && test -d "$CPP"; then
2357 if test -z "$CPP"; then
2358 if test "${ac_cv_prog_CPP+set}" = set; then
2359 echo $ECHO_N "(cached) $ECHO_C" >&6
2361 # Double quotes because CPP needs to be expanded
2362 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2365 for ac_c_preproc_warn_flag in '' yes
2367 # Use a header file that comes with gcc, so configuring glibc
2368 # with a fresh cross-compiler works.
2369 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2370 # <limits.h> exists even on freestanding compilers.
2371 # On the NeXT, cc -E runs the code through the compiler's parser,
2372 # not just through cpp. "Syntax error" is here to catch this case.
2373 cat >conftest.$ac_ext <<_ACEOF
2374 #line $LINENO "configure"
2377 cat confdefs.h >>conftest.$ac_ext
2378 cat >>conftest.$ac_ext <<_ACEOF
2379 /* end confdefs.h. */
2381 # include <limits.h>
2383 # include <assert.h>
2387 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2388 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2390 grep -v '^ *+' conftest.er1 >conftest.err
2392 cat conftest.err >&5
2393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2394 (exit $ac_status); } >/dev/null; then
2395 if test -s conftest.err; then
2396 ac_cpp_err=$ac_c_preproc_warn_flag
2403 if test -z "$ac_cpp_err"; then
2406 echo "$as_me: failed program was:" >&5
2407 sed 's/^/| /' conftest.$ac_ext >&5
2409 # Broken: fails on valid input.
2412 rm -f conftest.err conftest.$ac_ext
2414 # OK, works on sane cases. Now check whether non-existent headers
2415 # can be detected and how.
2416 cat >conftest.$ac_ext <<_ACEOF
2417 #line $LINENO "configure"
2420 cat confdefs.h >>conftest.$ac_ext
2421 cat >>conftest.$ac_ext <<_ACEOF
2422 /* end confdefs.h. */
2423 #include <ac_nonexistent.h>
2425 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2426 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2428 grep -v '^ *+' conftest.er1 >conftest.err
2430 cat conftest.err >&5
2431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2432 (exit $ac_status); } >/dev/null; then
2433 if test -s conftest.err; then
2434 ac_cpp_err=$ac_c_preproc_warn_flag
2441 if test -z "$ac_cpp_err"; then
2442 # Broken: success on invalid input.
2445 echo "$as_me: failed program was:" >&5
2446 sed 's/^/| /' conftest.$ac_ext >&5
2448 # Passes both tests.
2452 rm -f conftest.err conftest.$ac_ext
2455 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2456 rm -f conftest.err conftest.$ac_ext
2457 if $ac_preproc_ok; then
2469 echo "$as_me:$LINENO: result: $CPP" >&5
2470 echo "${ECHO_T}$CPP" >&6
2472 for ac_c_preproc_warn_flag in '' yes
2474 # Use a header file that comes with gcc, so configuring glibc
2475 # with a fresh cross-compiler works.
2476 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2477 # <limits.h> exists even on freestanding compilers.
2478 # On the NeXT, cc -E runs the code through the compiler's parser,
2479 # not just through cpp. "Syntax error" is here to catch this case.
2480 cat >conftest.$ac_ext <<_ACEOF
2481 #line $LINENO "configure"
2484 cat confdefs.h >>conftest.$ac_ext
2485 cat >>conftest.$ac_ext <<_ACEOF
2486 /* end confdefs.h. */
2488 # include <limits.h>
2490 # include <assert.h>
2494 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2495 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2497 grep -v '^ *+' conftest.er1 >conftest.err
2499 cat conftest.err >&5
2500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2501 (exit $ac_status); } >/dev/null; then
2502 if test -s conftest.err; then
2503 ac_cpp_err=$ac_c_preproc_warn_flag
2510 if test -z "$ac_cpp_err"; then
2513 echo "$as_me: failed program was:" >&5
2514 sed 's/^/| /' conftest.$ac_ext >&5
2516 # Broken: fails on valid input.
2519 rm -f conftest.err conftest.$ac_ext
2521 # OK, works on sane cases. Now check whether non-existent headers
2522 # can be detected and how.
2523 cat >conftest.$ac_ext <<_ACEOF
2524 #line $LINENO "configure"
2527 cat confdefs.h >>conftest.$ac_ext
2528 cat >>conftest.$ac_ext <<_ACEOF
2529 /* end confdefs.h. */
2530 #include <ac_nonexistent.h>
2532 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2533 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2535 grep -v '^ *+' conftest.er1 >conftest.err
2537 cat conftest.err >&5
2538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2539 (exit $ac_status); } >/dev/null; then
2540 if test -s conftest.err; then
2541 ac_cpp_err=$ac_c_preproc_warn_flag
2548 if test -z "$ac_cpp_err"; then
2549 # Broken: success on invalid input.
2552 echo "$as_me: failed program was:" >&5
2553 sed 's/^/| /' conftest.$ac_ext >&5
2555 # Passes both tests.
2559 rm -f conftest.err conftest.$ac_ext
2562 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2563 rm -f conftest.err conftest.$ac_ext
2564 if $ac_preproc_ok; then
2567 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2568 See \`config.log' for more details." >&5
2569 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2570 See \`config.log' for more details." >&2;}
2571 { (exit 1); exit 1; }; }
2575 ac_cpp='$CPP $CPPFLAGS'
2576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2581 echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
2582 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6
2583 if test "${wine_cv_toolsdir+set}" = set; then
2584 echo $ECHO_N "(cached) $ECHO_C" >&6
2586 if test -z "$with_wine_tools"; then
2587 if test "$cross_compiling" = "yes"; then
2588 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
2589 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
2590 { (exit 1); exit 1; }; }
2592 wine_cv_toolsdir="\$(TOPOBJDIR)"
2594 elif test -d "$with_wine_tools/tools/winebuild"; then
2595 case $with_wine_tools in
2596 /*) wine_cv_toolsdir="$with_wine_tools" ;;
2597 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
2600 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
2601 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
2602 { (exit 1); exit 1; }; }
2605 echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
2606 echo "${ECHO_T}$wine_cv_toolsdir" >&6
2607 TOOLSDIR=$wine_cv_toolsdir
2612 echo "$as_me:$LINENO: checking for X" >&5
2613 echo $ECHO_N "checking for X... $ECHO_C" >&6
2616 # Check whether --with-x or --without-x was given.
2617 if test "${with_x+set}" = set; then
2621 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
2622 if test "x$with_x" = xno; then
2623 # The user explicitly disabled X.
2626 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
2627 # Both variables are already set.
2630 if test "${ac_cv_have_x+set}" = set; then
2631 echo $ECHO_N "(cached) $ECHO_C" >&6
2633 # One or both of the vars are not set, and there is no cached value.
2634 ac_x_includes=no ac_x_libraries=no
2636 if mkdir conftest.dir; then
2638 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
2639 cat >Imakefile <<'_ACEOF'
2641 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
2643 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
2644 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2645 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
2646 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
2647 for ac_extension in a so sl; do
2648 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
2649 test -f $ac_im_libdir/libX11.$ac_extension; then
2650 ac_im_usrlibdir=$ac_im_libdir; break
2653 # Screen out bogus values from the imake configuration. They are
2654 # bogus both because they are the default anyway, and because
2655 # using them would break gcc on systems where it needs fixed includes.
2656 case $ac_im_incroot in
2658 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
2660 case $ac_im_usrlibdir in
2662 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
2669 # Standard set of common directories for X headers.
2670 # Check X11 before X11Rn because it is often a symlink to the current release.
2682 /usr/local/X11/include
2683 /usr/local/X11R6/include
2684 /usr/local/X11R5/include
2685 /usr/local/X11R4/include
2687 /usr/local/include/X11
2688 /usr/local/include/X11R6
2689 /usr/local/include/X11R5
2690 /usr/local/include/X11R4
2694 /usr/XFree86/include/X11
2698 /usr/unsupported/include
2700 /usr/local/x11r5/include
2701 /usr/lpp/Xamples/include
2703 /usr/openwin/include
2704 /usr/openwin/share/include'
2706 if test "$ac_x_includes" = no; then
2707 # Guess where to find include files, by looking for Intrinsic.h.
2708 # First, try using that file with no special directory specified.
2709 cat >conftest.$ac_ext <<_ACEOF
2710 #line $LINENO "configure"
2713 cat confdefs.h >>conftest.$ac_ext
2714 cat >>conftest.$ac_ext <<_ACEOF
2715 /* end confdefs.h. */
2716 #include <X11/Intrinsic.h>
2718 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2719 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2721 grep -v '^ *+' conftest.er1 >conftest.err
2723 cat conftest.err >&5
2724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2725 (exit $ac_status); } >/dev/null; then
2726 if test -s conftest.err; then
2727 ac_cpp_err=$ac_c_preproc_warn_flag
2734 if test -z "$ac_cpp_err"; then
2735 # We can compile using X headers with no special include directory.
2738 echo "$as_me: failed program was:" >&5
2739 sed 's/^/| /' conftest.$ac_ext >&5
2741 for ac_dir in $ac_x_header_dirs; do
2742 if test -r "$ac_dir/X11/Intrinsic.h"; then
2743 ac_x_includes=$ac_dir
2748 rm -f conftest.err conftest.$ac_ext
2749 fi # $ac_x_includes = no
2751 if test "$ac_x_libraries" = no; then
2752 # Check for the libraries.
2753 # See if we find them without any special options.
2754 # Don't add to $LIBS permanently.
2757 cat >conftest.$ac_ext <<_ACEOF
2758 #line $LINENO "configure"
2761 cat confdefs.h >>conftest.$ac_ext
2762 cat >>conftest.$ac_ext <<_ACEOF
2763 /* end confdefs.h. */
2764 #include <X11/Intrinsic.h>
2773 rm -f conftest.$ac_objext conftest$ac_exeext
2774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2775 (eval $ac_link) 2>&5
2777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2778 (exit $ac_status); } &&
2779 { ac_try='test -s conftest$ac_exeext'
2780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2784 (exit $ac_status); }; }; then
2786 # We can link X programs with no special library path.
2789 echo "$as_me: failed program was:" >&5
2790 sed 's/^/| /' conftest.$ac_ext >&5
2793 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
2795 # Don't even attempt the hair of trying to link an X program!
2796 for ac_extension in a so sl; do
2797 if test -r $ac_dir/libXt.$ac_extension; then
2798 ac_x_libraries=$ac_dir
2804 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2805 fi # $ac_x_libraries = no
2807 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
2808 # Didn't find X anywhere. Cache the known absence of X.
2809 ac_cv_have_x="have_x=no"
2811 # Record where we found X for the cache.
2812 ac_cv_have_x="have_x=yes \
2813 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
2818 eval "$ac_cv_have_x"
2821 if test "$have_x" != yes; then
2822 echo "$as_me:$LINENO: result: $have_x" >&5
2823 echo "${ECHO_T}$have_x" >&6
2826 # If each of the values was on the command line, it overrides each guess.
2827 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
2828 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
2829 # Update the cache value to reflect the command line values.
2830 ac_cv_have_x="have_x=yes \
2831 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
2832 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
2833 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
2836 if test "$no_x" = yes; then
2837 # Not all programs may use this symbol, but it does not hurt to define it.
2839 cat >>confdefs.h <<\_ACEOF
2840 #define X_DISPLAY_MISSING 1
2843 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
2845 if test -n "$x_includes"; then
2846 X_CFLAGS="$X_CFLAGS -I$x_includes"
2849 # It would also be nice to do this for all -L options, not just this one.
2850 if test -n "$x_libraries"; then
2851 X_LIBS="$X_LIBS -L$x_libraries"
2852 # For Solaris; some versions of Sun CC require a space after -R and
2853 # others require no space. Words are not sufficient . . . .
2854 case `(uname -sr) 2>/dev/null` in
2856 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
2857 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
2858 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
2859 cat >conftest.$ac_ext <<_ACEOF
2860 #line $LINENO "configure"
2863 cat confdefs.h >>conftest.$ac_ext
2864 cat >>conftest.$ac_ext <<_ACEOF
2865 /* end confdefs.h. */
2875 rm -f conftest.$ac_objext conftest$ac_exeext
2876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2877 (eval $ac_link) 2>&5
2879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2880 (exit $ac_status); } &&
2881 { ac_try='test -s conftest$ac_exeext'
2882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2886 (exit $ac_status); }; }; then
2889 echo "$as_me: failed program was:" >&5
2890 sed 's/^/| /' conftest.$ac_ext >&5
2894 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2895 if test $ac_R_nospace = yes; then
2896 echo "$as_me:$LINENO: result: no" >&5
2897 echo "${ECHO_T}no" >&6
2898 X_LIBS="$X_LIBS -R$x_libraries"
2900 LIBS="$ac_xsave_LIBS -R $x_libraries"
2901 cat >conftest.$ac_ext <<_ACEOF
2902 #line $LINENO "configure"
2905 cat confdefs.h >>conftest.$ac_ext
2906 cat >>conftest.$ac_ext <<_ACEOF
2907 /* end confdefs.h. */
2917 rm -f conftest.$ac_objext conftest$ac_exeext
2918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2919 (eval $ac_link) 2>&5
2921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2922 (exit $ac_status); } &&
2923 { ac_try='test -s conftest$ac_exeext'
2924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2928 (exit $ac_status); }; }; then
2931 echo "$as_me: failed program was:" >&5
2932 sed 's/^/| /' conftest.$ac_ext >&5
2936 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2937 if test $ac_R_space = yes; then
2938 echo "$as_me:$LINENO: result: yes" >&5
2939 echo "${ECHO_T}yes" >&6
2940 X_LIBS="$X_LIBS -R $x_libraries"
2942 echo "$as_me:$LINENO: result: neither works" >&5
2943 echo "${ECHO_T}neither works" >&6
2950 # Check for system-dependent libraries X programs must link with.
2951 # Do this before checking for the system-independent R6 libraries
2952 # (-lICE), since we may need -lsocket or whatever for X linking.
2954 if test "$ISC" = yes; then
2955 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
2957 # Martyn Johnson says this is needed for Ultrix, if the X
2958 # libraries were built with DECnet support. And Karl Berry says
2959 # the Alpha needs dnet_stub (dnet does not exist).
2960 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
2961 cat >conftest.$ac_ext <<_ACEOF
2962 #line $LINENO "configure"
2965 cat confdefs.h >>conftest.$ac_ext
2966 cat >>conftest.$ac_ext <<_ACEOF
2967 /* end confdefs.h. */
2969 /* Override any gcc2 internal prototype to avoid an error. */
2973 /* We use char because int might match the return type of a gcc2
2974 builtin and then its argument prototype would still apply. */
2975 char XOpenDisplay ();
2984 rm -f conftest.$ac_objext conftest$ac_exeext
2985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2986 (eval $ac_link) 2>&5
2988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2989 (exit $ac_status); } &&
2990 { ac_try='test -s conftest$ac_exeext'
2991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2995 (exit $ac_status); }; }; then
2998 echo "$as_me: failed program was:" >&5
2999 sed 's/^/| /' conftest.$ac_ext >&5
3001 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
3002 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
3003 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
3004 echo $ECHO_N "(cached) $ECHO_C" >&6
3006 ac_check_lib_save_LIBS=$LIBS
3008 cat >conftest.$ac_ext <<_ACEOF
3009 #line $LINENO "configure"
3012 cat confdefs.h >>conftest.$ac_ext
3013 cat >>conftest.$ac_ext <<_ACEOF
3014 /* end confdefs.h. */
3016 /* Override any gcc2 internal prototype to avoid an error. */
3020 /* We use char because int might match the return type of a gcc2
3021 builtin and then its argument prototype would still apply. */
3031 rm -f conftest.$ac_objext conftest$ac_exeext
3032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3033 (eval $ac_link) 2>&5
3035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3036 (exit $ac_status); } &&
3037 { ac_try='test -s conftest$ac_exeext'
3038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3042 (exit $ac_status); }; }; then
3043 ac_cv_lib_dnet_dnet_ntoa=yes
3045 echo "$as_me: failed program was:" >&5
3046 sed 's/^/| /' conftest.$ac_ext >&5
3048 ac_cv_lib_dnet_dnet_ntoa=no
3050 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3051 LIBS=$ac_check_lib_save_LIBS
3053 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
3054 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
3055 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
3056 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
3059 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
3060 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
3061 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
3062 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
3063 echo $ECHO_N "(cached) $ECHO_C" >&6
3065 ac_check_lib_save_LIBS=$LIBS
3066 LIBS="-ldnet_stub $LIBS"
3067 cat >conftest.$ac_ext <<_ACEOF
3068 #line $LINENO "configure"
3071 cat confdefs.h >>conftest.$ac_ext
3072 cat >>conftest.$ac_ext <<_ACEOF
3073 /* end confdefs.h. */
3075 /* Override any gcc2 internal prototype to avoid an error. */
3079 /* We use char because int might match the return type of a gcc2
3080 builtin and then its argument prototype would still apply. */
3090 rm -f conftest.$ac_objext conftest$ac_exeext
3091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3092 (eval $ac_link) 2>&5
3094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3095 (exit $ac_status); } &&
3096 { ac_try='test -s conftest$ac_exeext'
3097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3101 (exit $ac_status); }; }; then
3102 ac_cv_lib_dnet_stub_dnet_ntoa=yes
3104 echo "$as_me: failed program was:" >&5
3105 sed 's/^/| /' conftest.$ac_ext >&5
3107 ac_cv_lib_dnet_stub_dnet_ntoa=no
3109 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3110 LIBS=$ac_check_lib_save_LIBS
3112 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
3113 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
3114 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
3115 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
3120 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3121 LIBS="$ac_xsave_LIBS"
3123 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
3124 # to get the SysV transport functions.
3125 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
3127 # The nsl library prevents programs from opening the X display
3128 # on Irix 5.2, according to T.E. Dickey.
3129 # The functions gethostbyname, getservbyname, and inet_addr are
3130 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
3131 echo "$as_me:$LINENO: checking for gethostbyname" >&5
3132 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
3133 if test "${ac_cv_func_gethostbyname+set}" = set; then
3134 echo $ECHO_N "(cached) $ECHO_C" >&6
3136 cat >conftest.$ac_ext <<_ACEOF
3137 #line $LINENO "configure"
3140 cat confdefs.h >>conftest.$ac_ext
3141 cat >>conftest.$ac_ext <<_ACEOF
3142 /* end confdefs.h. */
3143 /* System header to define __stub macros and hopefully few prototypes,
3144 which can conflict with char gethostbyname (); below.
3145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3146 <limits.h> exists even on freestanding compilers. */
3148 # include <limits.h>
3150 # include <assert.h>
3152 /* Override any gcc2 internal prototype to avoid an error. */
3157 /* We use char because int might match the return type of a gcc2
3158 builtin and then its argument prototype would still apply. */
3159 char gethostbyname ();
3160 /* The GNU C library defines this for functions which it implements
3161 to always fail with ENOSYS. Some functions are actually named
3162 something starting with __ and the normal name is an alias. */
3163 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3166 char (*f) () = gethostbyname;
3175 return f != gethostbyname;
3180 rm -f conftest.$ac_objext conftest$ac_exeext
3181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3182 (eval $ac_link) 2>&5
3184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3185 (exit $ac_status); } &&
3186 { ac_try='test -s conftest$ac_exeext'
3187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3191 (exit $ac_status); }; }; then
3192 ac_cv_func_gethostbyname=yes
3194 echo "$as_me: failed program was:" >&5
3195 sed 's/^/| /' conftest.$ac_ext >&5
3197 ac_cv_func_gethostbyname=no
3199 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3201 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3202 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3204 if test $ac_cv_func_gethostbyname = no; then
3205 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3206 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3207 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3208 echo $ECHO_N "(cached) $ECHO_C" >&6
3210 ac_check_lib_save_LIBS=$LIBS
3212 cat >conftest.$ac_ext <<_ACEOF
3213 #line $LINENO "configure"
3216 cat confdefs.h >>conftest.$ac_ext
3217 cat >>conftest.$ac_ext <<_ACEOF
3218 /* end confdefs.h. */
3220 /* Override any gcc2 internal prototype to avoid an error. */
3224 /* We use char because int might match the return type of a gcc2
3225 builtin and then its argument prototype would still apply. */
3226 char gethostbyname ();
3235 rm -f conftest.$ac_objext conftest$ac_exeext
3236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3237 (eval $ac_link) 2>&5
3239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3240 (exit $ac_status); } &&
3241 { ac_try='test -s conftest$ac_exeext'
3242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3246 (exit $ac_status); }; }; then
3247 ac_cv_lib_nsl_gethostbyname=yes
3249 echo "$as_me: failed program was:" >&5
3250 sed 's/^/| /' conftest.$ac_ext >&5
3252 ac_cv_lib_nsl_gethostbyname=no
3254 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3255 LIBS=$ac_check_lib_save_LIBS
3257 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3258 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3259 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3260 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
3263 if test $ac_cv_lib_nsl_gethostbyname = no; then
3264 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3265 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3266 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3267 echo $ECHO_N "(cached) $ECHO_C" >&6
3269 ac_check_lib_save_LIBS=$LIBS
3271 cat >conftest.$ac_ext <<_ACEOF
3272 #line $LINENO "configure"
3275 cat confdefs.h >>conftest.$ac_ext
3276 cat >>conftest.$ac_ext <<_ACEOF
3277 /* end confdefs.h. */
3279 /* Override any gcc2 internal prototype to avoid an error. */
3283 /* We use char because int might match the return type of a gcc2
3284 builtin and then its argument prototype would still apply. */
3285 char gethostbyname ();
3294 rm -f conftest.$ac_objext conftest$ac_exeext
3295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3296 (eval $ac_link) 2>&5
3298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3299 (exit $ac_status); } &&
3300 { ac_try='test -s conftest$ac_exeext'
3301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3305 (exit $ac_status); }; }; then
3306 ac_cv_lib_bsd_gethostbyname=yes
3308 echo "$as_me: failed program was:" >&5
3309 sed 's/^/| /' conftest.$ac_ext >&5
3311 ac_cv_lib_bsd_gethostbyname=no
3313 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3314 LIBS=$ac_check_lib_save_LIBS
3316 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3317 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3318 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3319 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
3325 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3326 # socket/setsockopt and other routines are undefined under SCO ODT
3327 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3328 # on later versions), says Simon Leinen: it contains gethostby*
3329 # variants that don't use the name server (or something). -lsocket
3330 # must be given before -lnsl if both are needed. We assume that
3331 # if connect needs -lnsl, so does gethostbyname.
3332 echo "$as_me:$LINENO: checking for connect" >&5
3333 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3334 if test "${ac_cv_func_connect+set}" = set; then
3335 echo $ECHO_N "(cached) $ECHO_C" >&6
3337 cat >conftest.$ac_ext <<_ACEOF
3338 #line $LINENO "configure"
3341 cat confdefs.h >>conftest.$ac_ext
3342 cat >>conftest.$ac_ext <<_ACEOF
3343 /* end confdefs.h. */
3344 /* System header to define __stub macros and hopefully few prototypes,
3345 which can conflict with char connect (); below.
3346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3347 <limits.h> exists even on freestanding compilers. */
3349 # include <limits.h>
3351 # include <assert.h>
3353 /* Override any gcc2 internal prototype to avoid an error. */
3358 /* We use char because int might match the return type of a gcc2
3359 builtin and then its argument prototype would still apply. */
3361 /* The GNU C library defines this for functions which it implements
3362 to always fail with ENOSYS. Some functions are actually named
3363 something starting with __ and the normal name is an alias. */
3364 #if defined (__stub_connect) || defined (__stub___connect)
3367 char (*f) () = connect;
3376 return f != connect;
3381 rm -f conftest.$ac_objext conftest$ac_exeext
3382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3383 (eval $ac_link) 2>&5
3385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3386 (exit $ac_status); } &&
3387 { ac_try='test -s conftest$ac_exeext'
3388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3392 (exit $ac_status); }; }; then
3393 ac_cv_func_connect=yes
3395 echo "$as_me: failed program was:" >&5
3396 sed 's/^/| /' conftest.$ac_ext >&5
3398 ac_cv_func_connect=no
3400 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3402 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
3403 echo "${ECHO_T}$ac_cv_func_connect" >&6
3405 if test $ac_cv_func_connect = no; then
3406 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
3407 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
3408 if test "${ac_cv_lib_socket_connect+set}" = set; then
3409 echo $ECHO_N "(cached) $ECHO_C" >&6
3411 ac_check_lib_save_LIBS=$LIBS
3412 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
3413 cat >conftest.$ac_ext <<_ACEOF
3414 #line $LINENO "configure"
3417 cat confdefs.h >>conftest.$ac_ext
3418 cat >>conftest.$ac_ext <<_ACEOF
3419 /* end confdefs.h. */
3421 /* Override any gcc2 internal prototype to avoid an error. */
3425 /* We use char because int might match the return type of a gcc2
3426 builtin and then its argument prototype would still apply. */
3436 rm -f conftest.$ac_objext conftest$ac_exeext
3437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3438 (eval $ac_link) 2>&5
3440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3441 (exit $ac_status); } &&
3442 { ac_try='test -s conftest$ac_exeext'
3443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3447 (exit $ac_status); }; }; then
3448 ac_cv_lib_socket_connect=yes
3450 echo "$as_me: failed program was:" >&5
3451 sed 's/^/| /' conftest.$ac_ext >&5
3453 ac_cv_lib_socket_connect=no
3455 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3456 LIBS=$ac_check_lib_save_LIBS
3458 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
3459 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
3460 if test $ac_cv_lib_socket_connect = yes; then
3461 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
3466 # Guillermo Gomez says -lposix is necessary on A/UX.
3467 echo "$as_me:$LINENO: checking for remove" >&5
3468 echo $ECHO_N "checking for remove... $ECHO_C" >&6
3469 if test "${ac_cv_func_remove+set}" = set; then
3470 echo $ECHO_N "(cached) $ECHO_C" >&6
3472 cat >conftest.$ac_ext <<_ACEOF
3473 #line $LINENO "configure"
3476 cat confdefs.h >>conftest.$ac_ext
3477 cat >>conftest.$ac_ext <<_ACEOF
3478 /* end confdefs.h. */
3479 /* System header to define __stub macros and hopefully few prototypes,
3480 which can conflict with char remove (); below.
3481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3482 <limits.h> exists even on freestanding compilers. */
3484 # include <limits.h>
3486 # include <assert.h>
3488 /* Override any gcc2 internal prototype to avoid an error. */
3493 /* We use char because int might match the return type of a gcc2
3494 builtin and then its argument prototype would still apply. */
3496 /* The GNU C library defines this for functions which it implements
3497 to always fail with ENOSYS. Some functions are actually named
3498 something starting with __ and the normal name is an alias. */
3499 #if defined (__stub_remove) || defined (__stub___remove)
3502 char (*f) () = remove;
3516 rm -f conftest.$ac_objext conftest$ac_exeext
3517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3518 (eval $ac_link) 2>&5
3520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3521 (exit $ac_status); } &&
3522 { ac_try='test -s conftest$ac_exeext'
3523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3527 (exit $ac_status); }; }; then
3528 ac_cv_func_remove=yes
3530 echo "$as_me: failed program was:" >&5
3531 sed 's/^/| /' conftest.$ac_ext >&5
3533 ac_cv_func_remove=no
3535 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3537 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
3538 echo "${ECHO_T}$ac_cv_func_remove" >&6
3540 if test $ac_cv_func_remove = no; then
3541 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
3542 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
3543 if test "${ac_cv_lib_posix_remove+set}" = set; then
3544 echo $ECHO_N "(cached) $ECHO_C" >&6
3546 ac_check_lib_save_LIBS=$LIBS
3547 LIBS="-lposix $LIBS"
3548 cat >conftest.$ac_ext <<_ACEOF
3549 #line $LINENO "configure"
3552 cat confdefs.h >>conftest.$ac_ext
3553 cat >>conftest.$ac_ext <<_ACEOF
3554 /* end confdefs.h. */
3556 /* Override any gcc2 internal prototype to avoid an error. */
3560 /* We use char because int might match the return type of a gcc2
3561 builtin and then its argument prototype would still apply. */
3571 rm -f conftest.$ac_objext conftest$ac_exeext
3572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3573 (eval $ac_link) 2>&5
3575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3576 (exit $ac_status); } &&
3577 { ac_try='test -s conftest$ac_exeext'
3578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3582 (exit $ac_status); }; }; then
3583 ac_cv_lib_posix_remove=yes
3585 echo "$as_me: failed program was:" >&5
3586 sed 's/^/| /' conftest.$ac_ext >&5
3588 ac_cv_lib_posix_remove=no
3590 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3591 LIBS=$ac_check_lib_save_LIBS
3593 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
3594 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
3595 if test $ac_cv_lib_posix_remove = yes; then
3596 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
3601 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
3602 echo "$as_me:$LINENO: checking for shmat" >&5
3603 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
3604 if test "${ac_cv_func_shmat+set}" = set; then
3605 echo $ECHO_N "(cached) $ECHO_C" >&6
3607 cat >conftest.$ac_ext <<_ACEOF
3608 #line $LINENO "configure"
3611 cat confdefs.h >>conftest.$ac_ext
3612 cat >>conftest.$ac_ext <<_ACEOF
3613 /* end confdefs.h. */
3614 /* System header to define __stub macros and hopefully few prototypes,
3615 which can conflict with char shmat (); below.
3616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3617 <limits.h> exists even on freestanding compilers. */
3619 # include <limits.h>
3621 # include <assert.h>
3623 /* Override any gcc2 internal prototype to avoid an error. */
3628 /* We use char because int might match the return type of a gcc2
3629 builtin and then its argument prototype would still apply. */
3631 /* The GNU C library defines this for functions which it implements
3632 to always fail with ENOSYS. Some functions are actually named
3633 something starting with __ and the normal name is an alias. */
3634 #if defined (__stub_shmat) || defined (__stub___shmat)
3637 char (*f) () = shmat;
3651 rm -f conftest.$ac_objext conftest$ac_exeext
3652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3653 (eval $ac_link) 2>&5
3655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3656 (exit $ac_status); } &&
3657 { ac_try='test -s conftest$ac_exeext'
3658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3662 (exit $ac_status); }; }; then
3663 ac_cv_func_shmat=yes
3665 echo "$as_me: failed program was:" >&5
3666 sed 's/^/| /' conftest.$ac_ext >&5
3670 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3672 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
3673 echo "${ECHO_T}$ac_cv_func_shmat" >&6
3675 if test $ac_cv_func_shmat = no; then
3676 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
3677 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
3678 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
3679 echo $ECHO_N "(cached) $ECHO_C" >&6
3681 ac_check_lib_save_LIBS=$LIBS
3683 cat >conftest.$ac_ext <<_ACEOF
3684 #line $LINENO "configure"
3687 cat confdefs.h >>conftest.$ac_ext
3688 cat >>conftest.$ac_ext <<_ACEOF
3689 /* end confdefs.h. */
3691 /* Override any gcc2 internal prototype to avoid an error. */
3695 /* We use char because int might match the return type of a gcc2
3696 builtin and then its argument prototype would still apply. */
3706 rm -f conftest.$ac_objext conftest$ac_exeext
3707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3708 (eval $ac_link) 2>&5
3710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3711 (exit $ac_status); } &&
3712 { ac_try='test -s conftest$ac_exeext'
3713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3717 (exit $ac_status); }; }; then
3718 ac_cv_lib_ipc_shmat=yes
3720 echo "$as_me: failed program was:" >&5
3721 sed 's/^/| /' conftest.$ac_ext >&5
3723 ac_cv_lib_ipc_shmat=no
3725 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3726 LIBS=$ac_check_lib_save_LIBS
3728 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
3729 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
3730 if test $ac_cv_lib_ipc_shmat = yes; then
3731 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
3737 # Check for libraries that X11R6 Xt/Xaw programs need.
3738 ac_save_LDFLAGS=$LDFLAGS
3739 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
3740 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
3741 # check for ICE first), but we must link in the order -lSM -lICE or
3742 # we get undefined symbols. So assume we have SM if we have ICE.
3743 # These have to be linked with before -lX11, unlike the other
3744 # libraries we check for below, so use a different variable.
3745 # John Interrante, Karl Berry
3746 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
3747 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
3748 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
3749 echo $ECHO_N "(cached) $ECHO_C" >&6
3751 ac_check_lib_save_LIBS=$LIBS
3752 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
3753 cat >conftest.$ac_ext <<_ACEOF
3754 #line $LINENO "configure"
3757 cat confdefs.h >>conftest.$ac_ext
3758 cat >>conftest.$ac_ext <<_ACEOF
3759 /* end confdefs.h. */
3761 /* Override any gcc2 internal prototype to avoid an error. */
3765 /* We use char because int might match the return type of a gcc2
3766 builtin and then its argument prototype would still apply. */
3767 char IceConnectionNumber ();
3771 IceConnectionNumber ();
3776 rm -f conftest.$ac_objext conftest$ac_exeext
3777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3778 (eval $ac_link) 2>&5
3780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3781 (exit $ac_status); } &&
3782 { ac_try='test -s conftest$ac_exeext'
3783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3787 (exit $ac_status); }; }; then
3788 ac_cv_lib_ICE_IceConnectionNumber=yes
3790 echo "$as_me: failed program was:" >&5
3791 sed 's/^/| /' conftest.$ac_ext >&5
3793 ac_cv_lib_ICE_IceConnectionNumber=no
3795 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3796 LIBS=$ac_check_lib_save_LIBS
3798 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
3799 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
3800 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
3801 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
3804 LDFLAGS=$ac_save_LDFLAGS
3808 for ac_prog in 'bison -y' byacc
3810 # Extract the first word of "$ac_prog", so it can be a program name with args.
3811 set dummy $ac_prog; ac_word=$2
3812 echo "$as_me:$LINENO: checking for $ac_word" >&5
3813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3814 if test "${ac_cv_prog_YACC+set}" = set; then
3815 echo $ECHO_N "(cached) $ECHO_C" >&6
3817 if test -n "$YACC"; then
3818 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3824 test -z "$as_dir" && as_dir=.
3825 for ac_exec_ext in '' $ac_executable_extensions; do
3826 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3827 ac_cv_prog_YACC="$ac_prog"
3828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3836 YACC=$ac_cv_prog_YACC
3837 if test -n "$YACC"; then
3838 echo "$as_me:$LINENO: result: $YACC" >&5
3839 echo "${ECHO_T}$YACC" >&6
3841 echo "$as_me:$LINENO: result: no" >&5
3842 echo "${ECHO_T}no" >&6
3845 test -n "$YACC" && break
3847 test -n "$YACC" || YACC="yacc"
3849 for ac_prog in flex lex
3851 # Extract the first word of "$ac_prog", so it can be a program name with args.
3852 set dummy $ac_prog; ac_word=$2
3853 echo "$as_me:$LINENO: checking for $ac_word" >&5
3854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3855 if test "${ac_cv_prog_LEX+set}" = set; then
3856 echo $ECHO_N "(cached) $ECHO_C" >&6
3858 if test -n "$LEX"; then
3859 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3865 test -z "$as_dir" && as_dir=.
3866 for ac_exec_ext in '' $ac_executable_extensions; do
3867 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3868 ac_cv_prog_LEX="$ac_prog"
3869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3878 if test -n "$LEX"; then
3879 echo "$as_me:$LINENO: result: $LEX" >&5
3880 echo "${ECHO_T}$LEX" >&6
3882 echo "$as_me:$LINENO: result: no" >&5
3883 echo "${ECHO_T}no" >&6
3886 test -n "$LEX" && break
3888 test -n "$LEX" || LEX=":"
3890 if test -z "$LEXLIB"
3892 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3893 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3894 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3895 echo $ECHO_N "(cached) $ECHO_C" >&6
3897 ac_check_lib_save_LIBS=$LIBS
3899 cat >conftest.$ac_ext <<_ACEOF
3900 #line $LINENO "configure"
3903 cat confdefs.h >>conftest.$ac_ext
3904 cat >>conftest.$ac_ext <<_ACEOF
3905 /* end confdefs.h. */
3907 /* Override any gcc2 internal prototype to avoid an error. */
3911 /* We use char because int might match the return type of a gcc2
3912 builtin and then its argument prototype would still apply. */
3922 rm -f conftest.$ac_objext conftest$ac_exeext
3923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3924 (eval $ac_link) 2>&5
3926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3927 (exit $ac_status); } &&
3928 { ac_try='test -s conftest$ac_exeext'
3929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3933 (exit $ac_status); }; }; then
3934 ac_cv_lib_fl_yywrap=yes
3936 echo "$as_me: failed program was:" >&5
3937 sed 's/^/| /' conftest.$ac_ext >&5
3939 ac_cv_lib_fl_yywrap=no
3941 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3942 LIBS=$ac_check_lib_save_LIBS
3944 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3945 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3946 if test $ac_cv_lib_fl_yywrap = yes; then
3949 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3950 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3951 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3952 echo $ECHO_N "(cached) $ECHO_C" >&6
3954 ac_check_lib_save_LIBS=$LIBS
3956 cat >conftest.$ac_ext <<_ACEOF
3957 #line $LINENO "configure"
3960 cat confdefs.h >>conftest.$ac_ext
3961 cat >>conftest.$ac_ext <<_ACEOF
3962 /* end confdefs.h. */
3964 /* Override any gcc2 internal prototype to avoid an error. */
3968 /* We use char because int might match the return type of a gcc2
3969 builtin and then its argument prototype would still apply. */
3979 rm -f conftest.$ac_objext conftest$ac_exeext
3980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3981 (eval $ac_link) 2>&5
3983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3984 (exit $ac_status); } &&
3985 { ac_try='test -s conftest$ac_exeext'
3986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3990 (exit $ac_status); }; }; then
3991 ac_cv_lib_l_yywrap=yes
3993 echo "$as_me: failed program was:" >&5
3994 sed 's/^/| /' conftest.$ac_ext >&5
3996 ac_cv_lib_l_yywrap=no
3998 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3999 LIBS=$ac_check_lib_save_LIBS
4001 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4002 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4003 if test $ac_cv_lib_l_yywrap = yes; then
4011 if test "x$LEX" != "x:"; then
4012 echo "$as_me:$LINENO: checking lex output file root" >&5
4013 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4014 if test "${ac_cv_prog_lex_root+set}" = set; then
4015 echo $ECHO_N "(cached) $ECHO_C" >&6
4017 # The minimal lex program is just a single line: %%. But some broken lexes
4018 # (Solaris, I think it was) want two %% lines, so accommodate them.
4019 cat >conftest.l <<_ACEOF
4023 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4024 (eval $LEX conftest.l) 2>&5
4026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4027 (exit $ac_status); }
4028 if test -f lex.yy.c; then
4029 ac_cv_prog_lex_root=lex.yy
4030 elif test -f lexyy.c; then
4031 ac_cv_prog_lex_root=lexyy
4033 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4034 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4035 { (exit 1); exit 1; }; }
4038 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4039 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4041 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4043 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4044 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4045 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4046 echo $ECHO_N "(cached) $ECHO_C" >&6
4048 # POSIX says lex can declare yytext either as a pointer or an array; the
4049 # default is implementation-dependent. Figure out which it is, since
4050 # not all implementations provide the %pointer and %array declarations.
4051 ac_cv_prog_lex_yytext_pointer=no
4052 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4054 LIBS="$LIBS $LEXLIB"
4055 cat >conftest.$ac_ext <<_ACEOF
4056 `cat $LEX_OUTPUT_ROOT.c`
4058 rm -f conftest.$ac_objext conftest$ac_exeext
4059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4060 (eval $ac_link) 2>&5
4062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4063 (exit $ac_status); } &&
4064 { ac_try='test -s conftest$ac_exeext'
4065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4069 (exit $ac_status); }; }; then
4070 ac_cv_prog_lex_yytext_pointer=yes
4072 echo "$as_me: failed program was:" >&5
4073 sed 's/^/| /' conftest.$ac_ext >&5
4076 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4078 rm -f "${LEX_OUTPUT_ROOT}.c"
4081 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4082 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4083 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4085 cat >>confdefs.h <<\_ACEOF
4086 #define YYTEXT_POINTER 1
4093 for ac_prog in $YACC bison yacc
4095 # Extract the first word of "$ac_prog", so it can be a program name with args.
4096 set dummy $ac_prog; ac_word=$2
4097 echo "$as_me:$LINENO: checking for $ac_word" >&5
4098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4099 if test "${ac_cv_prog_XYACC+set}" = set; then
4100 echo $ECHO_N "(cached) $ECHO_C" >&6
4102 if test -n "$XYACC"; then
4103 ac_cv_prog_XYACC="$XYACC" # Let the user override the test.
4105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4109 test -z "$as_dir" && as_dir=.
4110 for ac_exec_ext in '' $ac_executable_extensions; do
4111 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4112 ac_cv_prog_XYACC="$ac_prog"
4113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4121 XYACC=$ac_cv_prog_XYACC
4122 if test -n "$XYACC"; then
4123 echo "$as_me:$LINENO: result: $XYACC" >&5
4124 echo "${ECHO_T}$XYACC" >&6
4126 echo "$as_me:$LINENO: result: no" >&5
4127 echo "${ECHO_T}no" >&6
4130 test -n "$XYACC" && break
4132 test -n "$XYACC" || XYACC="none"
4134 if test "$XYACC" = "none"
4136 { { echo "$as_me:$LINENO: error: no suitable bison/yacc found. Please install the 'bison' package." >&5
4137 echo "$as_me: error: no suitable bison/yacc found. Please install the 'bison' package." >&2;}
4138 { (exit 1); exit 1; }; }
4140 for ac_prog in $LEX flex lex
4142 # Extract the first word of "$ac_prog", so it can be a program name with args.
4143 set dummy $ac_prog; ac_word=$2
4144 echo "$as_me:$LINENO: checking for $ac_word" >&5
4145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4146 if test "${ac_cv_prog_XLEX+set}" = set; then
4147 echo $ECHO_N "(cached) $ECHO_C" >&6
4149 if test -n "$XLEX"; then
4150 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
4152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4156 test -z "$as_dir" && as_dir=.
4157 for ac_exec_ext in '' $ac_executable_extensions; do
4158 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4159 ac_cv_prog_XLEX="$ac_prog"
4160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4168 XLEX=$ac_cv_prog_XLEX
4169 if test -n "$XLEX"; then
4170 echo "$as_me:$LINENO: result: $XLEX" >&5
4171 echo "${ECHO_T}$XLEX" >&6
4173 echo "$as_me:$LINENO: result: no" >&5
4174 echo "${ECHO_T}no" >&6
4177 test -n "$XLEX" && break
4179 test -n "$XLEX" || XLEX="none"
4181 if test "$XLEX" = "none"
4183 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
4184 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
4185 { (exit 1); exit 1; }; }
4188 if test -n "$ac_tool_prefix"; then
4189 for ac_prog in gas as
4191 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4192 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4193 echo "$as_me:$LINENO: checking for $ac_word" >&5
4194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4195 if test "${ac_cv_prog_AS+set}" = set; then
4196 echo $ECHO_N "(cached) $ECHO_C" >&6
4198 if test -n "$AS"; then
4199 ac_cv_prog_AS="$AS" # Let the user override the test.
4201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4205 test -z "$as_dir" && as_dir=.
4206 for ac_exec_ext in '' $ac_executable_extensions; do
4207 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4208 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
4209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4218 if test -n "$AS"; then
4219 echo "$as_me:$LINENO: result: $AS" >&5
4220 echo "${ECHO_T}$AS" >&6
4222 echo "$as_me:$LINENO: result: no" >&5
4223 echo "${ECHO_T}no" >&6
4226 test -n "$AS" && break
4229 if test -z "$AS"; then
4231 for ac_prog in gas as
4233 # Extract the first word of "$ac_prog", so it can be a program name with args.
4234 set dummy $ac_prog; ac_word=$2
4235 echo "$as_me:$LINENO: checking for $ac_word" >&5
4236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4237 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4238 echo $ECHO_N "(cached) $ECHO_C" >&6
4240 if test -n "$ac_ct_AS"; then
4241 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4247 test -z "$as_dir" && as_dir=.
4248 for ac_exec_ext in '' $ac_executable_extensions; do
4249 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4250 ac_cv_prog_ac_ct_AS="$ac_prog"
4251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4259 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4260 if test -n "$ac_ct_AS"; then
4261 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4262 echo "${ECHO_T}$ac_ct_AS" >&6
4264 echo "$as_me:$LINENO: result: no" >&5
4265 echo "${ECHO_T}no" >&6
4268 test -n "$ac_ct_AS" && break
4270 test -n "$ac_ct_AS" || ac_ct_AS="as"
4275 if test -n "$ac_tool_prefix"; then
4276 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4277 set dummy ${ac_tool_prefix}ld; ac_word=$2
4278 echo "$as_me:$LINENO: checking for $ac_word" >&5
4279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4280 if test "${ac_cv_prog_LD+set}" = set; then
4281 echo $ECHO_N "(cached) $ECHO_C" >&6
4283 if test -n "$LD"; then
4284 ac_cv_prog_LD="$LD" # Let the user override the test.
4286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4290 test -z "$as_dir" && as_dir=.
4291 for ac_exec_ext in '' $ac_executable_extensions; do
4292 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4293 ac_cv_prog_LD="${ac_tool_prefix}ld"
4294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4303 if test -n "$LD"; then
4304 echo "$as_me:$LINENO: result: $LD" >&5
4305 echo "${ECHO_T}$LD" >&6
4307 echo "$as_me:$LINENO: result: no" >&5
4308 echo "${ECHO_T}no" >&6
4312 if test -z "$ac_cv_prog_LD"; then
4314 # Extract the first word of "ld", so it can be a program name with args.
4315 set dummy ld; ac_word=$2
4316 echo "$as_me:$LINENO: checking for $ac_word" >&5
4317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4318 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
4319 echo $ECHO_N "(cached) $ECHO_C" >&6
4321 if test -n "$ac_ct_LD"; then
4322 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4328 test -z "$as_dir" && as_dir=.
4329 for ac_exec_ext in '' $ac_executable_extensions; do
4330 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4331 ac_cv_prog_ac_ct_LD="ld"
4332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4338 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD="ld"
4341 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4342 if test -n "$ac_ct_LD"; then
4343 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
4344 echo "${ECHO_T}$ac_ct_LD" >&6
4346 echo "$as_me:$LINENO: result: no" >&5
4347 echo "${ECHO_T}no" >&6
4355 if test -n "$ac_tool_prefix"; then
4356 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4357 set dummy ${ac_tool_prefix}ar; ac_word=$2
4358 echo "$as_me:$LINENO: checking for $ac_word" >&5
4359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4360 if test "${ac_cv_prog_AR+set}" = set; then
4361 echo $ECHO_N "(cached) $ECHO_C" >&6
4363 if test -n "$AR"; then
4364 ac_cv_prog_AR="$AR" # Let the user override the test.
4366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4370 test -z "$as_dir" && as_dir=.
4371 for ac_exec_ext in '' $ac_executable_extensions; do
4372 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4373 ac_cv_prog_AR="${ac_tool_prefix}ar"
4374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4383 if test -n "$AR"; then
4384 echo "$as_me:$LINENO: result: $AR" >&5
4385 echo "${ECHO_T}$AR" >&6
4387 echo "$as_me:$LINENO: result: no" >&5
4388 echo "${ECHO_T}no" >&6
4392 if test -z "$ac_cv_prog_AR"; then
4394 # Extract the first word of "ar", so it can be a program name with args.
4395 set dummy ar; ac_word=$2
4396 echo "$as_me:$LINENO: checking for $ac_word" >&5
4397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4398 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4399 echo $ECHO_N "(cached) $ECHO_C" >&6
4401 if test -n "$ac_ct_AR"; then
4402 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4408 test -z "$as_dir" && as_dir=.
4409 for ac_exec_ext in '' $ac_executable_extensions; do
4410 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4411 ac_cv_prog_ac_ct_AR="ar"
4412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4418 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
4421 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4422 if test -n "$ac_ct_AR"; then
4423 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4424 echo "${ECHO_T}$ac_ct_AR" >&6
4426 echo "$as_me:$LINENO: result: no" >&5
4427 echo "${ECHO_T}no" >&6
4435 if test -n "$ac_tool_prefix"; then
4436 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4437 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4438 echo "$as_me:$LINENO: checking for $ac_word" >&5
4439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4440 if test "${ac_cv_prog_RANLIB+set}" = set; then
4441 echo $ECHO_N "(cached) $ECHO_C" >&6
4443 if test -n "$RANLIB"; then
4444 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4450 test -z "$as_dir" && as_dir=.
4451 for ac_exec_ext in '' $ac_executable_extensions; do
4452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4453 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4462 RANLIB=$ac_cv_prog_RANLIB
4463 if test -n "$RANLIB"; then
4464 echo "$as_me:$LINENO: result: $RANLIB" >&5
4465 echo "${ECHO_T}$RANLIB" >&6
4467 echo "$as_me:$LINENO: result: no" >&5
4468 echo "${ECHO_T}no" >&6
4472 if test -z "$ac_cv_prog_RANLIB"; then
4473 ac_ct_RANLIB=$RANLIB
4474 # Extract the first word of "ranlib", so it can be a program name with args.
4475 set dummy ranlib; ac_word=$2
4476 echo "$as_me:$LINENO: checking for $ac_word" >&5
4477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4478 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4479 echo $ECHO_N "(cached) $ECHO_C" >&6
4481 if test -n "$ac_ct_RANLIB"; then
4482 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4488 test -z "$as_dir" && as_dir=.
4489 for ac_exec_ext in '' $ac_executable_extensions; do
4490 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4491 ac_cv_prog_ac_ct_RANLIB="ranlib"
4492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4498 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4501 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4502 if test -n "$ac_ct_RANLIB"; then
4503 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4504 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4506 echo "$as_me:$LINENO: result: no" >&5
4507 echo "${ECHO_T}no" >&6
4510 RANLIB=$ac_ct_RANLIB
4512 RANLIB="$ac_cv_prog_RANLIB"
4515 if test -n "$ac_tool_prefix"; then
4516 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4517 set dummy ${ac_tool_prefix}strip; ac_word=$2
4518 echo "$as_me:$LINENO: checking for $ac_word" >&5
4519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4520 if test "${ac_cv_prog_STRIP+set}" = set; then
4521 echo $ECHO_N "(cached) $ECHO_C" >&6
4523 if test -n "$STRIP"; then
4524 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4530 test -z "$as_dir" && as_dir=.
4531 for ac_exec_ext in '' $ac_executable_extensions; do
4532 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4533 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4542 STRIP=$ac_cv_prog_STRIP
4543 if test -n "$STRIP"; then
4544 echo "$as_me:$LINENO: result: $STRIP" >&5
4545 echo "${ECHO_T}$STRIP" >&6
4547 echo "$as_me:$LINENO: result: no" >&5
4548 echo "${ECHO_T}no" >&6
4552 if test -z "$ac_cv_prog_STRIP"; then
4554 # Extract the first word of "strip", so it can be a program name with args.
4555 set dummy strip; ac_word=$2
4556 echo "$as_me:$LINENO: checking for $ac_word" >&5
4557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4558 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4559 echo $ECHO_N "(cached) $ECHO_C" >&6
4561 if test -n "$ac_ct_STRIP"; then
4562 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4568 test -z "$as_dir" && as_dir=.
4569 for ac_exec_ext in '' $ac_executable_extensions; do
4570 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4571 ac_cv_prog_ac_ct_STRIP="strip"
4572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4578 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="strip"
4581 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4582 if test -n "$ac_ct_STRIP"; then
4583 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4584 echo "${ECHO_T}$ac_ct_STRIP" >&6
4586 echo "$as_me:$LINENO: result: no" >&5
4587 echo "${ECHO_T}no" >&6
4592 STRIP="$ac_cv_prog_STRIP"
4595 if test -n "$ac_tool_prefix"; then
4596 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
4597 set dummy ${ac_tool_prefix}windres; ac_word=$2
4598 echo "$as_me:$LINENO: checking for $ac_word" >&5
4599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4600 if test "${ac_cv_prog_WINDRES+set}" = set; then
4601 echo $ECHO_N "(cached) $ECHO_C" >&6
4603 if test -n "$WINDRES"; then
4604 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
4606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4610 test -z "$as_dir" && as_dir=.
4611 for ac_exec_ext in '' $ac_executable_extensions; do
4612 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4613 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
4614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4622 WINDRES=$ac_cv_prog_WINDRES
4623 if test -n "$WINDRES"; then
4624 echo "$as_me:$LINENO: result: $WINDRES" >&5
4625 echo "${ECHO_T}$WINDRES" >&6
4627 echo "$as_me:$LINENO: result: no" >&5
4628 echo "${ECHO_T}no" >&6
4632 if test -z "$ac_cv_prog_WINDRES"; then
4633 ac_ct_WINDRES=$WINDRES
4634 # Extract the first word of "windres", so it can be a program name with args.
4635 set dummy windres; ac_word=$2
4636 echo "$as_me:$LINENO: checking for $ac_word" >&5
4637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4638 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
4639 echo $ECHO_N "(cached) $ECHO_C" >&6
4641 if test -n "$ac_ct_WINDRES"; then
4642 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
4644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4648 test -z "$as_dir" && as_dir=.
4649 for ac_exec_ext in '' $ac_executable_extensions; do
4650 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4651 ac_cv_prog_ac_ct_WINDRES="windres"
4652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4658 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES="false"
4661 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
4662 if test -n "$ac_ct_WINDRES"; then
4663 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
4664 echo "${ECHO_T}$ac_ct_WINDRES" >&6
4666 echo "$as_me:$LINENO: result: no" >&5
4667 echo "${ECHO_T}no" >&6
4670 WINDRES=$ac_ct_WINDRES
4672 WINDRES="$ac_cv_prog_WINDRES"
4675 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4676 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4678 if test "$LN_S" = "ln -s"; then
4679 echo "$as_me:$LINENO: result: yes" >&5
4680 echo "${ECHO_T}yes" >&6
4682 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4683 echo "${ECHO_T}no, using $LN_S" >&6
4686 echo "$as_me:$LINENO: checking whether ln works" >&5
4687 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
4688 rm -f conf$$ conf$$.file
4690 if ln conf$$.file conf$$ 2>/dev/null; then
4693 echo "$as_me:$LINENO: result: yes" >&5
4694 echo "${ECHO_T}yes" >&6
4698 echo "$as_me:$LINENO: result: no, using $LN" >&5
4699 echo "${ECHO_T}no, using $LN" >&6
4701 rm -f conf$$ conf$$.file
4702 # Extract the first word of "ldconfig", so it can be a program name with args.
4703 set dummy ldconfig; ac_word=$2
4704 echo "$as_me:$LINENO: checking for $ac_word" >&5
4705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4706 if test "${ac_cv_path_LDCONFIG+set}" = set; then
4707 echo $ECHO_N "(cached) $ECHO_C" >&6
4711 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
4714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4715 for as_dir in /sbin /usr/sbin $PATH
4718 test -z "$as_dir" && as_dir=.
4719 for ac_exec_ext in '' $ac_executable_extensions; do
4720 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4721 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
4722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4728 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
4732 LDCONFIG=$ac_cv_path_LDCONFIG
4734 if test -n "$LDCONFIG"; then
4735 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
4736 echo "${ECHO_T}$LDCONFIG" >&6
4738 echo "$as_me:$LINENO: result: no" >&5
4739 echo "${ECHO_T}no" >&6
4742 # Find a good install program. We prefer a C program (faster),
4743 # so one script is as good as another. But avoid the broken or
4744 # incompatible versions:
4745 # SysV /etc/install, /usr/sbin/install
4746 # SunOS /usr/etc/install
4747 # IRIX /sbin/install
4749 # AmigaOS /C/install, which installs bootblocks on floppy discs
4750 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4751 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4752 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4753 # ./install, which can be erroneously created by make from ./install.sh.
4754 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4755 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4756 if test -z "$INSTALL"; then
4757 if test "${ac_cv_path_install+set}" = set; then
4758 echo $ECHO_N "(cached) $ECHO_C" >&6
4760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4764 test -z "$as_dir" && as_dir=.
4765 # Account for people who put trailing slashes in PATH elements.
4767 ./ | .// | /cC/* | \
4768 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4771 # OSF1 and SCO ODT 3.0 have their own names for install.
4772 # Don't use installbsd from OSF since it installs stuff as root
4774 for ac_prog in ginstall scoinst install; do
4775 for ac_exec_ext in '' $ac_executable_extensions; do
4776 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4777 if test $ac_prog = install &&
4778 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4779 # AIX install. It has an incompatible calling convention.
4781 elif test $ac_prog = install &&
4782 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4783 # program-specific install script used by HP pwplus--don't use.
4786 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4798 if test "${ac_cv_path_install+set}" = set; then
4799 INSTALL=$ac_cv_path_install
4801 # As a last resort, use the slow shell script. We don't cache a
4802 # path for INSTALL within a source directory, because that will
4803 # break other packages using the cache if that directory is
4804 # removed, or if the path is relative.
4805 INSTALL=$ac_install_sh
4808 echo "$as_me:$LINENO: result: $INSTALL" >&5
4809 echo "${ECHO_T}$INSTALL" >&6
4811 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4812 # It thinks the first close brace ends the variable substitution.
4813 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4815 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4817 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4820 [\\/$]* | ?:[\\/]* ) ;;
4821 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
4824 for ac_prog in lclint lint
4826 # Extract the first word of "$ac_prog", so it can be a program name with args.
4827 set dummy $ac_prog; ac_word=$2
4828 echo "$as_me:$LINENO: checking for $ac_word" >&5
4829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4830 if test "${ac_cv_prog_LINT+set}" = set; then
4831 echo $ECHO_N "(cached) $ECHO_C" >&6
4833 if test -n "$LINT"; then
4834 ac_cv_prog_LINT="$LINT" # Let the user override the test.
4836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4840 test -z "$as_dir" && as_dir=.
4841 for ac_exec_ext in '' $ac_executable_extensions; do
4842 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4843 ac_cv_prog_LINT="$ac_prog"
4844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4852 LINT=$ac_cv_prog_LINT
4853 if test -n "$LINT"; then
4854 echo "$as_me:$LINENO: result: $LINT" >&5
4855 echo "${ECHO_T}$LINT" >&6
4857 echo "$as_me:$LINENO: result: no" >&5
4858 echo "${ECHO_T}no" >&6
4861 test -n "$LINT" && break
4864 if test "$LINT" = "lint"
4866 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4871 for ac_prog in docbook2html db2html
4873 # Extract the first word of "$ac_prog", so it can be a program name with args.
4874 set dummy $ac_prog; ac_word=$2
4875 echo "$as_me:$LINENO: checking for $ac_word" >&5
4876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4877 if test "${ac_cv_prog_DB2HTML+set}" = set; then
4878 echo $ECHO_N "(cached) $ECHO_C" >&6
4880 if test -n "$DB2HTML"; then
4881 ac_cv_prog_DB2HTML="$DB2HTML" # Let the user override the test.
4883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4887 test -z "$as_dir" && as_dir=.
4888 for ac_exec_ext in '' $ac_executable_extensions; do
4889 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4890 ac_cv_prog_DB2HTML="$ac_prog"
4891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4899 DB2HTML=$ac_cv_prog_DB2HTML
4900 if test -n "$DB2HTML"; then
4901 echo "$as_me:$LINENO: result: $DB2HTML" >&5
4902 echo "${ECHO_T}$DB2HTML" >&6
4904 echo "$as_me:$LINENO: result: no" >&5
4905 echo "${ECHO_T}no" >&6
4908 test -n "$DB2HTML" && break
4910 test -n "$DB2HTML" || DB2HTML="false"
4914 for ac_prog in docbook2pdf db2pdf
4916 # Extract the first word of "$ac_prog", so it can be a program name with args.
4917 set dummy $ac_prog; ac_word=$2
4918 echo "$as_me:$LINENO: checking for $ac_word" >&5
4919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4920 if test "${ac_cv_prog_DB2PDF+set}" = set; then
4921 echo $ECHO_N "(cached) $ECHO_C" >&6
4923 if test -n "$DB2PDF"; then
4924 ac_cv_prog_DB2PDF="$DB2PDF" # Let the user override the test.
4926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4930 test -z "$as_dir" && as_dir=.
4931 for ac_exec_ext in '' $ac_executable_extensions; do
4932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4933 ac_cv_prog_DB2PDF="$ac_prog"
4934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4942 DB2PDF=$ac_cv_prog_DB2PDF
4943 if test -n "$DB2PDF"; then
4944 echo "$as_me:$LINENO: result: $DB2PDF" >&5
4945 echo "${ECHO_T}$DB2PDF" >&6
4947 echo "$as_me:$LINENO: result: no" >&5
4948 echo "${ECHO_T}no" >&6
4951 test -n "$DB2PDF" && break
4953 test -n "$DB2PDF" || DB2PDF="false"
4957 for ac_prog in docbook2ps db2ps
4959 # Extract the first word of "$ac_prog", so it can be a program name with args.
4960 set dummy $ac_prog; ac_word=$2
4961 echo "$as_me:$LINENO: checking for $ac_word" >&5
4962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4963 if test "${ac_cv_prog_DB2PS+set}" = set; then
4964 echo $ECHO_N "(cached) $ECHO_C" >&6
4966 if test -n "$DB2PS"; then
4967 ac_cv_prog_DB2PS="$DB2PS" # Let the user override the test.
4969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4973 test -z "$as_dir" && as_dir=.
4974 for ac_exec_ext in '' $ac_executable_extensions; do
4975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4976 ac_cv_prog_DB2PS="$ac_prog"
4977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4985 DB2PS=$ac_cv_prog_DB2PS
4986 if test -n "$DB2PS"; then
4987 echo "$as_me:$LINENO: result: $DB2PS" >&5
4988 echo "${ECHO_T}$DB2PS" >&6
4990 echo "$as_me:$LINENO: result: no" >&5
4991 echo "${ECHO_T}no" >&6
4994 test -n "$DB2PS" && break
4996 test -n "$DB2PS" || DB2PS="false"
5000 for ac_prog in docbook2txt db2txt
5002 # Extract the first word of "$ac_prog", so it can be a program name with args.
5003 set dummy $ac_prog; ac_word=$2
5004 echo "$as_me:$LINENO: checking for $ac_word" >&5
5005 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5006 if test "${ac_cv_prog_DB2TXT+set}" = set; then
5007 echo $ECHO_N "(cached) $ECHO_C" >&6
5009 if test -n "$DB2TXT"; then
5010 ac_cv_prog_DB2TXT="$DB2TXT" # Let the user override the test.
5012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5016 test -z "$as_dir" && as_dir=.
5017 for ac_exec_ext in '' $ac_executable_extensions; do
5018 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5019 ac_cv_prog_DB2TXT="$ac_prog"
5020 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5028 DB2TXT=$ac_cv_prog_DB2TXT
5029 if test -n "$DB2TXT"; then
5030 echo "$as_me:$LINENO: result: $DB2TXT" >&5
5031 echo "${ECHO_T}$DB2TXT" >&6
5033 echo "$as_me:$LINENO: result: no" >&5
5034 echo "${ECHO_T}no" >&6
5037 test -n "$DB2TXT" && break
5039 test -n "$DB2TXT" || DB2TXT="false"
5045 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
5046 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
5047 if test "${ac_cv_lib_m_sqrt+set}" = set; then
5048 echo $ECHO_N "(cached) $ECHO_C" >&6
5050 ac_check_lib_save_LIBS=$LIBS
5052 cat >conftest.$ac_ext <<_ACEOF
5053 #line $LINENO "configure"
5056 cat confdefs.h >>conftest.$ac_ext
5057 cat >>conftest.$ac_ext <<_ACEOF
5058 /* end confdefs.h. */
5060 /* Override any gcc2 internal prototype to avoid an error. */
5064 /* We use char because int might match the return type of a gcc2
5065 builtin and then its argument prototype would still apply. */
5075 rm -f conftest.$ac_objext conftest$ac_exeext
5076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5077 (eval $ac_link) 2>&5
5079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5080 (exit $ac_status); } &&
5081 { ac_try='test -s conftest$ac_exeext'
5082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5086 (exit $ac_status); }; }; then
5087 ac_cv_lib_m_sqrt=yes
5089 echo "$as_me: failed program was:" >&5
5090 sed 's/^/| /' conftest.$ac_ext >&5
5094 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5095 LIBS=$ac_check_lib_save_LIBS
5097 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
5098 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
5099 if test $ac_cv_lib_m_sqrt = yes; then
5100 cat >>confdefs.h <<_ACEOF
5109 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
5110 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
5111 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
5112 echo $ECHO_N "(cached) $ECHO_C" >&6
5114 ac_check_lib_save_LIBS=$LIBS
5116 cat >conftest.$ac_ext <<_ACEOF
5117 #line $LINENO "configure"
5120 cat confdefs.h >>conftest.$ac_ext
5121 cat >>conftest.$ac_ext <<_ACEOF
5122 /* end confdefs.h. */
5124 /* Override any gcc2 internal prototype to avoid an error. */
5128 /* We use char because int might match the return type of a gcc2
5129 builtin and then its argument prototype would still apply. */
5130 char i386_set_ldt ();
5139 rm -f conftest.$ac_objext conftest$ac_exeext
5140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5141 (eval $ac_link) 2>&5
5143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5144 (exit $ac_status); } &&
5145 { ac_try='test -s conftest$ac_exeext'
5146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5150 (exit $ac_status); }; }; then
5151 ac_cv_lib_i386_i386_set_ldt=yes
5153 echo "$as_me: failed program was:" >&5
5154 sed 's/^/| /' conftest.$ac_ext >&5
5156 ac_cv_lib_i386_i386_set_ldt=no
5158 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5159 LIBS=$ac_check_lib_save_LIBS
5161 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5162 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
5163 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
5164 cat >>confdefs.h <<_ACEOF
5165 #define HAVE_LIBI386 1
5173 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5174 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5175 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5176 echo $ECHO_N "(cached) $ECHO_C" >&6
5178 ac_check_lib_save_LIBS=$LIBS
5179 LIBS="-lossaudio $LIBS"
5180 cat >conftest.$ac_ext <<_ACEOF
5181 #line $LINENO "configure"
5184 cat confdefs.h >>conftest.$ac_ext
5185 cat >>conftest.$ac_ext <<_ACEOF
5186 /* end confdefs.h. */
5188 /* Override any gcc2 internal prototype to avoid an error. */
5192 /* We use char because int might match the return type of a gcc2
5193 builtin and then its argument prototype would still apply. */
5203 rm -f conftest.$ac_objext conftest$ac_exeext
5204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5205 (eval $ac_link) 2>&5
5207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5208 (exit $ac_status); } &&
5209 { ac_try='test -s conftest$ac_exeext'
5210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5214 (exit $ac_status); }; }; then
5215 ac_cv_lib_ossaudio__oss_ioctl=yes
5217 echo "$as_me: failed program was:" >&5
5218 sed 's/^/| /' conftest.$ac_ext >&5
5220 ac_cv_lib_ossaudio__oss_ioctl=no
5222 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5223 LIBS=$ac_check_lib_save_LIBS
5225 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5226 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5227 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5228 cat >>confdefs.h <<_ACEOF
5229 #define HAVE_LIBOSSAUDIO 1
5232 LIBS="-lossaudio $LIBS"
5237 for ac_func in iswalnum
5239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5240 echo "$as_me:$LINENO: checking for $ac_func" >&5
5241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5242 if eval "test \"\${$as_ac_var+set}\" = set"; then
5243 echo $ECHO_N "(cached) $ECHO_C" >&6
5245 cat >conftest.$ac_ext <<_ACEOF
5246 #line $LINENO "configure"
5249 cat confdefs.h >>conftest.$ac_ext
5250 cat >>conftest.$ac_ext <<_ACEOF
5251 /* end confdefs.h. */
5252 /* System header to define __stub macros and hopefully few prototypes,
5253 which can conflict with char $ac_func (); below.
5254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5255 <limits.h> exists even on freestanding compilers. */
5257 # include <limits.h>
5259 # include <assert.h>
5261 /* Override any gcc2 internal prototype to avoid an error. */
5266 /* We use char because int might match the return type of a gcc2
5267 builtin and then its argument prototype would still apply. */
5269 /* The GNU C library defines this for functions which it implements
5270 to always fail with ENOSYS. Some functions are actually named
5271 something starting with __ and the normal name is an alias. */
5272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5275 char (*f) () = $ac_func;
5284 return f != $ac_func;
5289 rm -f conftest.$ac_objext conftest$ac_exeext
5290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5291 (eval $ac_link) 2>&5
5293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5294 (exit $ac_status); } &&
5295 { ac_try='test -s conftest$ac_exeext'
5296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5300 (exit $ac_status); }; }; then
5301 eval "$as_ac_var=yes"
5303 echo "$as_me: failed program was:" >&5
5304 sed 's/^/| /' conftest.$ac_ext >&5
5306 eval "$as_ac_var=no"
5308 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5312 if test `eval echo '${'$as_ac_var'}'` = yes; then
5313 cat >>confdefs.h <<_ACEOF
5314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5319 echo "$as_me:$LINENO: checking for iswalnum in -lw" >&5
5320 echo $ECHO_N "checking for iswalnum in -lw... $ECHO_C" >&6
5321 if test "${ac_cv_lib_w_iswalnum+set}" = set; then
5322 echo $ECHO_N "(cached) $ECHO_C" >&6
5324 ac_check_lib_save_LIBS=$LIBS
5326 cat >conftest.$ac_ext <<_ACEOF
5327 #line $LINENO "configure"
5330 cat confdefs.h >>conftest.$ac_ext
5331 cat >>conftest.$ac_ext <<_ACEOF
5332 /* end confdefs.h. */
5334 /* Override any gcc2 internal prototype to avoid an error. */
5338 /* We use char because int might match the return type of a gcc2
5339 builtin and then its argument prototype would still apply. */
5349 rm -f conftest.$ac_objext conftest$ac_exeext
5350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5351 (eval $ac_link) 2>&5
5353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5354 (exit $ac_status); } &&
5355 { ac_try='test -s conftest$ac_exeext'
5356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5360 (exit $ac_status); }; }; then
5361 ac_cv_lib_w_iswalnum=yes
5363 echo "$as_me: failed program was:" >&5
5364 sed 's/^/| /' conftest.$ac_ext >&5
5366 ac_cv_lib_w_iswalnum=no
5368 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5369 LIBS=$ac_check_lib_save_LIBS
5371 echo "$as_me:$LINENO: result: $ac_cv_lib_w_iswalnum" >&5
5372 echo "${ECHO_T}$ac_cv_lib_w_iswalnum" >&6
5373 if test $ac_cv_lib_w_iswalnum = yes; then
5374 cat >>confdefs.h <<_ACEOF
5386 for ac_func in gethostbyname
5388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5389 echo "$as_me:$LINENO: checking for $ac_func" >&5
5390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5391 if eval "test \"\${$as_ac_var+set}\" = set"; then
5392 echo $ECHO_N "(cached) $ECHO_C" >&6
5394 cat >conftest.$ac_ext <<_ACEOF
5395 #line $LINENO "configure"
5398 cat confdefs.h >>conftest.$ac_ext
5399 cat >>conftest.$ac_ext <<_ACEOF
5400 /* end confdefs.h. */
5401 /* System header to define __stub macros and hopefully few prototypes,
5402 which can conflict with char $ac_func (); below.
5403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5404 <limits.h> exists even on freestanding compilers. */
5406 # include <limits.h>
5408 # include <assert.h>
5410 /* Override any gcc2 internal prototype to avoid an error. */
5415 /* We use char because int might match the return type of a gcc2
5416 builtin and then its argument prototype would still apply. */
5418 /* The GNU C library defines this for functions which it implements
5419 to always fail with ENOSYS. Some functions are actually named
5420 something starting with __ and the normal name is an alias. */
5421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5424 char (*f) () = $ac_func;
5433 return f != $ac_func;
5438 rm -f conftest.$ac_objext conftest$ac_exeext
5439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5440 (eval $ac_link) 2>&5
5442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5443 (exit $ac_status); } &&
5444 { ac_try='test -s conftest$ac_exeext'
5445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5449 (exit $ac_status); }; }; then
5450 eval "$as_ac_var=yes"
5452 echo "$as_me: failed program was:" >&5
5453 sed 's/^/| /' conftest.$ac_ext >&5
5455 eval "$as_ac_var=no"
5457 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5461 if test `eval echo '${'$as_ac_var'}'` = yes; then
5462 cat >>confdefs.h <<_ACEOF
5463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5468 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5469 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
5470 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5471 echo $ECHO_N "(cached) $ECHO_C" >&6
5473 ac_check_lib_save_LIBS=$LIBS
5475 cat >conftest.$ac_ext <<_ACEOF
5476 #line $LINENO "configure"
5479 cat confdefs.h >>conftest.$ac_ext
5480 cat >>conftest.$ac_ext <<_ACEOF
5481 /* end confdefs.h. */
5483 /* Override any gcc2 internal prototype to avoid an error. */
5487 /* We use char because int might match the return type of a gcc2
5488 builtin and then its argument prototype would still apply. */
5489 char gethostbyname ();
5498 rm -f conftest.$ac_objext conftest$ac_exeext
5499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5500 (eval $ac_link) 2>&5
5502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5503 (exit $ac_status); } &&
5504 { ac_try='test -s conftest$ac_exeext'
5505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5509 (exit $ac_status); }; }; then
5510 ac_cv_lib_nsl_gethostbyname=yes
5512 echo "$as_me: failed program was:" >&5
5513 sed 's/^/| /' conftest.$ac_ext >&5
5515 ac_cv_lib_nsl_gethostbyname=no
5517 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5518 LIBS=$ac_check_lib_save_LIBS
5520 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5521 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
5522 if test $ac_cv_lib_nsl_gethostbyname = yes; then
5523 cat >>confdefs.h <<_ACEOF
5524 #define HAVE_LIBNSL 1
5535 for ac_func in connect
5537 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5538 echo "$as_me:$LINENO: checking for $ac_func" >&5
5539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5540 if eval "test \"\${$as_ac_var+set}\" = set"; then
5541 echo $ECHO_N "(cached) $ECHO_C" >&6
5543 cat >conftest.$ac_ext <<_ACEOF
5544 #line $LINENO "configure"
5547 cat confdefs.h >>conftest.$ac_ext
5548 cat >>conftest.$ac_ext <<_ACEOF
5549 /* end confdefs.h. */
5550 /* System header to define __stub macros and hopefully few prototypes,
5551 which can conflict with char $ac_func (); below.
5552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5553 <limits.h> exists even on freestanding compilers. */
5555 # include <limits.h>
5557 # include <assert.h>
5559 /* Override any gcc2 internal prototype to avoid an error. */
5564 /* We use char because int might match the return type of a gcc2
5565 builtin and then its argument prototype would still apply. */
5567 /* The GNU C library defines this for functions which it implements
5568 to always fail with ENOSYS. Some functions are actually named
5569 something starting with __ and the normal name is an alias. */
5570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5573 char (*f) () = $ac_func;
5582 return f != $ac_func;
5587 rm -f conftest.$ac_objext conftest$ac_exeext
5588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5589 (eval $ac_link) 2>&5
5591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5592 (exit $ac_status); } &&
5593 { ac_try='test -s conftest$ac_exeext'
5594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5598 (exit $ac_status); }; }; then
5599 eval "$as_ac_var=yes"
5601 echo "$as_me: failed program was:" >&5
5602 sed 's/^/| /' conftest.$ac_ext >&5
5604 eval "$as_ac_var=no"
5606 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5609 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5610 if test `eval echo '${'$as_ac_var'}'` = yes; then
5611 cat >>confdefs.h <<_ACEOF
5612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5617 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
5618 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
5619 if test "${ac_cv_lib_socket_connect+set}" = set; then
5620 echo $ECHO_N "(cached) $ECHO_C" >&6
5622 ac_check_lib_save_LIBS=$LIBS
5623 LIBS="-lsocket $LIBS"
5624 cat >conftest.$ac_ext <<_ACEOF
5625 #line $LINENO "configure"
5628 cat confdefs.h >>conftest.$ac_ext
5629 cat >>conftest.$ac_ext <<_ACEOF
5630 /* end confdefs.h. */
5632 /* Override any gcc2 internal prototype to avoid an error. */
5636 /* We use char because int might match the return type of a gcc2
5637 builtin and then its argument prototype would still apply. */
5647 rm -f conftest.$ac_objext conftest$ac_exeext
5648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5649 (eval $ac_link) 2>&5
5651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5652 (exit $ac_status); } &&
5653 { ac_try='test -s conftest$ac_exeext'
5654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5658 (exit $ac_status); }; }; then
5659 ac_cv_lib_socket_connect=yes
5661 echo "$as_me: failed program was:" >&5
5662 sed 's/^/| /' conftest.$ac_ext >&5
5664 ac_cv_lib_socket_connect=no
5666 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5667 LIBS=$ac_check_lib_save_LIBS
5669 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
5670 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
5671 if test $ac_cv_lib_socket_connect = yes; then
5672 cat >>confdefs.h <<_ACEOF
5673 #define HAVE_LIBSOCKET 1
5676 LIBS="-lsocket $LIBS"
5684 for ac_func in inet_aton
5686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5687 echo "$as_me:$LINENO: checking for $ac_func" >&5
5688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5689 if eval "test \"\${$as_ac_var+set}\" = set"; then
5690 echo $ECHO_N "(cached) $ECHO_C" >&6
5692 cat >conftest.$ac_ext <<_ACEOF
5693 #line $LINENO "configure"
5696 cat confdefs.h >>conftest.$ac_ext
5697 cat >>conftest.$ac_ext <<_ACEOF
5698 /* end confdefs.h. */
5699 /* System header to define __stub macros and hopefully few prototypes,
5700 which can conflict with char $ac_func (); below.
5701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5702 <limits.h> exists even on freestanding compilers. */
5704 # include <limits.h>
5706 # include <assert.h>
5708 /* Override any gcc2 internal prototype to avoid an error. */
5713 /* We use char because int might match the return type of a gcc2
5714 builtin and then its argument prototype would still apply. */
5716 /* The GNU C library defines this for functions which it implements
5717 to always fail with ENOSYS. Some functions are actually named
5718 something starting with __ and the normal name is an alias. */
5719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5722 char (*f) () = $ac_func;
5731 return f != $ac_func;
5736 rm -f conftest.$ac_objext conftest$ac_exeext
5737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5738 (eval $ac_link) 2>&5
5740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5741 (exit $ac_status); } &&
5742 { ac_try='test -s conftest$ac_exeext'
5743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5747 (exit $ac_status); }; }; then
5748 eval "$as_ac_var=yes"
5750 echo "$as_me: failed program was:" >&5
5751 sed 's/^/| /' conftest.$ac_ext >&5
5753 eval "$as_ac_var=no"
5755 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5759 if test `eval echo '${'$as_ac_var'}'` = yes; then
5760 cat >>confdefs.h <<_ACEOF
5761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5766 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
5767 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
5768 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
5769 echo $ECHO_N "(cached) $ECHO_C" >&6
5771 ac_check_lib_save_LIBS=$LIBS
5772 LIBS="-lresolv $LIBS"
5773 cat >conftest.$ac_ext <<_ACEOF
5774 #line $LINENO "configure"
5777 cat confdefs.h >>conftest.$ac_ext
5778 cat >>conftest.$ac_ext <<_ACEOF
5779 /* end confdefs.h. */
5781 /* Override any gcc2 internal prototype to avoid an error. */
5785 /* We use char because int might match the return type of a gcc2
5786 builtin and then its argument prototype would still apply. */
5796 rm -f conftest.$ac_objext conftest$ac_exeext
5797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5798 (eval $ac_link) 2>&5
5800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5801 (exit $ac_status); } &&
5802 { ac_try='test -s conftest$ac_exeext'
5803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5807 (exit $ac_status); }; }; then
5808 ac_cv_lib_resolv_inet_aton=yes
5810 echo "$as_me: failed program was:" >&5
5811 sed 's/^/| /' conftest.$ac_ext >&5
5813 ac_cv_lib_resolv_inet_aton=no
5815 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5816 LIBS=$ac_check_lib_save_LIBS
5818 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
5819 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
5820 if test $ac_cv_lib_resolv_inet_aton = yes; then
5821 cat >>confdefs.h <<_ACEOF
5822 #define HAVE_LIBRESOLV 1
5825 LIBS="-lresolv $LIBS"
5833 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
5834 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
5835 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
5836 echo $ECHO_N "(cached) $ECHO_C" >&6
5838 ac_check_lib_save_LIBS=$LIBS
5840 cat >conftest.$ac_ext <<_ACEOF
5841 #line $LINENO "configure"
5844 cat confdefs.h >>conftest.$ac_ext
5845 cat >>conftest.$ac_ext <<_ACEOF
5846 /* end confdefs.h. */
5848 /* Override any gcc2 internal prototype to avoid an error. */
5852 /* We use char because int might match the return type of a gcc2
5853 builtin and then its argument prototype would still apply. */
5854 char _xpg4_setrunelocale ();
5858 _xpg4_setrunelocale ();
5863 rm -f conftest.$ac_objext conftest$ac_exeext
5864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5865 (eval $ac_link) 2>&5
5867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5868 (exit $ac_status); } &&
5869 { ac_try='test -s conftest$ac_exeext'
5870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5874 (exit $ac_status); }; }; then
5875 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
5877 echo "$as_me: failed program was:" >&5
5878 sed 's/^/| /' conftest.$ac_ext >&5
5880 ac_cv_lib_xpg4__xpg4_setrunelocale=no
5882 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5883 LIBS=$ac_check_lib_save_LIBS
5885 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
5886 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
5887 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
5888 cat >>confdefs.h <<_ACEOF
5889 #define HAVE_LIBXPG4 1
5896 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
5897 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
5898 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
5899 echo $ECHO_N "(cached) $ECHO_C" >&6
5901 ac_check_lib_save_LIBS=$LIBS
5902 LIBS="-lpthread $LIBS"
5903 cat >conftest.$ac_ext <<_ACEOF
5904 #line $LINENO "configure"
5907 cat confdefs.h >>conftest.$ac_ext
5908 cat >>conftest.$ac_ext <<_ACEOF
5909 /* end confdefs.h. */
5911 /* Override any gcc2 internal prototype to avoid an error. */
5915 /* We use char because int might match the return type of a gcc2
5916 builtin and then its argument prototype would still apply. */
5917 char pthread_create ();
5926 rm -f conftest.$ac_objext conftest$ac_exeext
5927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5928 (eval $ac_link) 2>&5
5930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5931 (exit $ac_status); } &&
5932 { ac_try='test -s conftest$ac_exeext'
5933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5937 (exit $ac_status); }; }; then
5938 ac_cv_lib_pthread_pthread_create=yes
5940 echo "$as_me: failed program was:" >&5
5941 sed 's/^/| /' conftest.$ac_ext >&5
5943 ac_cv_lib_pthread_pthread_create=no
5945 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5946 LIBS=$ac_check_lib_save_LIBS
5948 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
5949 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
5950 if test $ac_cv_lib_pthread_pthread_create = yes; then
5951 LIBPTHREAD="-lpthread"
5958 echo "$as_me:$LINENO: checking for egrep" >&5
5959 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5960 if test "${ac_cv_prog_egrep+set}" = set; then
5961 echo $ECHO_N "(cached) $ECHO_C" >&6
5963 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5964 then ac_cv_prog_egrep='grep -E'
5965 else ac_cv_prog_egrep='egrep'
5968 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5969 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5970 EGREP=$ac_cv_prog_egrep
5973 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5974 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5975 if test "${ac_cv_header_stdc+set}" = set; then
5976 echo $ECHO_N "(cached) $ECHO_C" >&6
5978 cat >conftest.$ac_ext <<_ACEOF
5979 #line $LINENO "configure"
5982 cat confdefs.h >>conftest.$ac_ext
5983 cat >>conftest.$ac_ext <<_ACEOF
5984 /* end confdefs.h. */
5998 rm -f conftest.$ac_objext
5999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6000 (eval $ac_compile) 2>&5
6002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6003 (exit $ac_status); } &&
6004 { ac_try='test -s conftest.$ac_objext'
6005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6009 (exit $ac_status); }; }; then
6010 ac_cv_header_stdc=yes
6012 echo "$as_me: failed program was:" >&5
6013 sed 's/^/| /' conftest.$ac_ext >&5
6015 ac_cv_header_stdc=no
6017 rm -f conftest.$ac_objext conftest.$ac_ext
6019 if test $ac_cv_header_stdc = yes; then
6020 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6021 cat >conftest.$ac_ext <<_ACEOF
6022 #line $LINENO "configure"
6025 cat confdefs.h >>conftest.$ac_ext
6026 cat >>conftest.$ac_ext <<_ACEOF
6027 /* end confdefs.h. */
6031 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6032 $EGREP "memchr" >/dev/null 2>&1; then
6035 ac_cv_header_stdc=no
6041 if test $ac_cv_header_stdc = yes; then
6042 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6043 cat >conftest.$ac_ext <<_ACEOF
6044 #line $LINENO "configure"
6047 cat confdefs.h >>conftest.$ac_ext
6048 cat >>conftest.$ac_ext <<_ACEOF
6049 /* end confdefs.h. */
6053 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6054 $EGREP "free" >/dev/null 2>&1; then
6057 ac_cv_header_stdc=no
6063 if test $ac_cv_header_stdc = yes; then
6064 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6065 if test "$cross_compiling" = yes; then
6068 cat >conftest.$ac_ext <<_ACEOF
6069 #line $LINENO "configure"
6072 cat confdefs.h >>conftest.$ac_ext
6073 cat >>conftest.$ac_ext <<_ACEOF
6074 /* end confdefs.h. */
6076 #if ((' ' & 0x0FF) == 0x020)
6077 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6078 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6080 # define ISLOWER(c) \
6081 (('a' <= (c) && (c) <= 'i') \
6082 || ('j' <= (c) && (c) <= 'r') \
6083 || ('s' <= (c) && (c) <= 'z'))
6084 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6087 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6092 for (i = 0; i < 256; i++)
6093 if (XOR (islower (i), ISLOWER (i))
6094 || toupper (i) != TOUPPER (i))
6099 rm -f conftest$ac_exeext
6100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6101 (eval $ac_link) 2>&5
6103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6104 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6109 (exit $ac_status); }; }; then
6112 echo "$as_me: program exited with status $ac_status" >&5
6113 echo "$as_me: failed program was:" >&5
6114 sed 's/^/| /' conftest.$ac_ext >&5
6117 ac_cv_header_stdc=no
6119 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6123 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6124 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6125 if test $ac_cv_header_stdc = yes; then
6127 cat >>confdefs.h <<\_ACEOF
6128 #define STDC_HEADERS 1
6133 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6143 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6144 inttypes.h stdint.h unistd.h
6146 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6147 echo "$as_me:$LINENO: checking for $ac_header" >&5
6148 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6149 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6150 echo $ECHO_N "(cached) $ECHO_C" >&6
6152 cat >conftest.$ac_ext <<_ACEOF
6153 #line $LINENO "configure"
6156 cat confdefs.h >>conftest.$ac_ext
6157 cat >>conftest.$ac_ext <<_ACEOF
6158 /* end confdefs.h. */
6159 $ac_includes_default
6161 #include <$ac_header>
6163 rm -f conftest.$ac_objext
6164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6165 (eval $ac_compile) 2>&5
6167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6168 (exit $ac_status); } &&
6169 { ac_try='test -s conftest.$ac_objext'
6170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6174 (exit $ac_status); }; }; then
6175 eval "$as_ac_Header=yes"
6177 echo "$as_me: failed program was:" >&5
6178 sed 's/^/| /' conftest.$ac_ext >&5
6180 eval "$as_ac_Header=no"
6182 rm -f conftest.$ac_objext conftest.$ac_ext
6184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6185 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6186 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6187 cat >>confdefs.h <<_ACEOF
6188 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6197 for ac_header in jpeglib.h
6199 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6200 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6201 echo "$as_me:$LINENO: checking for $ac_header" >&5
6202 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6203 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6204 echo $ECHO_N "(cached) $ECHO_C" >&6
6206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6207 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6209 # Is the header compilable?
6210 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6211 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6212 cat >conftest.$ac_ext <<_ACEOF
6213 #line $LINENO "configure"
6216 cat confdefs.h >>conftest.$ac_ext
6217 cat >>conftest.$ac_ext <<_ACEOF
6218 /* end confdefs.h. */
6219 $ac_includes_default
6220 #include <$ac_header>
6222 rm -f conftest.$ac_objext
6223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6224 (eval $ac_compile) 2>&5
6226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6227 (exit $ac_status); } &&
6228 { ac_try='test -s conftest.$ac_objext'
6229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6233 (exit $ac_status); }; }; then
6234 ac_header_compiler=yes
6236 echo "$as_me: failed program was:" >&5
6237 sed 's/^/| /' conftest.$ac_ext >&5
6239 ac_header_compiler=no
6241 rm -f conftest.$ac_objext conftest.$ac_ext
6242 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6243 echo "${ECHO_T}$ac_header_compiler" >&6
6245 # Is the header present?
6246 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6247 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6248 cat >conftest.$ac_ext <<_ACEOF
6249 #line $LINENO "configure"
6252 cat confdefs.h >>conftest.$ac_ext
6253 cat >>conftest.$ac_ext <<_ACEOF
6254 /* end confdefs.h. */
6255 #include <$ac_header>
6257 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6258 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6260 grep -v '^ *+' conftest.er1 >conftest.err
6262 cat conftest.err >&5
6263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6264 (exit $ac_status); } >/dev/null; then
6265 if test -s conftest.err; then
6266 ac_cpp_err=$ac_c_preproc_warn_flag
6273 if test -z "$ac_cpp_err"; then
6274 ac_header_preproc=yes
6276 echo "$as_me: failed program was:" >&5
6277 sed 's/^/| /' conftest.$ac_ext >&5
6279 ac_header_preproc=no
6281 rm -f conftest.err conftest.$ac_ext
6282 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6283 echo "${ECHO_T}$ac_header_preproc" >&6
6285 # So? What about this header?
6286 case $ac_header_compiler:$ac_header_preproc in
6288 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6289 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6290 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6291 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6294 ## ------------------------------------ ##
6295 ## Report this to bug-autoconf@gnu.org. ##
6296 ## ------------------------------------ ##
6299 sed "s/^/$as_me: WARNING: /" >&2
6302 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6303 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6304 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6305 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6306 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6307 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6310 ## ------------------------------------ ##
6311 ## Report this to bug-autoconf@gnu.org. ##
6312 ## ------------------------------------ ##
6315 sed "s/^/$as_me: WARNING: /" >&2
6318 echo "$as_me:$LINENO: checking for $ac_header" >&5
6319 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6320 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6321 echo $ECHO_N "(cached) $ECHO_C" >&6
6323 eval "$as_ac_Header=$ac_header_preproc"
6325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6326 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6329 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6330 cat >>confdefs.h <<_ACEOF
6331 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6333 echo "$as_me:$LINENO: checking for jpeg_start_decompress in -ljpeg" >&5
6334 echo $ECHO_N "checking for jpeg_start_decompress in -ljpeg... $ECHO_C" >&6
6335 if test "${ac_cv_lib_jpeg_jpeg_start_decompress+set}" = set; then
6336 echo $ECHO_N "(cached) $ECHO_C" >&6
6338 ac_check_lib_save_LIBS=$LIBS
6340 cat >conftest.$ac_ext <<_ACEOF
6341 #line $LINENO "configure"
6344 cat confdefs.h >>conftest.$ac_ext
6345 cat >>conftest.$ac_ext <<_ACEOF
6346 /* end confdefs.h. */
6348 /* Override any gcc2 internal prototype to avoid an error. */
6352 /* We use char because int might match the return type of a gcc2
6353 builtin and then its argument prototype would still apply. */
6354 char jpeg_start_decompress ();
6358 jpeg_start_decompress ();
6363 rm -f conftest.$ac_objext conftest$ac_exeext
6364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6365 (eval $ac_link) 2>&5
6367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6368 (exit $ac_status); } &&
6369 { ac_try='test -s conftest$ac_exeext'
6370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6374 (exit $ac_status); }; }; then
6375 ac_cv_lib_jpeg_jpeg_start_decompress=yes
6377 echo "$as_me: failed program was:" >&5
6378 sed 's/^/| /' conftest.$ac_ext >&5
6380 ac_cv_lib_jpeg_jpeg_start_decompress=no
6382 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6383 LIBS=$ac_check_lib_save_LIBS
6385 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_start_decompress" >&5
6386 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_start_decompress" >&6
6387 if test $ac_cv_lib_jpeg_jpeg_start_decompress = yes; then
6389 cat >>confdefs.h <<\_ACEOF
6390 #define HAVE_LIBJPEG 1
6406 for ac_header in gif_lib.h
6408 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6409 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6410 echo "$as_me:$LINENO: checking for $ac_header" >&5
6411 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6412 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6413 echo $ECHO_N "(cached) $ECHO_C" >&6
6415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6416 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6418 # Is the header compilable?
6419 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6420 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6421 cat >conftest.$ac_ext <<_ACEOF
6422 #line $LINENO "configure"
6425 cat confdefs.h >>conftest.$ac_ext
6426 cat >>conftest.$ac_ext <<_ACEOF
6427 /* end confdefs.h. */
6428 $ac_includes_default
6429 #include <$ac_header>
6431 rm -f conftest.$ac_objext
6432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6433 (eval $ac_compile) 2>&5
6435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6436 (exit $ac_status); } &&
6437 { ac_try='test -s conftest.$ac_objext'
6438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6442 (exit $ac_status); }; }; then
6443 ac_header_compiler=yes
6445 echo "$as_me: failed program was:" >&5
6446 sed 's/^/| /' conftest.$ac_ext >&5
6448 ac_header_compiler=no
6450 rm -f conftest.$ac_objext conftest.$ac_ext
6451 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6452 echo "${ECHO_T}$ac_header_compiler" >&6
6454 # Is the header present?
6455 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6456 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6457 cat >conftest.$ac_ext <<_ACEOF
6458 #line $LINENO "configure"
6461 cat confdefs.h >>conftest.$ac_ext
6462 cat >>conftest.$ac_ext <<_ACEOF
6463 /* end confdefs.h. */
6464 #include <$ac_header>
6466 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6467 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6469 grep -v '^ *+' conftest.er1 >conftest.err
6471 cat conftest.err >&5
6472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6473 (exit $ac_status); } >/dev/null; then
6474 if test -s conftest.err; then
6475 ac_cpp_err=$ac_c_preproc_warn_flag
6482 if test -z "$ac_cpp_err"; then
6483 ac_header_preproc=yes
6485 echo "$as_me: failed program was:" >&5
6486 sed 's/^/| /' conftest.$ac_ext >&5
6488 ac_header_preproc=no
6490 rm -f conftest.err conftest.$ac_ext
6491 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6492 echo "${ECHO_T}$ac_header_preproc" >&6
6494 # So? What about this header?
6495 case $ac_header_compiler:$ac_header_preproc in
6497 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6498 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6499 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6500 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6503 ## ------------------------------------ ##
6504 ## Report this to bug-autoconf@gnu.org. ##
6505 ## ------------------------------------ ##
6508 sed "s/^/$as_me: WARNING: /" >&2
6511 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6512 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6513 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6514 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6515 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6516 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6519 ## ------------------------------------ ##
6520 ## Report this to bug-autoconf@gnu.org. ##
6521 ## ------------------------------------ ##
6524 sed "s/^/$as_me: WARNING: /" >&2
6527 echo "$as_me:$LINENO: checking for $ac_header" >&5
6528 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6529 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6530 echo $ECHO_N "(cached) $ECHO_C" >&6
6532 eval "$as_ac_Header=$ac_header_preproc"
6534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6535 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6538 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6539 cat >>confdefs.h <<_ACEOF
6540 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6542 echo "$as_me:$LINENO: checking for DGifOpen in -lungif" >&5
6543 echo $ECHO_N "checking for DGifOpen in -lungif... $ECHO_C" >&6
6544 if test "${ac_cv_lib_ungif_DGifOpen+set}" = set; then
6545 echo $ECHO_N "(cached) $ECHO_C" >&6
6547 ac_check_lib_save_LIBS=$LIBS
6548 LIBS="-lungif $LIBS"
6549 cat >conftest.$ac_ext <<_ACEOF
6550 #line $LINENO "configure"
6553 cat confdefs.h >>conftest.$ac_ext
6554 cat >>conftest.$ac_ext <<_ACEOF
6555 /* end confdefs.h. */
6557 /* Override any gcc2 internal prototype to avoid an error. */
6561 /* We use char because int might match the return type of a gcc2
6562 builtin and then its argument prototype would still apply. */
6572 rm -f conftest.$ac_objext conftest$ac_exeext
6573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6574 (eval $ac_link) 2>&5
6576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6577 (exit $ac_status); } &&
6578 { ac_try='test -s conftest$ac_exeext'
6579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6583 (exit $ac_status); }; }; then
6584 ac_cv_lib_ungif_DGifOpen=yes
6586 echo "$as_me: failed program was:" >&5
6587 sed 's/^/| /' conftest.$ac_ext >&5
6589 ac_cv_lib_ungif_DGifOpen=no
6591 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6592 LIBS=$ac_check_lib_save_LIBS
6594 echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_DGifOpen" >&5
6595 echo "${ECHO_T}$ac_cv_lib_ungif_DGifOpen" >&6
6596 if test $ac_cv_lib_ungif_DGifOpen = yes; then
6598 cat >>confdefs.h <<\_ACEOF
6599 #define HAVE_LIBGIF 1
6604 echo "$as_me:$LINENO: checking for DGifOpen in -lgif" >&5
6605 echo $ECHO_N "checking for DGifOpen in -lgif... $ECHO_C" >&6
6606 if test "${ac_cv_lib_gif_DGifOpen+set}" = set; then
6607 echo $ECHO_N "(cached) $ECHO_C" >&6
6609 ac_check_lib_save_LIBS=$LIBS
6611 cat >conftest.$ac_ext <<_ACEOF
6612 #line $LINENO "configure"
6615 cat confdefs.h >>conftest.$ac_ext
6616 cat >>conftest.$ac_ext <<_ACEOF
6617 /* end confdefs.h. */
6619 /* Override any gcc2 internal prototype to avoid an error. */
6623 /* We use char because int might match the return type of a gcc2
6624 builtin and then its argument prototype would still apply. */
6634 rm -f conftest.$ac_objext conftest$ac_exeext
6635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6636 (eval $ac_link) 2>&5
6638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6639 (exit $ac_status); } &&
6640 { ac_try='test -s conftest$ac_exeext'
6641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6645 (exit $ac_status); }; }; then
6646 ac_cv_lib_gif_DGifOpen=yes
6648 echo "$as_me: failed program was:" >&5
6649 sed 's/^/| /' conftest.$ac_ext >&5
6651 ac_cv_lib_gif_DGifOpen=no
6653 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6654 LIBS=$ac_check_lib_save_LIBS
6656 echo "$as_me:$LINENO: result: $ac_cv_lib_gif_DGifOpen" >&5
6657 echo "${ECHO_T}$ac_cv_lib_gif_DGifOpen" >&6
6658 if test $ac_cv_lib_gif_DGifOpen = yes; then
6659 cat >>confdefs.h <<\_ACEOF
6660 #define HAVE_LIBGIF 1
6682 if test "$have_x" = "yes"
6685 ac_save_CPPFLAGS="$CPPFLAGS"
6686 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
6689 for ac_header in X11/Xlib.h
6691 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6692 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6693 echo "$as_me:$LINENO: checking for $ac_header" >&5
6694 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6695 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6696 echo $ECHO_N "(cached) $ECHO_C" >&6
6698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6699 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6701 # Is the header compilable?
6702 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6703 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6704 cat >conftest.$ac_ext <<_ACEOF
6705 #line $LINENO "configure"
6708 cat confdefs.h >>conftest.$ac_ext
6709 cat >>conftest.$ac_ext <<_ACEOF
6710 /* end confdefs.h. */
6711 $ac_includes_default
6712 #include <$ac_header>
6714 rm -f conftest.$ac_objext
6715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6716 (eval $ac_compile) 2>&5
6718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6719 (exit $ac_status); } &&
6720 { ac_try='test -s conftest.$ac_objext'
6721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6725 (exit $ac_status); }; }; then
6726 ac_header_compiler=yes
6728 echo "$as_me: failed program was:" >&5
6729 sed 's/^/| /' conftest.$ac_ext >&5
6731 ac_header_compiler=no
6733 rm -f conftest.$ac_objext conftest.$ac_ext
6734 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6735 echo "${ECHO_T}$ac_header_compiler" >&6
6737 # Is the header present?
6738 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6739 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6740 cat >conftest.$ac_ext <<_ACEOF
6741 #line $LINENO "configure"
6744 cat confdefs.h >>conftest.$ac_ext
6745 cat >>conftest.$ac_ext <<_ACEOF
6746 /* end confdefs.h. */
6747 #include <$ac_header>
6749 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6750 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6752 grep -v '^ *+' conftest.er1 >conftest.err
6754 cat conftest.err >&5
6755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6756 (exit $ac_status); } >/dev/null; then
6757 if test -s conftest.err; then
6758 ac_cpp_err=$ac_c_preproc_warn_flag
6765 if test -z "$ac_cpp_err"; then
6766 ac_header_preproc=yes
6768 echo "$as_me: failed program was:" >&5
6769 sed 's/^/| /' conftest.$ac_ext >&5
6771 ac_header_preproc=no
6773 rm -f conftest.err conftest.$ac_ext
6774 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6775 echo "${ECHO_T}$ac_header_preproc" >&6
6777 # So? What about this header?
6778 case $ac_header_compiler:$ac_header_preproc in
6780 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6781 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6782 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6783 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6786 ## ------------------------------------ ##
6787 ## Report this to bug-autoconf@gnu.org. ##
6788 ## ------------------------------------ ##
6791 sed "s/^/$as_me: WARNING: /" >&2
6794 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6795 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6796 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6797 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6798 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6799 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6802 ## ------------------------------------ ##
6803 ## Report this to bug-autoconf@gnu.org. ##
6804 ## ------------------------------------ ##
6807 sed "s/^/$as_me: WARNING: /" >&2
6810 echo "$as_me:$LINENO: checking for $ac_header" >&5
6811 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6812 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6813 echo $ECHO_N "(cached) $ECHO_C" >&6
6815 eval "$as_ac_Header=$ac_header_preproc"
6817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6818 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6821 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6822 cat >>confdefs.h <<_ACEOF
6823 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6835 for ac_header in X11/XKBlib.h \
6837 X11/extensions/shape.h \
6838 X11/extensions/XShm.h \
6839 X11/extensions/Xrandr.h \
6840 X11/extensions/Xrender.h \
6841 X11/extensions/Xvlib.h \
6842 X11/extensions/xf86dga.h \
6843 X11/extensions/xf86vmode.h
6845 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6846 echo "$as_me:$LINENO: checking for $ac_header" >&5
6847 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6848 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6849 echo $ECHO_N "(cached) $ECHO_C" >&6
6851 cat >conftest.$ac_ext <<_ACEOF
6852 #line $LINENO "configure"
6855 cat confdefs.h >>conftest.$ac_ext
6856 cat >>conftest.$ac_ext <<_ACEOF
6857 /* end confdefs.h. */
6858 #include <X11/Xlib.h>
6859 #ifdef HAVE_X11_XUTIL_H
6860 # include <X11/Xutil.h>
6863 #include <$ac_header>
6865 rm -f conftest.$ac_objext
6866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6867 (eval $ac_compile) 2>&5
6869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6870 (exit $ac_status); } &&
6871 { ac_try='test -s conftest.$ac_objext'
6872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6876 (exit $ac_status); }; }; then
6877 eval "$as_ac_Header=yes"
6879 echo "$as_me: failed program was:" >&5
6880 sed 's/^/| /' conftest.$ac_ext >&5
6882 eval "$as_ac_Header=no"
6884 rm -f conftest.$ac_objext conftest.$ac_ext
6886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6887 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6888 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6889 cat >>confdefs.h <<_ACEOF
6890 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6898 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
6900 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
6901 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
6902 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
6903 echo $ECHO_N "(cached) $ECHO_C" >&6
6905 ac_check_lib_save_LIBS=$LIBS
6906 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6907 cat >conftest.$ac_ext <<_ACEOF
6908 #line $LINENO "configure"
6911 cat confdefs.h >>conftest.$ac_ext
6912 cat >>conftest.$ac_ext <<_ACEOF
6913 /* end confdefs.h. */
6915 /* Override any gcc2 internal prototype to avoid an error. */
6919 /* We use char because int might match the return type of a gcc2
6920 builtin and then its argument prototype would still apply. */
6921 char XkbQueryExtension ();
6925 XkbQueryExtension ();
6930 rm -f conftest.$ac_objext conftest$ac_exeext
6931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6932 (eval $ac_link) 2>&5
6934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6935 (exit $ac_status); } &&
6936 { ac_try='test -s conftest$ac_exeext'
6937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6941 (exit $ac_status); }; }; then
6942 ac_cv_lib_X11_XkbQueryExtension=yes
6944 echo "$as_me: failed program was:" >&5
6945 sed 's/^/| /' conftest.$ac_ext >&5
6947 ac_cv_lib_X11_XkbQueryExtension=no
6949 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6950 LIBS=$ac_check_lib_save_LIBS
6952 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
6953 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
6954 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
6956 cat >>confdefs.h <<\_ACEOF
6964 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
6966 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
6967 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
6968 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
6969 echo $ECHO_N "(cached) $ECHO_C" >&6
6971 ac_check_lib_save_LIBS=$LIBS
6972 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6973 cat >conftest.$ac_ext <<_ACEOF
6974 #line $LINENO "configure"
6977 cat confdefs.h >>conftest.$ac_ext
6978 cat >>conftest.$ac_ext <<_ACEOF
6979 /* end confdefs.h. */
6981 /* Override any gcc2 internal prototype to avoid an error. */
6985 /* We use char because int might match the return type of a gcc2
6986 builtin and then its argument prototype would still apply. */
6987 char XShmQueryExtension ();
6991 XShmQueryExtension ();
6996 rm -f conftest.$ac_objext conftest$ac_exeext
6997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6998 (eval $ac_link) 2>&5
7000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7001 (exit $ac_status); } &&
7002 { ac_try='test -s conftest$ac_exeext'
7003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7007 (exit $ac_status); }; }; then
7008 ac_cv_lib_Xext_XShmQueryExtension=yes
7010 echo "$as_me: failed program was:" >&5
7011 sed 's/^/| /' conftest.$ac_ext >&5
7013 ac_cv_lib_Xext_XShmQueryExtension=no
7015 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7016 LIBS=$ac_check_lib_save_LIBS
7018 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7019 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
7020 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7022 cat >>confdefs.h <<\_ACEOF
7023 #define HAVE_LIBXXSHM 1
7030 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7032 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7033 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
7034 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7035 echo $ECHO_N "(cached) $ECHO_C" >&6
7037 ac_check_lib_save_LIBS=$LIBS
7038 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7039 cat >conftest.$ac_ext <<_ACEOF
7040 #line $LINENO "configure"
7043 cat confdefs.h >>conftest.$ac_ext
7044 cat >>conftest.$ac_ext <<_ACEOF
7045 /* end confdefs.h. */
7047 /* Override any gcc2 internal prototype to avoid an error. */
7051 /* We use char because int might match the return type of a gcc2
7052 builtin and then its argument prototype would still apply. */
7053 char XShapeQueryExtension ();
7057 XShapeQueryExtension ();
7062 rm -f conftest.$ac_objext conftest$ac_exeext
7063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7064 (eval $ac_link) 2>&5
7066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7067 (exit $ac_status); } &&
7068 { ac_try='test -s conftest$ac_exeext'
7069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7073 (exit $ac_status); }; }; then
7074 ac_cv_lib_Xext_XShapeQueryExtension=yes
7076 echo "$as_me: failed program was:" >&5
7077 sed 's/^/| /' conftest.$ac_ext >&5
7079 ac_cv_lib_Xext_XShapeQueryExtension=no
7081 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7082 LIBS=$ac_check_lib_save_LIBS
7084 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
7085 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
7086 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
7088 cat >>confdefs.h <<\_ACEOF
7089 #define HAVE_LIBXSHAPE 1
7096 if test "$ac_cv_header_X11_extensions_xf86dga_h" = "yes"
7098 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
7099 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
7100 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
7101 echo $ECHO_N "(cached) $ECHO_C" >&6
7103 ac_check_lib_save_LIBS=$LIBS
7104 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7105 cat >conftest.$ac_ext <<_ACEOF
7106 #line $LINENO "configure"
7109 cat confdefs.h >>conftest.$ac_ext
7110 cat >>conftest.$ac_ext <<_ACEOF
7111 /* end confdefs.h. */
7113 /* Override any gcc2 internal prototype to avoid an error. */
7117 /* We use char because int might match the return type of a gcc2
7118 builtin and then its argument prototype would still apply. */
7119 char XDGAQueryExtension ();
7123 XDGAQueryExtension ();
7128 rm -f conftest.$ac_objext conftest$ac_exeext
7129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7130 (eval $ac_link) 2>&5
7132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7133 (exit $ac_status); } &&
7134 { ac_try='test -s conftest$ac_exeext'
7135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7139 (exit $ac_status); }; }; then
7140 ac_cv_lib_Xxf86dga_XDGAQueryExtension=yes
7142 echo "$as_me: failed program was:" >&5
7143 sed 's/^/| /' conftest.$ac_ext >&5
7145 ac_cv_lib_Xxf86dga_XDGAQueryExtension=no
7147 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7148 LIBS=$ac_check_lib_save_LIBS
7150 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
7151 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
7152 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
7154 cat >>confdefs.h <<\_ACEOF
7155 #define HAVE_LIBXXF86DGA2 1
7158 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
7161 echo "$as_me:$LINENO: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
7162 echo $ECHO_N "checking for XF86DGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
7163 if test "${ac_cv_lib_Xxf86dga_XF86DGAQueryExtension+set}" = set; then
7164 echo $ECHO_N "(cached) $ECHO_C" >&6
7166 ac_check_lib_save_LIBS=$LIBS
7167 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
7169 cat >conftest.$ac_ext <<_ACEOF
7170 #line $LINENO "configure"
7173 cat confdefs.h >>conftest.$ac_ext
7174 cat >>conftest.$ac_ext <<_ACEOF
7175 /* end confdefs.h. */
7177 /* Override any gcc2 internal prototype to avoid an error. */
7181 /* We use char because int might match the return type of a gcc2
7182 builtin and then its argument prototype would still apply. */
7183 char XF86DGAQueryExtension ();
7187 XF86DGAQueryExtension ();
7192 rm -f conftest.$ac_objext conftest$ac_exeext
7193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7194 (eval $ac_link) 2>&5
7196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7197 (exit $ac_status); } &&
7198 { ac_try='test -s conftest$ac_exeext'
7199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7203 (exit $ac_status); }; }; then
7204 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=yes
7206 echo "$as_me: failed program was:" >&5
7207 sed 's/^/| /' conftest.$ac_ext >&5
7209 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=no
7211 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7212 LIBS=$ac_check_lib_save_LIBS
7214 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&5
7215 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&6
7216 if test $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension = yes; then
7218 cat >>confdefs.h <<\_ACEOF
7219 #define HAVE_LIBXXF86DGA 1
7222 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
7231 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
7233 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
7234 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
7235 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
7236 echo $ECHO_N "(cached) $ECHO_C" >&6
7238 ac_check_lib_save_LIBS=$LIBS
7239 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7240 cat >conftest.$ac_ext <<_ACEOF
7241 #line $LINENO "configure"
7244 cat confdefs.h >>conftest.$ac_ext
7245 cat >>conftest.$ac_ext <<_ACEOF
7246 /* end confdefs.h. */
7248 /* Override any gcc2 internal prototype to avoid an error. */
7252 /* We use char because int might match the return type of a gcc2
7253 builtin and then its argument prototype would still apply. */
7254 char XF86VidModeQueryExtension ();
7258 XF86VidModeQueryExtension ();
7263 rm -f conftest.$ac_objext conftest$ac_exeext
7264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7265 (eval $ac_link) 2>&5
7267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7268 (exit $ac_status); } &&
7269 { ac_try='test -s conftest$ac_exeext'
7270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7274 (exit $ac_status); }; }; then
7275 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
7277 echo "$as_me: failed program was:" >&5
7278 sed 's/^/| /' conftest.$ac_ext >&5
7280 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
7282 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7283 LIBS=$ac_check_lib_save_LIBS
7285 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
7286 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
7287 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
7289 cat >>confdefs.h <<\_ACEOF
7290 #define HAVE_LIBXXF86VM 1
7293 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
7299 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
7301 echo "$as_me:$LINENO: checking for XRRSetScreenConfigAndRate in -lXrandr" >&5
7302 echo $ECHO_N "checking for XRRSetScreenConfigAndRate in -lXrandr... $ECHO_C" >&6
7303 if test "${ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate+set}" = set; then
7304 echo $ECHO_N "(cached) $ECHO_C" >&6
7306 ac_check_lib_save_LIBS=$LIBS
7307 LIBS="-lXrandr $X_LIBS -lXrender -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7308 cat >conftest.$ac_ext <<_ACEOF
7309 #line $LINENO "configure"
7312 cat confdefs.h >>conftest.$ac_ext
7313 cat >>conftest.$ac_ext <<_ACEOF
7314 /* end confdefs.h. */
7316 /* Override any gcc2 internal prototype to avoid an error. */
7320 /* We use char because int might match the return type of a gcc2
7321 builtin and then its argument prototype would still apply. */
7322 char XRRSetScreenConfigAndRate ();
7326 XRRSetScreenConfigAndRate ();
7331 rm -f conftest.$ac_objext conftest$ac_exeext
7332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7333 (eval $ac_link) 2>&5
7335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7336 (exit $ac_status); } &&
7337 { ac_try='test -s conftest$ac_exeext'
7338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7342 (exit $ac_status); }; }; then
7343 ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate=yes
7345 echo "$as_me: failed program was:" >&5
7346 sed 's/^/| /' conftest.$ac_ext >&5
7348 ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate=no
7350 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7351 LIBS=$ac_check_lib_save_LIBS
7353 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate" >&5
7354 echo "${ECHO_T}$ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate" >&6
7355 if test $ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate = yes; then
7357 cat >>confdefs.h <<\_ACEOF
7358 #define HAVE_LIBXRANDR 1
7361 X_PRE_LIBS="$X_PRE_LIBS -lXrandr -lXrender"
7367 if test "$ac_cv_header_X11_extensions_Xvlib_h" = "yes"
7369 echo "$as_me:$LINENO: checking for XvShmCreateImage in -lXv" >&5
7370 echo $ECHO_N "checking for XvShmCreateImage in -lXv... $ECHO_C" >&6
7371 if test "${ac_cv_lib_Xv_XvShmCreateImage+set}" = set; then
7372 echo $ECHO_N "(cached) $ECHO_C" >&6
7374 ac_check_lib_save_LIBS=$LIBS
7375 LIBS="-lXv $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7376 cat >conftest.$ac_ext <<_ACEOF
7377 #line $LINENO "configure"
7380 cat confdefs.h >>conftest.$ac_ext
7381 cat >>conftest.$ac_ext <<_ACEOF
7382 /* end confdefs.h. */
7384 /* Override any gcc2 internal prototype to avoid an error. */
7388 /* We use char because int might match the return type of a gcc2
7389 builtin and then its argument prototype would still apply. */
7390 char XvShmCreateImage ();
7394 XvShmCreateImage ();
7399 rm -f conftest.$ac_objext conftest$ac_exeext
7400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7401 (eval $ac_link) 2>&5
7403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7404 (exit $ac_status); } &&
7405 { ac_try='test -s conftest$ac_exeext'
7406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7410 (exit $ac_status); }; }; then
7411 ac_cv_lib_Xv_XvShmCreateImage=yes
7413 echo "$as_me: failed program was:" >&5
7414 sed 's/^/| /' conftest.$ac_ext >&5
7416 ac_cv_lib_Xv_XvShmCreateImage=no
7418 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7419 LIBS=$ac_check_lib_save_LIBS
7421 echo "$as_me:$LINENO: result: $ac_cv_lib_Xv_XvShmCreateImage" >&5
7422 echo "${ECHO_T}$ac_cv_lib_Xv_XvShmCreateImage" >&6
7423 if test $ac_cv_lib_Xv_XvShmCreateImage = yes; then
7425 cat >>confdefs.h <<\_ACEOF
7426 #define HAVE_XVIDEO 1
7429 X_PRE_LIBS="$X_PRE_LIBS -lXv"
7440 if test "x$with_opengl" != "xno"
7442 if test -f /usr/X11R6/lib/libGL.a -a ! -f /usr/X11R6/lib/libGL.so
7444 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
7445 This prevents linking to OpenGL. Delete the file and restart configure." >&5
7446 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
7447 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
7448 { (exit 1); exit 1; }; }
7453 for ac_header in GL/gl.h GL/glx.h
7455 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7456 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7457 echo "$as_me:$LINENO: checking for $ac_header" >&5
7458 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7459 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7460 echo $ECHO_N "(cached) $ECHO_C" >&6
7462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7463 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7465 # Is the header compilable?
7466 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7467 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7468 cat >conftest.$ac_ext <<_ACEOF
7469 #line $LINENO "configure"
7472 cat confdefs.h >>conftest.$ac_ext
7473 cat >>conftest.$ac_ext <<_ACEOF
7474 /* end confdefs.h. */
7475 $ac_includes_default
7476 #include <$ac_header>
7478 rm -f conftest.$ac_objext
7479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7480 (eval $ac_compile) 2>&5
7482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7483 (exit $ac_status); } &&
7484 { ac_try='test -s conftest.$ac_objext'
7485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7489 (exit $ac_status); }; }; then
7490 ac_header_compiler=yes
7492 echo "$as_me: failed program was:" >&5
7493 sed 's/^/| /' conftest.$ac_ext >&5
7495 ac_header_compiler=no
7497 rm -f conftest.$ac_objext conftest.$ac_ext
7498 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7499 echo "${ECHO_T}$ac_header_compiler" >&6
7501 # Is the header present?
7502 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7503 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7504 cat >conftest.$ac_ext <<_ACEOF
7505 #line $LINENO "configure"
7508 cat confdefs.h >>conftest.$ac_ext
7509 cat >>conftest.$ac_ext <<_ACEOF
7510 /* end confdefs.h. */
7511 #include <$ac_header>
7513 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7514 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7516 grep -v '^ *+' conftest.er1 >conftest.err
7518 cat conftest.err >&5
7519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7520 (exit $ac_status); } >/dev/null; then
7521 if test -s conftest.err; then
7522 ac_cpp_err=$ac_c_preproc_warn_flag
7529 if test -z "$ac_cpp_err"; then
7530 ac_header_preproc=yes
7532 echo "$as_me: failed program was:" >&5
7533 sed 's/^/| /' conftest.$ac_ext >&5
7535 ac_header_preproc=no
7537 rm -f conftest.err conftest.$ac_ext
7538 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7539 echo "${ECHO_T}$ac_header_preproc" >&6
7541 # So? What about this header?
7542 case $ac_header_compiler:$ac_header_preproc in
7544 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7545 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7546 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7547 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7550 ## ------------------------------------ ##
7551 ## Report this to bug-autoconf@gnu.org. ##
7552 ## ------------------------------------ ##
7555 sed "s/^/$as_me: WARNING: /" >&2
7558 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7559 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7560 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7561 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7562 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7563 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7566 ## ------------------------------------ ##
7567 ## Report this to bug-autoconf@gnu.org. ##
7568 ## ------------------------------------ ##
7571 sed "s/^/$as_me: WARNING: /" >&2
7574 echo "$as_me:$LINENO: checking for $ac_header" >&5
7575 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7576 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7577 echo $ECHO_N "(cached) $ECHO_C" >&6
7579 eval "$as_ac_Header=$ac_header_preproc"
7581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7582 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7585 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7586 cat >>confdefs.h <<_ACEOF
7587 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7594 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
7597 for ac_header in GL/glext.h
7599 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7600 echo "$as_me:$LINENO: checking for $ac_header" >&5
7601 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7602 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7603 echo $ECHO_N "(cached) $ECHO_C" >&6
7605 cat >conftest.$ac_ext <<_ACEOF
7606 #line $LINENO "configure"
7609 cat confdefs.h >>conftest.$ac_ext
7610 cat >>conftest.$ac_ext <<_ACEOF
7611 /* end confdefs.h. */
7614 #include <$ac_header>
7616 rm -f conftest.$ac_objext
7617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7618 (eval $ac_compile) 2>&5
7620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7621 (exit $ac_status); } &&
7622 { ac_try='test -s conftest.$ac_objext'
7623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7627 (exit $ac_status); }; }; then
7628 eval "$as_ac_Header=yes"
7630 echo "$as_me: failed program was:" >&5
7631 sed 's/^/| /' conftest.$ac_ext >&5
7633 eval "$as_ac_Header=no"
7635 rm -f conftest.$ac_objext conftest.$ac_ext
7637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7638 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7639 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7640 cat >>confdefs.h <<_ACEOF
7641 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7648 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
7649 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
7650 if test "${wine_cv_opengl_version_OK+set}" = set; then
7651 echo $ECHO_N "(cached) $ECHO_C" >&6
7653 cat >conftest.$ac_ext <<_ACEOF
7654 #line $LINENO "configure"
7657 cat confdefs.h >>conftest.$ac_ext
7658 cat >>conftest.$ac_ext <<_ACEOF
7659 /* end confdefs.h. */
7664 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
7669 rm -f conftest.$ac_objext
7670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7671 (eval $ac_compile) 2>&5
7673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7674 (exit $ac_status); } &&
7675 { ac_try='test -s conftest.$ac_objext'
7676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7680 (exit $ac_status); }; }; then
7681 wine_cv_opengl_version_OK="yes"
7683 echo "$as_me: failed program was:" >&5
7684 sed 's/^/| /' conftest.$ac_ext >&5
7686 wine_cv_opengl_version_OK="no"
7689 rm -f conftest.$ac_objext conftest.$ac_ext
7692 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
7693 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
7695 if test "$wine_cv_opengl_version_OK" = "yes"
7697 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
7698 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
7699 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
7700 echo $ECHO_N "(cached) $ECHO_C" >&6
7702 ac_check_lib_save_LIBS=$LIBS
7703 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
7704 cat >conftest.$ac_ext <<_ACEOF
7705 #line $LINENO "configure"
7708 cat confdefs.h >>conftest.$ac_ext
7709 cat >>conftest.$ac_ext <<_ACEOF
7710 /* end confdefs.h. */
7712 /* Override any gcc2 internal prototype to avoid an error. */
7716 /* We use char because int might match the return type of a gcc2
7717 builtin and then its argument prototype would still apply. */
7718 char glXCreateContext ();
7722 glXCreateContext ();
7727 rm -f conftest.$ac_objext conftest$ac_exeext
7728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7729 (eval $ac_link) 2>&5
7731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7732 (exit $ac_status); } &&
7733 { ac_try='test -s conftest$ac_exeext'
7734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7738 (exit $ac_status); }; }; then
7739 ac_cv_lib_GL_glXCreateContext=yes
7741 echo "$as_me: failed program was:" >&5
7742 sed 's/^/| /' conftest.$ac_ext >&5
7744 ac_cv_lib_GL_glXCreateContext=no
7746 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7747 LIBS=$ac_check_lib_save_LIBS
7749 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
7750 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
7751 if test $ac_cv_lib_GL_glXCreateContext = yes; then
7757 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
7759 OPENGLFILES='$(OPENGLFILES)'
7761 cat >>confdefs.h <<\_ACEOF
7762 #define HAVE_OPENGL 1
7766 echo "$as_me:$LINENO: checking for glXGetProcAddressARB in -lGL" >&5
7767 echo $ECHO_N "checking for glXGetProcAddressARB in -lGL... $ECHO_C" >&6
7768 if test "${ac_cv_lib_GL_glXGetProcAddressARB+set}" = set; then
7769 echo $ECHO_N "(cached) $ECHO_C" >&6
7771 ac_check_lib_save_LIBS=$LIBS
7772 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
7773 cat >conftest.$ac_ext <<_ACEOF
7774 #line $LINENO "configure"
7777 cat confdefs.h >>conftest.$ac_ext
7778 cat >>conftest.$ac_ext <<_ACEOF
7779 /* end confdefs.h. */
7781 /* Override any gcc2 internal prototype to avoid an error. */
7785 /* We use char because int might match the return type of a gcc2
7786 builtin and then its argument prototype would still apply. */
7787 char glXGetProcAddressARB ();
7791 glXGetProcAddressARB ();
7796 rm -f conftest.$ac_objext conftest$ac_exeext
7797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7798 (eval $ac_link) 2>&5
7800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7801 (exit $ac_status); } &&
7802 { ac_try='test -s conftest$ac_exeext'
7803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7807 (exit $ac_status); }; }; then
7808 ac_cv_lib_GL_glXGetProcAddressARB=yes
7810 echo "$as_me: failed program was:" >&5
7811 sed 's/^/| /' conftest.$ac_ext >&5
7813 ac_cv_lib_GL_glXGetProcAddressARB=no
7815 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7816 LIBS=$ac_check_lib_save_LIBS
7818 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXGetProcAddressARB" >&5
7819 echo "${ECHO_T}$ac_cv_lib_GL_glXGetProcAddressARB" >&6
7820 if test $ac_cv_lib_GL_glXGetProcAddressARB = yes; then
7822 cat >>confdefs.h <<\_ACEOF
7823 #define HAVE_GLX_GETPROCADDRESS 1
7829 if test "$ac_cv_lib_GL_glXGetProcAddressARB" = "yes"
7831 echo "$as_me:$LINENO: checking for OpenGL extension functions prototypes" >&5
7832 echo $ECHO_N "checking for OpenGL extension functions prototypes... $ECHO_C" >&6
7833 if test "${wine_cv_extension_prototypes+set}" = set; then
7834 echo $ECHO_N "(cached) $ECHO_C" >&6
7836 cat >conftest.$ac_ext <<_ACEOF
7837 #line $LINENO "configure"
7840 cat confdefs.h >>conftest.$ac_ext
7841 cat >>conftest.$ac_ext <<_ACEOF
7842 /* end confdefs.h. */
7844 #ifdef HAVE_GL_GLEXT_H
7845 # include <GL/glext.h>
7851 PFNGLCOLORTABLEEXTPROC test_proc;
7856 rm -f conftest.$ac_objext
7857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7858 (eval $ac_compile) 2>&5
7860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7861 (exit $ac_status); } &&
7862 { ac_try='test -s conftest.$ac_objext'
7863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7867 (exit $ac_status); }; }; then
7868 wine_cv_extension_prototypes="yes"
7870 echo "$as_me: failed program was:" >&5
7871 sed 's/^/| /' conftest.$ac_ext >&5
7873 wine_cv_extension_prototypes="no"
7876 rm -f conftest.$ac_objext conftest.$ac_ext
7879 echo "$as_me:$LINENO: result: $wine_cv_extension_prototypes" >&5
7880 echo "${ECHO_T}$wine_cv_extension_prototypes" >&6
7881 if test "$wine_cv_extension_prototypes" = "yes"
7884 cat >>confdefs.h <<\_ACEOF
7885 #define HAVE_GLEXT_PROTOTYPES 1
7892 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
7893 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
7894 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
7895 echo $ECHO_N "(cached) $ECHO_C" >&6
7897 ac_check_lib_save_LIBS=$LIBS
7898 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
7900 cat >conftest.$ac_ext <<_ACEOF
7901 #line $LINENO "configure"
7904 cat confdefs.h >>conftest.$ac_ext
7905 cat >>conftest.$ac_ext <<_ACEOF
7906 /* end confdefs.h. */
7908 /* Override any gcc2 internal prototype to avoid an error. */
7912 /* We use char because int might match the return type of a gcc2
7913 builtin and then its argument prototype would still apply. */
7923 rm -f conftest.$ac_objext conftest$ac_exeext
7924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7925 (eval $ac_link) 2>&5
7927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7928 (exit $ac_status); } &&
7929 { ac_try='test -s conftest$ac_exeext'
7930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7934 (exit $ac_status); }; }; then
7935 ac_cv_lib_GLU_gluLookAt=yes
7937 echo "$as_me: failed program was:" >&5
7938 sed 's/^/| /' conftest.$ac_ext >&5
7940 ac_cv_lib_GLU_gluLookAt=no
7942 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7943 LIBS=$ac_check_lib_save_LIBS
7945 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
7946 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
7947 if test $ac_cv_lib_GLU_gluLookAt = yes; then
7948 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
7949 GLU32FILES='$(GLU32FILES)'
7960 for ac_header in audio/audiolib.h
7962 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7963 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7964 echo "$as_me:$LINENO: checking for $ac_header" >&5
7965 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7966 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7967 echo $ECHO_N "(cached) $ECHO_C" >&6
7969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7970 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7972 # Is the header compilable?
7973 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7974 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7975 cat >conftest.$ac_ext <<_ACEOF
7976 #line $LINENO "configure"
7979 cat confdefs.h >>conftest.$ac_ext
7980 cat >>conftest.$ac_ext <<_ACEOF
7981 /* end confdefs.h. */
7982 $ac_includes_default
7983 #include <$ac_header>
7985 rm -f conftest.$ac_objext
7986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7987 (eval $ac_compile) 2>&5
7989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7990 (exit $ac_status); } &&
7991 { ac_try='test -s conftest.$ac_objext'
7992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7996 (exit $ac_status); }; }; then
7997 ac_header_compiler=yes
7999 echo "$as_me: failed program was:" >&5
8000 sed 's/^/| /' conftest.$ac_ext >&5
8002 ac_header_compiler=no
8004 rm -f conftest.$ac_objext conftest.$ac_ext
8005 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8006 echo "${ECHO_T}$ac_header_compiler" >&6
8008 # Is the header present?
8009 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8010 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
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. */
8018 #include <$ac_header>
8020 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8021 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8023 grep -v '^ *+' conftest.er1 >conftest.err
8025 cat conftest.err >&5
8026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8027 (exit $ac_status); } >/dev/null; then
8028 if test -s conftest.err; then
8029 ac_cpp_err=$ac_c_preproc_warn_flag
8036 if test -z "$ac_cpp_err"; then
8037 ac_header_preproc=yes
8039 echo "$as_me: failed program was:" >&5
8040 sed 's/^/| /' conftest.$ac_ext >&5
8042 ac_header_preproc=no
8044 rm -f conftest.err conftest.$ac_ext
8045 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8046 echo "${ECHO_T}$ac_header_preproc" >&6
8048 # So? What about this header?
8049 case $ac_header_compiler:$ac_header_preproc in
8051 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8052 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8053 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8054 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8057 ## ------------------------------------ ##
8058 ## Report this to bug-autoconf@gnu.org. ##
8059 ## ------------------------------------ ##
8062 sed "s/^/$as_me: WARNING: /" >&2
8065 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8066 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8067 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8068 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8069 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8070 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8073 ## ------------------------------------ ##
8074 ## Report this to bug-autoconf@gnu.org. ##
8075 ## ------------------------------------ ##
8078 sed "s/^/$as_me: WARNING: /" >&2
8081 echo "$as_me:$LINENO: checking for $ac_header" >&5
8082 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8083 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8084 echo $ECHO_N "(cached) $ECHO_C" >&6
8086 eval "$as_ac_Header=$ac_header_preproc"
8088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8089 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8092 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8093 cat >>confdefs.h <<_ACEOF
8094 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8097 for ac_header in audio/soundlib.h
8099 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8100 echo "$as_me:$LINENO: checking for $ac_header" >&5
8101 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8102 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8103 echo $ECHO_N "(cached) $ECHO_C" >&6
8105 cat >conftest.$ac_ext <<_ACEOF
8106 #line $LINENO "configure"
8109 cat confdefs.h >>conftest.$ac_ext
8110 cat >>conftest.$ac_ext <<_ACEOF
8111 /* end confdefs.h. */
8112 #include <audio/audiolib.h>
8114 #include <$ac_header>
8116 rm -f conftest.$ac_objext
8117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8118 (eval $ac_compile) 2>&5
8120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8121 (exit $ac_status); } &&
8122 { ac_try='test -s conftest.$ac_objext'
8123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8127 (exit $ac_status); }; }; then
8128 eval "$as_ac_Header=yes"
8130 echo "$as_me: failed program was:" >&5
8131 sed 's/^/| /' conftest.$ac_ext >&5
8133 eval "$as_ac_Header=no"
8135 rm -f conftest.$ac_objext conftest.$ac_ext
8137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8138 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8139 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8140 cat >>confdefs.h <<_ACEOF
8141 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8148 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8149 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
8150 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8151 echo $ECHO_N "(cached) $ECHO_C" >&6
8153 ac_check_lib_save_LIBS=$LIBS
8154 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8155 cat >conftest.$ac_ext <<_ACEOF
8156 #line $LINENO "configure"
8159 cat confdefs.h >>conftest.$ac_ext
8160 cat >>conftest.$ac_ext <<_ACEOF
8161 /* end confdefs.h. */
8163 /* Override any gcc2 internal prototype to avoid an error. */
8167 /* We use char because int might match the return type of a gcc2
8168 builtin and then its argument prototype would still apply. */
8169 char AuCreateFlow ();
8178 rm -f conftest.$ac_objext conftest$ac_exeext
8179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8180 (eval $ac_link) 2>&5
8182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8183 (exit $ac_status); } &&
8184 { ac_try='test -s conftest$ac_exeext'
8185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8189 (exit $ac_status); }; }; then
8190 ac_cv_lib_audio_AuCreateFlow=yes
8192 echo "$as_me: failed program was:" >&5
8193 sed 's/^/| /' conftest.$ac_ext >&5
8195 ac_cv_lib_audio_AuCreateFlow=no
8197 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8198 LIBS=$ac_check_lib_save_LIBS
8200 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8201 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
8202 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8204 cat >>confdefs.h <<\_ACEOF
8208 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8216 CPPFLAGS="$ac_save_CPPFLAGS"
8225 if test "x$with_curses" != "xno"
8228 for ac_header in ncurses.h
8230 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8231 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8232 echo "$as_me:$LINENO: checking for $ac_header" >&5
8233 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8235 echo $ECHO_N "(cached) $ECHO_C" >&6
8237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8238 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8240 # Is the header compilable?
8241 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8242 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8243 cat >conftest.$ac_ext <<_ACEOF
8244 #line $LINENO "configure"
8247 cat confdefs.h >>conftest.$ac_ext
8248 cat >>conftest.$ac_ext <<_ACEOF
8249 /* end confdefs.h. */
8250 $ac_includes_default
8251 #include <$ac_header>
8253 rm -f conftest.$ac_objext
8254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8255 (eval $ac_compile) 2>&5
8257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8258 (exit $ac_status); } &&
8259 { ac_try='test -s conftest.$ac_objext'
8260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8264 (exit $ac_status); }; }; then
8265 ac_header_compiler=yes
8267 echo "$as_me: failed program was:" >&5
8268 sed 's/^/| /' conftest.$ac_ext >&5
8270 ac_header_compiler=no
8272 rm -f conftest.$ac_objext conftest.$ac_ext
8273 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8274 echo "${ECHO_T}$ac_header_compiler" >&6
8276 # Is the header present?
8277 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8278 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8279 cat >conftest.$ac_ext <<_ACEOF
8280 #line $LINENO "configure"
8283 cat confdefs.h >>conftest.$ac_ext
8284 cat >>conftest.$ac_ext <<_ACEOF
8285 /* end confdefs.h. */
8286 #include <$ac_header>
8288 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8289 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8291 grep -v '^ *+' conftest.er1 >conftest.err
8293 cat conftest.err >&5
8294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8295 (exit $ac_status); } >/dev/null; then
8296 if test -s conftest.err; then
8297 ac_cpp_err=$ac_c_preproc_warn_flag
8304 if test -z "$ac_cpp_err"; then
8305 ac_header_preproc=yes
8307 echo "$as_me: failed program was:" >&5
8308 sed 's/^/| /' conftest.$ac_ext >&5
8310 ac_header_preproc=no
8312 rm -f conftest.err conftest.$ac_ext
8313 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8314 echo "${ECHO_T}$ac_header_preproc" >&6
8316 # So? What about this header?
8317 case $ac_header_compiler:$ac_header_preproc in
8319 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8320 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8321 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8322 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8325 ## ------------------------------------ ##
8326 ## Report this to bug-autoconf@gnu.org. ##
8327 ## ------------------------------------ ##
8330 sed "s/^/$as_me: WARNING: /" >&2
8333 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8334 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8335 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8336 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8337 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8338 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8341 ## ------------------------------------ ##
8342 ## Report this to bug-autoconf@gnu.org. ##
8343 ## ------------------------------------ ##
8346 sed "s/^/$as_me: WARNING: /" >&2
8349 echo "$as_me:$LINENO: checking for $ac_header" >&5
8350 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8351 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8352 echo $ECHO_N "(cached) $ECHO_C" >&6
8354 eval "$as_ac_Header=$ac_header_preproc"
8356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8357 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8360 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8361 cat >>confdefs.h <<_ACEOF
8362 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8364 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
8365 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
8366 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
8367 echo $ECHO_N "(cached) $ECHO_C" >&6
8369 ac_check_lib_save_LIBS=$LIBS
8370 LIBS="-lncurses $LIBS"
8371 cat >conftest.$ac_ext <<_ACEOF
8372 #line $LINENO "configure"
8375 cat confdefs.h >>conftest.$ac_ext
8376 cat >>conftest.$ac_ext <<_ACEOF
8377 /* end confdefs.h. */
8379 /* Override any gcc2 internal prototype to avoid an error. */
8383 /* We use char because int might match the return type of a gcc2
8384 builtin and then its argument prototype would still apply. */
8394 rm -f conftest.$ac_objext conftest$ac_exeext
8395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8396 (eval $ac_link) 2>&5
8398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8399 (exit $ac_status); } &&
8400 { ac_try='test -s conftest$ac_exeext'
8401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8405 (exit $ac_status); }; }; then
8406 ac_cv_lib_ncurses_waddch=yes
8408 echo "$as_me: failed program was:" >&5
8409 sed 's/^/| /' conftest.$ac_ext >&5
8411 ac_cv_lib_ncurses_waddch=no
8413 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8414 LIBS=$ac_check_lib_save_LIBS
8416 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
8417 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
8418 if test $ac_cv_lib_ncurses_waddch = yes; then
8420 cat >>confdefs.h <<\_ACEOF
8421 #define HAVE_LIBNCURSES 1
8424 CURSESLIBS="-lncurses"
8427 for ac_header in curses.h
8429 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8430 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8431 echo "$as_me:$LINENO: checking for $ac_header" >&5
8432 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8433 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8434 echo $ECHO_N "(cached) $ECHO_C" >&6
8436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8437 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8439 # Is the header compilable?
8440 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8441 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8442 cat >conftest.$ac_ext <<_ACEOF
8443 #line $LINENO "configure"
8446 cat confdefs.h >>conftest.$ac_ext
8447 cat >>conftest.$ac_ext <<_ACEOF
8448 /* end confdefs.h. */
8449 $ac_includes_default
8450 #include <$ac_header>
8452 rm -f conftest.$ac_objext
8453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8454 (eval $ac_compile) 2>&5
8456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8457 (exit $ac_status); } &&
8458 { ac_try='test -s conftest.$ac_objext'
8459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8463 (exit $ac_status); }; }; then
8464 ac_header_compiler=yes
8466 echo "$as_me: failed program was:" >&5
8467 sed 's/^/| /' conftest.$ac_ext >&5
8469 ac_header_compiler=no
8471 rm -f conftest.$ac_objext conftest.$ac_ext
8472 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8473 echo "${ECHO_T}$ac_header_compiler" >&6
8475 # Is the header present?
8476 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8477 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8478 cat >conftest.$ac_ext <<_ACEOF
8479 #line $LINENO "configure"
8482 cat confdefs.h >>conftest.$ac_ext
8483 cat >>conftest.$ac_ext <<_ACEOF
8484 /* end confdefs.h. */
8485 #include <$ac_header>
8487 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8488 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8490 grep -v '^ *+' conftest.er1 >conftest.err
8492 cat conftest.err >&5
8493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8494 (exit $ac_status); } >/dev/null; then
8495 if test -s conftest.err; then
8496 ac_cpp_err=$ac_c_preproc_warn_flag
8503 if test -z "$ac_cpp_err"; then
8504 ac_header_preproc=yes
8506 echo "$as_me: failed program was:" >&5
8507 sed 's/^/| /' conftest.$ac_ext >&5
8509 ac_header_preproc=no
8511 rm -f conftest.err conftest.$ac_ext
8512 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8513 echo "${ECHO_T}$ac_header_preproc" >&6
8515 # So? What about this header?
8516 case $ac_header_compiler:$ac_header_preproc in
8518 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8519 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8520 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8521 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8524 ## ------------------------------------ ##
8525 ## Report this to bug-autoconf@gnu.org. ##
8526 ## ------------------------------------ ##
8529 sed "s/^/$as_me: WARNING: /" >&2
8532 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8533 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8534 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8535 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8536 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8537 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8540 ## ------------------------------------ ##
8541 ## Report this to bug-autoconf@gnu.org. ##
8542 ## ------------------------------------ ##
8545 sed "s/^/$as_me: WARNING: /" >&2
8548 echo "$as_me:$LINENO: checking for $ac_header" >&5
8549 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8550 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8551 echo $ECHO_N "(cached) $ECHO_C" >&6
8553 eval "$as_ac_Header=$ac_header_preproc"
8555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8556 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8559 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8560 cat >>confdefs.h <<_ACEOF
8561 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8563 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
8564 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
8565 if test "${ac_cv_lib_curses_waddch+set}" = set; then
8566 echo $ECHO_N "(cached) $ECHO_C" >&6
8568 ac_check_lib_save_LIBS=$LIBS
8569 LIBS="-lcurses $LIBS"
8570 cat >conftest.$ac_ext <<_ACEOF
8571 #line $LINENO "configure"
8574 cat confdefs.h >>conftest.$ac_ext
8575 cat >>conftest.$ac_ext <<_ACEOF
8576 /* end confdefs.h. */
8578 /* Override any gcc2 internal prototype to avoid an error. */
8582 /* We use char because int might match the return type of a gcc2
8583 builtin and then its argument prototype would still apply. */
8593 rm -f conftest.$ac_objext conftest$ac_exeext
8594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8595 (eval $ac_link) 2>&5
8597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8598 (exit $ac_status); } &&
8599 { ac_try='test -s conftest$ac_exeext'
8600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8604 (exit $ac_status); }; }; then
8605 ac_cv_lib_curses_waddch=yes
8607 echo "$as_me: failed program was:" >&5
8608 sed 's/^/| /' conftest.$ac_ext >&5
8610 ac_cv_lib_curses_waddch=no
8612 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8613 LIBS=$ac_check_lib_save_LIBS
8615 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
8616 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
8617 if test $ac_cv_lib_curses_waddch = yes; then
8619 cat >>confdefs.h <<\_ACEOF
8620 #define HAVE_LIBCURSES 1
8623 CURSESLIBS="-lcurses"
8637 LIBS="$CURSESLIBS $LIBS"
8640 for ac_func in getbkgd resizeterm
8642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8643 echo "$as_me:$LINENO: checking for $ac_func" >&5
8644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8645 if eval "test \"\${$as_ac_var+set}\" = set"; then
8646 echo $ECHO_N "(cached) $ECHO_C" >&6
8648 cat >conftest.$ac_ext <<_ACEOF
8649 #line $LINENO "configure"
8652 cat confdefs.h >>conftest.$ac_ext
8653 cat >>conftest.$ac_ext <<_ACEOF
8654 /* end confdefs.h. */
8655 /* System header to define __stub macros and hopefully few prototypes,
8656 which can conflict with char $ac_func (); below.
8657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8658 <limits.h> exists even on freestanding compilers. */
8660 # include <limits.h>
8662 # include <assert.h>
8664 /* Override any gcc2 internal prototype to avoid an error. */
8669 /* We use char because int might match the return type of a gcc2
8670 builtin and then its argument prototype would still apply. */
8672 /* The GNU C library defines this for functions which it implements
8673 to always fail with ENOSYS. Some functions are actually named
8674 something starting with __ and the normal name is an alias. */
8675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8678 char (*f) () = $ac_func;
8687 return f != $ac_func;
8692 rm -f conftest.$ac_objext conftest$ac_exeext
8693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8694 (eval $ac_link) 2>&5
8696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8697 (exit $ac_status); } &&
8698 { ac_try='test -s conftest$ac_exeext'
8699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8703 (exit $ac_status); }; }; then
8704 eval "$as_ac_var=yes"
8706 echo "$as_me: failed program was:" >&5
8707 sed 's/^/| /' conftest.$ac_ext >&5
8709 eval "$as_ac_var=no"
8711 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8715 if test `eval echo '${'$as_ac_var'}'` = yes; then
8716 cat >>confdefs.h <<_ACEOF
8717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8727 # Extract the first word of "sane-config", so it can be a program name with args.
8728 set dummy sane-config; ac_word=$2
8729 echo "$as_me:$LINENO: checking for $ac_word" >&5
8730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8731 if test "${ac_cv_prog_sane_devel+set}" = set; then
8732 echo $ECHO_N "(cached) $ECHO_C" >&6
8734 if test -n "$sane_devel"; then
8735 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
8737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8741 test -z "$as_dir" && as_dir=.
8742 for ac_exec_ext in '' $ac_executable_extensions; do
8743 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8744 ac_cv_prog_sane_devel="sane-config"
8745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8751 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
8754 sane_devel=$ac_cv_prog_sane_devel
8755 if test -n "$sane_devel"; then
8756 echo "$as_me:$LINENO: result: $sane_devel" >&5
8757 echo "${ECHO_T}$sane_devel" >&6
8759 echo "$as_me:$LINENO: result: no" >&5
8760 echo "${ECHO_T}no" >&6
8763 if test "$sane_devel" = "no"
8768 SANELIBS="`$sane_devel --libs`"
8769 SANEINCL="`$sane_devel --cflags`"
8770 ac_save_CPPFLAGS="$CPPFLAGS"
8771 ac_save_LIBS="$LIBS"
8772 CPPFLAGS="$CPPFLAGS $SANEINCL"
8773 LIBS="$LIBS $SANELIBS"
8774 if test "${ac_cv_header_sane_sane_h+set}" = set; then
8775 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
8776 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
8777 if test "${ac_cv_header_sane_sane_h+set}" = set; then
8778 echo $ECHO_N "(cached) $ECHO_C" >&6
8780 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
8781 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
8783 # Is the header compilable?
8784 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
8785 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
8786 cat >conftest.$ac_ext <<_ACEOF
8787 #line $LINENO "configure"
8790 cat confdefs.h >>conftest.$ac_ext
8791 cat >>conftest.$ac_ext <<_ACEOF
8792 /* end confdefs.h. */
8793 $ac_includes_default
8794 #include <sane/sane.h>
8796 rm -f conftest.$ac_objext
8797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8798 (eval $ac_compile) 2>&5
8800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8801 (exit $ac_status); } &&
8802 { ac_try='test -s conftest.$ac_objext'
8803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8807 (exit $ac_status); }; }; then
8808 ac_header_compiler=yes
8810 echo "$as_me: failed program was:" >&5
8811 sed 's/^/| /' conftest.$ac_ext >&5
8813 ac_header_compiler=no
8815 rm -f conftest.$ac_objext conftest.$ac_ext
8816 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8817 echo "${ECHO_T}$ac_header_compiler" >&6
8819 # Is the header present?
8820 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
8821 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
8822 cat >conftest.$ac_ext <<_ACEOF
8823 #line $LINENO "configure"
8826 cat confdefs.h >>conftest.$ac_ext
8827 cat >>conftest.$ac_ext <<_ACEOF
8828 /* end confdefs.h. */
8829 #include <sane/sane.h>
8831 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8832 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8834 grep -v '^ *+' conftest.er1 >conftest.err
8836 cat conftest.err >&5
8837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8838 (exit $ac_status); } >/dev/null; then
8839 if test -s conftest.err; then
8840 ac_cpp_err=$ac_c_preproc_warn_flag
8847 if test -z "$ac_cpp_err"; then
8848 ac_header_preproc=yes
8850 echo "$as_me: failed program was:" >&5
8851 sed 's/^/| /' conftest.$ac_ext >&5
8853 ac_header_preproc=no
8855 rm -f conftest.err conftest.$ac_ext
8856 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8857 echo "${ECHO_T}$ac_header_preproc" >&6
8859 # So? What about this header?
8860 case $ac_header_compiler:$ac_header_preproc in
8862 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
8863 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8864 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
8865 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
8868 ## ------------------------------------ ##
8869 ## Report this to bug-autoconf@gnu.org. ##
8870 ## ------------------------------------ ##
8873 sed "s/^/$as_me: WARNING: /" >&2
8876 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
8877 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
8878 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
8879 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
8880 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
8881 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
8884 ## ------------------------------------ ##
8885 ## Report this to bug-autoconf@gnu.org. ##
8886 ## ------------------------------------ ##
8889 sed "s/^/$as_me: WARNING: /" >&2
8892 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
8893 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
8894 if test "${ac_cv_header_sane_sane_h+set}" = set; then
8895 echo $ECHO_N "(cached) $ECHO_C" >&6
8897 ac_cv_header_sane_sane_h=$ac_header_preproc
8899 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
8900 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
8903 if test $ac_cv_header_sane_sane_h = yes; then
8904 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
8905 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
8906 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
8907 echo $ECHO_N "(cached) $ECHO_C" >&6
8909 ac_check_lib_save_LIBS=$LIBS
8911 cat >conftest.$ac_ext <<_ACEOF
8912 #line $LINENO "configure"
8915 cat confdefs.h >>conftest.$ac_ext
8916 cat >>conftest.$ac_ext <<_ACEOF
8917 /* end confdefs.h. */
8919 /* Override any gcc2 internal prototype to avoid an error. */
8923 /* We use char because int might match the return type of a gcc2
8924 builtin and then its argument prototype would still apply. */
8934 rm -f conftest.$ac_objext conftest$ac_exeext
8935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8936 (eval $ac_link) 2>&5
8938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8939 (exit $ac_status); } &&
8940 { ac_try='test -s conftest$ac_exeext'
8941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8945 (exit $ac_status); }; }; then
8946 ac_cv_lib_sane_sane_open=yes
8948 echo "$as_me: failed program was:" >&5
8949 sed 's/^/| /' conftest.$ac_ext >&5
8951 ac_cv_lib_sane_sane_open=no
8953 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8954 LIBS=$ac_check_lib_save_LIBS
8956 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
8957 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
8958 if test $ac_cv_lib_sane_sane_open = yes; then
8960 cat >>confdefs.h <<\_ACEOF
8975 LIBS="$ac_save_LIBS"
8976 CPPFLAGS="$ac_save_CPPFLAGS"
8982 for ac_header in unicode/ubidi.h
8984 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8985 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8986 echo "$as_me:$LINENO: checking for $ac_header" >&5
8987 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8988 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8989 echo $ECHO_N "(cached) $ECHO_C" >&6
8991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8992 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8994 # Is the header compilable?
8995 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8996 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8997 cat >conftest.$ac_ext <<_ACEOF
8998 #line $LINENO "configure"
9001 cat confdefs.h >>conftest.$ac_ext
9002 cat >>conftest.$ac_ext <<_ACEOF
9003 /* end confdefs.h. */
9004 $ac_includes_default
9005 #include <$ac_header>
9007 rm -f conftest.$ac_objext
9008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9009 (eval $ac_compile) 2>&5
9011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9012 (exit $ac_status); } &&
9013 { ac_try='test -s conftest.$ac_objext'
9014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9018 (exit $ac_status); }; }; then
9019 ac_header_compiler=yes
9021 echo "$as_me: failed program was:" >&5
9022 sed 's/^/| /' conftest.$ac_ext >&5
9024 ac_header_compiler=no
9026 rm -f conftest.$ac_objext conftest.$ac_ext
9027 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9028 echo "${ECHO_T}$ac_header_compiler" >&6
9030 # Is the header present?
9031 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9032 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9033 cat >conftest.$ac_ext <<_ACEOF
9034 #line $LINENO "configure"
9037 cat confdefs.h >>conftest.$ac_ext
9038 cat >>conftest.$ac_ext <<_ACEOF
9039 /* end confdefs.h. */
9040 #include <$ac_header>
9042 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9043 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9045 grep -v '^ *+' conftest.er1 >conftest.err
9047 cat conftest.err >&5
9048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9049 (exit $ac_status); } >/dev/null; then
9050 if test -s conftest.err; then
9051 ac_cpp_err=$ac_c_preproc_warn_flag
9058 if test -z "$ac_cpp_err"; then
9059 ac_header_preproc=yes
9061 echo "$as_me: failed program was:" >&5
9062 sed 's/^/| /' conftest.$ac_ext >&5
9064 ac_header_preproc=no
9066 rm -f conftest.err conftest.$ac_ext
9067 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9068 echo "${ECHO_T}$ac_header_preproc" >&6
9070 # So? What about this header?
9071 case $ac_header_compiler:$ac_header_preproc in
9073 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9074 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9075 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9076 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9079 ## ------------------------------------ ##
9080 ## Report this to bug-autoconf@gnu.org. ##
9081 ## ------------------------------------ ##
9084 sed "s/^/$as_me: WARNING: /" >&2
9087 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9088 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9089 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9090 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9091 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9092 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9095 ## ------------------------------------ ##
9096 ## Report this to bug-autoconf@gnu.org. ##
9097 ## ------------------------------------ ##
9100 sed "s/^/$as_me: WARNING: /" >&2
9103 echo "$as_me:$LINENO: checking for $ac_header" >&5
9104 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9105 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9106 echo $ECHO_N "(cached) $ECHO_C" >&6
9108 eval "$as_ac_Header=$ac_header_preproc"
9110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9111 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9114 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9115 cat >>confdefs.h <<_ACEOF
9116 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9123 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
9125 echo "$as_me:$LINENO: checking whether we can statically link the ICU libraries" >&5
9126 echo $ECHO_N "checking whether we can statically link the ICU libraries... $ECHO_C" >&6
9127 if test "${ac_cv_lib_icu+set}" = set; then
9128 echo $ECHO_N "(cached) $ECHO_C" >&6
9131 ICU_LIB_DIR="${ICU_LIB_DIR-/usr/lib}"
9132 ICUUC_LIB="${ICUUC_LIB-$ICU_LIB_DIR/libicuuc.a}"
9133 ICUDATA_LIB="${ICUDATA_LIB-$ICU_LIB_DIR/libicudata.a}"
9134 LIBS="$LIBS $ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
9135 cat >conftest.$ac_ext <<_ACEOF
9136 #line $LINENO "configure"
9139 cat confdefs.h >>conftest.$ac_ext
9140 cat >>conftest.$ac_ext <<_ACEOF
9141 /* end confdefs.h. */
9142 #include <unicode/ubidi.h>
9151 rm -f conftest.$ac_objext conftest$ac_exeext
9152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9153 (eval $ac_link) 2>&5
9155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9156 (exit $ac_status); } &&
9157 { ac_try='test -s conftest$ac_exeext'
9158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9162 (exit $ac_status); }; }; then
9165 echo "$as_me: failed program was:" >&5
9166 sed 's/^/| /' conftest.$ac_ext >&5
9170 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9173 echo "$as_me:$LINENO: result: $ac_cv_lib_icu" >&5
9174 echo "${ECHO_T}$ac_cv_lib_icu" >&6
9175 if test "$ac_cv_lib_icu" = "yes"
9178 cat >>confdefs.h <<\_ACEOF
9182 ICULIBS="$ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
9187 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
9188 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
9189 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
9190 echo $ECHO_N "(cached) $ECHO_C" >&6
9192 ac_check_lib_save_LIBS=$LIBS
9193 LIBS="-lfreetype $X_LIBS $LIBS"
9194 cat >conftest.$ac_ext <<_ACEOF
9195 #line $LINENO "configure"
9198 cat confdefs.h >>conftest.$ac_ext
9199 cat >>conftest.$ac_ext <<_ACEOF
9200 /* end confdefs.h. */
9202 /* Override any gcc2 internal prototype to avoid an error. */
9206 /* We use char because int might match the return type of a gcc2
9207 builtin and then its argument prototype would still apply. */
9208 char FT_Init_FreeType ();
9212 FT_Init_FreeType ();
9217 rm -f conftest.$ac_objext conftest$ac_exeext
9218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9219 (eval $ac_link) 2>&5
9221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9222 (exit $ac_status); } &&
9223 { ac_try='test -s conftest$ac_exeext'
9224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9228 (exit $ac_status); }; }; then
9229 ac_cv_lib_freetype_FT_Init_FreeType=yes
9231 echo "$as_me: failed program was:" >&5
9232 sed 's/^/| /' conftest.$ac_ext >&5
9234 ac_cv_lib_freetype_FT_Init_FreeType=no
9236 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9237 LIBS=$ac_check_lib_save_LIBS
9239 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
9240 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
9241 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
9247 if test "$ft_lib" = "no"
9250 wine_cv_msg_freetype=no
9252 # Extract the first word of "freetype-config", so it can be a program name with args.
9253 set dummy freetype-config; ac_word=$2
9254 echo "$as_me:$LINENO: checking for $ac_word" >&5
9255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9256 if test "${ac_cv_prog_ft_devel+set}" = set; then
9257 echo $ECHO_N "(cached) $ECHO_C" >&6
9259 if test -n "$ft_devel"; then
9260 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
9262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9266 test -z "$as_dir" && as_dir=.
9267 for ac_exec_ext in '' $ac_executable_extensions; do
9268 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9269 ac_cv_prog_ft_devel="freetype-config"
9270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9276 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
9279 ft_devel=$ac_cv_prog_ft_devel
9280 if test -n "$ft_devel"; then
9281 echo "$as_me:$LINENO: result: $ft_devel" >&5
9282 echo "${ECHO_T}$ft_devel" >&6
9284 echo "$as_me:$LINENO: result: no" >&5
9285 echo "${ECHO_T}no" >&6
9288 if test "$ft_devel" = "no"
9290 # Extract the first word of "freetype2-config", so it can be a program name with args.
9291 set dummy freetype2-config; ac_word=$2
9292 echo "$as_me:$LINENO: checking for $ac_word" >&5
9293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9294 if test "${ac_cv_prog_ft_devel2+set}" = set; then
9295 echo $ECHO_N "(cached) $ECHO_C" >&6
9297 if test -n "$ft_devel2"; then
9298 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
9300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9304 test -z "$as_dir" && as_dir=.
9305 for ac_exec_ext in '' $ac_executable_extensions; do
9306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9307 ac_cv_prog_ft_devel2="freetype2-config"
9308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9314 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
9317 ft_devel2=$ac_cv_prog_ft_devel2
9318 if test -n "$ft_devel2"; then
9319 echo "$as_me:$LINENO: result: $ft_devel2" >&5
9320 echo "${ECHO_T}$ft_devel2" >&6
9322 echo "$as_me:$LINENO: result: no" >&5
9323 echo "${ECHO_T}no" >&6
9326 if test "$ft_devel2" = "freetype2-config"
9331 if test "$ft_devel" = "no"
9334 wine_cv_msg_freetype=yes
9336 FREETYPEINCL=`$ft_devel --cflags`
9337 ac_save_CPPFLAGS="$CPPFLAGS"
9338 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
9347 for ac_header in freetype/freetype.h \
9348 freetype/ftglyph.h \
9349 freetype/tttables.h \
9350 freetype/ftnames.h \
9351 freetype/ftsnames.h \
9352 freetype/ttnameid.h \
9353 freetype/ftoutln.h \
9354 freetype/internal/sfnt.h
9356 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9357 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9358 echo "$as_me:$LINENO: checking for $ac_header" >&5
9359 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9360 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9361 echo $ECHO_N "(cached) $ECHO_C" >&6
9363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9364 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9366 # Is the header compilable?
9367 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9368 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9369 cat >conftest.$ac_ext <<_ACEOF
9370 #line $LINENO "configure"
9373 cat confdefs.h >>conftest.$ac_ext
9374 cat >>conftest.$ac_ext <<_ACEOF
9375 /* end confdefs.h. */
9376 $ac_includes_default
9377 #include <$ac_header>
9379 rm -f conftest.$ac_objext
9380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9381 (eval $ac_compile) 2>&5
9383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9384 (exit $ac_status); } &&
9385 { ac_try='test -s conftest.$ac_objext'
9386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9390 (exit $ac_status); }; }; then
9391 ac_header_compiler=yes
9393 echo "$as_me: failed program was:" >&5
9394 sed 's/^/| /' conftest.$ac_ext >&5
9396 ac_header_compiler=no
9398 rm -f conftest.$ac_objext conftest.$ac_ext
9399 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9400 echo "${ECHO_T}$ac_header_compiler" >&6
9402 # Is the header present?
9403 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9404 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9405 cat >conftest.$ac_ext <<_ACEOF
9406 #line $LINENO "configure"
9409 cat confdefs.h >>conftest.$ac_ext
9410 cat >>conftest.$ac_ext <<_ACEOF
9411 /* end confdefs.h. */
9412 #include <$ac_header>
9414 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9415 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9417 grep -v '^ *+' conftest.er1 >conftest.err
9419 cat conftest.err >&5
9420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9421 (exit $ac_status); } >/dev/null; then
9422 if test -s conftest.err; then
9423 ac_cpp_err=$ac_c_preproc_warn_flag
9430 if test -z "$ac_cpp_err"; then
9431 ac_header_preproc=yes
9433 echo "$as_me: failed program was:" >&5
9434 sed 's/^/| /' conftest.$ac_ext >&5
9436 ac_header_preproc=no
9438 rm -f conftest.err conftest.$ac_ext
9439 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9440 echo "${ECHO_T}$ac_header_preproc" >&6
9442 # So? What about this header?
9443 case $ac_header_compiler:$ac_header_preproc in
9445 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9446 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9447 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9448 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9451 ## ------------------------------------ ##
9452 ## Report this to bug-autoconf@gnu.org. ##
9453 ## ------------------------------------ ##
9456 sed "s/^/$as_me: WARNING: /" >&2
9459 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9460 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9461 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9462 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9463 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9464 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9467 ## ------------------------------------ ##
9468 ## Report this to bug-autoconf@gnu.org. ##
9469 ## ------------------------------------ ##
9472 sed "s/^/$as_me: WARNING: /" >&2
9475 echo "$as_me:$LINENO: checking for $ac_header" >&5
9476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9478 echo $ECHO_N "(cached) $ECHO_C" >&6
9480 eval "$as_ac_Header=$ac_header_preproc"
9482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9486 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9487 cat >>confdefs.h <<_ACEOF
9488 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9495 cat >conftest.$ac_ext <<_ACEOF
9496 #line $LINENO "configure"
9499 cat confdefs.h >>conftest.$ac_ext
9500 cat >>conftest.$ac_ext <<_ACEOF
9501 /* end confdefs.h. */
9502 #include <ft2build.h>
9503 #include <freetype/fttrigon.h>
9505 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9506 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9508 grep -v '^ *+' conftest.er1 >conftest.err
9510 cat conftest.err >&5
9511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9512 (exit $ac_status); } >/dev/null; then
9513 if test -s conftest.err; then
9514 ac_cpp_err=$ac_c_preproc_warn_flag
9521 if test -z "$ac_cpp_err"; then
9523 cat >>confdefs.h <<\_ACEOF
9524 #define HAVE_FREETYPE_FTTRIGON_H 1
9527 wine_cv_fttrigon=yes
9529 echo "$as_me: failed program was:" >&5
9530 sed 's/^/| /' conftest.$ac_ext >&5
9534 rm -f conftest.err conftest.$ac_ext
9535 CPPFLAGS="$ac_save_CPPFLAGS"
9536 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
9539 cat >>confdefs.h <<\_ACEOF
9540 #define HAVE_FREETYPE 1
9543 wine_cv_msg_freetype=no
9546 wine_cv_msg_freetype=yes
9552 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
9553 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
9554 if test "${ac_cv_c_ppdev+set}" = set; then
9555 echo $ECHO_N "(cached) $ECHO_C" >&6
9557 cat >conftest.$ac_ext <<_ACEOF
9558 #line $LINENO "configure"
9561 cat confdefs.h >>conftest.$ac_ext
9562 cat >>conftest.$ac_ext <<_ACEOF
9563 /* end confdefs.h. */
9564 #include <linux/ppdev.h>
9573 rm -f conftest.$ac_objext
9574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9575 (eval $ac_compile) 2>&5
9577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9578 (exit $ac_status); } &&
9579 { ac_try='test -s conftest.$ac_objext'
9580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9584 (exit $ac_status); }; }; then
9587 echo "$as_me: failed program was:" >&5
9588 sed 's/^/| /' conftest.$ac_ext >&5
9592 rm -f conftest.$ac_objext conftest.$ac_ext
9595 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
9596 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
9597 if test "$ac_cv_c_ppdev" = "yes"
9600 cat >>confdefs.h <<\_ACEOF
9601 #define HAVE_PPDEV 1
9606 echo "$as_me:$LINENO: checking for va_copy" >&5
9607 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
9608 if test "${ac_cv_c_va_copy+set}" = set; then
9609 echo $ECHO_N "(cached) $ECHO_C" >&6
9611 cat >conftest.$ac_ext <<_ACEOF
9612 #line $LINENO "configure"
9615 cat confdefs.h >>conftest.$ac_ext
9616 cat >>conftest.$ac_ext <<_ACEOF
9617 /* end confdefs.h. */
9629 rm -f conftest.$ac_objext conftest$ac_exeext
9630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9631 (eval $ac_link) 2>&5
9633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9634 (exit $ac_status); } &&
9635 { ac_try='test -s conftest$ac_exeext'
9636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9640 (exit $ac_status); }; }; then
9641 ac_cv_c_va_copy="yes"
9643 echo "$as_me: failed program was:" >&5
9644 sed 's/^/| /' conftest.$ac_ext >&5
9646 ac_cv_c_va_copy="no"
9648 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9651 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
9652 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
9653 if test "$ac_cv_c_va_copy" = "yes"
9656 cat >>confdefs.h <<\_ACEOF
9657 #define HAVE_VA_COPY 1
9661 echo "$as_me:$LINENO: checking for __va_copy" >&5
9662 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
9663 if test "${ac_cv_c___va_copy+set}" = set; then
9664 echo $ECHO_N "(cached) $ECHO_C" >&6
9666 cat >conftest.$ac_ext <<_ACEOF
9667 #line $LINENO "configure"
9670 cat confdefs.h >>conftest.$ac_ext
9671 cat >>conftest.$ac_ext <<_ACEOF
9672 /* end confdefs.h. */
9684 rm -f conftest.$ac_objext conftest$ac_exeext
9685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9686 (eval $ac_link) 2>&5
9688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9689 (exit $ac_status); } &&
9690 { ac_try='test -s conftest$ac_exeext'
9691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9695 (exit $ac_status); }; }; then
9696 ac_cv_c___va_copy="yes"
9698 echo "$as_me: failed program was:" >&5
9699 sed 's/^/| /' conftest.$ac_ext >&5
9701 ac_cv_c___va_copy="no"
9703 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9706 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
9707 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
9708 if test "$ac_cv_c___va_copy" = "yes"
9711 cat >>confdefs.h <<\_ACEOF
9712 #define HAVE___VA_COPY 1
9717 echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
9718 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6
9719 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
9720 echo $ECHO_N "(cached) $ECHO_C" >&6
9722 cat >conftest.$ac_ext <<_ACEOF
9723 #line $LINENO "configure"
9726 cat confdefs.h >>conftest.$ac_ext
9727 cat >>conftest.$ac_ext <<_ACEOF
9728 /* end confdefs.h. */
9730 #include <pthread.h>
9735 if ((pthread_rwlock_t *) 0)
9737 if (sizeof (pthread_rwlock_t))
9743 rm -f conftest.$ac_objext
9744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9745 (eval $ac_compile) 2>&5
9747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9748 (exit $ac_status); } &&
9749 { ac_try='test -s conftest.$ac_objext'
9750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9754 (exit $ac_status); }; }; then
9755 ac_cv_type_pthread_rwlock_t=yes
9757 echo "$as_me: failed program was:" >&5
9758 sed 's/^/| /' conftest.$ac_ext >&5
9760 ac_cv_type_pthread_rwlock_t=no
9762 rm -f conftest.$ac_objext conftest.$ac_ext
9764 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
9765 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6
9766 if test $ac_cv_type_pthread_rwlock_t = yes; then
9768 cat >>confdefs.h <<_ACEOF
9769 #define HAVE_PTHREAD_RWLOCK_T 1
9774 echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
9775 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6
9776 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
9777 echo $ECHO_N "(cached) $ECHO_C" >&6
9779 cat >conftest.$ac_ext <<_ACEOF
9780 #line $LINENO "configure"
9783 cat confdefs.h >>conftest.$ac_ext
9784 cat >>conftest.$ac_ext <<_ACEOF
9785 /* end confdefs.h. */
9787 #include <pthread.h>
9792 if ((pthread_rwlockattr_t *) 0)
9794 if (sizeof (pthread_rwlockattr_t))
9800 rm -f conftest.$ac_objext
9801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9802 (eval $ac_compile) 2>&5
9804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9805 (exit $ac_status); } &&
9806 { ac_try='test -s conftest.$ac_objext'
9807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9811 (exit $ac_status); }; }; then
9812 ac_cv_type_pthread_rwlockattr_t=yes
9814 echo "$as_me: failed program was:" >&5
9815 sed 's/^/| /' conftest.$ac_ext >&5
9817 ac_cv_type_pthread_rwlockattr_t=no
9819 rm -f conftest.$ac_objext conftest.$ac_ext
9821 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
9822 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6
9823 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
9825 cat >>confdefs.h <<_ACEOF
9826 #define HAVE_PTHREAD_RWLOCKATTR_T 1
9836 for ac_header in sys/soundcard.h machine/soundcard.h soundcard.h
9838 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9839 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9840 echo "$as_me:$LINENO: checking for $ac_header" >&5
9841 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9842 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9843 echo $ECHO_N "(cached) $ECHO_C" >&6
9845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9846 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9848 # Is the header compilable?
9849 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9850 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9851 cat >conftest.$ac_ext <<_ACEOF
9852 #line $LINENO "configure"
9855 cat confdefs.h >>conftest.$ac_ext
9856 cat >>conftest.$ac_ext <<_ACEOF
9857 /* end confdefs.h. */
9858 $ac_includes_default
9859 #include <$ac_header>
9861 rm -f conftest.$ac_objext
9862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9863 (eval $ac_compile) 2>&5
9865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9866 (exit $ac_status); } &&
9867 { ac_try='test -s conftest.$ac_objext'
9868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9872 (exit $ac_status); }; }; then
9873 ac_header_compiler=yes
9875 echo "$as_me: failed program was:" >&5
9876 sed 's/^/| /' conftest.$ac_ext >&5
9878 ac_header_compiler=no
9880 rm -f conftest.$ac_objext conftest.$ac_ext
9881 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9882 echo "${ECHO_T}$ac_header_compiler" >&6
9884 # Is the header present?
9885 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9886 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9887 cat >conftest.$ac_ext <<_ACEOF
9888 #line $LINENO "configure"
9891 cat confdefs.h >>conftest.$ac_ext
9892 cat >>conftest.$ac_ext <<_ACEOF
9893 /* end confdefs.h. */
9894 #include <$ac_header>
9896 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9897 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9899 grep -v '^ *+' conftest.er1 >conftest.err
9901 cat conftest.err >&5
9902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9903 (exit $ac_status); } >/dev/null; then
9904 if test -s conftest.err; then
9905 ac_cpp_err=$ac_c_preproc_warn_flag
9912 if test -z "$ac_cpp_err"; then
9913 ac_header_preproc=yes
9915 echo "$as_me: failed program was:" >&5
9916 sed 's/^/| /' conftest.$ac_ext >&5
9918 ac_header_preproc=no
9920 rm -f conftest.err conftest.$ac_ext
9921 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9922 echo "${ECHO_T}$ac_header_preproc" >&6
9924 # So? What about this header?
9925 case $ac_header_compiler:$ac_header_preproc in
9927 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9928 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9929 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9930 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9933 ## ------------------------------------ ##
9934 ## Report this to bug-autoconf@gnu.org. ##
9935 ## ------------------------------------ ##
9938 sed "s/^/$as_me: WARNING: /" >&2
9941 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9942 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9943 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9944 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9945 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9946 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9949 ## ------------------------------------ ##
9950 ## Report this to bug-autoconf@gnu.org. ##
9951 ## ------------------------------------ ##
9954 sed "s/^/$as_me: WARNING: /" >&2
9957 echo "$as_me:$LINENO: checking for $ac_header" >&5
9958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9959 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9960 echo $ECHO_N "(cached) $ECHO_C" >&6
9962 eval "$as_ac_Header=$ac_header_preproc"
9964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9965 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9968 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9969 cat >>confdefs.h <<_ACEOF
9970 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9978 echo "$as_me:$LINENO: checking for Open Sound System" >&5
9979 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
9980 if test "${ac_cv_c_opensoundsystem+set}" = set; then
9981 echo $ECHO_N "(cached) $ECHO_C" >&6
9983 cat >conftest.$ac_ext <<_ACEOF
9984 #line $LINENO "configure"
9987 cat confdefs.h >>conftest.$ac_ext
9988 cat >>conftest.$ac_ext <<_ACEOF
9989 /* end confdefs.h. */
9991 #if defined(HAVE_SYS_SOUNDCARD_H)
9992 #include <sys/soundcard.h>
9993 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
9994 #include <machine/soundcard.h>
9995 #elif defined(HAVE_SOUNDCARD_H)
9996 #include <soundcard.h>
10004 /* check for one of the Open Sound System specific SNDCTL_ defines */
10005 #if !defined(SNDCTL_DSP_STEREO)
10006 #error No open sound system
10013 rm -f conftest.$ac_objext
10014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10015 (eval $ac_compile) 2>&5
10017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10018 (exit $ac_status); } &&
10019 { ac_try='test -s conftest.$ac_objext'
10020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10021 (eval $ac_try) 2>&5
10023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10024 (exit $ac_status); }; }; then
10025 ac_cv_c_opensoundsystem="yes"
10027 echo "$as_me: failed program was:" >&5
10028 sed 's/^/| /' conftest.$ac_ext >&5
10030 ac_cv_c_opensoundsystem="no"
10032 rm -f conftest.$ac_objext conftest.$ac_ext
10034 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
10035 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
10037 if test "$ac_cv_c_opensoundsystem" = "yes"
10040 cat >>confdefs.h <<\_ACEOF
10046 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
10047 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
10048 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
10049 echo $ECHO_N "(cached) $ECHO_C" >&6
10051 cat >conftest.$ac_ext <<_ACEOF
10052 #line $LINENO "configure"
10055 cat confdefs.h >>conftest.$ac_ext
10056 cat >>conftest.$ac_ext <<_ACEOF
10057 /* end confdefs.h. */
10059 #if defined(HAVE_SYS_SOUNDCARD_H)
10060 #include <sys/soundcard.h>
10061 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
10062 #include <machine/soundcard.h>
10063 #elif defined(HAVE_SOUNDCARD_H)
10064 #include <soundcard.h>
10072 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
10073 #if !defined(SNDCTL_SEQ_SYNC)
10074 #error No open sound system MIDI interface
10081 rm -f conftest.$ac_objext
10082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10083 (eval $ac_compile) 2>&5
10085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10086 (exit $ac_status); } &&
10087 { ac_try='test -s conftest.$ac_objext'
10088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10089 (eval $ac_try) 2>&5
10091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10092 (exit $ac_status); }; }; then
10093 ac_cv_c_opensoundsystem_midi="yes"
10095 echo "$as_me: failed program was:" >&5
10096 sed 's/^/| /' conftest.$ac_ext >&5
10098 ac_cv_c_opensoundsystem_midi="no"
10100 rm -f conftest.$ac_objext conftest.$ac_ext
10102 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
10103 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
10105 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
10108 cat >>confdefs.h <<\_ACEOF
10109 #define HAVE_OSS_MIDI 1
10114 # Extract the first word of "artsc-config", so it can be a program name with args.
10115 set dummy artsc-config; ac_word=$2
10116 echo "$as_me:$LINENO: checking for $ac_word" >&5
10117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10118 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
10119 echo $ECHO_N "(cached) $ECHO_C" >&6
10121 case $ARTSCCONFIG in
10123 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
10126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10127 for as_dir in $PATH
10130 test -z "$as_dir" && as_dir=.
10131 for ac_exec_ext in '' $ac_executable_extensions; do
10132 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10133 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
10134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10143 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
10145 if test -n "$ARTSCCONFIG"; then
10146 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
10147 echo "${ECHO_T}$ARTSCCONFIG" >&6
10149 echo "$as_me:$LINENO: result: no" >&5
10150 echo "${ECHO_T}no" >&6
10153 echo "$as_me:$LINENO: checking for aRts Sound server" >&5
10154 echo $ECHO_N "checking for aRts Sound server... $ECHO_C" >&6
10155 if test "${ac_cv_c_artsserver+set}" = set; then
10156 echo $ECHO_N "(cached) $ECHO_C" >&6
10158 if test x$ARTSCCONFIG = x -o x$ARTSCCONFIG = x'"$ARTSCCONFIG"';
10160 ac_cv_c_artsserver=no
10162 ARTSC_CFLAGS=`$ARTSCCONFIG --cflags`
10163 ARTSC_LIBS=`$ARTSCCONFIG --libs`
10164 ac_cv_c_artsserver=no
10165 save_CFLAGS="$CFLAGS"
10166 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
10167 cat >conftest.$ac_ext <<_ACEOF
10168 #line $LINENO "configure"
10171 cat confdefs.h >>conftest.$ac_ext
10172 cat >>conftest.$ac_ext <<_ACEOF
10173 /* end confdefs.h. */
10181 arts_stream_t stream;
10187 rm -f conftest.$ac_objext
10188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10189 (eval $ac_compile) 2>&5
10191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10192 (exit $ac_status); } &&
10193 { ac_try='test -s conftest.$ac_objext'
10194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10195 (eval $ac_try) 2>&5
10197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10198 (exit $ac_status); }; }; then
10200 ac_cv_c_artsserver=yes
10203 echo "$as_me: failed program was:" >&5
10204 sed 's/^/| /' conftest.$ac_ext >&5
10207 rm -f conftest.$ac_objext conftest.$ac_ext
10208 CFLAGS="$save_CFLAGS"
10211 echo "$as_me:$LINENO: result: $ac_cv_c_artsserver" >&5
10212 echo "${ECHO_T}$ac_cv_c_artsserver" >&6
10214 if test "$ac_cv_c_artsserver" = "yes"
10216 ARTSLIBS=$ARTSC_LIBS
10218 ARTSINCL=$ARTSC_CFLAGS
10222 cat >>confdefs.h <<\_ACEOF
10223 #define HAVE_ARTS 1
10232 for ac_header in alsa/asoundlib.h sys/asoundlib.h
10234 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10235 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10236 echo "$as_me:$LINENO: checking for $ac_header" >&5
10237 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10238 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10239 echo $ECHO_N "(cached) $ECHO_C" >&6
10241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10242 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10244 # Is the header compilable?
10245 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10246 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10247 cat >conftest.$ac_ext <<_ACEOF
10248 #line $LINENO "configure"
10251 cat confdefs.h >>conftest.$ac_ext
10252 cat >>conftest.$ac_ext <<_ACEOF
10253 /* end confdefs.h. */
10254 $ac_includes_default
10255 #include <$ac_header>
10257 rm -f conftest.$ac_objext
10258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10259 (eval $ac_compile) 2>&5
10261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10262 (exit $ac_status); } &&
10263 { ac_try='test -s conftest.$ac_objext'
10264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10265 (eval $ac_try) 2>&5
10267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10268 (exit $ac_status); }; }; then
10269 ac_header_compiler=yes
10271 echo "$as_me: failed program was:" >&5
10272 sed 's/^/| /' conftest.$ac_ext >&5
10274 ac_header_compiler=no
10276 rm -f conftest.$ac_objext conftest.$ac_ext
10277 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10278 echo "${ECHO_T}$ac_header_compiler" >&6
10280 # Is the header present?
10281 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10282 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10283 cat >conftest.$ac_ext <<_ACEOF
10284 #line $LINENO "configure"
10287 cat confdefs.h >>conftest.$ac_ext
10288 cat >>conftest.$ac_ext <<_ACEOF
10289 /* end confdefs.h. */
10290 #include <$ac_header>
10292 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10293 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10295 grep -v '^ *+' conftest.er1 >conftest.err
10297 cat conftest.err >&5
10298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10299 (exit $ac_status); } >/dev/null; then
10300 if test -s conftest.err; then
10301 ac_cpp_err=$ac_c_preproc_warn_flag
10308 if test -z "$ac_cpp_err"; then
10309 ac_header_preproc=yes
10311 echo "$as_me: failed program was:" >&5
10312 sed 's/^/| /' conftest.$ac_ext >&5
10314 ac_header_preproc=no
10316 rm -f conftest.err conftest.$ac_ext
10317 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10318 echo "${ECHO_T}$ac_header_preproc" >&6
10320 # So? What about this header?
10321 case $ac_header_compiler:$ac_header_preproc in
10323 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10324 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10325 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10326 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10329 ## ------------------------------------ ##
10330 ## Report this to bug-autoconf@gnu.org. ##
10331 ## ------------------------------------ ##
10334 sed "s/^/$as_me: WARNING: /" >&2
10337 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10338 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10339 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10340 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10341 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10342 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10345 ## ------------------------------------ ##
10346 ## Report this to bug-autoconf@gnu.org. ##
10347 ## ------------------------------------ ##
10350 sed "s/^/$as_me: WARNING: /" >&2
10353 echo "$as_me:$LINENO: checking for $ac_header" >&5
10354 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10355 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10356 echo $ECHO_N "(cached) $ECHO_C" >&6
10358 eval "$as_ac_Header=$ac_header_preproc"
10360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10361 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10364 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10365 cat >>confdefs.h <<_ACEOF
10366 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10373 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
10375 echo "$as_me:$LINENO: checking for snd_pcm_open in -lasound" >&5
10376 echo $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6
10377 if test "${ac_cv_lib_asound_snd_pcm_open+set}" = set; then
10378 echo $ECHO_N "(cached) $ECHO_C" >&6
10380 ac_check_lib_save_LIBS=$LIBS
10381 LIBS="-lasound $LIBS"
10382 cat >conftest.$ac_ext <<_ACEOF
10383 #line $LINENO "configure"
10386 cat confdefs.h >>conftest.$ac_ext
10387 cat >>conftest.$ac_ext <<_ACEOF
10388 /* end confdefs.h. */
10390 /* Override any gcc2 internal prototype to avoid an error. */
10394 /* We use char because int might match the return type of a gcc2
10395 builtin and then its argument prototype would still apply. */
10396 char snd_pcm_open ();
10405 rm -f conftest.$ac_objext conftest$ac_exeext
10406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10407 (eval $ac_link) 2>&5
10409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10410 (exit $ac_status); } &&
10411 { ac_try='test -s conftest$ac_exeext'
10412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10413 (eval $ac_try) 2>&5
10415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10416 (exit $ac_status); }; }; then
10417 ac_cv_lib_asound_snd_pcm_open=yes
10419 echo "$as_me: failed program was:" >&5
10420 sed 's/^/| /' conftest.$ac_ext >&5
10422 ac_cv_lib_asound_snd_pcm_open=no
10424 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10425 LIBS=$ac_check_lib_save_LIBS
10427 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5
10428 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6
10429 if test $ac_cv_lib_asound_snd_pcm_open = yes; then
10431 cat >>confdefs.h <<\_ACEOF
10432 #define HAVE_ALSA 1
10435 ALSALIBS="-lasound"
10444 for ac_header in libaudioio.h
10446 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10447 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10448 echo "$as_me:$LINENO: checking for $ac_header" >&5
10449 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10450 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10451 echo $ECHO_N "(cached) $ECHO_C" >&6
10453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10454 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10456 # Is the header compilable?
10457 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10458 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10459 cat >conftest.$ac_ext <<_ACEOF
10460 #line $LINENO "configure"
10463 cat confdefs.h >>conftest.$ac_ext
10464 cat >>conftest.$ac_ext <<_ACEOF
10465 /* end confdefs.h. */
10466 $ac_includes_default
10467 #include <$ac_header>
10469 rm -f conftest.$ac_objext
10470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10471 (eval $ac_compile) 2>&5
10473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10474 (exit $ac_status); } &&
10475 { ac_try='test -s conftest.$ac_objext'
10476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10477 (eval $ac_try) 2>&5
10479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10480 (exit $ac_status); }; }; then
10481 ac_header_compiler=yes
10483 echo "$as_me: failed program was:" >&5
10484 sed 's/^/| /' conftest.$ac_ext >&5
10486 ac_header_compiler=no
10488 rm -f conftest.$ac_objext conftest.$ac_ext
10489 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10490 echo "${ECHO_T}$ac_header_compiler" >&6
10492 # Is the header present?
10493 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10494 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10495 cat >conftest.$ac_ext <<_ACEOF
10496 #line $LINENO "configure"
10499 cat confdefs.h >>conftest.$ac_ext
10500 cat >>conftest.$ac_ext <<_ACEOF
10501 /* end confdefs.h. */
10502 #include <$ac_header>
10504 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10505 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10507 grep -v '^ *+' conftest.er1 >conftest.err
10509 cat conftest.err >&5
10510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10511 (exit $ac_status); } >/dev/null; then
10512 if test -s conftest.err; then
10513 ac_cpp_err=$ac_c_preproc_warn_flag
10520 if test -z "$ac_cpp_err"; then
10521 ac_header_preproc=yes
10523 echo "$as_me: failed program was:" >&5
10524 sed 's/^/| /' conftest.$ac_ext >&5
10526 ac_header_preproc=no
10528 rm -f conftest.err conftest.$ac_ext
10529 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10530 echo "${ECHO_T}$ac_header_preproc" >&6
10532 # So? What about this header?
10533 case $ac_header_compiler:$ac_header_preproc in
10535 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10536 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10537 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10538 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10541 ## ------------------------------------ ##
10542 ## Report this to bug-autoconf@gnu.org. ##
10543 ## ------------------------------------ ##
10546 sed "s/^/$as_me: WARNING: /" >&2
10549 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10550 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10551 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10552 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10553 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10554 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10557 ## ------------------------------------ ##
10558 ## Report this to bug-autoconf@gnu.org. ##
10559 ## ------------------------------------ ##
10562 sed "s/^/$as_me: WARNING: /" >&2
10565 echo "$as_me:$LINENO: checking for $ac_header" >&5
10566 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10567 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10568 echo $ECHO_N "(cached) $ECHO_C" >&6
10570 eval "$as_ac_Header=$ac_header_preproc"
10572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10573 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10576 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10577 cat >>confdefs.h <<_ACEOF
10578 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10580 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
10581 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
10582 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
10583 echo $ECHO_N "(cached) $ECHO_C" >&6
10585 ac_check_lib_save_LIBS=$LIBS
10586 LIBS="-laudioio $LIBS"
10587 cat >conftest.$ac_ext <<_ACEOF
10588 #line $LINENO "configure"
10591 cat confdefs.h >>conftest.$ac_ext
10592 cat >>conftest.$ac_ext <<_ACEOF
10593 /* end confdefs.h. */
10595 /* Override any gcc2 internal prototype to avoid an error. */
10599 /* We use char because int might match the return type of a gcc2
10600 builtin and then its argument prototype would still apply. */
10601 char AudioIOGetVersion ();
10605 AudioIOGetVersion ();
10610 rm -f conftest.$ac_objext conftest$ac_exeext
10611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10612 (eval $ac_link) 2>&5
10614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10615 (exit $ac_status); } &&
10616 { ac_try='test -s conftest$ac_exeext'
10617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10618 (eval $ac_try) 2>&5
10620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10621 (exit $ac_status); }; }; then
10622 ac_cv_lib_audioio_AudioIOGetVersion=yes
10624 echo "$as_me: failed program was:" >&5
10625 sed 's/^/| /' conftest.$ac_ext >&5
10627 ac_cv_lib_audioio_AudioIOGetVersion=no
10629 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10630 LIBS=$ac_check_lib_save_LIBS
10632 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
10633 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
10634 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
10635 AUDIOIOLIBS="-laudioio"
10637 cat >>confdefs.h <<\_ACEOF
10638 #define HAVE_LIBAUDIOIO 1
10650 for ac_header in capi20.h
10652 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10653 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10654 echo "$as_me:$LINENO: checking for $ac_header" >&5
10655 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10656 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10657 echo $ECHO_N "(cached) $ECHO_C" >&6
10659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10660 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10662 # Is the header compilable?
10663 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10664 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10665 cat >conftest.$ac_ext <<_ACEOF
10666 #line $LINENO "configure"
10669 cat confdefs.h >>conftest.$ac_ext
10670 cat >>conftest.$ac_ext <<_ACEOF
10671 /* end confdefs.h. */
10672 $ac_includes_default
10673 #include <$ac_header>
10675 rm -f conftest.$ac_objext
10676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10677 (eval $ac_compile) 2>&5
10679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10680 (exit $ac_status); } &&
10681 { ac_try='test -s conftest.$ac_objext'
10682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10683 (eval $ac_try) 2>&5
10685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10686 (exit $ac_status); }; }; then
10687 ac_header_compiler=yes
10689 echo "$as_me: failed program was:" >&5
10690 sed 's/^/| /' conftest.$ac_ext >&5
10692 ac_header_compiler=no
10694 rm -f conftest.$ac_objext conftest.$ac_ext
10695 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10696 echo "${ECHO_T}$ac_header_compiler" >&6
10698 # Is the header present?
10699 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10700 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10701 cat >conftest.$ac_ext <<_ACEOF
10702 #line $LINENO "configure"
10705 cat confdefs.h >>conftest.$ac_ext
10706 cat >>conftest.$ac_ext <<_ACEOF
10707 /* end confdefs.h. */
10708 #include <$ac_header>
10710 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10711 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10713 grep -v '^ *+' conftest.er1 >conftest.err
10715 cat conftest.err >&5
10716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10717 (exit $ac_status); } >/dev/null; then
10718 if test -s conftest.err; then
10719 ac_cpp_err=$ac_c_preproc_warn_flag
10726 if test -z "$ac_cpp_err"; then
10727 ac_header_preproc=yes
10729 echo "$as_me: failed program was:" >&5
10730 sed 's/^/| /' conftest.$ac_ext >&5
10732 ac_header_preproc=no
10734 rm -f conftest.err conftest.$ac_ext
10735 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10736 echo "${ECHO_T}$ac_header_preproc" >&6
10738 # So? What about this header?
10739 case $ac_header_compiler:$ac_header_preproc in
10741 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10742 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10743 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10744 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10747 ## ------------------------------------ ##
10748 ## Report this to bug-autoconf@gnu.org. ##
10749 ## ------------------------------------ ##
10752 sed "s/^/$as_me: WARNING: /" >&2
10755 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10756 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10757 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10758 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10759 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10760 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10763 ## ------------------------------------ ##
10764 ## Report this to bug-autoconf@gnu.org. ##
10765 ## ------------------------------------ ##
10768 sed "s/^/$as_me: WARNING: /" >&2
10771 echo "$as_me:$LINENO: checking for $ac_header" >&5
10772 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10773 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10774 echo $ECHO_N "(cached) $ECHO_C" >&6
10776 eval "$as_ac_Header=$ac_header_preproc"
10778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10779 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10782 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10783 cat >>confdefs.h <<_ACEOF
10784 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10788 for ac_header in linux/capi.h
10790 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10791 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10792 echo "$as_me:$LINENO: checking for $ac_header" >&5
10793 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10794 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10795 echo $ECHO_N "(cached) $ECHO_C" >&6
10797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10798 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10800 # Is the header compilable?
10801 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10802 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10803 cat >conftest.$ac_ext <<_ACEOF
10804 #line $LINENO "configure"
10807 cat confdefs.h >>conftest.$ac_ext
10808 cat >>conftest.$ac_ext <<_ACEOF
10809 /* end confdefs.h. */
10810 $ac_includes_default
10811 #include <$ac_header>
10813 rm -f conftest.$ac_objext
10814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10815 (eval $ac_compile) 2>&5
10817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10818 (exit $ac_status); } &&
10819 { ac_try='test -s conftest.$ac_objext'
10820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10821 (eval $ac_try) 2>&5
10823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10824 (exit $ac_status); }; }; then
10825 ac_header_compiler=yes
10827 echo "$as_me: failed program was:" >&5
10828 sed 's/^/| /' conftest.$ac_ext >&5
10830 ac_header_compiler=no
10832 rm -f conftest.$ac_objext conftest.$ac_ext
10833 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10834 echo "${ECHO_T}$ac_header_compiler" >&6
10836 # Is the header present?
10837 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10838 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10839 cat >conftest.$ac_ext <<_ACEOF
10840 #line $LINENO "configure"
10843 cat confdefs.h >>conftest.$ac_ext
10844 cat >>conftest.$ac_ext <<_ACEOF
10845 /* end confdefs.h. */
10846 #include <$ac_header>
10848 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10849 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10851 grep -v '^ *+' conftest.er1 >conftest.err
10853 cat conftest.err >&5
10854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10855 (exit $ac_status); } >/dev/null; then
10856 if test -s conftest.err; then
10857 ac_cpp_err=$ac_c_preproc_warn_flag
10864 if test -z "$ac_cpp_err"; then
10865 ac_header_preproc=yes
10867 echo "$as_me: failed program was:" >&5
10868 sed 's/^/| /' conftest.$ac_ext >&5
10870 ac_header_preproc=no
10872 rm -f conftest.err conftest.$ac_ext
10873 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10874 echo "${ECHO_T}$ac_header_preproc" >&6
10876 # So? What about this header?
10877 case $ac_header_compiler:$ac_header_preproc in
10879 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10880 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10881 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10882 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10885 ## ------------------------------------ ##
10886 ## Report this to bug-autoconf@gnu.org. ##
10887 ## ------------------------------------ ##
10890 sed "s/^/$as_me: WARNING: /" >&2
10893 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10894 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10895 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10896 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10897 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10898 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10901 ## ------------------------------------ ##
10902 ## Report this to bug-autoconf@gnu.org. ##
10903 ## ------------------------------------ ##
10906 sed "s/^/$as_me: WARNING: /" >&2
10909 echo "$as_me:$LINENO: checking for $ac_header" >&5
10910 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10911 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10912 echo $ECHO_N "(cached) $ECHO_C" >&6
10914 eval "$as_ac_Header=$ac_header_preproc"
10916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10917 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10920 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10921 cat >>confdefs.h <<_ACEOF
10922 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10925 echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
10926 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6
10927 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
10928 echo $ECHO_N "(cached) $ECHO_C" >&6
10930 ac_check_lib_save_LIBS=$LIBS
10931 LIBS="-lcapi20 $LIBS"
10932 cat >conftest.$ac_ext <<_ACEOF
10933 #line $LINENO "configure"
10936 cat confdefs.h >>conftest.$ac_ext
10937 cat >>conftest.$ac_ext <<_ACEOF
10938 /* end confdefs.h. */
10940 /* Override any gcc2 internal prototype to avoid an error. */
10944 /* We use char because int might match the return type of a gcc2
10945 builtin and then its argument prototype would still apply. */
10946 char capi20_register ();
10950 capi20_register ();
10955 rm -f conftest.$ac_objext conftest$ac_exeext
10956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10957 (eval $ac_link) 2>&5
10959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10960 (exit $ac_status); } &&
10961 { ac_try='test -s conftest$ac_exeext'
10962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10963 (eval $ac_try) 2>&5
10965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10966 (exit $ac_status); }; }; then
10967 ac_cv_lib_capi20_capi20_register=yes
10969 echo "$as_me: failed program was:" >&5
10970 sed 's/^/| /' conftest.$ac_ext >&5
10972 ac_cv_lib_capi20_capi20_register=no
10974 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10975 LIBS=$ac_check_lib_save_LIBS
10977 echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
10978 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6
10979 if test $ac_cv_lib_capi20_capi20_register = yes; then
10982 cat >>confdefs.h <<\_ACEOF
10983 #define HAVE_CAPI4LINUX 1
10986 CAPI4LINUXLIBS="-lcapi20"
11003 echo "$as_me:$LINENO: checking whether mmap64 works defined as mmap" >&5
11004 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
11005 if test "${ac_cv_mmap64_works+set}" = set; then
11006 echo $ECHO_N "(cached) $ECHO_C" >&6
11008 if test "$cross_compiling" = yes; then
11009 ac_cv_mmap64_works="no"
11011 cat >conftest.$ac_ext <<_ACEOF
11012 #line $LINENO "configure"
11015 cat confdefs.h >>conftest.$ac_ext
11016 cat >>conftest.$ac_ext <<_ACEOF
11017 /* end confdefs.h. */
11019 #define _FILE_OFFSET_BITS 64
11021 #include <unistd.h>
11023 #include <sys/mman.h>
11026 int main(int argc,char **argv) {
11027 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
11028 if (fd == -1) exit(1);
11030 unlink("conftest.map");
11032 write(fd,"test",4);
11034 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
11040 fprintf(stderr,"success!\n");
11046 rm -f conftest$ac_exeext
11047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11048 (eval $ac_link) 2>&5
11050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11051 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11053 (eval $ac_try) 2>&5
11055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11056 (exit $ac_status); }; }; then
11057 ac_cv_mmap64_works="yes"
11059 echo "$as_me: program exited with status $ac_status" >&5
11060 echo "$as_me: failed program was:" >&5
11061 sed 's/^/| /' conftest.$ac_ext >&5
11063 ( exit $ac_status )
11064 ac_cv_mmap64_works="no"
11066 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11069 echo "$as_me:$LINENO: result: $ac_cv_mmap64_works" >&5
11070 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
11072 if test "$ac_cv_mmap64_works" = "yes"
11075 cat >>confdefs.h <<\_ACEOF
11076 #define _FILE_OFFSET_BITS 64
11084 if test "x${GCC}" = "xyes"
11088 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
11089 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
11090 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
11091 echo $ECHO_N "(cached) $ECHO_C" >&6
11093 if test "$cross_compiling" = yes; then
11094 ac_cv_c_gcc_strength_bug="yes"
11096 cat >conftest.$ac_ext <<_ACEOF
11097 #line $LINENO "configure"
11100 cat confdefs.h >>conftest.$ac_ext
11101 cat >>conftest.$ac_ext <<_ACEOF
11102 /* end confdefs.h. */
11104 int L[4] = {0,1,2,3};
11106 static int Array[3];
11107 unsigned int B = 3;
11109 for(i=0; i<B; i++) Array[i] = i - 3;
11110 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
11113 exit( Array[1] != -2 || L[2] != 3);
11116 rm -f conftest$ac_exeext
11117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11118 (eval $ac_link) 2>&5
11120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11121 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11123 (eval $ac_try) 2>&5
11125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11126 (exit $ac_status); }; }; then
11127 ac_cv_c_gcc_strength_bug="no"
11129 echo "$as_me: program exited with status $ac_status" >&5
11130 echo "$as_me: failed program was:" >&5
11131 sed 's/^/| /' conftest.$ac_ext >&5
11133 ( exit $ac_status )
11134 ac_cv_c_gcc_strength_bug="yes"
11136 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11139 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
11140 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
11141 if test "$ac_cv_c_gcc_strength_bug" = "yes"
11143 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
11146 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
11147 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
11148 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
11149 echo $ECHO_N "(cached) $ECHO_C" >&6
11151 ac_wine_try_cflags_saved=$CFLAGS
11152 CFLAGS="$CFLAGS -mpreferred-stack-boundary=2"
11153 cat >conftest.$ac_ext <<_ACEOF
11154 #line $LINENO "configure"
11157 cat confdefs.h >>conftest.$ac_ext
11158 cat >>conftest.$ac_ext <<_ACEOF
11159 /* end confdefs.h. */
11169 rm -f conftest.$ac_objext conftest$ac_exeext
11170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11171 (eval $ac_link) 2>&5
11173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11174 (exit $ac_status); } &&
11175 { ac_try='test -s conftest$ac_exeext'
11176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11177 (eval $ac_try) 2>&5
11179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11180 (exit $ac_status); }; }; then
11181 ac_cv_c_gcc_stack_boundary="yes"
11183 echo "$as_me: failed program was:" >&5
11184 sed 's/^/| /' conftest.$ac_ext >&5
11186 ac_cv_c_gcc_stack_boundary="no"
11188 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11189 CFLAGS=$ac_wine_try_cflags_saved
11191 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
11192 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
11193 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
11195 EXTRACFLAGS="$EXTRACFLAGS -mpreferred-stack-boundary=2"
11198 echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
11199 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6
11200 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
11201 echo $ECHO_N "(cached) $ECHO_C" >&6
11203 ac_wine_try_cflags_saved=$CFLAGS
11204 CFLAGS="$CFLAGS -fno-strict-aliasing"
11205 cat >conftest.$ac_ext <<_ACEOF
11206 #line $LINENO "configure"
11209 cat confdefs.h >>conftest.$ac_ext
11210 cat >>conftest.$ac_ext <<_ACEOF
11211 /* end confdefs.h. */
11221 rm -f conftest.$ac_objext conftest$ac_exeext
11222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11223 (eval $ac_link) 2>&5
11225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11226 (exit $ac_status); } &&
11227 { ac_try='test -s conftest$ac_exeext'
11228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11229 (eval $ac_try) 2>&5
11231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11232 (exit $ac_status); }; }; then
11233 ac_cv_c_gcc_no_strict_aliasing="yes"
11235 echo "$as_me: failed program was:" >&5
11236 sed 's/^/| /' conftest.$ac_ext >&5
11238 ac_cv_c_gcc_no_strict_aliasing="no"
11240 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11241 CFLAGS=$ac_wine_try_cflags_saved
11243 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
11244 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6
11245 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
11247 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
11250 echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
11251 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6
11252 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
11253 echo $ECHO_N "(cached) $ECHO_C" >&6
11255 ac_wine_try_cflags_saved=$CFLAGS
11256 CFLAGS="$CFLAGS -gstabs+"
11257 cat >conftest.$ac_ext <<_ACEOF
11258 #line $LINENO "configure"
11261 cat confdefs.h >>conftest.$ac_ext
11262 cat >>conftest.$ac_ext <<_ACEOF
11263 /* end confdefs.h. */
11273 rm -f conftest.$ac_objext conftest$ac_exeext
11274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11275 (eval $ac_link) 2>&5
11277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11278 (exit $ac_status); } &&
11279 { ac_try='test -s conftest$ac_exeext'
11280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11281 (eval $ac_try) 2>&5
11283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11284 (exit $ac_status); }; }; then
11285 ac_cv_c_gcc_gstabs="yes"
11287 echo "$as_me: failed program was:" >&5
11288 sed 's/^/| /' conftest.$ac_ext >&5
11290 ac_cv_c_gcc_gstabs="no"
11292 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11293 CFLAGS=$ac_wine_try_cflags_saved
11295 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
11296 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6
11297 if test "$ac_cv_c_gcc_gstabs" = "yes"
11299 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
11302 saved_CFLAGS="$CFLAGS"
11303 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
11304 echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
11305 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6
11306 if test "${ac_cv_c_string_h_warnings+set}" = set; then
11307 echo $ECHO_N "(cached) $ECHO_C" >&6
11309 cat >conftest.$ac_ext <<_ACEOF
11310 #line $LINENO "configure"
11313 cat confdefs.h >>conftest.$ac_ext
11314 cat >>conftest.$ac_ext <<_ACEOF
11315 /* end confdefs.h. */
11316 #include <string.h>
11325 rm -f conftest.$ac_objext
11326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11327 (eval $ac_compile) 2>&5
11329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11330 (exit $ac_status); } &&
11331 { ac_try='test -s conftest.$ac_objext'
11332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11333 (eval $ac_try) 2>&5
11335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11336 (exit $ac_status); }; }; then
11337 ac_cv_c_string_h_warnings=no
11339 echo "$as_me: failed program was:" >&5
11340 sed 's/^/| /' conftest.$ac_ext >&5
11342 ac_cv_c_string_h_warnings=yes
11344 rm -f conftest.$ac_objext conftest.$ac_ext
11346 echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
11347 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6
11348 CFLAGS="$saved_CFLAGS"
11349 if test "$ac_cv_c_string_h_warnings" = "no"
11351 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
11356 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
11357 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
11358 if test "${ac_cv_asm_func_def+set}" = set; then
11359 echo $ECHO_N "(cached) $ECHO_C" >&6
11361 cat >conftest.$ac_ext <<_ACEOF
11362 #line $LINENO "configure"
11365 cat confdefs.h >>conftest.$ac_ext
11366 cat >>conftest.$ac_ext <<_ACEOF
11367 /* end confdefs.h. */
11368 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"); }
11378 rm -f conftest.$ac_objext conftest$ac_exeext
11379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11380 (eval $ac_link) 2>&5
11382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11383 (exit $ac_status); } &&
11384 { ac_try='test -s conftest$ac_exeext'
11385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11386 (eval $ac_try) 2>&5
11388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11389 (exit $ac_status); }; }; then
11390 ac_cv_asm_func_def=".def"
11392 echo "$as_me: failed program was:" >&5
11393 sed 's/^/| /' conftest.$ac_ext >&5
11395 cat >conftest.$ac_ext <<_ACEOF
11396 #line $LINENO "configure"
11399 cat confdefs.h >>conftest.$ac_ext
11400 cat >>conftest.$ac_ext <<_ACEOF
11401 /* end confdefs.h. */
11402 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
11412 rm -f conftest.$ac_objext conftest$ac_exeext
11413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11414 (eval $ac_link) 2>&5
11416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11417 (exit $ac_status); } &&
11418 { ac_try='test -s conftest$ac_exeext'
11419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11420 (eval $ac_try) 2>&5
11422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11423 (exit $ac_status); }; }; then
11424 ac_cv_asm_func_def=".type @function"
11426 echo "$as_me: failed program was:" >&5
11427 sed 's/^/| /' conftest.$ac_ext >&5
11429 cat >conftest.$ac_ext <<_ACEOF
11430 #line $LINENO "configure"
11433 cat confdefs.h >>conftest.$ac_ext
11434 cat >>conftest.$ac_ext <<_ACEOF
11435 /* end confdefs.h. */
11436 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
11446 rm -f conftest.$ac_objext conftest$ac_exeext
11447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11448 (eval $ac_link) 2>&5
11450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11451 (exit $ac_status); } &&
11452 { ac_try='test -s conftest$ac_exeext'
11453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11454 (eval $ac_try) 2>&5
11456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11457 (exit $ac_status); }; }; then
11458 ac_cv_asm_func_def=".type 2"
11460 echo "$as_me: failed program was:" >&5
11461 sed 's/^/| /' conftest.$ac_ext >&5
11463 ac_cv_asm_func_def="unknown"
11465 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11467 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11469 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11471 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
11472 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
11476 case "$ac_cv_asm_func_def" in
11478 cat >>confdefs.h <<\_ACEOF
11479 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
11483 cat >>confdefs.h <<\_ACEOF
11484 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
11488 cat >>confdefs.h <<\_ACEOF
11489 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
11493 cat >>confdefs.h <<\_ACEOF
11494 #define __ASM_FUNC(name) ""
11500 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
11501 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
11502 if test "${ac_cv_c_extern_prefix+set}" = set; then
11503 echo $ECHO_N "(cached) $ECHO_C" >&6
11505 cat >conftest.$ac_ext <<_ACEOF
11506 #line $LINENO "configure"
11509 cat confdefs.h >>conftest.$ac_ext
11510 cat >>conftest.$ac_ext <<_ACEOF
11511 /* end confdefs.h. */
11512 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
11513 extern int ac_test;
11517 if (ac_test) return 1
11522 rm -f conftest.$ac_objext conftest$ac_exeext
11523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11524 (eval $ac_link) 2>&5
11526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11527 (exit $ac_status); } &&
11528 { ac_try='test -s conftest$ac_exeext'
11529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11530 (eval $ac_try) 2>&5
11532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11533 (exit $ac_status); }; }; then
11534 ac_cv_c_extern_prefix="yes"
11536 echo "$as_me: failed program was:" >&5
11537 sed 's/^/| /' conftest.$ac_ext >&5
11539 ac_cv_c_extern_prefix="no"
11541 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11543 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
11544 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
11548 if test "$ac_cv_c_extern_prefix" = "yes"
11550 cat >>confdefs.h <<\_ACEOF
11551 #define __ASM_NAME(name) "_" name
11555 cat >>confdefs.h <<\_ACEOF
11556 #define __ASM_NAME(name) name
11562 echo "$as_me:$LINENO: checking whether assembler accepts .string" >&5
11563 echo $ECHO_N "checking whether assembler accepts .string... $ECHO_C" >&6
11564 if test "${ac_cv_c_asm_string+set}" = set; then
11565 echo $ECHO_N "(cached) $ECHO_C" >&6
11567 cat >conftest.$ac_ext <<_ACEOF
11568 #line $LINENO "configure"
11571 cat confdefs.h >>conftest.$ac_ext
11572 cat >>conftest.$ac_ext <<_ACEOF
11573 /* end confdefs.h. */
11574 void ac_asm(void) { asm(".data\n\t.string \"test\"\n\t.text"); }
11584 rm -f conftest.$ac_objext conftest$ac_exeext
11585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11586 (eval $ac_link) 2>&5
11588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11589 (exit $ac_status); } &&
11590 { ac_try='test -s conftest$ac_exeext'
11591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11592 (eval $ac_try) 2>&5
11594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11595 (exit $ac_status); }; }; then
11596 ac_cv_c_asm_string="yes"
11598 echo "$as_me: failed program was:" >&5
11599 sed 's/^/| /' conftest.$ac_ext >&5
11601 ac_cv_c_asm_string="no"
11603 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11605 echo "$as_me:$LINENO: result: $ac_cv_c_asm_string" >&5
11606 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
11607 if test "$ac_cv_c_asm_string" = "yes"
11610 cat >>confdefs.h <<\_ACEOF
11611 #define __ASM_STRING ".string"
11615 echo "$as_me:$LINENO: checking whether assembler accepts .asciz" >&5
11616 echo $ECHO_N "checking whether assembler accepts .asciz... $ECHO_C" >&6
11617 if test "${ac_cv_c_asm_asciz+set}" = set; then
11618 echo $ECHO_N "(cached) $ECHO_C" >&6
11620 cat >conftest.$ac_ext <<_ACEOF
11621 #line $LINENO "configure"
11624 cat confdefs.h >>conftest.$ac_ext
11625 cat >>conftest.$ac_ext <<_ACEOF
11626 /* end confdefs.h. */
11627 void ac_asm(void) { asm(".data\n\t.asciz \"test\"\n\t.text"); }
11637 rm -f conftest.$ac_objext conftest$ac_exeext
11638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11639 (eval $ac_link) 2>&5
11641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11642 (exit $ac_status); } &&
11643 { ac_try='test -s conftest$ac_exeext'
11644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11645 (eval $ac_try) 2>&5
11647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11648 (exit $ac_status); }; }; then
11649 ac_cv_c_asm_asciz="yes"
11651 echo "$as_me: failed program was:" >&5
11652 sed 's/^/| /' conftest.$ac_ext >&5
11654 ac_cv_c_asm_asciz="no"
11656 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11658 echo "$as_me:$LINENO: result: $ac_cv_c_asm_asciz" >&5
11659 echo "${ECHO_T}$ac_cv_c_asm_asciz" >&6
11660 if test "$ac_cv_c_asm_asciz" = "yes"
11662 cat >>confdefs.h <<\_ACEOF
11663 #define __ASM_STRING ".asciz"
11667 cat >>confdefs.h <<\_ACEOF
11668 #define __ASM_STRING ".ascii"
11675 echo "$as_me:$LINENO: checking whether assembler accepts .short" >&5
11676 echo $ECHO_N "checking whether assembler accepts .short... $ECHO_C" >&6
11677 if test "${ac_cv_c_asm_short+set}" = set; then
11678 echo $ECHO_N "(cached) $ECHO_C" >&6
11680 cat >conftest.$ac_ext <<_ACEOF
11681 #line $LINENO "configure"
11684 cat confdefs.h >>conftest.$ac_ext
11685 cat >>conftest.$ac_ext <<_ACEOF
11686 /* end confdefs.h. */
11687 void ac_asm(void) { asm(".data\n\t.short 1\n\t.text"); }
11697 rm -f conftest.$ac_objext conftest$ac_exeext
11698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11699 (eval $ac_link) 2>&5
11701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11702 (exit $ac_status); } &&
11703 { ac_try='test -s conftest$ac_exeext'
11704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11705 (eval $ac_try) 2>&5
11707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11708 (exit $ac_status); }; }; then
11709 ac_cv_c_asm_short="yes"
11711 echo "$as_me: failed program was:" >&5
11712 sed 's/^/| /' conftest.$ac_ext >&5
11714 ac_cv_c_asm_short="no"
11716 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11718 echo "$as_me:$LINENO: result: $ac_cv_c_asm_short" >&5
11719 echo "${ECHO_T}$ac_cv_c_asm_short" >&6
11720 if test "$ac_cv_c_asm_short" = "yes"
11723 cat >>confdefs.h <<\_ACEOF
11724 #define __ASM_SHORT ".short"
11728 cat >>confdefs.h <<\_ACEOF
11729 #define __ASM_SHORT ".half"
11737 DLLFLAGS="-D_REENTRANT"
11752 if test -n "$ac_tool_prefix"; then
11753 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
11754 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
11755 echo "$as_me:$LINENO: checking for $ac_word" >&5
11756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11757 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
11758 echo $ECHO_N "(cached) $ECHO_C" >&6
11760 if test -n "$DLLTOOL"; then
11761 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
11763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11764 for as_dir in $PATH
11767 test -z "$as_dir" && as_dir=.
11768 for ac_exec_ext in '' $ac_executable_extensions; do
11769 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11770 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
11771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11779 DLLTOOL=$ac_cv_prog_DLLTOOL
11780 if test -n "$DLLTOOL"; then
11781 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
11782 echo "${ECHO_T}$DLLTOOL" >&6
11784 echo "$as_me:$LINENO: result: no" >&5
11785 echo "${ECHO_T}no" >&6
11789 if test -z "$ac_cv_prog_DLLTOOL"; then
11790 ac_ct_DLLTOOL=$DLLTOOL
11791 # Extract the first word of "dlltool", so it can be a program name with args.
11792 set dummy dlltool; ac_word=$2
11793 echo "$as_me:$LINENO: checking for $ac_word" >&5
11794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11795 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
11796 echo $ECHO_N "(cached) $ECHO_C" >&6
11798 if test -n "$ac_ct_DLLTOOL"; then
11799 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
11801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11802 for as_dir in $PATH
11805 test -z "$as_dir" && as_dir=.
11806 for ac_exec_ext in '' $ac_executable_extensions; do
11807 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11808 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
11809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11815 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
11818 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
11819 if test -n "$ac_ct_DLLTOOL"; then
11820 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
11821 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
11823 echo "$as_me:$LINENO: result: no" >&5
11824 echo "${ECHO_T}no" >&6
11827 DLLTOOL=$ac_ct_DLLTOOL
11829 DLLTOOL="$ac_cv_prog_DLLTOOL"
11832 if test -n "$ac_tool_prefix"; then
11833 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
11834 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
11835 echo "$as_me:$LINENO: checking for $ac_word" >&5
11836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11837 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
11838 echo $ECHO_N "(cached) $ECHO_C" >&6
11840 if test -n "$DLLWRAP"; then
11841 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
11843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11844 for as_dir in $PATH
11847 test -z "$as_dir" && as_dir=.
11848 for ac_exec_ext in '' $ac_executable_extensions; do
11849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11850 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
11851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11859 DLLWRAP=$ac_cv_prog_DLLWRAP
11860 if test -n "$DLLWRAP"; then
11861 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
11862 echo "${ECHO_T}$DLLWRAP" >&6
11864 echo "$as_me:$LINENO: result: no" >&5
11865 echo "${ECHO_T}no" >&6
11869 if test -z "$ac_cv_prog_DLLWRAP"; then
11870 ac_ct_DLLWRAP=$DLLWRAP
11871 # Extract the first word of "dllwrap", so it can be a program name with args.
11872 set dummy dllwrap; ac_word=$2
11873 echo "$as_me:$LINENO: checking for $ac_word" >&5
11874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11875 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
11876 echo $ECHO_N "(cached) $ECHO_C" >&6
11878 if test -n "$ac_ct_DLLWRAP"; then
11879 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
11881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11882 for as_dir in $PATH
11885 test -z "$as_dir" && as_dir=.
11886 for ac_exec_ext in '' $ac_executable_extensions; do
11887 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11888 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
11889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11895 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP="false"
11898 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
11899 if test -n "$ac_ct_DLLWRAP"; then
11900 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
11901 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
11903 echo "$as_me:$LINENO: result: no" >&5
11904 echo "${ECHO_T}no" >&6
11907 DLLWRAP=$ac_ct_DLLWRAP
11909 DLLWRAP="$ac_cv_prog_DLLWRAP"
11912 if test "$DLLWRAP" = "false"; then
11921 for ac_header in dlfcn.h
11923 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11924 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11925 echo "$as_me:$LINENO: checking for $ac_header" >&5
11926 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11927 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11928 echo $ECHO_N "(cached) $ECHO_C" >&6
11930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11931 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11933 # Is the header compilable?
11934 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11935 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11936 cat >conftest.$ac_ext <<_ACEOF
11937 #line $LINENO "configure"
11940 cat confdefs.h >>conftest.$ac_ext
11941 cat >>conftest.$ac_ext <<_ACEOF
11942 /* end confdefs.h. */
11943 $ac_includes_default
11944 #include <$ac_header>
11946 rm -f conftest.$ac_objext
11947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11948 (eval $ac_compile) 2>&5
11950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11951 (exit $ac_status); } &&
11952 { ac_try='test -s conftest.$ac_objext'
11953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11954 (eval $ac_try) 2>&5
11956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11957 (exit $ac_status); }; }; then
11958 ac_header_compiler=yes
11960 echo "$as_me: failed program was:" >&5
11961 sed 's/^/| /' conftest.$ac_ext >&5
11963 ac_header_compiler=no
11965 rm -f conftest.$ac_objext conftest.$ac_ext
11966 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11967 echo "${ECHO_T}$ac_header_compiler" >&6
11969 # Is the header present?
11970 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11971 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11972 cat >conftest.$ac_ext <<_ACEOF
11973 #line $LINENO "configure"
11976 cat confdefs.h >>conftest.$ac_ext
11977 cat >>conftest.$ac_ext <<_ACEOF
11978 /* end confdefs.h. */
11979 #include <$ac_header>
11981 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11982 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11984 grep -v '^ *+' conftest.er1 >conftest.err
11986 cat conftest.err >&5
11987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11988 (exit $ac_status); } >/dev/null; then
11989 if test -s conftest.err; then
11990 ac_cpp_err=$ac_c_preproc_warn_flag
11997 if test -z "$ac_cpp_err"; then
11998 ac_header_preproc=yes
12000 echo "$as_me: failed program was:" >&5
12001 sed 's/^/| /' conftest.$ac_ext >&5
12003 ac_header_preproc=no
12005 rm -f conftest.err conftest.$ac_ext
12006 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12007 echo "${ECHO_T}$ac_header_preproc" >&6
12009 # So? What about this header?
12010 case $ac_header_compiler:$ac_header_preproc in
12012 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12013 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12014 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12015 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12018 ## ------------------------------------ ##
12019 ## Report this to bug-autoconf@gnu.org. ##
12020 ## ------------------------------------ ##
12023 sed "s/^/$as_me: WARNING: /" >&2
12026 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12027 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12028 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12029 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12030 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12031 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12034 ## ------------------------------------ ##
12035 ## Report this to bug-autoconf@gnu.org. ##
12036 ## ------------------------------------ ##
12039 sed "s/^/$as_me: WARNING: /" >&2
12042 echo "$as_me:$LINENO: checking for $ac_header" >&5
12043 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12044 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12045 echo $ECHO_N "(cached) $ECHO_C" >&6
12047 eval "$as_ac_Header=$ac_header_preproc"
12049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12050 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12053 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12054 cat >>confdefs.h <<_ACEOF
12055 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12058 for ac_func in dlopen
12060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12061 echo "$as_me:$LINENO: checking for $ac_func" >&5
12062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12063 if eval "test \"\${$as_ac_var+set}\" = set"; then
12064 echo $ECHO_N "(cached) $ECHO_C" >&6
12066 cat >conftest.$ac_ext <<_ACEOF
12067 #line $LINENO "configure"
12070 cat confdefs.h >>conftest.$ac_ext
12071 cat >>conftest.$ac_ext <<_ACEOF
12072 /* end confdefs.h. */
12073 /* System header to define __stub macros and hopefully few prototypes,
12074 which can conflict with char $ac_func (); below.
12075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12076 <limits.h> exists even on freestanding compilers. */
12078 # include <limits.h>
12080 # include <assert.h>
12082 /* Override any gcc2 internal prototype to avoid an error. */
12087 /* We use char because int might match the return type of a gcc2
12088 builtin and then its argument prototype would still apply. */
12090 /* The GNU C library defines this for functions which it implements
12091 to always fail with ENOSYS. Some functions are actually named
12092 something starting with __ and the normal name is an alias. */
12093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12096 char (*f) () = $ac_func;
12105 return f != $ac_func;
12110 rm -f conftest.$ac_objext conftest$ac_exeext
12111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12112 (eval $ac_link) 2>&5
12114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12115 (exit $ac_status); } &&
12116 { ac_try='test -s conftest$ac_exeext'
12117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12118 (eval $ac_try) 2>&5
12120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12121 (exit $ac_status); }; }; then
12122 eval "$as_ac_var=yes"
12124 echo "$as_me: failed program was:" >&5
12125 sed 's/^/| /' conftest.$ac_ext >&5
12127 eval "$as_ac_var=no"
12129 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12133 if test `eval echo '${'$as_ac_var'}'` = yes; then
12134 cat >>confdefs.h <<_ACEOF
12135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12139 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12140 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12141 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12142 echo $ECHO_N "(cached) $ECHO_C" >&6
12144 ac_check_lib_save_LIBS=$LIBS
12146 cat >conftest.$ac_ext <<_ACEOF
12147 #line $LINENO "configure"
12150 cat confdefs.h >>conftest.$ac_ext
12151 cat >>conftest.$ac_ext <<_ACEOF
12152 /* end confdefs.h. */
12154 /* Override any gcc2 internal prototype to avoid an error. */
12158 /* We use char because int might match the return type of a gcc2
12159 builtin and then its argument prototype would still apply. */
12169 rm -f conftest.$ac_objext conftest$ac_exeext
12170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12171 (eval $ac_link) 2>&5
12173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12174 (exit $ac_status); } &&
12175 { ac_try='test -s conftest$ac_exeext'
12176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12177 (eval $ac_try) 2>&5
12179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12180 (exit $ac_status); }; }; then
12181 ac_cv_lib_dl_dlopen=yes
12183 echo "$as_me: failed program was:" >&5
12184 sed 's/^/| /' conftest.$ac_ext >&5
12186 ac_cv_lib_dl_dlopen=no
12188 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12189 LIBS=$ac_check_lib_save_LIBS
12191 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12192 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12193 if test $ac_cv_lib_dl_dlopen = yes; then
12195 cat >>confdefs.h <<\_ACEOF
12196 #define HAVE_DLOPEN 1
12214 if test "$LIBEXT" = "so"
12216 DLLFLAGS="$DLLFLAGS -fPIC"
12218 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
12219 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
12220 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
12221 echo $ECHO_N "(cached) $ECHO_C" >&6
12223 ac_wine_try_cflags_saved=$CFLAGS
12224 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
12225 cat >conftest.$ac_ext <<_ACEOF
12226 #line $LINENO "configure"
12229 cat confdefs.h >>conftest.$ac_ext
12230 cat >>conftest.$ac_ext <<_ACEOF
12231 /* end confdefs.h. */
12241 rm -f conftest.$ac_objext conftest$ac_exeext
12242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12243 (eval $ac_link) 2>&5
12245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12246 (exit $ac_status); } &&
12247 { ac_try='test -s conftest$ac_exeext'
12248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12249 (eval $ac_try) 2>&5
12251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12252 (exit $ac_status); }; }; then
12253 ac_cv_c_dll_gnuelf="yes"
12255 echo "$as_me: failed program was:" >&5
12256 sed 's/^/| /' conftest.$ac_ext >&5
12258 ac_cv_c_dll_gnuelf="no"
12260 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12261 CFLAGS=$ac_wine_try_cflags_saved
12263 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
12264 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
12265 if test "$ac_cv_c_dll_gnuelf" = "yes"
12267 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
12268 LDDLL="\$(CC) -shared -Wl,-Bsymbolic"
12269 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
12270 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
12271 if test "${ac_cv_c_dll_zdefs+set}" = set; then
12272 echo $ECHO_N "(cached) $ECHO_C" >&6
12274 ac_wine_try_cflags_saved=$CFLAGS
12275 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
12276 cat >conftest.$ac_ext <<_ACEOF
12277 #line $LINENO "configure"
12280 cat confdefs.h >>conftest.$ac_ext
12281 cat >>conftest.$ac_ext <<_ACEOF
12282 /* end confdefs.h. */
12292 rm -f conftest.$ac_objext conftest$ac_exeext
12293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12294 (eval $ac_link) 2>&5
12296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12297 (exit $ac_status); } &&
12298 { ac_try='test -s conftest$ac_exeext'
12299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12300 (eval $ac_try) 2>&5
12302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12303 (exit $ac_status); }; }; then
12304 ac_cv_c_dll_zdefs="yes"
12306 echo "$as_me: failed program was:" >&5
12307 sed 's/^/| /' conftest.$ac_ext >&5
12309 ac_cv_c_dll_zdefs="no"
12311 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12312 CFLAGS=$ac_wine_try_cflags_saved
12314 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
12315 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
12316 if test "$ac_cv_c_dll_zdefs" = "yes"
12318 LDDLL="$LDDLL,-z,defs"
12320 echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x3c000000" >&5
12321 echo $ECHO_N "checking whether we can relocate the executable to 0x3c000000... $ECHO_C" >&6
12322 if test "${ac_cv_ld_reloc_exec+set}" = set; then
12323 echo $ECHO_N "(cached) $ECHO_C" >&6
12325 saved_CFLAGS="$CFLAGS"
12326 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x3c000100"
12327 if test "$cross_compiling" = yes; then
12328 ac_cv_ld_reloc_exec="no"
12330 cat >conftest.$ac_ext <<_ACEOF
12331 #line $LINENO "configure"
12334 cat confdefs.h >>conftest.$ac_ext
12335 cat >>conftest.$ac_ext <<_ACEOF
12336 /* end confdefs.h. */
12337 #include <unistd.h>
12338 int main() { return (sbrk(32*1024*1024) == (void *)-1); }
12340 rm -f conftest$ac_exeext
12341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12342 (eval $ac_link) 2>&5
12344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12345 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12347 (eval $ac_try) 2>&5
12349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12350 (exit $ac_status); }; }; then
12351 ac_cv_ld_reloc_exec="yes"
12353 echo "$as_me: program exited with status $ac_status" >&5
12354 echo "$as_me: failed program was:" >&5
12355 sed 's/^/| /' conftest.$ac_ext >&5
12357 ( exit $ac_status )
12358 ac_cv_ld_reloc_exec="no"
12360 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12362 CFLAGS="$saved_CFLAGS"
12364 echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
12365 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6
12366 if test "$ac_cv_ld_reloc_exec" = "yes"
12368 LDEXECFLAGS="-Wl,--section-start,.interp=0x3c000100"
12372 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
12373 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
12374 if test "${ac_cv_c_dll_unixware+set}" = set; then
12375 echo $ECHO_N "(cached) $ECHO_C" >&6
12377 ac_wine_try_cflags_saved=$CFLAGS
12378 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
12379 cat >conftest.$ac_ext <<_ACEOF
12380 #line $LINENO "configure"
12383 cat confdefs.h >>conftest.$ac_ext
12384 cat >>conftest.$ac_ext <<_ACEOF
12385 /* end confdefs.h. */
12395 rm -f conftest.$ac_objext conftest$ac_exeext
12396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12397 (eval $ac_link) 2>&5
12399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12400 (exit $ac_status); } &&
12401 { ac_try='test -s conftest$ac_exeext'
12402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12403 (eval $ac_try) 2>&5
12405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12406 (exit $ac_status); }; }; then
12407 ac_cv_c_dll_unixware="yes"
12409 echo "$as_me: failed program was:" >&5
12410 sed 's/^/| /' conftest.$ac_ext >&5
12412 ac_cv_c_dll_unixware="no"
12414 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12415 CFLAGS=$ac_wine_try_cflags_saved
12417 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
12418 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
12419 if test "$ac_cv_c_dll_unixware" = "yes"
12421 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
12422 LDDLL="\$(CC) -Wl,-G,-B,symbolic"
12429 if test "$cross_compiling" = "no"
12431 for ac_prog in i586-mingw32msvc-gcc i386-mingw32-gcc
12433 # Extract the first word of "$ac_prog", so it can be a program name with args.
12434 set dummy $ac_prog; ac_word=$2
12435 echo "$as_me:$LINENO: checking for $ac_word" >&5
12436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12437 if test "${ac_cv_prog_CROSSCC+set}" = set; then
12438 echo $ECHO_N "(cached) $ECHO_C" >&6
12440 if test -n "$CROSSCC"; then
12441 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
12443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12444 for as_dir in $PATH
12447 test -z "$as_dir" && as_dir=.
12448 for ac_exec_ext in '' $ac_executable_extensions; do
12449 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12450 ac_cv_prog_CROSSCC="$ac_prog"
12451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12459 CROSSCC=$ac_cv_prog_CROSSCC
12460 if test -n "$CROSSCC"; then
12461 echo "$as_me:$LINENO: result: $CROSSCC" >&5
12462 echo "${ECHO_T}$CROSSCC" >&6
12464 echo "$as_me:$LINENO: result: no" >&5
12465 echo "${ECHO_T}no" >&6
12468 test -n "$CROSSCC" && break
12470 test -n "$CROSSCC" || CROSSCC="false"
12472 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32-dlltool
12474 # Extract the first word of "$ac_prog", so it can be a program name with args.
12475 set dummy $ac_prog; ac_word=$2
12476 echo "$as_me:$LINENO: checking for $ac_word" >&5
12477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12478 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
12479 echo $ECHO_N "(cached) $ECHO_C" >&6
12481 if test -n "$DLLTOOL"; then
12482 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
12484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12485 for as_dir in $PATH
12488 test -z "$as_dir" && as_dir=.
12489 for ac_exec_ext in '' $ac_executable_extensions; do
12490 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12491 ac_cv_prog_DLLTOOL="$ac_prog"
12492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12500 DLLTOOL=$ac_cv_prog_DLLTOOL
12501 if test -n "$DLLTOOL"; then
12502 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
12503 echo "${ECHO_T}$DLLTOOL" >&6
12505 echo "$as_me:$LINENO: result: no" >&5
12506 echo "${ECHO_T}no" >&6
12509 test -n "$DLLTOOL" && break
12511 test -n "$DLLTOOL" || DLLTOOL="false"
12513 for ac_prog in i586-mingw32msvc-windres i386-mingw32-windres
12515 # Extract the first word of "$ac_prog", so it can be a program name with args.
12516 set dummy $ac_prog; ac_word=$2
12517 echo "$as_me:$LINENO: checking for $ac_word" >&5
12518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12519 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
12520 echo $ECHO_N "(cached) $ECHO_C" >&6
12522 if test -n "$CROSSWINDRES"; then
12523 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
12525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12526 for as_dir in $PATH
12529 test -z "$as_dir" && as_dir=.
12530 for ac_exec_ext in '' $ac_executable_extensions; do
12531 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12532 ac_cv_prog_CROSSWINDRES="$ac_prog"
12533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12541 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
12542 if test -n "$CROSSWINDRES"; then
12543 echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
12544 echo "${ECHO_T}$CROSSWINDRES" >&6
12546 echo "$as_me:$LINENO: result: no" >&5
12547 echo "${ECHO_T}no" >&6
12550 test -n "$CROSSWINDRES" && break
12552 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
12554 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
12559 if test "$LIBEXT" = "a"; then
12560 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
12561 It is currently not possible to build Wine without shared library
12562 (.so) support to allow transparent switch between .so and .dll files.
12563 If you are using Linux, you will need a newer binutils.
12565 echo "$as_me: error: could not find a way to build shared libraries.
12566 It is currently not possible to build Wine without shared library
12567 (.so) support to allow transparent switch between .so and .dll files.
12568 If you are using Linux, you will need a newer binutils.
12570 { (exit 1); exit 1; }; }
12575 LDPATH="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
12578 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
12586 CRTLIBS="-lmsvcrt" ;;
12590 if test "$LIBEXT" = "so"
12592 # Extract the first word of "ldd", so it can be a program name with args.
12593 set dummy ldd; ac_word=$2
12594 echo "$as_me:$LINENO: checking for $ac_word" >&5
12595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12596 if test "${ac_cv_path_LDD+set}" = set; then
12597 echo $ECHO_N "(cached) $ECHO_C" >&6
12601 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
12604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12605 as_dummy="/sbin:/usr/sbin:$PATH"
12606 for as_dir in $as_dummy
12609 test -z "$as_dir" && as_dir=.
12610 for ac_exec_ext in '' $ac_executable_extensions; do
12611 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12612 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
12613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12619 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
12623 LDD=$ac_cv_path_LDD
12625 if test -n "$LDD"; then
12626 echo "$as_me:$LINENO: result: $LDD" >&5
12627 echo "${ECHO_T}$LDD" >&6
12629 echo "$as_me:$LINENO: result: no" >&5
12630 echo "${ECHO_T}no" >&6
12634 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
12635 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
12636 if test "${ac_cv_lib_soname_X11+set}" = set; then
12637 echo $ECHO_N "(cached) $ECHO_C" >&6
12639 ac_get_soname_save_LIBS=$LIBS
12640 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
12641 cat >conftest.$ac_ext <<_ACEOF
12642 #line $LINENO "configure"
12645 cat confdefs.h >>conftest.$ac_ext
12646 cat >>conftest.$ac_ext <<_ACEOF
12647 /* end confdefs.h. */
12649 /* Override any gcc2 internal prototype to avoid an error. */
12653 /* We use char because int might match the return type of a gcc2
12654 builtin and then its argument prototype would still apply. */
12655 char XCreateWindow ();
12664 rm -f conftest.$ac_objext conftest$ac_exeext
12665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12666 (eval $ac_link) 2>&5
12668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12669 (exit $ac_status); } &&
12670 { ac_try='test -s conftest$ac_exeext'
12671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12672 (eval $ac_try) 2>&5
12674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12675 (exit $ac_status); }; }; then
12676 ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed 's/^.*\(libX11\.so[^ ]*\).*$/\1/'`
12677 if test "x$ac_cv_lib_soname_X11" = "x"
12679 ac_cv_lib_soname_X11="libX11.so"
12682 echo "$as_me: failed program was:" >&5
12683 sed 's/^/| /' conftest.$ac_ext >&5
12685 ac_cv_lib_soname_X11="libX11.so"
12687 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12688 LIBS=$ac_get_soname_save_LIBS
12690 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
12691 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
12692 if test "x$ac_cv_lib_soname_X11" != xNONE
12694 cat >>confdefs.h <<_ACEOF
12695 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
12699 echo "$as_me:$LINENO: checking for -lXext soname" >&5
12700 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
12701 if test "${ac_cv_lib_soname_Xext+set}" = set; then
12702 echo $ECHO_N "(cached) $ECHO_C" >&6
12704 ac_get_soname_save_LIBS=$LIBS
12705 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
12706 cat >conftest.$ac_ext <<_ACEOF
12707 #line $LINENO "configure"
12710 cat confdefs.h >>conftest.$ac_ext
12711 cat >>conftest.$ac_ext <<_ACEOF
12712 /* end confdefs.h. */
12714 /* Override any gcc2 internal prototype to avoid an error. */
12718 /* We use char because int might match the return type of a gcc2
12719 builtin and then its argument prototype would still apply. */
12720 char XextCreateExtension ();
12724 XextCreateExtension ();
12729 rm -f conftest.$ac_objext conftest$ac_exeext
12730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12731 (eval $ac_link) 2>&5
12733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12734 (exit $ac_status); } &&
12735 { ac_try='test -s conftest$ac_exeext'
12736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12737 (eval $ac_try) 2>&5
12739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12740 (exit $ac_status); }; }; then
12741 ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed 's/^.*\(libXext\.so[^ ]*\).*$/\1/'`
12742 if test "x$ac_cv_lib_soname_Xext" = "x"
12744 ac_cv_lib_soname_Xext="libXext.so"
12747 echo "$as_me: failed program was:" >&5
12748 sed 's/^/| /' conftest.$ac_ext >&5
12750 ac_cv_lib_soname_Xext="libXext.so"
12752 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12753 LIBS=$ac_get_soname_save_LIBS
12755 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
12756 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
12757 if test "x$ac_cv_lib_soname_Xext" != xNONE
12759 cat >>confdefs.h <<_ACEOF
12760 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
12764 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
12765 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
12766 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
12767 echo $ECHO_N "(cached) $ECHO_C" >&6
12769 ac_get_soname_save_LIBS=$LIBS
12770 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
12771 cat >conftest.$ac_ext <<_ACEOF
12772 #line $LINENO "configure"
12775 cat confdefs.h >>conftest.$ac_ext
12776 cat >>conftest.$ac_ext <<_ACEOF
12777 /* end confdefs.h. */
12779 /* Override any gcc2 internal prototype to avoid an error. */
12783 /* We use char because int might match the return type of a gcc2
12784 builtin and then its argument prototype would still apply. */
12785 char XRenderQueryExtension ();
12789 XRenderQueryExtension ();
12794 rm -f conftest.$ac_objext conftest$ac_exeext
12795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12796 (eval $ac_link) 2>&5
12798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12799 (exit $ac_status); } &&
12800 { ac_try='test -s conftest$ac_exeext'
12801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12802 (eval $ac_try) 2>&5
12804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12805 (exit $ac_status); }; }; then
12806 ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed 's/^.*\(libXrender\.so[^ ]*\).*$/\1/'`
12807 if test "x$ac_cv_lib_soname_Xrender" = "x"
12809 ac_cv_lib_soname_Xrender="libXrender.so"
12812 echo "$as_me: failed program was:" >&5
12813 sed 's/^/| /' conftest.$ac_ext >&5
12815 ac_cv_lib_soname_Xrender="libXrender.so"
12817 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12818 LIBS=$ac_get_soname_save_LIBS
12820 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
12821 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
12822 if test "x$ac_cv_lib_soname_Xrender" != xNONE
12824 cat >>confdefs.h <<_ACEOF
12825 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12829 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
12830 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
12831 if test "${ac_cv_lib_soname_freetype+set}" = set; then
12832 echo $ECHO_N "(cached) $ECHO_C" >&6
12834 ac_get_soname_save_LIBS=$LIBS
12835 LIBS="-lfreetype $X_LIBS $LIBS"
12836 cat >conftest.$ac_ext <<_ACEOF
12837 #line $LINENO "configure"
12840 cat confdefs.h >>conftest.$ac_ext
12841 cat >>conftest.$ac_ext <<_ACEOF
12842 /* end confdefs.h. */
12844 /* Override any gcc2 internal prototype to avoid an error. */
12848 /* We use char because int might match the return type of a gcc2
12849 builtin and then its argument prototype would still apply. */
12850 char FT_Init_FreeType ();
12854 FT_Init_FreeType ();
12859 rm -f conftest.$ac_objext conftest$ac_exeext
12860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12861 (eval $ac_link) 2>&5
12863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12864 (exit $ac_status); } &&
12865 { ac_try='test -s conftest$ac_exeext'
12866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12867 (eval $ac_try) 2>&5
12869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12870 (exit $ac_status); }; }; then
12871 ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed 's/^.*\(libfreetype\.so[^ ]*\).*$/\1/'`
12872 if test "x$ac_cv_lib_soname_freetype" = "x"
12874 ac_cv_lib_soname_freetype="libfreetype.so"
12877 echo "$as_me: failed program was:" >&5
12878 sed 's/^/| /' conftest.$ac_ext >&5
12880 ac_cv_lib_soname_freetype="libfreetype.so"
12882 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12883 LIBS=$ac_get_soname_save_LIBS
12885 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
12886 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
12887 if test "x$ac_cv_lib_soname_freetype" != xNONE
12889 cat >>confdefs.h <<_ACEOF
12890 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12894 echo "$as_me:$LINENO: checking for -lGL soname" >&5
12895 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
12896 if test "${ac_cv_lib_soname_GL+set}" = set; then
12897 echo $ECHO_N "(cached) $ECHO_C" >&6
12899 ac_get_soname_save_LIBS=$LIBS
12900 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
12901 cat >conftest.$ac_ext <<_ACEOF
12902 #line $LINENO "configure"
12905 cat confdefs.h >>conftest.$ac_ext
12906 cat >>conftest.$ac_ext <<_ACEOF
12907 /* end confdefs.h. */
12909 /* Override any gcc2 internal prototype to avoid an error. */
12913 /* We use char because int might match the return type of a gcc2
12914 builtin and then its argument prototype would still apply. */
12915 char glXQueryExtension ();
12919 glXQueryExtension ();
12924 rm -f conftest.$ac_objext conftest$ac_exeext
12925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12926 (eval $ac_link) 2>&5
12928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12929 (exit $ac_status); } &&
12930 { ac_try='test -s conftest$ac_exeext'
12931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12932 (eval $ac_try) 2>&5
12934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12935 (exit $ac_status); }; }; then
12936 ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed 's/^.*\(libGL\.so[^ ]*\).*$/\1/'`
12937 if test "x$ac_cv_lib_soname_GL" = "x"
12939 ac_cv_lib_soname_GL="libGL.so"
12942 echo "$as_me: failed program was:" >&5
12943 sed 's/^/| /' conftest.$ac_ext >&5
12945 ac_cv_lib_soname_GL="libGL.so"
12947 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12948 LIBS=$ac_get_soname_save_LIBS
12950 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
12951 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
12952 if test "x$ac_cv_lib_soname_GL" != xNONE
12954 cat >>confdefs.h <<_ACEOF
12955 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12959 echo "$as_me:$LINENO: checking for -lcups soname" >&5
12960 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
12961 if test "${ac_cv_lib_soname_cups+set}" = set; then
12962 echo $ECHO_N "(cached) $ECHO_C" >&6
12964 ac_get_soname_save_LIBS=$LIBS
12965 LIBS="-lcups $LIBS"
12966 cat >conftest.$ac_ext <<_ACEOF
12967 #line $LINENO "configure"
12970 cat confdefs.h >>conftest.$ac_ext
12971 cat >>conftest.$ac_ext <<_ACEOF
12972 /* end confdefs.h. */
12974 /* Override any gcc2 internal prototype to avoid an error. */
12978 /* We use char because int might match the return type of a gcc2
12979 builtin and then its argument prototype would still apply. */
12980 char cupsGetDefault ();
12989 rm -f conftest.$ac_objext conftest$ac_exeext
12990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12991 (eval $ac_link) 2>&5
12993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12994 (exit $ac_status); } &&
12995 { ac_try='test -s conftest$ac_exeext'
12996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12997 (eval $ac_try) 2>&5
12999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13000 (exit $ac_status); }; }; then
13001 ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed 's/^.*\(libcups\.so[^ ]*\).*$/\1/'`
13002 if test "x$ac_cv_lib_soname_cups" = "x"
13004 ac_cv_lib_soname_cups="libcups.so"
13007 echo "$as_me: failed program was:" >&5
13008 sed 's/^/| /' conftest.$ac_ext >&5
13010 ac_cv_lib_soname_cups="libcups.so"
13012 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13013 LIBS=$ac_get_soname_save_LIBS
13015 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
13016 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
13017 if test "x$ac_cv_lib_soname_cups" != xNONE
13019 cat >>confdefs.h <<_ACEOF
13020 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13024 echo "$as_me:$LINENO: checking for -ljack soname" >&5
13025 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6
13026 if test "${ac_cv_lib_soname_jack+set}" = set; then
13027 echo $ECHO_N "(cached) $ECHO_C" >&6
13029 ac_get_soname_save_LIBS=$LIBS
13030 LIBS="-ljack $LIBS"
13031 cat >conftest.$ac_ext <<_ACEOF
13032 #line $LINENO "configure"
13035 cat confdefs.h >>conftest.$ac_ext
13036 cat >>conftest.$ac_ext <<_ACEOF
13037 /* end confdefs.h. */
13039 /* Override any gcc2 internal prototype to avoid an error. */
13043 /* We use char because int might match the return type of a gcc2
13044 builtin and then its argument prototype would still apply. */
13045 char jack_client_new ();
13049 jack_client_new ();
13054 rm -f conftest.$ac_objext conftest$ac_exeext
13055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13056 (eval $ac_link) 2>&5
13058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13059 (exit $ac_status); } &&
13060 { ac_try='test -s conftest$ac_exeext'
13061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13062 (eval $ac_try) 2>&5
13064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13065 (exit $ac_status); }; }; then
13066 ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed 's/^.*\(libjack\.so[^ ]*\).*$/\1/'`
13067 if test "x$ac_cv_lib_soname_jack" = "x"
13069 ac_cv_lib_soname_jack="libjack.so"
13072 echo "$as_me: failed program was:" >&5
13073 sed 's/^/| /' conftest.$ac_ext >&5
13075 ac_cv_lib_soname_jack="libjack.so"
13077 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13078 LIBS=$ac_get_soname_save_LIBS
13080 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
13081 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6
13082 if test "x$ac_cv_lib_soname_jack" != xNONE
13084 cat >>confdefs.h <<_ACEOF
13085 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
13089 echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
13090 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6
13091 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
13092 echo $ECHO_N "(cached) $ECHO_C" >&6
13094 ac_get_soname_save_LIBS=$LIBS
13095 LIBS="-lfontconfig $LIBS"
13096 cat >conftest.$ac_ext <<_ACEOF
13097 #line $LINENO "configure"
13100 cat confdefs.h >>conftest.$ac_ext
13101 cat >>conftest.$ac_ext <<_ACEOF
13102 /* end confdefs.h. */
13104 /* Override any gcc2 internal prototype to avoid an error. */
13108 /* We use char because int might match the return type of a gcc2
13109 builtin and then its argument prototype would still apply. */
13119 rm -f conftest.$ac_objext conftest$ac_exeext
13120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13121 (eval $ac_link) 2>&5
13123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13124 (exit $ac_status); } &&
13125 { ac_try='test -s conftest$ac_exeext'
13126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13127 (eval $ac_try) 2>&5
13129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13130 (exit $ac_status); }; }; then
13131 ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed 's/^.*\(libfontconfig\.so[^ ]*\).*$/\1/'`
13132 if test "x$ac_cv_lib_soname_fontconfig" = "x"
13134 ac_cv_lib_soname_fontconfig="libfontconfig.so"
13137 echo "$as_me: failed program was:" >&5
13138 sed 's/^/| /' conftest.$ac_ext >&5
13140 ac_cv_lib_soname_fontconfig="libfontconfig.so"
13142 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13143 LIBS=$ac_get_soname_save_LIBS
13145 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
13146 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6
13147 if test "x$ac_cv_lib_soname_fontconfig" != xNONE
13149 cat >>confdefs.h <<_ACEOF
13150 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13154 echo "$as_me:$LINENO: checking for -lssl soname" >&5
13155 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6
13156 if test "${ac_cv_lib_soname_ssl+set}" = set; then
13157 echo $ECHO_N "(cached) $ECHO_C" >&6
13159 ac_get_soname_save_LIBS=$LIBS
13161 cat >conftest.$ac_ext <<_ACEOF
13162 #line $LINENO "configure"
13165 cat confdefs.h >>conftest.$ac_ext
13166 cat >>conftest.$ac_ext <<_ACEOF
13167 /* end confdefs.h. */
13169 /* Override any gcc2 internal prototype to avoid an error. */
13173 /* We use char because int might match the return type of a gcc2
13174 builtin and then its argument prototype would still apply. */
13175 char SSL_library_init ();
13179 SSL_library_init ();
13184 rm -f conftest.$ac_objext conftest$ac_exeext
13185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13186 (eval $ac_link) 2>&5
13188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13189 (exit $ac_status); } &&
13190 { ac_try='test -s conftest$ac_exeext'
13191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13192 (eval $ac_try) 2>&5
13194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13195 (exit $ac_status); }; }; then
13196 ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed 's/^.*\(libssl\.so[^ ]*\).*$/\1/'`
13197 if test "x$ac_cv_lib_soname_ssl" = "x"
13199 ac_cv_lib_soname_ssl="libssl.so"
13202 echo "$as_me: failed program was:" >&5
13203 sed 's/^/| /' conftest.$ac_ext >&5
13205 ac_cv_lib_soname_ssl="libssl.so"
13207 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13208 LIBS=$ac_get_soname_save_LIBS
13210 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
13211 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6
13212 if test "x$ac_cv_lib_soname_ssl" != xNONE
13214 cat >>confdefs.h <<_ACEOF
13215 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
13219 echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
13220 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6
13221 if test "${ac_cv_lib_soname_crypto+set}" = set; then
13222 echo $ECHO_N "(cached) $ECHO_C" >&6
13224 ac_get_soname_save_LIBS=$LIBS
13225 LIBS="-lcrypto $LIBS"
13226 cat >conftest.$ac_ext <<_ACEOF
13227 #line $LINENO "configure"
13230 cat confdefs.h >>conftest.$ac_ext
13231 cat >>conftest.$ac_ext <<_ACEOF
13232 /* end confdefs.h. */
13234 /* Override any gcc2 internal prototype to avoid an error. */
13238 /* We use char because int might match the return type of a gcc2
13239 builtin and then its argument prototype would still apply. */
13240 char BIO_new_socket ();
13249 rm -f conftest.$ac_objext conftest$ac_exeext
13250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13251 (eval $ac_link) 2>&5
13253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13254 (exit $ac_status); } &&
13255 { ac_try='test -s conftest$ac_exeext'
13256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13257 (eval $ac_try) 2>&5
13259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13260 (exit $ac_status); }; }; then
13261 ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed 's/^.*\(libcrypto\.so[^ ]*\).*$/\1/'`
13262 if test "x$ac_cv_lib_soname_crypto" = "x"
13264 ac_cv_lib_soname_crypto="libcrypto.so"
13267 echo "$as_me: failed program was:" >&5
13268 sed 's/^/| /' conftest.$ac_ext >&5
13270 ac_cv_lib_soname_crypto="libcrypto.so"
13272 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13273 LIBS=$ac_get_soname_save_LIBS
13275 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
13276 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6
13277 if test "x$ac_cv_lib_soname_crypto" != xNONE
13279 cat >>confdefs.h <<_ACEOF
13280 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
13284 echo "$as_me:$LINENO: checking for -lncurses soname" >&5
13285 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6
13286 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
13287 echo $ECHO_N "(cached) $ECHO_C" >&6
13289 ac_get_soname_save_LIBS=$LIBS
13290 LIBS="-lncurses $LIBS"
13291 cat >conftest.$ac_ext <<_ACEOF
13292 #line $LINENO "configure"
13295 cat confdefs.h >>conftest.$ac_ext
13296 cat >>conftest.$ac_ext <<_ACEOF
13297 /* end confdefs.h. */
13299 /* Override any gcc2 internal prototype to avoid an error. */
13303 /* We use char because int might match the return type of a gcc2
13304 builtin and then its argument prototype would still apply. */
13314 rm -f conftest.$ac_objext conftest$ac_exeext
13315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13316 (eval $ac_link) 2>&5
13318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13319 (exit $ac_status); } &&
13320 { ac_try='test -s conftest$ac_exeext'
13321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13322 (eval $ac_try) 2>&5
13324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13325 (exit $ac_status); }; }; then
13326 ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed 's/^.*\(libncurses\.so[^ ]*\).*$/\1/'`
13327 if test "x$ac_cv_lib_soname_ncurses" = "x"
13329 ac_cv_lib_soname_ncurses="libncurses.so"
13332 echo "$as_me: failed program was:" >&5
13333 sed 's/^/| /' conftest.$ac_ext >&5
13335 ac_cv_lib_soname_ncurses="libncurses.so"
13337 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13338 LIBS=$ac_get_soname_save_LIBS
13340 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
13341 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6
13342 if test "x$ac_cv_lib_soname_ncurses" != xNONE
13344 cat >>confdefs.h <<_ACEOF
13345 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13349 echo "$as_me:$LINENO: checking for -lcurses soname" >&5
13350 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6
13351 if test "${ac_cv_lib_soname_curses+set}" = set; then
13352 echo $ECHO_N "(cached) $ECHO_C" >&6
13354 ac_get_soname_save_LIBS=$LIBS
13355 LIBS="-lcurses $LIBS"
13356 cat >conftest.$ac_ext <<_ACEOF
13357 #line $LINENO "configure"
13360 cat confdefs.h >>conftest.$ac_ext
13361 cat >>conftest.$ac_ext <<_ACEOF
13362 /* end confdefs.h. */
13364 /* Override any gcc2 internal prototype to avoid an error. */
13368 /* We use char because int might match the return type of a gcc2
13369 builtin and then its argument prototype would still apply. */
13379 rm -f conftest.$ac_objext conftest$ac_exeext
13380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13381 (eval $ac_link) 2>&5
13383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13384 (exit $ac_status); } &&
13385 { ac_try='test -s conftest$ac_exeext'
13386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13387 (eval $ac_try) 2>&5
13389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13390 (exit $ac_status); }; }; then
13391 ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed 's/^.*\(libcurses\.so[^ ]*\).*$/\1/'`
13392 if test "x$ac_cv_lib_soname_curses" = "x"
13394 ac_cv_lib_soname_curses="libcurses.so"
13397 echo "$as_me: failed program was:" >&5
13398 sed 's/^/| /' conftest.$ac_ext >&5
13400 ac_cv_lib_soname_curses="libcurses.so"
13402 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13403 LIBS=$ac_get_soname_save_LIBS
13405 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
13406 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6
13407 if test "x$ac_cv_lib_soname_curses" != xNONE
13409 cat >>confdefs.h <<_ACEOF
13410 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13417 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
13418 # for constant arguments. Useless!
13419 echo "$as_me:$LINENO: checking for working alloca.h" >&5
13420 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
13421 if test "${ac_cv_working_alloca_h+set}" = set; then
13422 echo $ECHO_N "(cached) $ECHO_C" >&6
13424 cat >conftest.$ac_ext <<_ACEOF
13425 #line $LINENO "configure"
13428 cat confdefs.h >>conftest.$ac_ext
13429 cat >>conftest.$ac_ext <<_ACEOF
13430 /* end confdefs.h. */
13431 #include <alloca.h>
13435 char *p = (char *) alloca (2 * sizeof (int));
13440 rm -f conftest.$ac_objext conftest$ac_exeext
13441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13442 (eval $ac_link) 2>&5
13444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13445 (exit $ac_status); } &&
13446 { ac_try='test -s conftest$ac_exeext'
13447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13448 (eval $ac_try) 2>&5
13450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13451 (exit $ac_status); }; }; then
13452 ac_cv_working_alloca_h=yes
13454 echo "$as_me: failed program was:" >&5
13455 sed 's/^/| /' conftest.$ac_ext >&5
13457 ac_cv_working_alloca_h=no
13459 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13461 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
13462 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
13463 if test $ac_cv_working_alloca_h = yes; then
13465 cat >>confdefs.h <<\_ACEOF
13466 #define HAVE_ALLOCA_H 1
13471 echo "$as_me:$LINENO: checking for alloca" >&5
13472 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
13473 if test "${ac_cv_func_alloca_works+set}" = set; then
13474 echo $ECHO_N "(cached) $ECHO_C" >&6
13476 cat >conftest.$ac_ext <<_ACEOF
13477 #line $LINENO "configure"
13480 cat confdefs.h >>conftest.$ac_ext
13481 cat >>conftest.$ac_ext <<_ACEOF
13482 /* end confdefs.h. */
13484 # define alloca __builtin_alloca
13487 # include <malloc.h>
13488 # define alloca _alloca
13491 # include <alloca.h>
13496 # ifndef alloca /* predefined by HP cc +Olibcalls */
13507 char *p = (char *) alloca (1);
13512 rm -f conftest.$ac_objext conftest$ac_exeext
13513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13514 (eval $ac_link) 2>&5
13516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13517 (exit $ac_status); } &&
13518 { ac_try='test -s conftest$ac_exeext'
13519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13520 (eval $ac_try) 2>&5
13522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13523 (exit $ac_status); }; }; then
13524 ac_cv_func_alloca_works=yes
13526 echo "$as_me: failed program was:" >&5
13527 sed 's/^/| /' conftest.$ac_ext >&5
13529 ac_cv_func_alloca_works=no
13531 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13533 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
13534 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
13536 if test $ac_cv_func_alloca_works = yes; then
13538 cat >>confdefs.h <<\_ACEOF
13539 #define HAVE_ALLOCA 1
13543 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
13544 # that cause trouble. Some versions do not even contain alloca or
13545 # contain a buggy version. If you still want to use their alloca,
13546 # use ar to extract alloca.o from them instead of compiling alloca.c.
13548 ALLOCA=alloca.$ac_objext
13550 cat >>confdefs.h <<\_ACEOF
13555 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
13556 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
13557 if test "${ac_cv_os_cray+set}" = set; then
13558 echo $ECHO_N "(cached) $ECHO_C" >&6
13560 cat >conftest.$ac_ext <<_ACEOF
13561 #line $LINENO "configure"
13564 cat confdefs.h >>conftest.$ac_ext
13565 cat >>conftest.$ac_ext <<_ACEOF
13566 /* end confdefs.h. */
13567 #if defined(CRAY) && ! defined(CRAY2)
13574 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13575 $EGREP "webecray" >/dev/null 2>&1; then
13583 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
13584 echo "${ECHO_T}$ac_cv_os_cray" >&6
13585 if test $ac_cv_os_cray = yes; then
13586 for ac_func in _getb67 GETB67 getb67; do
13587 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13588 echo "$as_me:$LINENO: checking for $ac_func" >&5
13589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13590 if eval "test \"\${$as_ac_var+set}\" = set"; then
13591 echo $ECHO_N "(cached) $ECHO_C" >&6
13593 cat >conftest.$ac_ext <<_ACEOF
13594 #line $LINENO "configure"
13597 cat confdefs.h >>conftest.$ac_ext
13598 cat >>conftest.$ac_ext <<_ACEOF
13599 /* end confdefs.h. */
13600 /* System header to define __stub macros and hopefully few prototypes,
13601 which can conflict with char $ac_func (); below.
13602 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13603 <limits.h> exists even on freestanding compilers. */
13605 # include <limits.h>
13607 # include <assert.h>
13609 /* Override any gcc2 internal prototype to avoid an error. */
13614 /* We use char because int might match the return type of a gcc2
13615 builtin and then its argument prototype would still apply. */
13617 /* The GNU C library defines this for functions which it implements
13618 to always fail with ENOSYS. Some functions are actually named
13619 something starting with __ and the normal name is an alias. */
13620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13623 char (*f) () = $ac_func;
13632 return f != $ac_func;
13637 rm -f conftest.$ac_objext conftest$ac_exeext
13638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13639 (eval $ac_link) 2>&5
13641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13642 (exit $ac_status); } &&
13643 { ac_try='test -s conftest$ac_exeext'
13644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13645 (eval $ac_try) 2>&5
13647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13648 (exit $ac_status); }; }; then
13649 eval "$as_ac_var=yes"
13651 echo "$as_me: failed program was:" >&5
13652 sed 's/^/| /' conftest.$ac_ext >&5
13654 eval "$as_ac_var=no"
13656 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13660 if test `eval echo '${'$as_ac_var'}'` = yes; then
13662 cat >>confdefs.h <<_ACEOF
13663 #define CRAY_STACKSEG_END $ac_func
13672 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
13673 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
13674 if test "${ac_cv_c_stack_direction+set}" = set; then
13675 echo $ECHO_N "(cached) $ECHO_C" >&6
13677 if test "$cross_compiling" = yes; then
13678 ac_cv_c_stack_direction=0
13680 cat >conftest.$ac_ext <<_ACEOF
13681 #line $LINENO "configure"
13684 cat confdefs.h >>conftest.$ac_ext
13685 cat >>conftest.$ac_ext <<_ACEOF
13686 /* end confdefs.h. */
13688 find_stack_direction ()
13690 static char *addr = 0;
13695 return find_stack_direction ();
13698 return (&dummy > addr) ? 1 : -1;
13704 exit (find_stack_direction () < 0);
13707 rm -f conftest$ac_exeext
13708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13709 (eval $ac_link) 2>&5
13711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13712 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13714 (eval $ac_try) 2>&5
13716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13717 (exit $ac_status); }; }; then
13718 ac_cv_c_stack_direction=1
13720 echo "$as_me: program exited with status $ac_status" >&5
13721 echo "$as_me: failed program was:" >&5
13722 sed 's/^/| /' conftest.$ac_ext >&5
13724 ( exit $ac_status )
13725 ac_cv_c_stack_direction=-1
13727 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13730 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
13731 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
13733 cat >>confdefs.h <<_ACEOF
13734 #define STACK_DIRECTION $ac_cv_c_stack_direction
13845 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13846 echo "$as_me:$LINENO: checking for $ac_func" >&5
13847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13848 if eval "test \"\${$as_ac_var+set}\" = set"; then
13849 echo $ECHO_N "(cached) $ECHO_C" >&6
13851 cat >conftest.$ac_ext <<_ACEOF
13852 #line $LINENO "configure"
13855 cat confdefs.h >>conftest.$ac_ext
13856 cat >>conftest.$ac_ext <<_ACEOF
13857 /* end confdefs.h. */
13858 /* System header to define __stub macros and hopefully few prototypes,
13859 which can conflict with char $ac_func (); below.
13860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13861 <limits.h> exists even on freestanding compilers. */
13863 # include <limits.h>
13865 # include <assert.h>
13867 /* Override any gcc2 internal prototype to avoid an error. */
13872 /* We use char because int might match the return type of a gcc2
13873 builtin and then its argument prototype would still apply. */
13875 /* The GNU C library defines this for functions which it implements
13876 to always fail with ENOSYS. Some functions are actually named
13877 something starting with __ and the normal name is an alias. */
13878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13881 char (*f) () = $ac_func;
13890 return f != $ac_func;
13895 rm -f conftest.$ac_objext conftest$ac_exeext
13896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13897 (eval $ac_link) 2>&5
13899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13900 (exit $ac_status); } &&
13901 { ac_try='test -s conftest$ac_exeext'
13902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13903 (eval $ac_try) 2>&5
13905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13906 (exit $ac_status); }; }; then
13907 eval "$as_ac_var=yes"
13909 echo "$as_me: failed program was:" >&5
13910 sed 's/^/| /' conftest.$ac_ext >&5
13912 eval "$as_ac_var=no"
13914 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13918 if test `eval echo '${'$as_ac_var'}'` = yes; then
13919 cat >>confdefs.h <<_ACEOF
13920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14015 fontconfig/fontconfig.h \
14034 netinet/in_systm.h \
14036 netinet/tcp_fsm.h \
14046 scsi/scsi_ioctl.h \
14088 valgrind/memcheck.h
14091 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14093 echo "$as_me:$LINENO: checking for $ac_header" >&5
14094 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14095 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14096 echo $ECHO_N "(cached) $ECHO_C" >&6
14098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14099 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14101 # Is the header compilable?
14102 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14103 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14104 cat >conftest.$ac_ext <<_ACEOF
14105 #line $LINENO "configure"
14108 cat confdefs.h >>conftest.$ac_ext
14109 cat >>conftest.$ac_ext <<_ACEOF
14110 /* end confdefs.h. */
14111 $ac_includes_default
14112 #include <$ac_header>
14114 rm -f conftest.$ac_objext
14115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14116 (eval $ac_compile) 2>&5
14118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14119 (exit $ac_status); } &&
14120 { ac_try='test -s conftest.$ac_objext'
14121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14122 (eval $ac_try) 2>&5
14124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14125 (exit $ac_status); }; }; then
14126 ac_header_compiler=yes
14128 echo "$as_me: failed program was:" >&5
14129 sed 's/^/| /' conftest.$ac_ext >&5
14131 ac_header_compiler=no
14133 rm -f conftest.$ac_objext conftest.$ac_ext
14134 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14135 echo "${ECHO_T}$ac_header_compiler" >&6
14137 # Is the header present?
14138 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14139 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14140 cat >conftest.$ac_ext <<_ACEOF
14141 #line $LINENO "configure"
14144 cat confdefs.h >>conftest.$ac_ext
14145 cat >>conftest.$ac_ext <<_ACEOF
14146 /* end confdefs.h. */
14147 #include <$ac_header>
14149 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14150 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14152 grep -v '^ *+' conftest.er1 >conftest.err
14154 cat conftest.err >&5
14155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14156 (exit $ac_status); } >/dev/null; then
14157 if test -s conftest.err; then
14158 ac_cpp_err=$ac_c_preproc_warn_flag
14165 if test -z "$ac_cpp_err"; then
14166 ac_header_preproc=yes
14168 echo "$as_me: failed program was:" >&5
14169 sed 's/^/| /' conftest.$ac_ext >&5
14171 ac_header_preproc=no
14173 rm -f conftest.err conftest.$ac_ext
14174 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14175 echo "${ECHO_T}$ac_header_preproc" >&6
14177 # So? What about this header?
14178 case $ac_header_compiler:$ac_header_preproc in
14180 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14181 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14182 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14183 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14186 ## ------------------------------------ ##
14187 ## Report this to bug-autoconf@gnu.org. ##
14188 ## ------------------------------------ ##
14191 sed "s/^/$as_me: WARNING: /" >&2
14194 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14195 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14196 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14197 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14198 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14199 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14202 ## ------------------------------------ ##
14203 ## Report this to bug-autoconf@gnu.org. ##
14204 ## ------------------------------------ ##
14207 sed "s/^/$as_me: WARNING: /" >&2
14210 echo "$as_me:$LINENO: checking for $ac_header" >&5
14211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14212 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14213 echo $ECHO_N "(cached) $ECHO_C" >&6
14215 eval "$as_ac_Header=$ac_header_preproc"
14217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14218 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14221 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14222 cat >>confdefs.h <<_ACEOF
14223 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14230 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
14231 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
14232 if test "${ac_cv_header_stat_broken+set}" = set; then
14233 echo $ECHO_N "(cached) $ECHO_C" >&6
14235 cat >conftest.$ac_ext <<_ACEOF
14236 #line $LINENO "configure"
14239 cat confdefs.h >>conftest.$ac_ext
14240 cat >>conftest.$ac_ext <<_ACEOF
14241 /* end confdefs.h. */
14242 #include <sys/types.h>
14243 #include <sys/stat.h>
14245 #if defined(S_ISBLK) && defined(S_IFDIR)
14246 # if S_ISBLK (S_IFDIR)
14251 #if defined(S_ISBLK) && defined(S_IFCHR)
14252 # if S_ISBLK (S_IFCHR)
14257 #if defined(S_ISLNK) && defined(S_IFREG)
14258 # if S_ISLNK (S_IFREG)
14263 #if defined(S_ISSOCK) && defined(S_IFREG)
14264 # if S_ISSOCK (S_IFREG)
14270 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14271 $EGREP "You lose" >/dev/null 2>&1; then
14272 ac_cv_header_stat_broken=yes
14274 ac_cv_header_stat_broken=no
14279 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
14280 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
14281 if test $ac_cv_header_stat_broken = yes; then
14283 cat >>confdefs.h <<\_ACEOF
14284 #define STAT_MACROS_BROKEN 1
14293 for ac_header in sys/mount.h sys/user.h
14295 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14296 echo "$as_me:$LINENO: checking for $ac_header" >&5
14297 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14298 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14299 echo $ECHO_N "(cached) $ECHO_C" >&6
14301 cat >conftest.$ac_ext <<_ACEOF
14302 #line $LINENO "configure"
14305 cat confdefs.h >>conftest.$ac_ext
14306 cat >>conftest.$ac_ext <<_ACEOF
14307 /* end confdefs.h. */
14308 #include <sys/types.h>
14309 #if HAVE_SYS_PARAM_H
14310 # include <sys/param.h>
14313 #include <$ac_header>
14315 rm -f conftest.$ac_objext
14316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14317 (eval $ac_compile) 2>&5
14319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14320 (exit $ac_status); } &&
14321 { ac_try='test -s conftest.$ac_objext'
14322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14323 (eval $ac_try) 2>&5
14325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14326 (exit $ac_status); }; }; then
14327 eval "$as_ac_Header=yes"
14329 echo "$as_me: failed program was:" >&5
14330 sed 's/^/| /' conftest.$ac_ext >&5
14332 eval "$as_ac_Header=no"
14334 rm -f conftest.$ac_objext conftest.$ac_ext
14336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14337 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14338 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14339 cat >>confdefs.h <<_ACEOF
14340 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14353 for ac_header in net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h
14355 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14356 echo "$as_me:$LINENO: checking for $ac_header" >&5
14357 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14358 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14359 echo $ECHO_N "(cached) $ECHO_C" >&6
14361 cat >conftest.$ac_ext <<_ACEOF
14362 #line $LINENO "configure"
14365 cat confdefs.h >>conftest.$ac_ext
14366 cat >>conftest.$ac_ext <<_ACEOF
14367 /* end confdefs.h. */
14368 #include <sys/types.h>
14369 #if HAVE_SYS_SOCKET_H
14370 # include <sys/socket.h>
14373 #include <$ac_header>
14375 rm -f conftest.$ac_objext
14376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14377 (eval $ac_compile) 2>&5
14379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14380 (exit $ac_status); } &&
14381 { ac_try='test -s conftest.$ac_objext'
14382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14383 (eval $ac_try) 2>&5
14385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14386 (exit $ac_status); }; }; then
14387 eval "$as_ac_Header=yes"
14389 echo "$as_me: failed program was:" >&5
14390 sed 's/^/| /' conftest.$ac_ext >&5
14392 eval "$as_ac_Header=no"
14394 rm -f conftest.$ac_objext conftest.$ac_ext
14396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14397 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14398 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14399 cat >>confdefs.h <<_ACEOF
14400 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14409 for ac_header in resolv.h
14411 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14412 echo "$as_me:$LINENO: checking for $ac_header" >&5
14413 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14414 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14415 echo $ECHO_N "(cached) $ECHO_C" >&6
14417 cat >conftest.$ac_ext <<_ACEOF
14418 #line $LINENO "configure"
14421 cat confdefs.h >>conftest.$ac_ext
14422 cat >>conftest.$ac_ext <<_ACEOF
14423 /* end confdefs.h. */
14424 #include <sys/types.h>
14425 #if HAVE_SYS_SOCKET_H
14426 # include <sys/socket.h>
14428 #if HAVE_NETINET_IN_H
14429 # include <netinet/in.h>
14431 #if HAVE_ARPA_NAMESER_H
14432 # include <arpa/nameser.h>
14435 #include <$ac_header>
14437 rm -f conftest.$ac_objext
14438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14439 (eval $ac_compile) 2>&5
14441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14442 (exit $ac_status); } &&
14443 { ac_try='test -s conftest.$ac_objext'
14444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14445 (eval $ac_try) 2>&5
14447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14448 (exit $ac_status); }; }; then
14449 eval "$as_ac_Header=yes"
14451 echo "$as_me: failed program was:" >&5
14452 sed 's/^/| /' conftest.$ac_ext >&5
14454 eval "$as_ac_Header=no"
14456 rm -f conftest.$ac_objext conftest.$ac_ext
14458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14459 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14460 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14461 cat >>confdefs.h <<_ACEOF
14462 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14471 for ac_header in netinet/ip.h
14473 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14474 echo "$as_me:$LINENO: checking for $ac_header" >&5
14475 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14476 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14477 echo $ECHO_N "(cached) $ECHO_C" >&6
14479 cat >conftest.$ac_ext <<_ACEOF
14480 #line $LINENO "configure"
14483 cat confdefs.h >>conftest.$ac_ext
14484 cat >>conftest.$ac_ext <<_ACEOF
14485 /* end confdefs.h. */
14486 #include <sys/types.h>
14487 #if HAVE_SYS_SOCKET_H
14488 # include <sys/socket.h>
14490 #if HAVE_NETINET_IN_SYSTM_H
14491 # include <netinet/in_systm.h>
14494 #include <$ac_header>
14496 rm -f conftest.$ac_objext
14497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14498 (eval $ac_compile) 2>&5
14500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14501 (exit $ac_status); } &&
14502 { ac_try='test -s conftest.$ac_objext'
14503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14504 (eval $ac_try) 2>&5
14506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14507 (exit $ac_status); }; }; then
14508 eval "$as_ac_Header=yes"
14510 echo "$as_me: failed program was:" >&5
14511 sed 's/^/| /' conftest.$ac_ext >&5
14513 eval "$as_ac_Header=no"
14515 rm -f conftest.$ac_objext conftest.$ac_ext
14517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14518 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14519 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14520 cat >>confdefs.h <<_ACEOF
14521 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14530 for ac_header in ucontext.h
14532 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14533 echo "$as_me:$LINENO: checking for $ac_header" >&5
14534 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14535 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14536 echo $ECHO_N "(cached) $ECHO_C" >&6
14538 cat >conftest.$ac_ext <<_ACEOF
14539 #line $LINENO "configure"
14542 cat confdefs.h >>conftest.$ac_ext
14543 cat >>conftest.$ac_ext <<_ACEOF
14544 /* end confdefs.h. */
14545 #include <signal.h>
14547 #include <$ac_header>
14549 rm -f conftest.$ac_objext
14550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14551 (eval $ac_compile) 2>&5
14553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14554 (exit $ac_status); } &&
14555 { ac_try='test -s conftest.$ac_objext'
14556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14557 (eval $ac_try) 2>&5
14559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14560 (exit $ac_status); }; }; then
14561 eval "$as_ac_Header=yes"
14563 echo "$as_me: failed program was:" >&5
14564 sed 's/^/| /' conftest.$ac_ext >&5
14566 eval "$as_ac_Header=no"
14568 rm -f conftest.$ac_objext conftest.$ac_ext
14570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14571 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14572 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14573 cat >>confdefs.h <<_ACEOF
14574 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14583 echo "$as_me:$LINENO: checking for GNU style IPX support" >&5
14584 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
14585 if test "${ac_cv_c_ipx_gnu+set}" = set; then
14586 echo $ECHO_N "(cached) $ECHO_C" >&6
14588 cat >conftest.$ac_ext <<_ACEOF
14589 #line $LINENO "configure"
14592 cat confdefs.h >>conftest.$ac_ext
14593 cat >>conftest.$ac_ext <<_ACEOF
14594 /* end confdefs.h. */
14595 #include <sys/types.h>
14596 #ifdef HAVE_SYS_SOCKET_H
14597 # include <sys/socket.h>
14599 #include <netipx/ipx.h>
14603 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
14608 rm -f conftest.$ac_objext
14609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14610 (eval $ac_compile) 2>&5
14612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14613 (exit $ac_status); } &&
14614 { ac_try='test -s conftest.$ac_objext'
14615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14616 (eval $ac_try) 2>&5
14618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14619 (exit $ac_status); }; }; then
14620 ac_cv_c_ipx_gnu="yes"
14622 echo "$as_me: failed program was:" >&5
14623 sed 's/^/| /' conftest.$ac_ext >&5
14625 ac_cv_c_ipx_gnu="no"
14627 rm -f conftest.$ac_objext conftest.$ac_ext
14630 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_gnu" >&5
14631 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
14632 if test "$ac_cv_c_ipx_gnu" = "yes"
14635 cat >>confdefs.h <<\_ACEOF
14636 #define HAVE_IPX_GNU 1
14641 if test "$ac_cv_c_ipx_gnu" = "no"
14643 echo "$as_me:$LINENO: checking for linux style IPX support" >&5
14644 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
14645 if test "${ac_cv_c_ipx_linux+set}" = set; then
14646 echo $ECHO_N "(cached) $ECHO_C" >&6
14648 cat >conftest.$ac_ext <<_ACEOF
14649 #line $LINENO "configure"
14652 cat confdefs.h >>conftest.$ac_ext
14653 cat >>conftest.$ac_ext <<_ACEOF
14654 /* end confdefs.h. */
14655 #include <sys/types.h>
14656 #ifdef HAVE_SYS_SOCKET_H
14657 # include <sys/socket.h>
14659 #include <asm/types.h>
14660 #include <linux/ipx.h>
14664 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
14669 rm -f conftest.$ac_objext
14670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14671 (eval $ac_compile) 2>&5
14673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14674 (exit $ac_status); } &&
14675 { ac_try='test -s conftest.$ac_objext'
14676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14677 (eval $ac_try) 2>&5
14679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14680 (exit $ac_status); }; }; then
14681 ac_cv_c_ipx_linux="yes"
14683 echo "$as_me: failed program was:" >&5
14684 sed 's/^/| /' conftest.$ac_ext >&5
14686 ac_cv_c_ipx_linux="no"
14688 rm -f conftest.$ac_objext conftest.$ac_ext
14691 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_linux" >&5
14692 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
14693 if test "$ac_cv_c_ipx_linux" = "yes"
14696 cat >>confdefs.h <<\_ACEOF
14697 #define HAVE_IPX_LINUX 1
14704 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14705 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14706 if test "${ac_cv_c_const+set}" = set; then
14707 echo $ECHO_N "(cached) $ECHO_C" >&6
14709 cat >conftest.$ac_ext <<_ACEOF
14710 #line $LINENO "configure"
14713 cat confdefs.h >>conftest.$ac_ext
14714 cat >>conftest.$ac_ext <<_ACEOF
14715 /* end confdefs.h. */
14720 /* FIXME: Include the comments suggested by Paul. */
14721 #ifndef __cplusplus
14722 /* Ultrix mips cc rejects this. */
14723 typedef int charset[2];
14725 /* SunOS 4.1.1 cc rejects this. */
14726 char const *const *ccp;
14728 /* NEC SVR4.0.2 mips cc rejects this. */
14729 struct point {int x, y;};
14730 static struct point const zero = {0,0};
14731 /* AIX XL C 1.02.0.0 rejects this.
14732 It does not let you subtract one const X* pointer from another in
14733 an arm of an if-expression whose if-part is not a constant
14735 const char *g = "string";
14736 ccp = &g + (g ? g-g : 0);
14737 /* HPUX 7.0 cc rejects these. */
14740 ccp = (char const *const *) p;
14741 { /* SCO 3.2v4 cc rejects this. */
14743 char const *s = 0 ? (char *) 0 : (char const *) 0;
14747 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14748 int x[] = {25, 17};
14749 const int *foo = &x[0];
14752 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14753 typedef const int *iptr;
14757 { /* AIX XL C 1.02.0.0 rejects this saying
14758 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14759 struct s { int j; const int *ap[3]; };
14760 struct s *b; b->j = 5;
14762 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14763 const int foo = 10;
14771 rm -f conftest.$ac_objext
14772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14773 (eval $ac_compile) 2>&5
14775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14776 (exit $ac_status); } &&
14777 { ac_try='test -s conftest.$ac_objext'
14778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14779 (eval $ac_try) 2>&5
14781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14782 (exit $ac_status); }; }; then
14785 echo "$as_me: failed program was:" >&5
14786 sed 's/^/| /' conftest.$ac_ext >&5
14790 rm -f conftest.$ac_objext conftest.$ac_ext
14792 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14793 echo "${ECHO_T}$ac_cv_c_const" >&6
14794 if test $ac_cv_c_const = no; then
14796 cat >>confdefs.h <<\_ACEOF
14802 echo "$as_me:$LINENO: checking for inline" >&5
14803 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14804 if test "${ac_cv_c_inline+set}" = set; then
14805 echo $ECHO_N "(cached) $ECHO_C" >&6
14808 for ac_kw in inline __inline__ __inline; do
14809 cat >conftest.$ac_ext <<_ACEOF
14810 #line $LINENO "configure"
14813 cat confdefs.h >>conftest.$ac_ext
14814 cat >>conftest.$ac_ext <<_ACEOF
14815 /* end confdefs.h. */
14816 #ifndef __cplusplus
14818 static $ac_kw foo_t static_foo () {return 0; }
14819 $ac_kw foo_t foo () {return 0; }
14823 rm -f conftest.$ac_objext
14824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14825 (eval $ac_compile) 2>&5
14827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14828 (exit $ac_status); } &&
14829 { ac_try='test -s conftest.$ac_objext'
14830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14831 (eval $ac_try) 2>&5
14833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14834 (exit $ac_status); }; }; then
14835 ac_cv_c_inline=$ac_kw; break
14837 echo "$as_me: failed program was:" >&5
14838 sed 's/^/| /' conftest.$ac_ext >&5
14841 rm -f conftest.$ac_objext conftest.$ac_ext
14845 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14846 echo "${ECHO_T}$ac_cv_c_inline" >&6
14847 case $ac_cv_c_inline in
14850 cat >>confdefs.h <<\_ACEOF
14854 *) cat >>confdefs.h <<_ACEOF
14855 #define inline $ac_cv_c_inline
14860 echo "$as_me:$LINENO: checking for mode_t" >&5
14861 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
14862 if test "${ac_cv_type_mode_t+set}" = set; then
14863 echo $ECHO_N "(cached) $ECHO_C" >&6
14865 cat >conftest.$ac_ext <<_ACEOF
14866 #line $LINENO "configure"
14869 cat confdefs.h >>conftest.$ac_ext
14870 cat >>conftest.$ac_ext <<_ACEOF
14871 /* end confdefs.h. */
14872 $ac_includes_default
14878 if (sizeof (mode_t))
14884 rm -f conftest.$ac_objext
14885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14886 (eval $ac_compile) 2>&5
14888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14889 (exit $ac_status); } &&
14890 { ac_try='test -s conftest.$ac_objext'
14891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14892 (eval $ac_try) 2>&5
14894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14895 (exit $ac_status); }; }; then
14896 ac_cv_type_mode_t=yes
14898 echo "$as_me: failed program was:" >&5
14899 sed 's/^/| /' conftest.$ac_ext >&5
14901 ac_cv_type_mode_t=no
14903 rm -f conftest.$ac_objext conftest.$ac_ext
14905 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
14906 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
14907 if test $ac_cv_type_mode_t = yes; then
14909 cat >>confdefs.h <<_ACEOF
14910 #define HAVE_MODE_T 1
14915 echo "$as_me:$LINENO: checking for off_t" >&5
14916 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
14917 if test "${ac_cv_type_off_t+set}" = set; then
14918 echo $ECHO_N "(cached) $ECHO_C" >&6
14920 cat >conftest.$ac_ext <<_ACEOF
14921 #line $LINENO "configure"
14924 cat confdefs.h >>conftest.$ac_ext
14925 cat >>conftest.$ac_ext <<_ACEOF
14926 /* end confdefs.h. */
14927 $ac_includes_default
14933 if (sizeof (off_t))
14939 rm -f conftest.$ac_objext
14940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14941 (eval $ac_compile) 2>&5
14943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14944 (exit $ac_status); } &&
14945 { ac_try='test -s conftest.$ac_objext'
14946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14947 (eval $ac_try) 2>&5
14949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14950 (exit $ac_status); }; }; then
14951 ac_cv_type_off_t=yes
14953 echo "$as_me: failed program was:" >&5
14954 sed 's/^/| /' conftest.$ac_ext >&5
14956 ac_cv_type_off_t=no
14958 rm -f conftest.$ac_objext conftest.$ac_ext
14960 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
14961 echo "${ECHO_T}$ac_cv_type_off_t" >&6
14962 if test $ac_cv_type_off_t = yes; then
14964 cat >>confdefs.h <<_ACEOF
14965 #define HAVE_OFF_T 1
14970 echo "$as_me:$LINENO: checking for pid_t" >&5
14971 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
14972 if test "${ac_cv_type_pid_t+set}" = set; then
14973 echo $ECHO_N "(cached) $ECHO_C" >&6
14975 cat >conftest.$ac_ext <<_ACEOF
14976 #line $LINENO "configure"
14979 cat confdefs.h >>conftest.$ac_ext
14980 cat >>conftest.$ac_ext <<_ACEOF
14981 /* end confdefs.h. */
14982 $ac_includes_default
14988 if (sizeof (pid_t))
14994 rm -f conftest.$ac_objext
14995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14996 (eval $ac_compile) 2>&5
14998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14999 (exit $ac_status); } &&
15000 { ac_try='test -s conftest.$ac_objext'
15001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15002 (eval $ac_try) 2>&5
15004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15005 (exit $ac_status); }; }; then
15006 ac_cv_type_pid_t=yes
15008 echo "$as_me: failed program was:" >&5
15009 sed 's/^/| /' conftest.$ac_ext >&5
15011 ac_cv_type_pid_t=no
15013 rm -f conftest.$ac_objext conftest.$ac_ext
15015 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
15016 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
15017 if test $ac_cv_type_pid_t = yes; then
15019 cat >>confdefs.h <<_ACEOF
15020 #define HAVE_PID_T 1
15025 echo "$as_me:$LINENO: checking for size_t" >&5
15026 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
15027 if test "${ac_cv_type_size_t+set}" = set; then
15028 echo $ECHO_N "(cached) $ECHO_C" >&6
15030 cat >conftest.$ac_ext <<_ACEOF
15031 #line $LINENO "configure"
15034 cat confdefs.h >>conftest.$ac_ext
15035 cat >>conftest.$ac_ext <<_ACEOF
15036 /* end confdefs.h. */
15037 $ac_includes_default
15043 if (sizeof (size_t))
15049 rm -f conftest.$ac_objext
15050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15051 (eval $ac_compile) 2>&5
15053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15054 (exit $ac_status); } &&
15055 { ac_try='test -s conftest.$ac_objext'
15056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15057 (eval $ac_try) 2>&5
15059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15060 (exit $ac_status); }; }; then
15061 ac_cv_type_size_t=yes
15063 echo "$as_me: failed program was:" >&5
15064 sed 's/^/| /' conftest.$ac_ext >&5
15066 ac_cv_type_size_t=no
15068 rm -f conftest.$ac_objext conftest.$ac_ext
15070 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
15071 echo "${ECHO_T}$ac_cv_type_size_t" >&6
15072 if test $ac_cv_type_size_t = yes; then
15074 cat >>confdefs.h <<_ACEOF
15075 #define HAVE_SIZE_T 1
15080 echo "$as_me:$LINENO: checking for ssize_t" >&5
15081 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
15082 if test "${ac_cv_type_ssize_t+set}" = set; then
15083 echo $ECHO_N "(cached) $ECHO_C" >&6
15085 cat >conftest.$ac_ext <<_ACEOF
15086 #line $LINENO "configure"
15089 cat confdefs.h >>conftest.$ac_ext
15090 cat >>conftest.$ac_ext <<_ACEOF
15091 /* end confdefs.h. */
15092 $ac_includes_default
15098 if (sizeof (ssize_t))
15104 rm -f conftest.$ac_objext
15105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15106 (eval $ac_compile) 2>&5
15108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15109 (exit $ac_status); } &&
15110 { ac_try='test -s conftest.$ac_objext'
15111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15112 (eval $ac_try) 2>&5
15114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15115 (exit $ac_status); }; }; then
15116 ac_cv_type_ssize_t=yes
15118 echo "$as_me: failed program was:" >&5
15119 sed 's/^/| /' conftest.$ac_ext >&5
15121 ac_cv_type_ssize_t=no
15123 rm -f conftest.$ac_objext conftest.$ac_ext
15125 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
15126 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
15127 if test $ac_cv_type_ssize_t = yes; then
15129 cat >>confdefs.h <<_ACEOF
15130 #define HAVE_SSIZE_T 1
15136 echo "$as_me:$LINENO: checking for long long" >&5
15137 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15138 if test "${ac_cv_type_long_long+set}" = set; then
15139 echo $ECHO_N "(cached) $ECHO_C" >&6
15141 cat >conftest.$ac_ext <<_ACEOF
15142 #line $LINENO "configure"
15145 cat confdefs.h >>conftest.$ac_ext
15146 cat >>conftest.$ac_ext <<_ACEOF
15147 /* end confdefs.h. */
15148 $ac_includes_default
15152 if ((long long *) 0)
15154 if (sizeof (long long))
15160 rm -f conftest.$ac_objext
15161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15162 (eval $ac_compile) 2>&5
15164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15165 (exit $ac_status); } &&
15166 { ac_try='test -s conftest.$ac_objext'
15167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15168 (eval $ac_try) 2>&5
15170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15171 (exit $ac_status); }; }; then
15172 ac_cv_type_long_long=yes
15174 echo "$as_me: failed program was:" >&5
15175 sed 's/^/| /' conftest.$ac_ext >&5
15177 ac_cv_type_long_long=no
15179 rm -f conftest.$ac_objext conftest.$ac_ext
15181 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15182 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15184 echo "$as_me:$LINENO: checking size of long long" >&5
15185 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15186 if test "${ac_cv_sizeof_long_long+set}" = set; then
15187 echo $ECHO_N "(cached) $ECHO_C" >&6
15189 if test "$ac_cv_type_long_long" = yes; then
15190 # The cast to unsigned long works around a bug in the HP C Compiler
15191 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15192 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15193 # This bug is HP SR number 8606223364.
15194 if test "$cross_compiling" = yes; then
15195 # Depending upon the size, compute the lo and hi bounds.
15196 cat >conftest.$ac_ext <<_ACEOF
15197 #line $LINENO "configure"
15200 cat confdefs.h >>conftest.$ac_ext
15201 cat >>conftest.$ac_ext <<_ACEOF
15202 /* end confdefs.h. */
15203 $ac_includes_default
15207 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15214 rm -f conftest.$ac_objext
15215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15216 (eval $ac_compile) 2>&5
15218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15219 (exit $ac_status); } &&
15220 { ac_try='test -s conftest.$ac_objext'
15221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15222 (eval $ac_try) 2>&5
15224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15225 (exit $ac_status); }; }; then
15228 cat >conftest.$ac_ext <<_ACEOF
15229 #line $LINENO "configure"
15232 cat confdefs.h >>conftest.$ac_ext
15233 cat >>conftest.$ac_ext <<_ACEOF
15234 /* end confdefs.h. */
15235 $ac_includes_default
15239 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15246 rm -f conftest.$ac_objext
15247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15248 (eval $ac_compile) 2>&5
15250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15251 (exit $ac_status); } &&
15252 { ac_try='test -s conftest.$ac_objext'
15253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15254 (eval $ac_try) 2>&5
15256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15257 (exit $ac_status); }; }; then
15258 ac_hi=$ac_mid; break
15260 echo "$as_me: failed program was:" >&5
15261 sed 's/^/| /' conftest.$ac_ext >&5
15263 ac_lo=`expr $ac_mid + 1`
15264 if test $ac_lo -le $ac_mid; then
15268 ac_mid=`expr 2 '*' $ac_mid + 1`
15270 rm -f conftest.$ac_objext conftest.$ac_ext
15273 echo "$as_me: failed program was:" >&5
15274 sed 's/^/| /' conftest.$ac_ext >&5
15276 cat >conftest.$ac_ext <<_ACEOF
15277 #line $LINENO "configure"
15280 cat confdefs.h >>conftest.$ac_ext
15281 cat >>conftest.$ac_ext <<_ACEOF
15282 /* end confdefs.h. */
15283 $ac_includes_default
15287 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15294 rm -f conftest.$ac_objext
15295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15296 (eval $ac_compile) 2>&5
15298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15299 (exit $ac_status); } &&
15300 { ac_try='test -s conftest.$ac_objext'
15301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15302 (eval $ac_try) 2>&5
15304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15305 (exit $ac_status); }; }; then
15308 cat >conftest.$ac_ext <<_ACEOF
15309 #line $LINENO "configure"
15312 cat confdefs.h >>conftest.$ac_ext
15313 cat >>conftest.$ac_ext <<_ACEOF
15314 /* end confdefs.h. */
15315 $ac_includes_default
15319 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15326 rm -f conftest.$ac_objext
15327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15328 (eval $ac_compile) 2>&5
15330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15331 (exit $ac_status); } &&
15332 { ac_try='test -s conftest.$ac_objext'
15333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15334 (eval $ac_try) 2>&5
15336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15337 (exit $ac_status); }; }; then
15338 ac_lo=$ac_mid; break
15340 echo "$as_me: failed program was:" >&5
15341 sed 's/^/| /' conftest.$ac_ext >&5
15343 ac_hi=`expr '(' $ac_mid ')' - 1`
15344 if test $ac_mid -le $ac_hi; then
15348 ac_mid=`expr 2 '*' $ac_mid`
15350 rm -f conftest.$ac_objext conftest.$ac_ext
15353 echo "$as_me: failed program was:" >&5
15354 sed 's/^/| /' conftest.$ac_ext >&5
15358 rm -f conftest.$ac_objext conftest.$ac_ext
15360 rm -f conftest.$ac_objext conftest.$ac_ext
15361 # Binary search between lo and hi bounds.
15362 while test "x$ac_lo" != "x$ac_hi"; do
15363 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15364 cat >conftest.$ac_ext <<_ACEOF
15365 #line $LINENO "configure"
15368 cat confdefs.h >>conftest.$ac_ext
15369 cat >>conftest.$ac_ext <<_ACEOF
15370 /* end confdefs.h. */
15371 $ac_includes_default
15375 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15382 rm -f conftest.$ac_objext
15383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15384 (eval $ac_compile) 2>&5
15386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15387 (exit $ac_status); } &&
15388 { ac_try='test -s conftest.$ac_objext'
15389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15390 (eval $ac_try) 2>&5
15392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15393 (exit $ac_status); }; }; then
15396 echo "$as_me: failed program was:" >&5
15397 sed 's/^/| /' conftest.$ac_ext >&5
15399 ac_lo=`expr '(' $ac_mid ')' + 1`
15401 rm -f conftest.$ac_objext conftest.$ac_ext
15404 ?*) ac_cv_sizeof_long_long=$ac_lo;;
15405 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15406 See \`config.log' for more details." >&5
15407 echo "$as_me: error: cannot compute sizeof (long long), 77
15408 See \`config.log' for more details." >&2;}
15409 { (exit 1); exit 1; }; } ;;
15412 if test "$cross_compiling" = yes; then
15413 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15414 See \`config.log' for more details." >&5
15415 echo "$as_me: error: cannot run test program while cross compiling
15416 See \`config.log' for more details." >&2;}
15417 { (exit 1); exit 1; }; }
15419 cat >conftest.$ac_ext <<_ACEOF
15420 #line $LINENO "configure"
15423 cat confdefs.h >>conftest.$ac_ext
15424 cat >>conftest.$ac_ext <<_ACEOF
15425 /* end confdefs.h. */
15426 $ac_includes_default
15427 long longval () { return (long) (sizeof (long long)); }
15428 unsigned long ulongval () { return (long) (sizeof (long long)); }
15430 #include <stdlib.h>
15435 FILE *f = fopen ("conftest.val", "w");
15438 if (((long) (sizeof (long long))) < 0)
15440 long i = longval ();
15441 if (i != ((long) (sizeof (long long))))
15443 fprintf (f, "%ld\n", i);
15447 unsigned long i = ulongval ();
15448 if (i != ((long) (sizeof (long long))))
15450 fprintf (f, "%lu\n", i);
15452 exit (ferror (f) || fclose (f) != 0);
15458 rm -f conftest$ac_exeext
15459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15460 (eval $ac_link) 2>&5
15462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15463 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15465 (eval $ac_try) 2>&5
15467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15468 (exit $ac_status); }; }; then
15469 ac_cv_sizeof_long_long=`cat conftest.val`
15471 echo "$as_me: program exited with status $ac_status" >&5
15472 echo "$as_me: failed program was:" >&5
15473 sed 's/^/| /' conftest.$ac_ext >&5
15475 ( exit $ac_status )
15476 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15477 See \`config.log' for more details." >&5
15478 echo "$as_me: error: cannot compute sizeof (long long), 77
15479 See \`config.log' for more details." >&2;}
15480 { (exit 1); exit 1; }; }
15482 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15487 ac_cv_sizeof_long_long=0
15490 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15491 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15492 cat >>confdefs.h <<_ACEOF
15493 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15498 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
15499 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
15500 if test "${wine_cv_linux_input_h+set}" = set; then
15501 echo $ECHO_N "(cached) $ECHO_C" >&6
15503 cat >conftest.$ac_ext <<_ACEOF
15504 #line $LINENO "configure"
15507 cat confdefs.h >>conftest.$ac_ext
15508 cat >>conftest.$ac_ext <<_ACEOF
15509 /* end confdefs.h. */
15511 #include <linux/input.h>
15517 int foo = EVIOCGBIT(EV_ABS,42);
15518 int bar = BTN_PINKIE;
15525 rm -f conftest.$ac_objext
15526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15527 (eval $ac_compile) 2>&5
15529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15530 (exit $ac_status); } &&
15531 { ac_try='test -s conftest.$ac_objext'
15532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15533 (eval $ac_try) 2>&5
15535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15536 (exit $ac_status); }; }; then
15537 wine_cv_linux_input_h=yes
15539 echo "$as_me: failed program was:" >&5
15540 sed 's/^/| /' conftest.$ac_ext >&5
15542 wine_cv_linux_input_h=no
15544 rm -f conftest.$ac_objext conftest.$ac_ext
15547 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
15548 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
15549 if test "$wine_cv_linux_input_h" = "yes"
15552 cat >>confdefs.h <<\_ACEOF
15553 #define HAVE_CORRECT_LINUXINPUT_H 1
15559 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15560 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
15561 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
15562 echo $ECHO_N "(cached) $ECHO_C" >&6
15564 cat >conftest.$ac_ext <<_ACEOF
15565 #line $LINENO "configure"
15568 cat confdefs.h >>conftest.$ac_ext
15569 cat >>conftest.$ac_ext <<_ACEOF
15570 /* end confdefs.h. */
15580 struct hostent *result;
15587 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15588 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15594 rm -f conftest.$ac_objext
15595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15596 (eval $ac_compile) 2>&5
15598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15599 (exit $ac_status); } &&
15600 { ac_try='test -s conftest.$ac_objext'
15601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15602 (eval $ac_try) 2>&5
15604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15605 (exit $ac_status); }; }; then
15606 wine_cv_linux_gethostbyname_r_6=yes
15608 echo "$as_me: failed program was:" >&5
15609 sed 's/^/| /' conftest.$ac_ext >&5
15611 wine_cv_linux_gethostbyname_r_6=no
15614 rm -f conftest.$ac_objext conftest.$ac_ext
15617 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
15618 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
15619 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15622 cat >>confdefs.h <<\_ACEOF
15623 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
15628 if test "$ac_cv_header_linux_joystick_h" = "yes"
15630 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15631 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
15632 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
15633 echo $ECHO_N "(cached) $ECHO_C" >&6
15635 cat >conftest.$ac_ext <<_ACEOF
15636 #line $LINENO "configure"
15639 cat confdefs.h >>conftest.$ac_ext
15640 cat >>conftest.$ac_ext <<_ACEOF
15641 /* end confdefs.h. */
15643 #include <sys/ioctl.h>
15644 #include <linux/joystick.h>
15646 struct js_event blub;
15647 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15648 #error "no 2.2 header"
15659 rm -f conftest.$ac_objext
15660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15661 (eval $ac_compile) 2>&5
15663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15664 (exit $ac_status); } &&
15665 { ac_try='test -s conftest.$ac_objext'
15666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15667 (eval $ac_try) 2>&5
15669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15670 (exit $ac_status); }; }; then
15671 wine_cv_linux_joystick_22_api=yes
15673 echo "$as_me: failed program was:" >&5
15674 sed 's/^/| /' conftest.$ac_ext >&5
15676 wine_cv_linux_joystick_22_api=no
15678 rm -f conftest.$ac_objext conftest.$ac_ext
15681 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
15682 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
15683 if test "$wine_cv_linux_joystick_22_api" = "yes"
15686 cat >>confdefs.h <<\_ACEOF
15687 #define HAVE_LINUX_22_JOYSTICK_API 1
15694 if test "$ac_cv_header_sys_vfs_h" = "yes"
15696 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
15697 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
15698 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
15699 echo $ECHO_N "(cached) $ECHO_C" >&6
15701 cat >conftest.$ac_ext <<_ACEOF
15702 #line $LINENO "configure"
15705 cat confdefs.h >>conftest.$ac_ext
15706 cat >>conftest.$ac_ext <<_ACEOF
15707 /* end confdefs.h. */
15709 #include <sys/types.h>
15710 #ifdef HAVE_SYS_PARAM_H
15711 # include <sys/param.h>
15713 #include <sys/vfs.h>
15719 struct statfs stfs;
15721 memset(&stfs,0,sizeof(stfs));
15727 rm -f conftest.$ac_objext
15728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15729 (eval $ac_compile) 2>&5
15731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15732 (exit $ac_status); } &&
15733 { ac_try='test -s conftest.$ac_objext'
15734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15735 (eval $ac_try) 2>&5
15737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15738 (exit $ac_status); }; }; then
15739 wine_cv_sys_vfs_has_statfs=yes
15741 echo "$as_me: failed program was:" >&5
15742 sed 's/^/| /' conftest.$ac_ext >&5
15744 wine_cv_sys_vfs_has_statfs=no
15747 rm -f conftest.$ac_objext conftest.$ac_ext
15750 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
15751 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
15752 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
15755 cat >>confdefs.h <<\_ACEOF
15756 #define STATFS_DEFINED_BY_SYS_VFS 1
15762 if test "$ac_cv_header_sys_statfs_h" = "yes"
15764 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
15765 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
15766 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
15767 echo $ECHO_N "(cached) $ECHO_C" >&6
15769 cat >conftest.$ac_ext <<_ACEOF
15770 #line $LINENO "configure"
15773 cat confdefs.h >>conftest.$ac_ext
15774 cat >>conftest.$ac_ext <<_ACEOF
15775 /* end confdefs.h. */
15777 #include <sys/types.h>
15778 #ifdef HAVE_SYS_PARAM_H
15779 # include <sys/param.h>
15781 #include <sys/statfs.h>
15787 struct statfs stfs;
15793 rm -f conftest.$ac_objext
15794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15795 (eval $ac_compile) 2>&5
15797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15798 (exit $ac_status); } &&
15799 { ac_try='test -s conftest.$ac_objext'
15800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15801 (eval $ac_try) 2>&5
15803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15804 (exit $ac_status); }; }; then
15805 wine_cv_sys_statfs_has_statfs=yes
15807 echo "$as_me: failed program was:" >&5
15808 sed 's/^/| /' conftest.$ac_ext >&5
15810 wine_cv_sys_statfs_has_statfs=no
15813 rm -f conftest.$ac_objext conftest.$ac_ext
15816 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
15817 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
15818 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
15821 cat >>confdefs.h <<\_ACEOF
15822 #define STATFS_DEFINED_BY_SYS_STATFS 1
15828 if test "$ac_cv_header_sys_mount_h" = "yes"
15830 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
15831 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
15832 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
15833 echo $ECHO_N "(cached) $ECHO_C" >&6
15835 cat >conftest.$ac_ext <<_ACEOF
15836 #line $LINENO "configure"
15839 cat confdefs.h >>conftest.$ac_ext
15840 cat >>conftest.$ac_ext <<_ACEOF
15841 /* end confdefs.h. */
15843 #include <sys/types.h>
15844 #ifdef HAVE_SYS_PARAM_H
15845 # include <sys/param.h>
15847 #include <sys/mount.h>
15853 struct statfs stfs;
15859 rm -f conftest.$ac_objext
15860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15861 (eval $ac_compile) 2>&5
15863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15864 (exit $ac_status); } &&
15865 { ac_try='test -s conftest.$ac_objext'
15866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15867 (eval $ac_try) 2>&5
15869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15870 (exit $ac_status); }; }; then
15871 wine_cv_sys_mount_has_statfs=yes
15873 echo "$as_me: failed program was:" >&5
15874 sed 's/^/| /' conftest.$ac_ext >&5
15876 wine_cv_sys_mount_has_statfs=no
15879 rm -f conftest.$ac_objext conftest.$ac_ext
15882 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
15883 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
15884 if test "$wine_cv_sys_mount_has_statfs" = "yes"
15887 cat >>confdefs.h <<\_ACEOF
15888 #define STATFS_DEFINED_BY_SYS_MOUNT 1
15895 echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
15896 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6
15897 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
15898 echo $ECHO_N "(cached) $ECHO_C" >&6
15900 cat >conftest.$ac_ext <<_ACEOF
15901 #line $LINENO "configure"
15904 cat confdefs.h >>conftest.$ac_ext
15905 cat >>conftest.$ac_ext <<_ACEOF
15906 /* end confdefs.h. */
15907 #include <sys/types.h>
15908 #ifdef HAVE_SYS_PARAM_H
15909 # include <sys/param.h>
15911 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
15912 # include <sys/mount.h>
15914 # ifdef STATFS_DEFINED_BY_SYS_VFS
15915 # include <sys/vfs.h>
15917 # ifdef STATFS_DEFINED_BY_SYS_STATFS
15918 # include <sys/statfs.h>
15926 static struct statfs ac_aggr;
15927 if (ac_aggr.f_bfree)
15933 rm -f conftest.$ac_objext
15934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15935 (eval $ac_compile) 2>&5
15937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15938 (exit $ac_status); } &&
15939 { ac_try='test -s conftest.$ac_objext'
15940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15941 (eval $ac_try) 2>&5
15943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15944 (exit $ac_status); }; }; then
15945 ac_cv_member_struct_statfs_f_bfree=yes
15947 echo "$as_me: failed program was:" >&5
15948 sed 's/^/| /' conftest.$ac_ext >&5
15950 cat >conftest.$ac_ext <<_ACEOF
15951 #line $LINENO "configure"
15954 cat confdefs.h >>conftest.$ac_ext
15955 cat >>conftest.$ac_ext <<_ACEOF
15956 /* end confdefs.h. */
15957 #include <sys/types.h>
15958 #ifdef HAVE_SYS_PARAM_H
15959 # include <sys/param.h>
15961 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
15962 # include <sys/mount.h>
15964 # ifdef STATFS_DEFINED_BY_SYS_VFS
15965 # include <sys/vfs.h>
15967 # ifdef STATFS_DEFINED_BY_SYS_STATFS
15968 # include <sys/statfs.h>
15976 static struct statfs ac_aggr;
15977 if (sizeof ac_aggr.f_bfree)
15983 rm -f conftest.$ac_objext
15984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15985 (eval $ac_compile) 2>&5
15987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15988 (exit $ac_status); } &&
15989 { ac_try='test -s conftest.$ac_objext'
15990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15991 (eval $ac_try) 2>&5
15993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15994 (exit $ac_status); }; }; then
15995 ac_cv_member_struct_statfs_f_bfree=yes
15997 echo "$as_me: failed program was:" >&5
15998 sed 's/^/| /' conftest.$ac_ext >&5
16000 ac_cv_member_struct_statfs_f_bfree=no
16002 rm -f conftest.$ac_objext conftest.$ac_ext
16004 rm -f conftest.$ac_objext conftest.$ac_ext
16006 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
16007 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6
16008 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
16010 cat >>confdefs.h <<_ACEOF
16011 #define HAVE_STRUCT_STATFS_F_BFREE 1
16016 echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
16017 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6
16018 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
16019 echo $ECHO_N "(cached) $ECHO_C" >&6
16021 cat >conftest.$ac_ext <<_ACEOF
16022 #line $LINENO "configure"
16025 cat confdefs.h >>conftest.$ac_ext
16026 cat >>conftest.$ac_ext <<_ACEOF
16027 /* end confdefs.h. */
16028 #include <sys/types.h>
16029 #ifdef HAVE_SYS_PARAM_H
16030 # include <sys/param.h>
16032 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
16033 # include <sys/mount.h>
16035 # ifdef STATFS_DEFINED_BY_SYS_VFS
16036 # include <sys/vfs.h>
16038 # ifdef STATFS_DEFINED_BY_SYS_STATFS
16039 # include <sys/statfs.h>
16047 static struct statfs ac_aggr;
16048 if (ac_aggr.f_bavail)
16054 rm -f conftest.$ac_objext
16055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16056 (eval $ac_compile) 2>&5
16058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16059 (exit $ac_status); } &&
16060 { ac_try='test -s conftest.$ac_objext'
16061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16062 (eval $ac_try) 2>&5
16064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16065 (exit $ac_status); }; }; then
16066 ac_cv_member_struct_statfs_f_bavail=yes
16068 echo "$as_me: failed program was:" >&5
16069 sed 's/^/| /' conftest.$ac_ext >&5
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. */
16078 #include <sys/types.h>
16079 #ifdef HAVE_SYS_PARAM_H
16080 # include <sys/param.h>
16082 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
16083 # include <sys/mount.h>
16085 # ifdef STATFS_DEFINED_BY_SYS_VFS
16086 # include <sys/vfs.h>
16088 # ifdef STATFS_DEFINED_BY_SYS_STATFS
16089 # include <sys/statfs.h>
16097 static struct statfs ac_aggr;
16098 if (sizeof ac_aggr.f_bavail)
16104 rm -f conftest.$ac_objext
16105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16106 (eval $ac_compile) 2>&5
16108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16109 (exit $ac_status); } &&
16110 { ac_try='test -s conftest.$ac_objext'
16111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16112 (eval $ac_try) 2>&5
16114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16115 (exit $ac_status); }; }; then
16116 ac_cv_member_struct_statfs_f_bavail=yes
16118 echo "$as_me: failed program was:" >&5
16119 sed 's/^/| /' conftest.$ac_ext >&5
16121 ac_cv_member_struct_statfs_f_bavail=no
16123 rm -f conftest.$ac_objext conftest.$ac_ext
16125 rm -f conftest.$ac_objext conftest.$ac_ext
16127 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
16128 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6
16129 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
16131 cat >>confdefs.h <<_ACEOF
16132 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16139 echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
16140 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6
16141 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
16142 echo $ECHO_N "(cached) $ECHO_C" >&6
16144 cat >conftest.$ac_ext <<_ACEOF
16145 #line $LINENO "configure"
16148 cat confdefs.h >>conftest.$ac_ext
16149 cat >>conftest.$ac_ext <<_ACEOF
16150 /* end confdefs.h. */
16151 #include <sys/types.h>
16152 #ifdef HAVE_SYS_SOCKET_H
16153 # include <sys/socket.h>
16155 #ifdef HAVE_SYS_UN_H
16156 # include <sys/un.h>
16162 static struct msghdr ac_aggr;
16163 if (ac_aggr.msg_accrights)
16169 rm -f conftest.$ac_objext
16170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16171 (eval $ac_compile) 2>&5
16173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16174 (exit $ac_status); } &&
16175 { ac_try='test -s conftest.$ac_objext'
16176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16177 (eval $ac_try) 2>&5
16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180 (exit $ac_status); }; }; then
16181 ac_cv_member_struct_msghdr_msg_accrights=yes
16183 echo "$as_me: failed program was:" >&5
16184 sed 's/^/| /' conftest.$ac_ext >&5
16186 cat >conftest.$ac_ext <<_ACEOF
16187 #line $LINENO "configure"
16190 cat confdefs.h >>conftest.$ac_ext
16191 cat >>conftest.$ac_ext <<_ACEOF
16192 /* end confdefs.h. */
16193 #include <sys/types.h>
16194 #ifdef HAVE_SYS_SOCKET_H
16195 # include <sys/socket.h>
16197 #ifdef HAVE_SYS_UN_H
16198 # include <sys/un.h>
16204 static struct msghdr ac_aggr;
16205 if (sizeof ac_aggr.msg_accrights)
16211 rm -f conftest.$ac_objext
16212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16213 (eval $ac_compile) 2>&5
16215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16216 (exit $ac_status); } &&
16217 { ac_try='test -s conftest.$ac_objext'
16218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16219 (eval $ac_try) 2>&5
16221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16222 (exit $ac_status); }; }; then
16223 ac_cv_member_struct_msghdr_msg_accrights=yes
16225 echo "$as_me: failed program was:" >&5
16226 sed 's/^/| /' conftest.$ac_ext >&5
16228 ac_cv_member_struct_msghdr_msg_accrights=no
16230 rm -f conftest.$ac_objext conftest.$ac_ext
16232 rm -f conftest.$ac_objext conftest.$ac_ext
16234 echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
16235 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6
16236 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
16238 cat >>confdefs.h <<_ACEOF
16239 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16244 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
16245 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6
16246 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
16247 echo $ECHO_N "(cached) $ECHO_C" >&6
16249 cat >conftest.$ac_ext <<_ACEOF
16250 #line $LINENO "configure"
16253 cat confdefs.h >>conftest.$ac_ext
16254 cat >>conftest.$ac_ext <<_ACEOF
16255 /* end confdefs.h. */
16256 #include <sys/types.h>
16257 #ifdef HAVE_SYS_SOCKET_H
16258 # include <sys/socket.h>
16260 #ifdef HAVE_SYS_UN_H
16261 # include <sys/un.h>
16267 static struct sockaddr ac_aggr;
16268 if (ac_aggr.sa_len)
16274 rm -f conftest.$ac_objext
16275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16276 (eval $ac_compile) 2>&5
16278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16279 (exit $ac_status); } &&
16280 { ac_try='test -s conftest.$ac_objext'
16281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16282 (eval $ac_try) 2>&5
16284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16285 (exit $ac_status); }; }; then
16286 ac_cv_member_struct_sockaddr_sa_len=yes
16288 echo "$as_me: failed program was:" >&5
16289 sed 's/^/| /' conftest.$ac_ext >&5
16291 cat >conftest.$ac_ext <<_ACEOF
16292 #line $LINENO "configure"
16295 cat confdefs.h >>conftest.$ac_ext
16296 cat >>conftest.$ac_ext <<_ACEOF
16297 /* end confdefs.h. */
16298 #include <sys/types.h>
16299 #ifdef HAVE_SYS_SOCKET_H
16300 # include <sys/socket.h>
16302 #ifdef HAVE_SYS_UN_H
16303 # include <sys/un.h>
16309 static struct sockaddr ac_aggr;
16310 if (sizeof ac_aggr.sa_len)
16316 rm -f conftest.$ac_objext
16317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16318 (eval $ac_compile) 2>&5
16320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16321 (exit $ac_status); } &&
16322 { ac_try='test -s conftest.$ac_objext'
16323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16324 (eval $ac_try) 2>&5
16326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16327 (exit $ac_status); }; }; then
16328 ac_cv_member_struct_sockaddr_sa_len=yes
16330 echo "$as_me: failed program was:" >&5
16331 sed 's/^/| /' conftest.$ac_ext >&5
16333 ac_cv_member_struct_sockaddr_sa_len=no
16335 rm -f conftest.$ac_objext conftest.$ac_ext
16337 rm -f conftest.$ac_objext conftest.$ac_ext
16339 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
16340 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6
16341 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
16343 cat >>confdefs.h <<_ACEOF
16344 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16349 echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
16350 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6
16351 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
16352 echo $ECHO_N "(cached) $ECHO_C" >&6
16354 cat >conftest.$ac_ext <<_ACEOF
16355 #line $LINENO "configure"
16358 cat confdefs.h >>conftest.$ac_ext
16359 cat >>conftest.$ac_ext <<_ACEOF
16360 /* end confdefs.h. */
16361 #include <sys/types.h>
16362 #ifdef HAVE_SYS_SOCKET_H
16363 # include <sys/socket.h>
16365 #ifdef HAVE_SYS_UN_H
16366 # include <sys/un.h>
16372 static struct sockaddr_un ac_aggr;
16373 if (ac_aggr.sun_len)
16379 rm -f conftest.$ac_objext
16380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16381 (eval $ac_compile) 2>&5
16383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16384 (exit $ac_status); } &&
16385 { ac_try='test -s conftest.$ac_objext'
16386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16387 (eval $ac_try) 2>&5
16389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16390 (exit $ac_status); }; }; then
16391 ac_cv_member_struct_sockaddr_un_sun_len=yes
16393 echo "$as_me: failed program was:" >&5
16394 sed 's/^/| /' conftest.$ac_ext >&5
16396 cat >conftest.$ac_ext <<_ACEOF
16397 #line $LINENO "configure"
16400 cat confdefs.h >>conftest.$ac_ext
16401 cat >>conftest.$ac_ext <<_ACEOF
16402 /* end confdefs.h. */
16403 #include <sys/types.h>
16404 #ifdef HAVE_SYS_SOCKET_H
16405 # include <sys/socket.h>
16407 #ifdef HAVE_SYS_UN_H
16408 # include <sys/un.h>
16414 static struct sockaddr_un ac_aggr;
16415 if (sizeof ac_aggr.sun_len)
16421 rm -f conftest.$ac_objext
16422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16423 (eval $ac_compile) 2>&5
16425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16426 (exit $ac_status); } &&
16427 { ac_try='test -s conftest.$ac_objext'
16428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16429 (eval $ac_try) 2>&5
16431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16432 (exit $ac_status); }; }; then
16433 ac_cv_member_struct_sockaddr_un_sun_len=yes
16435 echo "$as_me: failed program was:" >&5
16436 sed 's/^/| /' conftest.$ac_ext >&5
16438 ac_cv_member_struct_sockaddr_un_sun_len=no
16440 rm -f conftest.$ac_objext conftest.$ac_ext
16442 rm -f conftest.$ac_objext conftest.$ac_ext
16444 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
16445 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6
16446 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
16448 cat >>confdefs.h <<_ACEOF
16449 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16456 echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
16457 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6
16458 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
16459 echo $ECHO_N "(cached) $ECHO_C" >&6
16461 cat >conftest.$ac_ext <<_ACEOF
16462 #line $LINENO "configure"
16465 cat confdefs.h >>conftest.$ac_ext
16466 cat >>conftest.$ac_ext <<_ACEOF
16467 /* end confdefs.h. */
16468 #include <signal.h>
16473 static siginfo_t ac_aggr;
16480 rm -f conftest.$ac_objext
16481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16482 (eval $ac_compile) 2>&5
16484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16485 (exit $ac_status); } &&
16486 { ac_try='test -s conftest.$ac_objext'
16487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16488 (eval $ac_try) 2>&5
16490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16491 (exit $ac_status); }; }; then
16492 ac_cv_member_siginfo_t_si_fd=yes
16494 echo "$as_me: failed program was:" >&5
16495 sed 's/^/| /' conftest.$ac_ext >&5
16497 cat >conftest.$ac_ext <<_ACEOF
16498 #line $LINENO "configure"
16501 cat confdefs.h >>conftest.$ac_ext
16502 cat >>conftest.$ac_ext <<_ACEOF
16503 /* end confdefs.h. */
16504 #include <signal.h>
16509 static siginfo_t ac_aggr;
16510 if (sizeof ac_aggr.si_fd)
16516 rm -f conftest.$ac_objext
16517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16518 (eval $ac_compile) 2>&5
16520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16521 (exit $ac_status); } &&
16522 { ac_try='test -s conftest.$ac_objext'
16523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16524 (eval $ac_try) 2>&5
16526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16527 (exit $ac_status); }; }; then
16528 ac_cv_member_siginfo_t_si_fd=yes
16530 echo "$as_me: failed program was:" >&5
16531 sed 's/^/| /' conftest.$ac_ext >&5
16533 ac_cv_member_siginfo_t_si_fd=no
16535 rm -f conftest.$ac_objext conftest.$ac_ext
16537 rm -f conftest.$ac_objext conftest.$ac_ext
16539 echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
16540 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6
16541 if test $ac_cv_member_siginfo_t_si_fd = yes; then
16543 cat >>confdefs.h <<_ACEOF
16544 #define HAVE_SIGINFO_T_SI_FD 1
16551 echo "$as_me:$LINENO: checking for struct option.name" >&5
16552 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6
16553 if test "${ac_cv_member_struct_option_name+set}" = set; then
16554 echo $ECHO_N "(cached) $ECHO_C" >&6
16556 cat >conftest.$ac_ext <<_ACEOF
16557 #line $LINENO "configure"
16560 cat confdefs.h >>conftest.$ac_ext
16561 cat >>conftest.$ac_ext <<_ACEOF
16562 /* end confdefs.h. */
16563 #ifdef HAVE_GETOPT_H
16564 #include <getopt.h>
16570 static struct option ac_aggr;
16577 rm -f conftest.$ac_objext
16578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16579 (eval $ac_compile) 2>&5
16581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16582 (exit $ac_status); } &&
16583 { ac_try='test -s conftest.$ac_objext'
16584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16585 (eval $ac_try) 2>&5
16587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16588 (exit $ac_status); }; }; then
16589 ac_cv_member_struct_option_name=yes
16591 echo "$as_me: failed program was:" >&5
16592 sed 's/^/| /' conftest.$ac_ext >&5
16594 cat >conftest.$ac_ext <<_ACEOF
16595 #line $LINENO "configure"
16598 cat confdefs.h >>conftest.$ac_ext
16599 cat >>conftest.$ac_ext <<_ACEOF
16600 /* end confdefs.h. */
16601 #ifdef HAVE_GETOPT_H
16602 #include <getopt.h>
16608 static struct option ac_aggr;
16609 if (sizeof ac_aggr.name)
16615 rm -f conftest.$ac_objext
16616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16617 (eval $ac_compile) 2>&5
16619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16620 (exit $ac_status); } &&
16621 { ac_try='test -s conftest.$ac_objext'
16622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16623 (eval $ac_try) 2>&5
16625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16626 (exit $ac_status); }; }; then
16627 ac_cv_member_struct_option_name=yes
16629 echo "$as_me: failed program was:" >&5
16630 sed 's/^/| /' conftest.$ac_ext >&5
16632 ac_cv_member_struct_option_name=no
16634 rm -f conftest.$ac_objext conftest.$ac_ext
16636 rm -f conftest.$ac_objext conftest.$ac_ext
16638 echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
16639 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6
16640 if test $ac_cv_member_struct_option_name = yes; then
16642 cat >>confdefs.h <<_ACEOF
16643 #define HAVE_STRUCT_OPTION_NAME 1
16650 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
16651 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
16652 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
16653 echo $ECHO_N "(cached) $ECHO_C" >&6
16655 cat >conftest.$ac_ext <<_ACEOF
16656 #line $LINENO "configure"
16659 cat confdefs.h >>conftest.$ac_ext
16660 cat >>conftest.$ac_ext <<_ACEOF
16661 /* end confdefs.h. */
16662 $ac_includes_default
16666 static struct stat ac_aggr;
16667 if (ac_aggr.st_blocks)
16673 rm -f conftest.$ac_objext
16674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16675 (eval $ac_compile) 2>&5
16677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16678 (exit $ac_status); } &&
16679 { ac_try='test -s conftest.$ac_objext'
16680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16681 (eval $ac_try) 2>&5
16683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16684 (exit $ac_status); }; }; then
16685 ac_cv_member_struct_stat_st_blocks=yes
16687 echo "$as_me: failed program was:" >&5
16688 sed 's/^/| /' conftest.$ac_ext >&5
16690 cat >conftest.$ac_ext <<_ACEOF
16691 #line $LINENO "configure"
16694 cat confdefs.h >>conftest.$ac_ext
16695 cat >>conftest.$ac_ext <<_ACEOF
16696 /* end confdefs.h. */
16697 $ac_includes_default
16701 static struct stat ac_aggr;
16702 if (sizeof ac_aggr.st_blocks)
16708 rm -f conftest.$ac_objext
16709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16710 (eval $ac_compile) 2>&5
16712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16713 (exit $ac_status); } &&
16714 { ac_try='test -s conftest.$ac_objext'
16715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16716 (eval $ac_try) 2>&5
16718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16719 (exit $ac_status); }; }; then
16720 ac_cv_member_struct_stat_st_blocks=yes
16722 echo "$as_me: failed program was:" >&5
16723 sed 's/^/| /' conftest.$ac_ext >&5
16725 ac_cv_member_struct_stat_st_blocks=no
16727 rm -f conftest.$ac_objext conftest.$ac_ext
16729 rm -f conftest.$ac_objext conftest.$ac_ext
16731 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
16732 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
16733 if test $ac_cv_member_struct_stat_st_blocks = yes; then
16735 cat >>confdefs.h <<_ACEOF
16736 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16745 *i[3456789]86*) echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
16746 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
16747 if test "${ac_cv_cpp_def___i386__+set}" = set; then
16748 echo $ECHO_N "(cached) $ECHO_C" >&6
16750 cat >conftest.$ac_ext <<_ACEOF
16751 #line $LINENO "configure"
16754 cat confdefs.h >>conftest.$ac_ext
16755 cat >>conftest.$ac_ext <<_ACEOF
16756 /* end confdefs.h. */
16761 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16762 $EGREP "yes" >/dev/null 2>&1; then
16763 ac_cv_cpp_def___i386__=yes
16765 ac_cv_cpp_def___i386__=no
16770 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
16771 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6
16772 if test $ac_cv_cpp_def___i386__ = yes; then
16773 CFLAGS="$CFLAGS -D__i386__"
16774 LINTFLAGS="$LINTFLAGS -D__i386__"
16777 *alpha*) echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
16778 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6
16779 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
16780 echo $ECHO_N "(cached) $ECHO_C" >&6
16782 cat >conftest.$ac_ext <<_ACEOF
16783 #line $LINENO "configure"
16786 cat confdefs.h >>conftest.$ac_ext
16787 cat >>conftest.$ac_ext <<_ACEOF
16788 /* end confdefs.h. */
16793 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16794 $EGREP "yes" >/dev/null 2>&1; then
16795 ac_cv_cpp_def___ALPHA__=yes
16797 ac_cv_cpp_def___ALPHA__=no
16802 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
16803 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6
16804 if test $ac_cv_cpp_def___ALPHA__ = yes; then
16805 CFLAGS="$CFLAGS -D__ALPHA__"
16806 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
16809 *sparc*) echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
16810 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
16811 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
16812 echo $ECHO_N "(cached) $ECHO_C" >&6
16814 cat >conftest.$ac_ext <<_ACEOF
16815 #line $LINENO "configure"
16818 cat confdefs.h >>conftest.$ac_ext
16819 cat >>conftest.$ac_ext <<_ACEOF
16820 /* end confdefs.h. */
16825 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16826 $EGREP "yes" >/dev/null 2>&1; then
16827 ac_cv_cpp_def___sparc__=yes
16829 ac_cv_cpp_def___sparc__=no
16834 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
16835 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
16836 if test $ac_cv_cpp_def___sparc__ = yes; then
16837 CFLAGS="$CFLAGS -D__sparc__"
16838 LINTFLAGS="$LINTFLAGS -D__sparc__"
16841 *powerpc*) echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
16842 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6
16843 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
16844 echo $ECHO_N "(cached) $ECHO_C" >&6
16846 cat >conftest.$ac_ext <<_ACEOF
16847 #line $LINENO "configure"
16850 cat confdefs.h >>conftest.$ac_ext
16851 cat >>conftest.$ac_ext <<_ACEOF
16852 /* end confdefs.h. */
16853 #ifndef __powerpc__
16857 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16858 $EGREP "yes" >/dev/null 2>&1; then
16859 ac_cv_cpp_def___powerpc__=yes
16861 ac_cv_cpp_def___powerpc__=no
16866 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
16867 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6
16868 if test $ac_cv_cpp_def___powerpc__ = yes; then
16869 CFLAGS="$CFLAGS -D__powerpc__"
16870 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16875 case $host_vendor in
16876 *sun*) echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
16877 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
16878 if test "${ac_cv_cpp_def___sun__+set}" = set; then
16879 echo $ECHO_N "(cached) $ECHO_C" >&6
16881 cat >conftest.$ac_ext <<_ACEOF
16882 #line $LINENO "configure"
16885 cat confdefs.h >>conftest.$ac_ext
16886 cat >>conftest.$ac_ext <<_ACEOF
16887 /* end confdefs.h. */
16892 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16893 $EGREP "yes" >/dev/null 2>&1; then
16894 ac_cv_cpp_def___sun__=yes
16896 ac_cv_cpp_def___sun__=no
16901 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
16902 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6
16903 if test $ac_cv_cpp_def___sun__ = yes; then
16904 CFLAGS="$CFLAGS -D__sun__"
16905 LINTFLAGS="$LINTFLAGS -D__sun__"
16914 ac_config_commands="$ac_config_commands controls"
16916 ac_config_commands="$ac_config_commands dlls/ddraw/d3ddevice"
16918 ac_config_commands="$ac_config_commands dlls/ddraw/dclipper"
16920 ac_config_commands="$ac_config_commands dlls/ddraw/ddraw"
16922 ac_config_commands="$ac_config_commands dlls/ddraw/direct3d"
16924 ac_config_commands="$ac_config_commands dlls/ddraw/dpalette"
16926 ac_config_commands="$ac_config_commands dlls/ddraw/dsurface"
16928 ac_config_commands="$ac_config_commands dlls/dinput/joystick"
16930 ac_config_commands="$ac_config_commands dlls/dinput/keyboard"
16932 ac_config_commands="$ac_config_commands dlls/dinput/mouse"
16934 ac_config_commands="$ac_config_commands dlls/gdi/enhmfdrv"
16936 ac_config_commands="$ac_config_commands dlls/gdi/mfdrv"
16938 ac_config_commands="$ac_config_commands dlls/kernel/messages"
16940 ac_config_commands="$ac_config_commands dlls/user/dde"
16942 ac_config_commands="$ac_config_commands dlls/user/resources"
16944 ac_config_commands="$ac_config_commands dlls/wineps/data"
16946 ac_config_commands="$ac_config_commands files"
16948 ac_config_commands="$ac_config_commands graphics"
16950 ac_config_commands="$ac_config_commands graphics/x11drv"
16952 ac_config_commands="$ac_config_commands include/wine"
16954 ac_config_commands="$ac_config_commands memory"
16956 ac_config_commands="$ac_config_commands misc"
16958 ac_config_commands="$ac_config_commands msdos"
16960 ac_config_commands="$ac_config_commands objects"
16962 ac_config_commands="$ac_config_commands programs/regapi/tests"
16964 ac_config_commands="$ac_config_commands programs/regedit/tests"
16966 ac_config_commands="$ac_config_commands windows"
16969 MAKE_RULES=Make.rules
16972 MAKE_DLL_RULES=dlls/Makedll.rules
16975 MAKE_TEST_RULES=dlls/Maketest.rules
16978 MAKE_LIB_RULES=libs/Makelib.rules
16981 MAKE_PROG_RULES=programs/Makeprog.rules
16984 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/d3d8/Makefile dlls/d3d9/Makefile dlls/d3dim/Makefile dlls/d3dx8/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/icmp/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/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/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/osversioncheck/Makefile programs/progman/Makefile programs/regapi/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/regtest/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wcmd/Makefile programs/wineboot/Makefile programs/winecfg/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemenubuilder/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winevdm/Makefile programs/winhelp/Makefile programs/winver/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile"
16987 cat >confcache <<\_ACEOF
16988 # This file is a shell script that caches the results of configure
16989 # tests run on this system so they can be shared between configure
16990 # scripts and configure runs, see configure's option --config-cache.
16991 # It is not useful on other systems. If it contains results you don't
16992 # want to keep, you may remove or edit it.
16994 # config.status only pays attention to the cache file if you give it
16995 # the --recheck option to rerun configure.
16997 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16998 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16999 # following values.
17003 # The following way of writing the cache mishandles newlines in values,
17004 # but we know of no workaround that is simple, portable, and efficient.
17005 # So, don't put newlines in cache variables' values.
17006 # Ultrix sh set writes to stderr and can't be redirected directly,
17007 # and sets the high bit in the cache file unless we assign to the vars.
17010 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17012 # `set' does not quote correctly, so add quotes (double-quote
17013 # substitution turns \\\\ into \\, and sed turns \\ into \).
17016 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17019 # `set' quotes correctly as required by POSIX, so do not add quotes.
17021 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17028 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17030 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17032 if diff $cache_file confcache >/dev/null 2>&1; then :; else
17033 if test -w $cache_file; then
17034 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17035 cat confcache >$cache_file
17037 echo "not updating unwritable cache $cache_file"
17042 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17043 # Let make expand exec_prefix.
17044 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17046 # VPATH may cause trouble with some makes, so we remove $(srcdir),
17047 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
17048 # trailing colons and then remove the whole line if VPATH becomes empty
17049 # (actually we leave an empty line to preserve line numbers).
17050 if test "x$srcdir" = x.; then
17051 ac_vpsub='/^[ ]*VPATH[ ]*=/{
17052 s/:*\$(srcdir):*/:/;
17053 s/:*\${srcdir}:*/:/;
17055 s/^\([^=]*=[ ]*\):*/\1/;
17061 DEFS=-DHAVE_CONFIG_H
17065 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17066 # 1. Remove the extension, and $U if already installed.
17067 ac_i=`echo "$ac_i" |
17068 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
17070 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
17071 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
17073 LIBOBJS=$ac_libobjs
17075 LTLIBOBJS=$ac_ltlibobjs
17079 : ${CONFIG_STATUS=./config.status}
17080 ac_clean_files_save=$ac_clean_files
17081 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17082 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
17083 echo "$as_me: creating $CONFIG_STATUS" >&6;}
17084 cat >$CONFIG_STATUS <<_ACEOF
17086 # Generated by $as_me.
17087 # Run this file to recreate the current configuration.
17088 # Compiler output produced by configure, useful for debugging
17089 # configure, is in config.log if it exists.
17092 ac_cs_recheck=false
17094 SHELL=\${CONFIG_SHELL-$SHELL}
17097 cat >>$CONFIG_STATUS <<\_ACEOF
17098 ## --------------------- ##
17099 ## M4sh Initialization. ##
17100 ## --------------------- ##
17102 # Be Bourne compatible
17103 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17106 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17107 # is contrary to our usage. Disable this feature.
17108 alias -g '${1+"$@"}'='"$@"'
17109 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
17113 # Support unset when possible.
17114 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
17121 # Work around bugs in pre-3.0 UWIN ksh.
17122 $as_unset ENV MAIL MAILPATH
17129 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
17130 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
17131 LC_TELEPHONE LC_TIME
17133 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
17134 eval $as_var=C; export $as_var
17140 # Required to use basename.
17141 if expr a : '\(a\)' >/dev/null 2>&1; then
17147 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
17148 as_basename=basename
17154 # Name of the executable.
17155 as_me=`$as_basename "$0" ||
17156 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17157 X"$0" : 'X\(//\)$' \| \
17158 X"$0" : 'X\(/\)$' \| \
17159 . : '\(.\)' 2>/dev/null ||
17161 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
17162 /^X\/\(\/\/\)$/{ s//\1/; q; }
17163 /^X\/\(\/\).*/{ s//\1/; q; }
17167 # PATH needs CR, and LINENO needs CR and PATH.
17168 # Avoid depending upon Character Ranges.
17169 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17170 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17171 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17172 as_cr_digits='0123456789'
17173 as_cr_alnum=$as_cr_Letters$as_cr_digits
17175 # The user is always right.
17176 if test "${PATH_SEPARATOR+set}" != set; then
17177 echo "#! /bin/sh" >conf$$.sh
17178 echo "exit 0" >>conf$$.sh
17180 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
17189 as_lineno_1=$LINENO
17190 as_lineno_2=$LINENO
17191 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
17192 test "x$as_lineno_1" != "x$as_lineno_2" &&
17193 test "x$as_lineno_3" = "x$as_lineno_2" || {
17194 # Find who we are. Look in the path if we contain no path at all
17197 *[\\/]* ) as_myself=$0 ;;
17198 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17199 for as_dir in $PATH
17202 test -z "$as_dir" && as_dir=.
17203 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17208 # We did not find ourselves, most probably we were run as `sh COMMAND'
17209 # in which case we are not to be found in the path.
17210 if test "x$as_myself" = x; then
17213 if test ! -f "$as_myself"; then
17214 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
17215 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
17216 { (exit 1); exit 1; }; }
17218 case $CONFIG_SHELL in
17220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17221 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
17224 test -z "$as_dir" && as_dir=.
17225 for as_base in sh bash ksh sh5; do
17228 if ("$as_dir/$as_base" -c '
17229 as_lineno_1=$LINENO
17230 as_lineno_2=$LINENO
17231 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
17232 test "x$as_lineno_1" != "x$as_lineno_2" &&
17233 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
17234 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
17235 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
17236 CONFIG_SHELL=$as_dir/$as_base
17237 export CONFIG_SHELL
17238 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
17246 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
17247 # uniformly replaced by the line number. The first 'sed' inserts a
17248 # line-number line before each line; the second 'sed' does the real
17249 # work. The second script uses 'N' to pair each line-number line
17250 # with the numbered line, and appends trailing '-' during
17251 # substitution so that $LINENO is not a special case at line end.
17252 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
17253 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
17254 sed '=' <$as_myself |
17259 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
17262 s,^['$as_cr_digits']*\n,,
17263 ' >$as_me.lineno &&
17264 chmod +x $as_me.lineno ||
17265 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
17266 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
17267 { (exit 1); exit 1; }; }
17269 # Don't try to exec as it changes $[0], causing all sort of problems
17270 # (the dirname of $[0] is not the place where we might find the
17271 # original and so on. Autoconf is especially sensible to this).
17273 # Exit status is that of the last command.
17278 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
17279 *c*,-n*) ECHO_N= ECHO_C='
17281 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
17282 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
17285 if expr a : '\(a\)' >/dev/null 2>&1; then
17291 rm -f conf$$ conf$$.exe conf$$.file
17293 if ln -s conf$$.file conf$$ 2>/dev/null; then
17294 # We could just check for DJGPP; but this test a) works b) is more generic
17295 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
17296 if test -f conf$$.exe; then
17297 # Don't use ln at all; we don't have any links
17302 elif ln conf$$.file conf$$ 2>/dev/null; then
17307 rm -f conf$$ conf$$.exe conf$$.file
17309 if mkdir -p . 2>/dev/null; then
17315 as_executable_p="test -f"
17317 # Sed expression to map a string onto a valid CPP name.
17318 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
17320 # Sed expression to map a string onto a valid variable name.
17321 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
17325 # We need space, tab and new line, in precisely that order.
17335 # Open the log real soon, to keep \$[0] and so on meaningful, and to
17336 # report actual input values of CONFIG_FILES etc. instead of their
17337 # values after options handling. Logging --version etc. is OK.
17341 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17342 ## Running $as_me. ##
17347 This file was extended by Wine $as_me 20031016, which was
17348 generated by GNU Autoconf 2.57. Invocation command line was
17350 CONFIG_FILES = $CONFIG_FILES
17351 CONFIG_HEADERS = $CONFIG_HEADERS
17352 CONFIG_LINKS = $CONFIG_LINKS
17353 CONFIG_COMMANDS = $CONFIG_COMMANDS
17357 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
17361 # Files that config.status was made for.
17362 if test -n "$ac_config_files"; then
17363 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
17366 if test -n "$ac_config_headers"; then
17367 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
17370 if test -n "$ac_config_links"; then
17371 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
17374 if test -n "$ac_config_commands"; then
17375 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
17378 cat >>$CONFIG_STATUS <<\_ACEOF
17381 \`$as_me' instantiates files from templates according to the
17382 current configuration.
17384 Usage: $0 [OPTIONS] [FILE]...
17386 -h, --help print this help, then exit
17387 -V, --version print version number, then exit
17388 -q, --quiet do not print progress messages
17389 -d, --debug don't remove temporary files
17390 --recheck update $as_me by reconfiguring in the same conditions
17391 --file=FILE[:TEMPLATE]
17392 instantiate the configuration file FILE
17393 --header=FILE[:TEMPLATE]
17394 instantiate the configuration header FILE
17396 Configuration files:
17399 Configuration headers:
17402 Configuration commands:
17405 Report bugs to <bug-autoconf@gnu.org>."
17408 cat >>$CONFIG_STATUS <<_ACEOF
17410 Wine config.status 20031016
17411 configured by $0, generated by GNU Autoconf 2.57,
17412 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
17414 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
17415 Free Software Foundation, Inc.
17416 This config.status script is free software; the Free Software Foundation
17417 gives unlimited permission to copy, distribute and modify it."
17422 cat >>$CONFIG_STATUS <<\_ACEOF
17423 # If no file are specified by the user, then we need to provide default
17424 # value. By we need to know if files were specified by the user.
17430 ac_option=`expr "x$1" : 'x\([^=]*\)='`
17431 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
17439 *) # This is not an option, so the user has probably given explicit
17442 ac_need_defaults=false;;
17446 # Handling of the options.
17448 cat >>$CONFIG_STATUS <<\_ACEOF
17449 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17451 --version | --vers* | -V )
17452 echo "$ac_cs_version"; exit 0 ;;
17454 # Conflict between --help and --header
17455 { { echo "$as_me:$LINENO: error: ambiguous option: $1
17456 Try \`$0 --help' for more information." >&5
17457 echo "$as_me: error: ambiguous option: $1
17458 Try \`$0 --help' for more information." >&2;}
17459 { (exit 1); exit 1; }; };;
17460 --help | --hel | -h )
17461 echo "$ac_cs_usage"; exit 0 ;;
17462 --debug | --d* | -d )
17464 --file | --fil | --fi | --f )
17466 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
17467 ac_need_defaults=false;;
17468 --header | --heade | --head | --hea )
17470 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
17471 ac_need_defaults=false;;
17472 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17473 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17476 # This is an error.
17477 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
17478 Try \`$0 --help' for more information." >&5
17479 echo "$as_me: error: unrecognized option: $1
17480 Try \`$0 --help' for more information." >&2;}
17481 { (exit 1); exit 1; }; } ;;
17483 *) ac_config_targets="$ac_config_targets $1" ;;
17489 ac_configure_extra_args=
17491 if $ac_cs_silent; then
17493 ac_configure_extra_args="$ac_configure_extra_args --silent"
17497 cat >>$CONFIG_STATUS <<_ACEOF
17498 if \$ac_cs_recheck; then
17499 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
17500 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17509 cat >>$CONFIG_STATUS <<\_ACEOF
17510 for ac_config_target in $ac_config_targets
17512 case "$ac_config_target" in
17513 # Handling of arguments.
17514 "Make.rules" ) CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
17515 "dlls/Makedll.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
17516 "dlls/Maketest.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
17517 "libs/Makelib.rules" ) CONFIG_FILES="$CONFIG_FILES libs/Makelib.rules" ;;
17518 "programs/Makeprog.rules" ) CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
17519 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17520 "dlls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
17521 "dlls/advapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
17522 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
17523 "dlls/avicap32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
17524 "dlls/avifil32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
17525 "dlls/cabinet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
17526 "dlls/capi2032/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
17527 "dlls/cfgmgr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
17528 "dlls/comcat/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
17529 "dlls/comctl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
17530 "dlls/comctl32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
17531 "dlls/commdlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/commdlg/Makefile" ;;
17532 "dlls/crtdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
17533 "dlls/crypt32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
17534 "dlls/ctl3d/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ctl3d/Makefile" ;;
17535 "dlls/d3d8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
17536 "dlls/d3d9/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
17537 "dlls/d3dim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
17538 "dlls/d3dx8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
17539 "dlls/dciman32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
17540 "dlls/ddraw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
17541 "dlls/devenum/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
17542 "dlls/dinput/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
17543 "dlls/dinput8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
17544 "dlls/dmband/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
17545 "dlls/dmcompos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
17546 "dlls/dmime/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
17547 "dlls/dmloader/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
17548 "dlls/dmscript/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
17549 "dlls/dmstyle/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
17550 "dlls/dmsynth/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
17551 "dlls/dmusic/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
17552 "dlls/dmusic32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
17553 "dlls/dplay/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
17554 "dlls/dplayx/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
17555 "dlls/dpnhpast/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
17556 "dlls/dsound/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
17557 "dlls/dsound/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
17558 "dlls/gdi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/Makefile" ;;
17559 "dlls/gdi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
17560 "dlls/glu32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
17561 "dlls/icmp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
17562 "dlls/imagehlp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
17563 "dlls/imm32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
17564 "dlls/iphlpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
17565 "dlls/kernel/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/Makefile" ;;
17566 "dlls/kernel/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
17567 "dlls/lzexpand/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
17568 "dlls/mapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
17569 "dlls/mpr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
17570 "dlls/msacm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/Makefile" ;;
17571 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
17572 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
17573 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
17574 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
17575 "dlls/msdmo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
17576 "dlls/mshtml/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
17577 "dlls/msi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
17578 "dlls/msimg32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
17579 "dlls/msisys/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msisys/Makefile" ;;
17580 "dlls/msnet32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
17581 "dlls/msvcrt/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
17582 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
17583 "dlls/msvcrt20/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
17584 "dlls/msvcrtd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
17585 "dlls/msvideo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvideo/Makefile" ;;
17586 "dlls/msvideo/msrle32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvideo/msrle32/Makefile" ;;
17587 "dlls/mswsock/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
17588 "dlls/netapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
17589 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
17590 "dlls/ntdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
17591 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
17592 "dlls/odbc32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
17593 "dlls/ole32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
17594 "dlls/oleacc/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
17595 "dlls/oleaut32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
17596 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
17597 "dlls/olecli/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olecli/Makefile" ;;
17598 "dlls/oledlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
17599 "dlls/olepro32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
17600 "dlls/olesvr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olesvr/Makefile" ;;
17601 "dlls/opengl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
17602 "dlls/psapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
17603 "dlls/qcap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
17604 "dlls/quartz/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
17605 "dlls/rasapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
17606 "dlls/richedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/richedit/Makefile" ;;
17607 "dlls/rpcrt4/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
17608 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
17609 "dlls/serialui/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
17610 "dlls/setupapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
17611 "dlls/shdocvw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
17612 "dlls/shell32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
17613 "dlls/shell32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
17614 "dlls/shfolder/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
17615 "dlls/shlwapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
17616 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
17617 "dlls/snmpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
17618 "dlls/sti/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
17619 "dlls/tapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
17620 "dlls/ttydrv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
17621 "dlls/twain/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/twain/Makefile" ;;
17622 "dlls/url/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
17623 "dlls/urlmon/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
17624 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
17625 "dlls/user/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/Makefile" ;;
17626 "dlls/user/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/tests/Makefile" ;;
17627 "dlls/uxtheme/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
17628 "dlls/version/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
17629 "dlls/win32s/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/win32s/Makefile" ;;
17630 "dlls/winaspi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winaspi/Makefile" ;;
17631 "dlls/winedos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
17632 "dlls/wineps/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wineps/Makefile" ;;
17633 "dlls/wininet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
17634 "dlls/wininet/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
17635 "dlls/winmm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
17636 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
17637 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
17638 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
17639 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
17640 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
17641 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
17642 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
17643 "dlls/winmm/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
17644 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
17645 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
17646 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
17647 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
17648 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
17649 "dlls/winmm/winejack/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
17650 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
17651 "dlls/winnls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winnls/Makefile" ;;
17652 "dlls/winsock/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/Makefile" ;;
17653 "dlls/winsock/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/tests/Makefile" ;;
17654 "dlls/winspool/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/Makefile" ;;
17655 "dlls/winspool/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/tests/Makefile" ;;
17656 "dlls/wintab32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
17657 "dlls/wintrust/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
17658 "dlls/wow32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
17659 "dlls/wsock32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
17660 "dlls/x11drv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/x11drv/Makefile" ;;
17661 "documentation/Makefile" ) CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
17662 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
17663 "libs/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
17664 "libs/port/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
17665 "libs/unicode/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/unicode/Makefile" ;;
17666 "libs/uuid/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/uuid/Makefile" ;;
17667 "libs/wine/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
17668 "libs/wpp/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
17669 "loader/Makefile" ) CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
17670 "programs/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
17671 "programs/avitools/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/avitools/Makefile" ;;
17672 "programs/clock/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
17673 "programs/cmdlgtst/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
17674 "programs/control/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
17675 "programs/expand/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
17676 "programs/notepad/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
17677 "programs/osversioncheck/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/osversioncheck/Makefile" ;;
17678 "programs/progman/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
17679 "programs/regapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regapi/Makefile" ;;
17680 "programs/regedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
17681 "programs/regsvr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
17682 "programs/regtest/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regtest/Makefile" ;;
17683 "programs/rpcss/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
17684 "programs/rundll32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
17685 "programs/start/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
17686 "programs/uninstaller/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
17687 "programs/view/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
17688 "programs/wcmd/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wcmd/Makefile" ;;
17689 "programs/wineboot/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
17690 "programs/winecfg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
17691 "programs/wineconsole/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
17692 "programs/winedbg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
17693 "programs/winefile/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
17694 "programs/winemenubuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
17695 "programs/winemine/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
17696 "programs/winepath/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
17697 "programs/winevdm/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
17698 "programs/winhelp/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
17699 "programs/winver/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
17700 "server/Makefile" ) CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
17701 "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
17702 "tools/widl/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
17703 "tools/winapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winapi/Makefile" ;;
17704 "tools/winebuild/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
17705 "tools/winedump/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
17706 "tools/winegcc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
17707 "tools/wmc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
17708 "tools/wrc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
17709 "controls" ) CONFIG_COMMANDS="$CONFIG_COMMANDS controls" ;;
17710 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
17711 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
17712 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
17713 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
17714 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
17715 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
17716 "dlls/dinput/joystick" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/dinput/joystick" ;;
17717 "dlls/dinput/keyboard" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/dinput/keyboard" ;;
17718 "dlls/dinput/mouse" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/dinput/mouse" ;;
17719 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
17720 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
17721 "dlls/kernel/messages" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel/messages" ;;
17722 "dlls/user/dde" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/dde" ;;
17723 "dlls/user/resources" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/resources" ;;
17724 "dlls/wineps/data" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps/data" ;;
17725 "files" ) CONFIG_COMMANDS="$CONFIG_COMMANDS files" ;;
17726 "graphics" ) CONFIG_COMMANDS="$CONFIG_COMMANDS graphics" ;;
17727 "graphics/x11drv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS graphics/x11drv" ;;
17728 "include/wine" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
17729 "memory" ) CONFIG_COMMANDS="$CONFIG_COMMANDS memory" ;;
17730 "misc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS misc" ;;
17731 "msdos" ) CONFIG_COMMANDS="$CONFIG_COMMANDS msdos" ;;
17732 "objects" ) CONFIG_COMMANDS="$CONFIG_COMMANDS objects" ;;
17733 "programs/regapi/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS programs/regapi/tests" ;;
17734 "programs/regedit/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS programs/regedit/tests" ;;
17735 "windows" ) CONFIG_COMMANDS="$CONFIG_COMMANDS windows" ;;
17736 "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
17737 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
17738 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
17739 { (exit 1); exit 1; }; };;
17743 # If the user did not use the arguments to specify the items to instantiate,
17744 # then the envvar interface is used. Set only those that are not.
17745 # We use the long form for the default assignment because of an extremely
17746 # bizarre bug on SunOS 4.1.3.
17747 if $ac_need_defaults; then
17748 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17749 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17750 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17753 # Have a temporary directory for convenience. Make it in the build tree
17754 # simply because there is no reason to put it here, and in addition,
17755 # creating and moving files from /tmp can sometimes cause problems.
17756 # Create a temporary directory, and hook for its removal unless debugging.
17759 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
17760 trap '{ (exit 1); exit 1; }' 1 2 13 15
17763 # Create a (secure) tmp directory for tmp files.
17766 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
17767 test -n "$tmp" && test -d "$tmp"
17770 tmp=./confstat$$-$RANDOM
17771 (umask 077 && mkdir $tmp)
17774 echo "$me: cannot create a temporary directory in ." >&2
17775 { (exit 1); exit 1; }
17780 cat >>$CONFIG_STATUS <<_ACEOF
17783 # CONFIG_FILES section.
17786 # No need to generate the scripts if there are no CONFIG_FILES.
17787 # This happens for instance when ./config.status config.h
17788 if test -n "\$CONFIG_FILES"; then
17789 # Protect against being on the right side of a sed subst in config.status.
17790 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
17791 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
17792 s,@SHELL@,$SHELL,;t t
17793 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
17794 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
17795 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
17796 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
17797 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
17798 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
17799 s,@exec_prefix@,$exec_prefix,;t t
17800 s,@prefix@,$prefix,;t t
17801 s,@program_transform_name@,$program_transform_name,;t t
17802 s,@bindir@,$bindir,;t t
17803 s,@sbindir@,$sbindir,;t t
17804 s,@libexecdir@,$libexecdir,;t t
17805 s,@datadir@,$datadir,;t t
17806 s,@sysconfdir@,$sysconfdir,;t t
17807 s,@sharedstatedir@,$sharedstatedir,;t t
17808 s,@localstatedir@,$localstatedir,;t t
17809 s,@libdir@,$libdir,;t t
17810 s,@includedir@,$includedir,;t t
17811 s,@oldincludedir@,$oldincludedir,;t t
17812 s,@infodir@,$infodir,;t t
17813 s,@mandir@,$mandir,;t t
17814 s,@build_alias@,$build_alias,;t t
17815 s,@host_alias@,$host_alias,;t t
17816 s,@target_alias@,$target_alias,;t t
17817 s,@DEFS@,$DEFS,;t t
17818 s,@ECHO_C@,$ECHO_C,;t t
17819 s,@ECHO_N@,$ECHO_N,;t t
17820 s,@ECHO_T@,$ECHO_T,;t t
17821 s,@LIBS@,$LIBS,;t t
17822 s,@WIN16_FILES@,$WIN16_FILES,;t t
17823 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
17824 s,@MAIN_BINARY@,$MAIN_BINARY,;t t
17825 s,@build@,$build,;t t
17826 s,@build_cpu@,$build_cpu,;t t
17827 s,@build_vendor@,$build_vendor,;t t
17828 s,@build_os@,$build_os,;t t
17829 s,@host@,$host,;t t
17830 s,@host_cpu@,$host_cpu,;t t
17831 s,@host_vendor@,$host_vendor,;t t
17832 s,@host_os@,$host_os,;t t
17833 s,@SET_MAKE@,$SET_MAKE,;t t
17835 s,@CFLAGS@,$CFLAGS,;t t
17836 s,@LDFLAGS@,$LDFLAGS,;t t
17837 s,@CPPFLAGS@,$CPPFLAGS,;t t
17838 s,@ac_ct_CC@,$ac_ct_CC,;t t
17839 s,@EXEEXT@,$EXEEXT,;t t
17840 s,@OBJEXT@,$OBJEXT,;t t
17842 s,@TOOLSDIR@,$TOOLSDIR,;t t
17843 s,@X_CFLAGS@,$X_CFLAGS,;t t
17844 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
17845 s,@X_LIBS@,$X_LIBS,;t t
17846 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
17847 s,@YACC@,$YACC,;t t
17849 s,@LEXLIB@,$LEXLIB,;t t
17850 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
17851 s,@XYACC@,$XYACC,;t t
17852 s,@XLEX@,$XLEX,;t t
17854 s,@ac_ct_AS@,$ac_ct_AS,;t t
17856 s,@ac_ct_LD@,$ac_ct_LD,;t t
17858 s,@ac_ct_AR@,$ac_ct_AR,;t t
17859 s,@RANLIB@,$RANLIB,;t t
17860 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
17861 s,@STRIP@,$STRIP,;t t
17862 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
17863 s,@WINDRES@,$WINDRES,;t t
17864 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
17865 s,@LN_S@,$LN_S,;t t
17867 s,@LDCONFIG@,$LDCONFIG,;t t
17868 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
17869 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
17870 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
17871 s,@LINT@,$LINT,;t t
17872 s,@LINTFLAGS@,$LINTFLAGS,;t t
17873 s,@DB2HTML@,$DB2HTML,;t t
17874 s,@DB2PDF@,$DB2PDF,;t t
17875 s,@DB2PS@,$DB2PS,;t t
17876 s,@DB2TXT@,$DB2TXT,;t t
17877 s,@LIBPTHREAD@,$LIBPTHREAD,;t t
17878 s,@JPEGLIB@,$JPEGLIB,;t t
17879 s,@EGREP@,$EGREP,;t t
17880 s,@GIFLIB@,$GIFLIB,;t t
17881 s,@XLIB@,$XLIB,;t t
17882 s,@XFILES@,$XFILES,;t t
17883 s,@OPENGLFILES@,$OPENGLFILES,;t t
17884 s,@GLU32FILES@,$GLU32FILES,;t t
17885 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
17886 s,@NASLIBS@,$NASLIBS,;t t
17887 s,@CURSESLIBS@,$CURSESLIBS,;t t
17888 s,@sane_devel@,$sane_devel,;t t
17889 s,@SANELIBS@,$SANELIBS,;t t
17890 s,@SANEINCL@,$SANEINCL,;t t
17891 s,@ICULIBS@,$ICULIBS,;t t
17892 s,@ft_devel@,$ft_devel,;t t
17893 s,@ft_devel2@,$ft_devel2,;t t
17894 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
17895 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
17896 s,@ARTSLIBS@,$ARTSLIBS,;t t
17897 s,@ARTSINCL@,$ARTSINCL,;t t
17898 s,@ALSALIBS@,$ALSALIBS,;t t
17899 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
17900 s,@CAPI4LINUXLIBS@,$CAPI4LINUXLIBS,;t t
17901 s,@EXTRACFLAGS@,$EXTRACFLAGS,;t t
17902 s,@DLLEXT@,$DLLEXT,;t t
17903 s,@DLLFLAGS@,$DLLFLAGS,;t t
17904 s,@DLLIBS@,$DLLIBS,;t t
17905 s,@LDSHARED@,$LDSHARED,;t t
17906 s,@LDDLL@,$LDDLL,;t t
17907 s,@LIBEXT@,$LIBEXT,;t t
17908 s,@IMPLIBEXT@,$IMPLIBEXT,;t t
17909 s,@DLLTOOL@,$DLLTOOL,;t t
17910 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
17911 s,@DLLWRAP@,$DLLWRAP,;t t
17912 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
17913 s,@LDEXECFLAGS@,$LDEXECFLAGS,;t t
17914 s,@CROSSTEST@,$CROSSTEST,;t t
17915 s,@CROSSCC@,$CROSSCC,;t t
17916 s,@CROSSWINDRES@,$CROSSWINDRES,;t t
17917 s,@LDPATH@,$LDPATH,;t t
17918 s,@CRTLIBS@,$CRTLIBS,;t t
17920 s,@ALLOCA@,$ALLOCA,;t t
17921 s,@LIBOBJS@,$LIBOBJS,;t t
17922 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
17923 /@MAKE_RULES@/r $MAKE_RULES
17924 s,@MAKE_RULES@,,;t t
17925 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
17926 s,@MAKE_DLL_RULES@,,;t t
17927 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
17928 s,@MAKE_TEST_RULES@,,;t t
17929 /@MAKE_LIB_RULES@/r $MAKE_LIB_RULES
17930 s,@MAKE_LIB_RULES@,,;t t
17931 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
17932 s,@MAKE_PROG_RULES@,,;t t
17937 cat >>$CONFIG_STATUS <<\_ACEOF
17938 # Split the substitutions into bite-sized pieces for seds with
17939 # small command number limits, like on Digital OSF/1 and HP-UX.
17940 ac_max_sed_lines=48
17941 ac_sed_frag=1 # Number of current file.
17942 ac_beg=1 # First line for current file.
17943 ac_end=$ac_max_sed_lines # Line after last line for current file.
17946 while $ac_more_lines; do
17947 if test $ac_beg -gt 1; then
17948 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
17950 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
17952 if test ! -s $tmp/subs.frag; then
17953 ac_more_lines=false
17955 # The purpose of the label and of the branching condition is to
17956 # speed up the sed processing (if there are no `@' at all, there
17957 # is no need to browse any of the substitutions).
17958 # These are the two extra sed commands mentioned above.
17960 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
17961 if test -z "$ac_sed_cmds"; then
17962 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
17964 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
17966 ac_sed_frag=`expr $ac_sed_frag + 1`
17968 ac_end=`expr $ac_end + $ac_max_sed_lines`
17971 if test -z "$ac_sed_cmds"; then
17974 fi # test -n "$CONFIG_FILES"
17977 cat >>$CONFIG_STATUS <<\_ACEOF
17978 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
17979 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17981 - | *:- | *:-:* ) # input from stdin
17983 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
17984 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
17985 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
17986 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
17987 * ) ac_file_in=$ac_file.in ;;
17990 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
17991 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
17992 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17993 X"$ac_file" : 'X\(//\)[^/]' \| \
17994 X"$ac_file" : 'X\(//\)$' \| \
17995 X"$ac_file" : 'X\(/\)' \| \
17996 . : '\(.\)' 2>/dev/null ||
17998 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17999 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18000 /^X\(\/\/\)$/{ s//\1/; q; }
18001 /^X\(\/\).*/{ s//\1/; q; }
18003 { if $as_mkdir_p; then
18008 while test ! -d "$as_dir"; do
18009 as_dirs="$as_dir $as_dirs"
18010 as_dir=`(dirname "$as_dir") 2>/dev/null ||
18011 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18012 X"$as_dir" : 'X\(//\)[^/]' \| \
18013 X"$as_dir" : 'X\(//\)$' \| \
18014 X"$as_dir" : 'X\(/\)' \| \
18015 . : '\(.\)' 2>/dev/null ||
18017 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18018 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18019 /^X\(\/\/\)$/{ s//\1/; q; }
18020 /^X\(\/\).*/{ s//\1/; q; }
18023 test ! -n "$as_dirs" || mkdir $as_dirs
18024 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18025 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18026 { (exit 1); exit 1; }; }; }
18030 if test "$ac_dir" != .; then
18031 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
18032 # A "../" for each directory in $ac_dir_suffix.
18033 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
18035 ac_dir_suffix= ac_top_builddir=
18039 .) # No --srcdir option. We are building in place.
18041 if test -z "$ac_top_builddir"; then
18044 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
18046 [\\/]* | ?:[\\/]* ) # Absolute path.
18047 ac_srcdir=$srcdir$ac_dir_suffix;
18048 ac_top_srcdir=$srcdir ;;
18049 *) # Relative path.
18050 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
18051 ac_top_srcdir=$ac_top_builddir$srcdir ;;
18053 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
18055 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
18056 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
18057 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
18058 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
18062 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18063 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
18066 if test x"$ac_file" != x-; then
18067 { echo "$as_me:$LINENO: creating $ac_file" >&5
18068 echo "$as_me: creating $ac_file" >&6;}
18071 # Let's still pretend it is `configure' which instantiates (i.e., don't
18072 # use $as_me), people would be surprised to read:
18073 # /* config.h. Generated by config.status. */
18074 if test x"$ac_file" = x-; then
18077 configure_input="$ac_file. "
18079 configure_input=$configure_input"Generated from `echo $ac_file_in |
18080 sed 's,.*/,,'` by configure."
18082 # First look for the input files in the build tree, otherwise in the
18084 ac_file_inputs=`IFS=:
18085 for f in $ac_file_in; do
18087 -) echo $tmp/stdin ;;
18089 # Absolute (can't be DOS-style, as IFS=:)
18090 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18091 echo "$as_me: error: cannot find input file: $f" >&2;}
18092 { (exit 1); exit 1; }; }
18095 if test -f "$f"; then
18098 elif test -f "$srcdir/$f"; then
18103 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18104 echo "$as_me: error: cannot find input file: $f" >&2;}
18105 { (exit 1); exit 1; }; }
18108 done` || { (exit 1); exit 1; }
18110 cat >>$CONFIG_STATUS <<_ACEOF
18114 cat >>$CONFIG_STATUS <<\_ACEOF
18116 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18117 s,@configure_input@,$configure_input,;t t
18118 s,@srcdir@,$ac_srcdir,;t t
18119 s,@abs_srcdir@,$ac_abs_srcdir,;t t
18120 s,@top_srcdir@,$ac_top_srcdir,;t t
18121 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
18122 s,@builddir@,$ac_builddir,;t t
18123 s,@abs_builddir@,$ac_abs_builddir,;t t
18124 s,@top_builddir@,$ac_top_builddir,;t t
18125 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
18126 s,@INSTALL@,$ac_INSTALL,;t t
18127 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
18129 if test x"$ac_file" != x-; then
18130 mv $tmp/out $ac_file
18138 cat >>$CONFIG_STATUS <<\_ACEOF
18141 # CONFIG_HEADER section.
18144 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18145 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18147 # ac_d sets the value in "#define NAME VALUE" lines.
18148 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18149 ac_dB='[ ].*$,\1#\2'
18152 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18153 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18154 ac_uB='$,\1#\2define\3'
18158 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
18159 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18161 - | *:- | *:-:* ) # input from stdin
18163 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
18164 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
18165 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
18166 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
18167 * ) ac_file_in=$ac_file.in ;;
18170 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
18171 echo "$as_me: creating $ac_file" >&6;}
18173 # First look for the input files in the build tree, otherwise in the
18175 ac_file_inputs=`IFS=:
18176 for f in $ac_file_in; do
18178 -) echo $tmp/stdin ;;
18180 # Absolute (can't be DOS-style, as IFS=:)
18181 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18182 echo "$as_me: error: cannot find input file: $f" >&2;}
18183 { (exit 1); exit 1; }; }
18186 if test -f "$f"; then
18189 elif test -f "$srcdir/$f"; then
18194 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18195 echo "$as_me: error: cannot find input file: $f" >&2;}
18196 { (exit 1); exit 1; }; }
18199 done` || { (exit 1); exit 1; }
18200 # Remove the trailing spaces.
18201 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
18205 # Transform confdefs.h into two sed scripts, `conftest.defines' and
18206 # `conftest.undefs', that substitutes the proper values into
18207 # config.h.in to produce config.h. The first handles `#define'
18208 # templates, and the second `#undef' templates.
18209 # And first: Protect against being on the right side of a sed subst in
18210 # config.status. Protect against being in an unquoted here document
18211 # in config.status.
18212 rm -f conftest.defines conftest.undefs
18213 # Using a here document instead of a string reduces the quoting nightmare.
18214 # Putting comments in sed scripts is not portable.
18216 # `end' is used to avoid that the second main sed command (meant for
18217 # 0-ary CPP macros) applies to n-ary macro definitions.
18218 # See the Autoconf documentation for `clear'.
18219 cat >confdef2sed.sed <<\_ACEOF
18224 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
18226 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
18229 # If some macros were called several times there might be several times
18230 # the same #defines, which is useless. Nevertheless, we may not want to
18231 # sort them, since we want the *last* AC-DEFINE to be honored.
18232 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
18233 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
18234 rm -f confdef2sed.sed
18236 # This sed command replaces #undef with comments. This is necessary, for
18237 # example, in the case of _POSIX_SOURCE, which is predefined and required
18238 # on some systems where configure will not decide to define it.
18239 cat >>conftest.undefs <<\_ACEOF
18240 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
18243 # Break up conftest.defines because some shells have a limit on the size
18244 # of here documents, and old seds have small limits too (100 cmds).
18245 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
18246 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
18247 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
18248 echo ' :' >>$CONFIG_STATUS
18249 rm -f conftest.tail
18250 while grep . conftest.defines >/dev/null
18252 # Write a limited-size here document to $tmp/defines.sed.
18253 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
18254 # Speed up: don't consider the non `#define' lines.
18255 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
18256 # Work around the forget-to-reset-the-flag bug.
18257 echo 't clr' >>$CONFIG_STATUS
18258 echo ': clr' >>$CONFIG_STATUS
18259 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
18261 sed -f $tmp/defines.sed $tmp/in >$tmp/out
18263 mv $tmp/out $tmp/in
18265 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
18266 rm -f conftest.defines
18267 mv conftest.tail conftest.defines
18269 rm -f conftest.defines
18270 echo ' fi # grep' >>$CONFIG_STATUS
18271 echo >>$CONFIG_STATUS
18273 # Break up conftest.undefs because some shells have a limit on the size
18274 # of here documents, and old seds have small limits too (100 cmds).
18275 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
18276 rm -f conftest.tail
18277 while grep . conftest.undefs >/dev/null
18279 # Write a limited-size here document to $tmp/undefs.sed.
18280 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
18281 # Speed up: don't consider the non `#undef'
18282 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
18283 # Work around the forget-to-reset-the-flag bug.
18284 echo 't clr' >>$CONFIG_STATUS
18285 echo ': clr' >>$CONFIG_STATUS
18286 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
18288 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
18290 mv $tmp/out $tmp/in
18292 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
18293 rm -f conftest.undefs
18294 mv conftest.tail conftest.undefs
18296 rm -f conftest.undefs
18298 cat >>$CONFIG_STATUS <<\_ACEOF
18299 # Let's still pretend it is `configure' which instantiates (i.e., don't
18300 # use $as_me), people would be surprised to read:
18301 # /* config.h. Generated by config.status. */
18302 if test x"$ac_file" = x-; then
18303 echo "/* Generated by configure. */" >$tmp/config.h
18305 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
18307 cat $tmp/in >>$tmp/config.h
18309 if test x"$ac_file" != x-; then
18310 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
18311 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
18312 echo "$as_me: $ac_file is unchanged" >&6;}
18314 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
18315 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18316 X"$ac_file" : 'X\(//\)[^/]' \| \
18317 X"$ac_file" : 'X\(//\)$' \| \
18318 X"$ac_file" : 'X\(/\)' \| \
18319 . : '\(.\)' 2>/dev/null ||
18321 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18322 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18323 /^X\(\/\/\)$/{ s//\1/; q; }
18324 /^X\(\/\).*/{ s//\1/; q; }
18326 { if $as_mkdir_p; then
18331 while test ! -d "$as_dir"; do
18332 as_dirs="$as_dir $as_dirs"
18333 as_dir=`(dirname "$as_dir") 2>/dev/null ||
18334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18335 X"$as_dir" : 'X\(//\)[^/]' \| \
18336 X"$as_dir" : 'X\(//\)$' \| \
18337 X"$as_dir" : 'X\(/\)' \| \
18338 . : '\(.\)' 2>/dev/null ||
18340 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18341 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18342 /^X\(\/\/\)$/{ s//\1/; q; }
18343 /^X\(\/\).*/{ s//\1/; q; }
18346 test ! -n "$as_dirs" || mkdir $as_dirs
18347 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18348 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18349 { (exit 1); exit 1; }; }; }
18352 mv $tmp/config.h $ac_file
18356 rm -f $tmp/config.h
18360 cat >>$CONFIG_STATUS <<\_ACEOF
18363 # CONFIG_COMMANDS section.
18365 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
18366 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
18367 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
18368 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
18369 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18370 X"$ac_dest" : 'X\(//\)[^/]' \| \
18371 X"$ac_dest" : 'X\(//\)$' \| \
18372 X"$ac_dest" : 'X\(/\)' \| \
18373 . : '\(.\)' 2>/dev/null ||
18375 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18376 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18377 /^X\(\/\/\)$/{ s//\1/; q; }
18378 /^X\(\/\).*/{ s//\1/; q; }
18382 if test "$ac_dir" != .; then
18383 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
18384 # A "../" for each directory in $ac_dir_suffix.
18385 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
18387 ac_dir_suffix= ac_top_builddir=
18391 .) # No --srcdir option. We are building in place.
18393 if test -z "$ac_top_builddir"; then
18396 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
18398 [\\/]* | ?:[\\/]* ) # Absolute path.
18399 ac_srcdir=$srcdir$ac_dir_suffix;
18400 ac_top_srcdir=$srcdir ;;
18401 *) # Relative path.
18402 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
18403 ac_top_srcdir=$ac_top_builddir$srcdir ;;
18405 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
18407 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
18408 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
18409 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
18410 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
18413 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
18414 echo "$as_me: executing $ac_dest commands" >&6;}
18416 controls ) test -d "controls" || ({ echo "$as_me:$LINENO: creating controls" >&5
18417 echo "$as_me: creating controls" >&6;} && mkdir "controls") ;;
18418 dlls/ddraw/d3ddevice ) test -d "dlls/ddraw/d3ddevice" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/d3ddevice" >&5
18419 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir "dlls/ddraw/d3ddevice") ;;
18420 dlls/ddraw/dclipper ) test -d "dlls/ddraw/dclipper" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dclipper" >&5
18421 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir "dlls/ddraw/dclipper") ;;
18422 dlls/ddraw/ddraw ) test -d "dlls/ddraw/ddraw" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/ddraw" >&5
18423 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir "dlls/ddraw/ddraw") ;;
18424 dlls/ddraw/direct3d ) test -d "dlls/ddraw/direct3d" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/direct3d" >&5
18425 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir "dlls/ddraw/direct3d") ;;
18426 dlls/ddraw/dpalette ) test -d "dlls/ddraw/dpalette" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dpalette" >&5
18427 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir "dlls/ddraw/dpalette") ;;
18428 dlls/ddraw/dsurface ) test -d "dlls/ddraw/dsurface" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dsurface" >&5
18429 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir "dlls/ddraw/dsurface") ;;
18430 dlls/dinput/joystick ) test -d "dlls/dinput/joystick" || ({ echo "$as_me:$LINENO: creating dlls/dinput/joystick" >&5
18431 echo "$as_me: creating dlls/dinput/joystick" >&6;} && mkdir "dlls/dinput/joystick") ;;
18432 dlls/dinput/keyboard ) test -d "dlls/dinput/keyboard" || ({ echo "$as_me:$LINENO: creating dlls/dinput/keyboard" >&5
18433 echo "$as_me: creating dlls/dinput/keyboard" >&6;} && mkdir "dlls/dinput/keyboard") ;;
18434 dlls/dinput/mouse ) test -d "dlls/dinput/mouse" || ({ echo "$as_me:$LINENO: creating dlls/dinput/mouse" >&5
18435 echo "$as_me: creating dlls/dinput/mouse" >&6;} && mkdir "dlls/dinput/mouse") ;;
18436 dlls/gdi/enhmfdrv ) test -d "dlls/gdi/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
18437 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir "dlls/gdi/enhmfdrv") ;;
18438 dlls/gdi/mfdrv ) test -d "dlls/gdi/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
18439 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir "dlls/gdi/mfdrv") ;;
18440 dlls/kernel/messages ) test -d "dlls/kernel/messages" || ({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
18441 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir "dlls/kernel/messages") ;;
18442 dlls/user/dde ) test -d "dlls/user/dde" || ({ echo "$as_me:$LINENO: creating dlls/user/dde" >&5
18443 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir "dlls/user/dde") ;;
18444 dlls/user/resources ) test -d "dlls/user/resources" || ({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
18445 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir "dlls/user/resources") ;;
18446 dlls/wineps/data ) test -d "dlls/wineps/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
18447 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir "dlls/wineps/data") ;;
18448 files ) test -d "files" || ({ echo "$as_me:$LINENO: creating files" >&5
18449 echo "$as_me: creating files" >&6;} && mkdir "files") ;;
18450 graphics ) test -d "graphics" || ({ echo "$as_me:$LINENO: creating graphics" >&5
18451 echo "$as_me: creating graphics" >&6;} && mkdir "graphics") ;;
18452 graphics/x11drv ) test -d "graphics/x11drv" || ({ echo "$as_me:$LINENO: creating graphics/x11drv" >&5
18453 echo "$as_me: creating graphics/x11drv" >&6;} && mkdir "graphics/x11drv") ;;
18454 include/wine ) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
18455 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
18456 memory ) test -d "memory" || ({ echo "$as_me:$LINENO: creating memory" >&5
18457 echo "$as_me: creating memory" >&6;} && mkdir "memory") ;;
18458 misc ) test -d "misc" || ({ echo "$as_me:$LINENO: creating misc" >&5
18459 echo "$as_me: creating misc" >&6;} && mkdir "misc") ;;
18460 msdos ) test -d "msdos" || ({ echo "$as_me:$LINENO: creating msdos" >&5
18461 echo "$as_me: creating msdos" >&6;} && mkdir "msdos") ;;
18462 objects ) test -d "objects" || ({ echo "$as_me:$LINENO: creating objects" >&5
18463 echo "$as_me: creating objects" >&6;} && mkdir "objects") ;;
18464 programs/regapi/tests ) test -d "programs/regapi/tests" || ({ echo "$as_me:$LINENO: creating programs/regapi/tests" >&5
18465 echo "$as_me: creating programs/regapi/tests" >&6;} && mkdir "programs/regapi/tests") ;;
18466 programs/regedit/tests ) test -d "programs/regedit/tests" || ({ echo "$as_me:$LINENO: creating programs/regedit/tests" >&5
18467 echo "$as_me: creating programs/regedit/tests" >&6;} && mkdir "programs/regedit/tests") ;;
18468 windows ) test -d "windows" || ({ echo "$as_me:$LINENO: creating windows" >&5
18469 echo "$as_me: creating windows" >&6;} && mkdir "windows") ;;
18474 cat >>$CONFIG_STATUS <<\_ACEOF
18476 { (exit 0); exit 0; }
18478 chmod +x $CONFIG_STATUS
18479 ac_clean_files=$ac_clean_files_save
18482 # configure is writing to config.log, and then calls config.status.
18483 # config.status does its own redirection, appending to config.log.
18484 # Unfortunately, on DOS this fails, as config.log is still kept open
18485 # by configure, so config.status won't be able to write to it; its
18486 # output is simply discarded. So we exec the FD to /dev/null,
18487 # effectively closing config.log, so it can be properly (re)opened and
18488 # appended to by config.status. When coming back to configure, we
18489 # need to make the FD available again.
18490 if test "$no_create" != yes; then
18492 ac_config_status_args=
18493 test "$silent" = yes &&
18494 ac_config_status_args="$ac_config_status_args --quiet"
18496 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18498 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18499 # would make configure fail if this is the last instruction.
18500 $ac_cs_success || { (exit 1); exit 1; }
18504 if test "$have_x" = "no"
18507 echo "*** Warning: X development files not found. Wine will be built without"
18508 echo "*** X support, which currently does not work, and would probably not be"
18509 echo "*** what you want anyway. You will need to install devel packages of"
18510 echo "*** Xlib/Xfree86 at the very least."
18513 if test "$wine_cv_opengl_version_OK" = "no"
18516 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
18517 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
18520 if test "$wine_cv_msg_freetype" = "yes"
18523 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
18524 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
18525 echo "*** freetype-devel package (or its equivalent on your distribution) to"
18526 echo "*** enable Wine to use TrueType fonts."
18530 echo "Configure finished. Do 'make depend && make' to compile Wine."