2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57 for Wine 20021219.
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
='20021219'
270 PACKAGE_STRING
='Wine 20021219'
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 OPTIONS WIN16_FILES WIN16_INSTALL build build_cpu build_vendor build_os host host_cpu host_vendor host_os SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP TOOLSDIR X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS YACC LEX LEXLIB LEX_OUTPUT_ROOT XYACC XLEX LD ac_ct_LD AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES LN_S LN C2MAN LDCONFIG INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LINT LINTFLAGS DB2HTML DB2PDF DB2PS JPEGLIB EGREP XLIB XFILES OPENGLFILES GLU32FILES OPENGL_LIBS NASLIBS CURSESLIBS sane_devel SANELIBS SANEINCL ft_devel ft_devel2 FREETYPEINCL ARTSCCONFIG ARTSLIBS ARTSINCL ALSALIBS AUDIOIOLIBS DLLEXT DLLFLAGS DLLIBS LDDLLFLAGS LDSHARED LIBEXT IMPLIBEXT DLLTOOL ac_ct_DLLTOOL DLLWRAP ac_ct_DLLWRAP CROSSTEST CROSSCC LDPATH CRTLIBS LDD ALLOCA LIBOBJS LTLIBOBJS'
312 ac_subst_files
='MAKE_RULES MAKE_DLL_RULES MAKE_TEST_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 20021219 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 20021219:";;
850 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
851 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
852 --disable-win16 do not include Win16 support
853 --disable-debug compile out all debugging messages
854 --disable-trace compile out TRACE messages
857 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
858 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
859 --without-opengl do not use OpenGL
860 --without-curses do not use curses
861 --with-wine-tools=<dir
> use Wine tools from directory
<dir
>
862 --with-x use the X Window System
864 Some influential environment variables
:
865 CC C compiler
command
866 CFLAGS C compiler flags
867 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
868 nonstandard directory
<lib dir
>
869 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
870 headers
in a nonstandard directory
<include dir
>
873 Use these variables to override the choices made by
`configure' or to help
874 it to find libraries and programs with nonstandard names/locations.
879 if test "$ac_init_help" = "recursive"; then
880 # If there are subdirs, report their specific --help.
882 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
883 test -d $ac_dir || continue
886 if test "$ac_dir" != .; then
887 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
888 # A "../" for each directory in $ac_dir_suffix.
889 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
891 ac_dir_suffix= ac_top_builddir=
895 .) # No --srcdir option. We are building in place.
897 if test -z "$ac_top_builddir"; then
900 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
902 [\\/]* | ?:[\\/]* ) # Absolute path.
903 ac_srcdir=$srcdir$ac_dir_suffix;
904 ac_top_srcdir=$srcdir ;;
906 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
907 ac_top_srcdir=$ac_top_builddir$srcdir ;;
909 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
911 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
912 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}.
&& pwd`
913 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
914 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
917 # Check for guested configure; otherwise get Cygnus style configure.
918 if test -f $ac_srcdir/configure.gnu; then
920 $SHELL $ac_srcdir/configure.gnu --help=recursive
921 elif test -f $ac_srcdir/configure; then
923 $SHELL $ac_srcdir/configure --help=recursive
924 elif test -f $ac_srcdir/configure.ac ||
925 test -f $ac_srcdir/configure.in; then
929 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
935 test -n "$ac_init_help" && exit 0
936 if $ac_init_version; then
938 Wine configure 20021219
939 generated by GNU Autoconf 2.57
941 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
942 Free Software Foundation, Inc.
943 This configure script is free software; the Free Software Foundation
944 gives unlimited permission to copy, distribute and modify it.
950 This file contains any messages produced by compilers while
951 running configure, to aid debugging if configure makes a mistake.
953 It was created by Wine $as_me 20021219, which was
954 generated by GNU Autoconf 2.57. Invocation command line was
965 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
966 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
967 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
968 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
969 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
971 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
972 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
974 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
975 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
976 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
977 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
978 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
979 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
980 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
988 test -z "$as_dir" && as_dir=.
1004 # Keep a trace of the command line.
1005 # Strip out --no-create and --no-recursion so they do not pile up.
1006 # Strip out --silent because we don't want to record it for future runs.
1007 # Also quote any args containing shell meta-characters.
1008 # Make two passes to allow for proper duplicate-argument suppression.
1013 ac_must_keep_next=false
1019 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1020 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1021 | -silent | --silent | --silen | --sile | --sil)
1023 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1024 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1027 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1029 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1030 if test $ac_must_keep_next = true; then
1031 ac_must_keep_next=false # Got value, back to normal.
1034 *=* | --config-cache | -C | -disable-* | --disable-* \
1035 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1036 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1037 | -with-* | --with-* | -without-* | --without-* | --x)
1038 case "$ac_configure_args0 " in
1039 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1042 -* ) ac_must_keep_next=true ;;
1045 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1046 # Get rid of the leading space.
1052 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1053 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1055 # When interrupted or exit'd, cleanup temporary files, and complete
1056 # config.log. We remove comments because anyway the quotes in there
1057 # would cause problems or look ugly.
1058 # WARNING: Be sure not to use single quotes in there, as some shells,
1059 # such as our DU 5.0 friend, will then `close
' the trap.
1060 trap 'exit_status
=$?
1061 # Save into config.log some information that might help in debugging.
1066 ## ---------------- ##
1067 ## Cache variables. ##
1068 ## ---------------- ##
1071 # The following way of writing the cache mishandles newlines in values,
1074 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1077 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1078 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1082 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1089 ## ----------------- ##
1090 ## Output variables. ##
1091 ## ----------------- ##
1094 for ac_var
in $ac_subst_vars
1096 eval ac_val
=$
`echo $ac_var`
1097 echo "$ac_var='"'"'$ac_val'"'"'"
1101 if test -n "$ac_subst_files"; then
1108 for ac_var
in $ac_subst_files
1110 eval ac_val
=$
`echo $ac_var`
1111 echo "$ac_var='"'"'$ac_val'"'"'"
1116 if test -s confdefs.h
; then
1123 sed "/^$/d" confdefs.h |
sort
1126 test "$ac_signal" != 0 &&
1127 echo "$as_me: caught signal $ac_signal"
1128 echo "$as_me: exit $exit_status"
1130 rm -f core core.
* *.core
&&
1131 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1134 for ac_signal in 1 2 13 15; do
1135 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1139 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1140 rm -rf conftest* confdefs.h
1141 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1144 # Predefined preprocessor variables.
1146 cat >>confdefs.h <<_ACEOF
1147 #define PACKAGE_NAME "$PACKAGE_NAME"
1151 cat >>confdefs.h <<_ACEOF
1152 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1156 cat >>confdefs.h <<_ACEOF
1157 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1161 cat >>confdefs.h <<_ACEOF
1162 #define PACKAGE_STRING "$PACKAGE_STRING"
1166 cat >>confdefs.h <<_ACEOF
1167 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1171 # Let the site file select an alternate cache file if it wants to.
1172 # Prefer explicitly selected file to automatically selected ones.
1173 if test -z "$CONFIG_SITE"; then
1174 if test "x$prefix" != xNONE; then
1175 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1177 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1180 for ac_site_file in $CONFIG_SITE; do
1181 if test -r "$ac_site_file"; then
1182 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1183 echo "$as_me: loading site script $ac_site_file" >&6;}
1184 sed 's
/^
/|
/' "$ac_site_file" >&5
1189 if test -r "$cache_file"; then
1190 # Some versions of bash will fail to source /dev/null (special
1191 # files actually), so we avoid doing that.
1192 if test -f "$cache_file"; then
1193 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1194 echo "$as_me: loading cache $cache_file" >&6;}
1196 [\\/]* | ?:[\\/]* ) . $cache_file;;
1197 *) . ./$cache_file;;
1201 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1202 echo "$as_me: creating cache $cache_file" >&6;}
1206 # Check that the precious variables saved in the cache have kept the same
1208 ac_cache_corrupted=false
1209 for ac_var in `(set) 2>&1 |
1210 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1211 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1212 eval ac_new_set=\$ac_env_${ac_var}_set
1213 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1214 eval ac_new_val="\$ac_env_${ac_var}_value"
1215 case $ac_old_set,$ac_new_set in
1217 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1218 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1219 ac_cache_corrupted=: ;;
1221 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1222 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1223 ac_cache_corrupted=: ;;
1226 if test "x$ac_old_val" != "x$ac_new_val"; then
1227 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1228 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1229 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1230 echo "$as_me: former value: $ac_old_val" >&2;}
1231 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1232 echo "$as_me: current value: $ac_new_val" >&2;}
1233 ac_cache_corrupted=:
1236 # Pass precious variables to config.status.
1237 if test "$ac_new_set" = set; then
1239 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1240 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1241 *) ac_arg=$ac_var=$ac_new_val ;;
1243 case " $ac_configure_args " in
1244 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1245 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1249 if $ac_cache_corrupted; then
1250 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1251 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1252 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1253 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1254 { (exit 1); exit 1; }; }
1258 ac_cpp='$CPP $CPPFLAGS'
1259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1260 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1290 ac_config_headers="$ac_config_headers include/config.h"
1293 for ac_dir in tools $srcdir/tools; do
1294 if test -f $ac_dir/install-sh; then
1296 ac_install_sh="$ac_aux_dir/install-sh -c"
1298 elif test -f $ac_dir/install.sh; then
1300 ac_install_sh="$ac_aux_dir/install.sh -c"
1302 elif test -f $ac_dir/shtool; then
1304 ac_install_sh="$ac_aux_dir/shtool install -c"
1308 if test -z "$ac_aux_dir"; then
1309 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&5
1310 echo "$as_me: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&2;}
1311 { (exit 1); exit 1; }; }
1313 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1314 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1315 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1319 # Check whether --enable-win16 or --disable-win16 was given.
1320 if test "${enable_win16+set}" = set; then
1321 enableval="$enable_win16"
1324 # Check whether --enable-debug or --disable-debug was given.
1325 if test "${enable_debug+set}" = set; then
1326 enableval="$enable_debug"
1329 # Check whether --enable-trace or --disable-trace was given.
1330 if test "${enable_trace+set}" = set; then
1331 enableval="$enable_trace"
1336 # Check whether --with-opengl or --without-opengl was given.
1337 if test "${with_opengl+set}" = set; then
1338 withval="$with_opengl"
1342 # Check whether --with-curses or --without-curses was given.
1343 if test "${with_curses+set}" = set; then
1344 withval="$with_curses"
1348 # Check whether --with-wine-tools or --without-wine-tools was given.
1349 if test "${with_wine_tools+set}" = set; then
1350 withval="$with_wine_tools"
1355 WIN16_FILES="\$(WIN16_FILES)"
1357 WIN16_INSTALL="\$(WIN16_INSTALL)"
1359 if test "x$enable_win16" = "xno"
1364 if test "x$enable_debug" = "xno"
1367 cat >>confdefs.h <<\_ACEOF
1368 #define NO_DEBUG_MSGS 1
1372 if test "x$enable_trace" = "xno" -o "x$enable_debug" = "xno"
1375 cat >>confdefs.h <<\_ACEOF
1376 #define NO_TRACE_MSGS 1
1382 # Make sure we can run config.sub.
1383 $ac_config_sub sun4 >/dev/null 2>&1 ||
1384 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1385 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1386 { (exit 1); exit 1; }; }
1388 echo "$as_me:$LINENO: checking build system type" >&5
1389 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1390 if test "${ac_cv_build+set}" = set; then
1391 echo $ECHO_N "(cached) $ECHO_C" >&6
1393 ac_cv_build_alias=$build_alias
1394 test -z "$ac_cv_build_alias" &&
1395 ac_cv_build_alias=`$ac_config_guess`
1396 test -z "$ac_cv_build_alias" &&
1397 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1398 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1399 { (exit 1); exit 1; }; }
1400 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1401 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1402 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1403 { (exit 1); exit 1; }; }
1406 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1407 echo "${ECHO_T}$ac_cv_build" >&6
1409 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1410 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1411 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1414 echo "$as_me:$LINENO: checking host system type" >&5
1415 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1416 if test "${ac_cv_host+set}" = set; then
1417 echo $ECHO_N "(cached) $ECHO_C" >&6
1419 ac_cv_host_alias=$host_alias
1420 test -z "$ac_cv_host_alias" &&
1421 ac_cv_host_alias=$ac_cv_build_alias
1422 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1423 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1424 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1425 { (exit 1); exit 1; }; }
1428 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1429 echo "${ECHO_T}$ac_cv_host" >&6
1431 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1432 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1433 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1436 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1437 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1438 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y
,.
/+-,__p_
,'`
1439 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1440 echo $ECHO_N "(cached) $ECHO_C" >&6
1442 cat >conftest.make <<\_ACEOF
1444 @echo 'ac_maketemp
="$(MAKE)"'
1446 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1447 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1448 if test -n "$ac_maketemp"; then
1449 eval ac_cv_prog_make_${ac_make}_set=yes
1451 eval ac_cv_prog_make_${ac_make}_set=no
1455 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1456 echo "$as_me:$LINENO: result: yes" >&5
1457 echo "${ECHO_T}yes" >&6
1460 echo "$as_me:$LINENO: result: no" >&5
1461 echo "${ECHO_T}no" >&6
1462 SET_MAKE="MAKE=${MAKE-make}"
1466 ac_cpp='$CPP $CPPFLAGS'
1467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1468 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1470 if test -n "$ac_tool_prefix"; then
1471 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1472 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1473 echo "$as_me:$LINENO: checking for $ac_word" >&5
1474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1475 if test "${ac_cv_prog_CC+set}" = set; then
1476 echo $ECHO_N "(cached) $ECHO_C" >&6
1478 if test -n "$CC"; then
1479 ac_cv_prog_CC="$CC" # Let the user override the test.
1481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1485 test -z "$as_dir" && as_dir=.
1486 for ac_exec_ext in '' $ac_executable_extensions; do
1487 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1488 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1498 if test -n "$CC"; then
1499 echo "$as_me:$LINENO: result: $CC" >&5
1500 echo "${ECHO_T}$CC" >&6
1502 echo "$as_me:$LINENO: result: no" >&5
1503 echo "${ECHO_T}no" >&6
1507 if test -z "$ac_cv_prog_CC"; then
1509 # Extract the first word of "gcc", so it can be a program name with args.
1510 set dummy gcc; ac_word=$2
1511 echo "$as_me:$LINENO: checking for $ac_word" >&5
1512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1513 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1514 echo $ECHO_N "(cached) $ECHO_C" >&6
1516 if test -n "$ac_ct_CC"; then
1517 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1523 test -z "$as_dir" && as_dir=.
1524 for ac_exec_ext in '' $ac_executable_extensions; do
1525 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1526 ac_cv_prog_ac_ct_CC="gcc"
1527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1535 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1536 if test -n "$ac_ct_CC"; then
1537 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1538 echo "${ECHO_T}$ac_ct_CC" >&6
1540 echo "$as_me:$LINENO: result: no" >&5
1541 echo "${ECHO_T}no" >&6
1549 if test -z "$CC"; then
1550 if test -n "$ac_tool_prefix"; then
1551 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1552 set dummy ${ac_tool_prefix}cc; ac_word=$2
1553 echo "$as_me:$LINENO: checking for $ac_word" >&5
1554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1555 if test "${ac_cv_prog_CC+set}" = set; then
1556 echo $ECHO_N "(cached) $ECHO_C" >&6
1558 if test -n "$CC"; then
1559 ac_cv_prog_CC="$CC" # Let the user override the test.
1561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1565 test -z "$as_dir" && as_dir=.
1566 for ac_exec_ext in '' $ac_executable_extensions; do
1567 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1568 ac_cv_prog_CC="${ac_tool_prefix}cc"
1569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1578 if test -n "$CC"; then
1579 echo "$as_me:$LINENO: result: $CC" >&5
1580 echo "${ECHO_T}$CC" >&6
1582 echo "$as_me:$LINENO: result: no" >&5
1583 echo "${ECHO_T}no" >&6
1587 if test -z "$ac_cv_prog_CC"; then
1589 # Extract the first word of "cc", so it can be a program name with args.
1590 set dummy cc; ac_word=$2
1591 echo "$as_me:$LINENO: checking for $ac_word" >&5
1592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1593 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1594 echo $ECHO_N "(cached) $ECHO_C" >&6
1596 if test -n "$ac_ct_CC"; then
1597 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1603 test -z "$as_dir" && as_dir=.
1604 for ac_exec_ext in '' $ac_executable_extensions; do
1605 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1606 ac_cv_prog_ac_ct_CC="cc"
1607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1615 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1616 if test -n "$ac_ct_CC"; then
1617 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1618 echo "${ECHO_T}$ac_ct_CC" >&6
1620 echo "$as_me:$LINENO: result: no" >&5
1621 echo "${ECHO_T}no" >&6
1630 if test -z "$CC"; then
1631 # Extract the first word of "cc", so it can be a program name with args.
1632 set dummy cc; ac_word=$2
1633 echo "$as_me:$LINENO: checking for $ac_word" >&5
1634 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1635 if test "${ac_cv_prog_CC+set}" = set; then
1636 echo $ECHO_N "(cached) $ECHO_C" >&6
1638 if test -n "$CC"; then
1639 ac_cv_prog_CC="$CC" # Let the user override the test.
1642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1646 test -z "$as_dir" && as_dir=.
1647 for ac_exec_ext in '' $ac_executable_extensions; do
1648 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1649 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1650 ac_prog_rejected=yes
1654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1660 if test $ac_prog_rejected = yes; then
1661 # We found a bogon in the path, so make sure we never use it.
1662 set dummy $ac_cv_prog_CC
1664 if test $# != 0; then
1665 # We chose a different compiler from the bogus one.
1666 # However, it has the same basename, so the bogon will be chosen
1667 # first if we set CC to just the basename; use the full file name.
1669 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1675 if test -n "$CC"; then
1676 echo "$as_me:$LINENO: result: $CC" >&5
1677 echo "${ECHO_T}$CC" >&6
1679 echo "$as_me:$LINENO: result: no" >&5
1680 echo "${ECHO_T}no" >&6
1684 if test -z "$CC"; then
1685 if test -n "$ac_tool_prefix"; then
1688 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1689 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1690 echo "$as_me:$LINENO: checking for $ac_word" >&5
1691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1692 if test "${ac_cv_prog_CC+set}" = set; then
1693 echo $ECHO_N "(cached) $ECHO_C" >&6
1695 if test -n "$CC"; then
1696 ac_cv_prog_CC="$CC" # Let the user override the test.
1698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1702 test -z "$as_dir" && as_dir=.
1703 for ac_exec_ext in '' $ac_executable_extensions; do
1704 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1705 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1715 if test -n "$CC"; then
1716 echo "$as_me:$LINENO: result: $CC" >&5
1717 echo "${ECHO_T}$CC" >&6
1719 echo "$as_me:$LINENO: result: no" >&5
1720 echo "${ECHO_T}no" >&6
1723 test -n "$CC" && break
1726 if test -z "$CC"; then
1730 # Extract the first word of "$ac_prog", so it can be a program name with args.
1731 set dummy $ac_prog; ac_word=$2
1732 echo "$as_me:$LINENO: checking for $ac_word" >&5
1733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1734 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1735 echo $ECHO_N "(cached) $ECHO_C" >&6
1737 if test -n "$ac_ct_CC"; then
1738 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1744 test -z "$as_dir" && as_dir=.
1745 for ac_exec_ext in '' $ac_executable_extensions; do
1746 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1747 ac_cv_prog_ac_ct_CC="$ac_prog"
1748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1756 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1757 if test -n "$ac_ct_CC"; then
1758 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1759 echo "${ECHO_T}$ac_ct_CC" >&6
1761 echo "$as_me:$LINENO: result: no" >&5
1762 echo "${ECHO_T}no" >&6
1765 test -n "$ac_ct_CC" && break
1774 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1775 See \`config.log' for more details.
" >&5
1776 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1777 See \
`config.log' for more details." >&2;}
1778 { (exit 1); exit 1; }; }
1780 # Provide some information about the compiler.
1781 echo "$as_me:$LINENO:" \
1782 "checking for C compiler version" >&5
1783 ac_compiler=`set X
$ac_compile; echo $2`
1784 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1785 (eval $ac_compiler --version </dev/null >&5) 2>&5
1787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1788 (exit $ac_status); }
1789 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1790 (eval $ac_compiler -v </dev/null >&5) 2>&5
1792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1793 (exit $ac_status); }
1794 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1795 (eval $ac_compiler -V </dev/null >&5) 2>&5
1797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1798 (exit $ac_status); }
1800 cat >conftest.$ac_ext <<_ACEOF
1801 #line $LINENO "configure"
1804 cat confdefs.h >>conftest.$ac_ext
1805 cat >>conftest.$ac_ext <<_ACEOF
1806 /* end confdefs.h. */
1816 ac_clean_files_save=$ac_clean_files
1817 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1818 # Try to create an executable without -o first, disregard a.out.
1819 # It will help us diagnose broken compilers, and finding out an intuition
1821 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1822 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1823 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1824 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1825 (eval $ac_link_default) 2>&5
1827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1828 (exit $ac_status); }; then
1829 # Find the output, starting from the most likely. This scheme is
1830 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1833 # Be careful to initialize this variable, since it used to be cached.
1834 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1836 # b.out is created by i960 compilers.
1837 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1839 test -f "$ac_file" || continue
1841 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1844 # This is the source file.
1847 # We found the default executable, but exeext='' is most
1851 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1852 # FIXME: I believe we export ac_cv_exeext for Libtool,
1853 # but it would be cool to find out if it's true. Does anybody
1854 # maintain Libtool? --akim.
1862 echo "$as_me: failed program was:" >&5
1863 sed 's/^/| /' conftest.$ac_ext >&5
1865 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1866 See \`config.log
' for more details." >&5
1867 echo "$as_me: error: C compiler cannot create executables
1868 See \`config.log' for more details.
" >&2;}
1869 { (exit 77); exit 77; }; }
1872 ac_exeext=$ac_cv_exeext
1873 echo "$as_me:$LINENO: result
: $ac_file" >&5
1874 echo "${ECHO_T}$ac_file" >&6
1876 # Check the compiler produces executables we can run. If not, either
1877 # the compiler is broken, or we cross compile.
1878 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1879 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1880 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1881 # If not cross compiling, check that we can run a simple program.
1882 if test "$cross_compiling" != yes; then
1883 if { ac_try='./$ac_file'
1884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1887 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1888 (exit $ac_status); }; }; then
1891 if test "$cross_compiling" = maybe; then
1894 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1895 If you meant to cross compile
, use \
`--host'.
1896 See \`config.log
' for more details." >&5
1897 echo "$as_me: error: cannot run C compiled programs.
1898 If you meant to cross compile, use \`--host'.
1899 See \
`config.log' for more details." >&2;}
1900 { (exit 1); exit 1; }; }
1904 echo "$as_me:$LINENO: result: yes" >&5
1905 echo "${ECHO_T}yes" >&6
1907 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1908 ac_clean_files=$ac_clean_files_save
1909 # Check the compiler produces executables we can run. If not, either
1910 # the compiler is broken, or we cross compile.
1911 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1912 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1913 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1914 echo "${ECHO_T}$cross_compiling" >&6
1916 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1917 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1919 (eval $ac_link) 2>&5
1921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1922 (exit $ac_status); }; then
1923 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1924 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1925 # work properly (i.e., refer to `conftest.exe'), while it won't with
1927 for ac_file
in conftest.exe conftest conftest.
*; do
1928 test -f "$ac_file" ||
continue
1930 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1931 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1938 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1939 See \`config.log' for more details." >&5
1940 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1941 See \`config.log' for more details." >&2;}
1942 { (exit 1); exit 1; }; }
1945 rm -f conftest
$ac_cv_exeext
1946 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1947 echo "${ECHO_T}$ac_cv_exeext" >&6
1949 rm -f conftest.
$ac_ext
1950 EXEEXT
=$ac_cv_exeext
1952 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1953 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1954 if test "${ac_cv_objext+set}" = set; then
1955 echo $ECHO_N "(cached) $ECHO_C" >&6
1957 cat >conftest.
$ac_ext <<_ACEOF
1958 #line $LINENO "configure"
1961 cat confdefs.h
>>conftest.
$ac_ext
1962 cat >>conftest.
$ac_ext <<_ACEOF
1963 /* end confdefs.h. */
1973 rm -f conftest.o conftest.obj
1974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1975 (eval $ac_compile) 2>&5
1977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1978 (exit $ac_status); }; then
1979 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1981 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1982 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1987 echo "$as_me: failed program was:" >&5
1988 sed 's/^/| /' conftest.
$ac_ext >&5
1990 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1991 See \`config.log' for more details." >&5
1992 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1993 See \`config.log' for more details." >&2;}
1994 { (exit 1); exit 1; }; }
1997 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1999 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2000 echo "${ECHO_T}$ac_cv_objext" >&6
2001 OBJEXT
=$ac_cv_objext
2003 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2004 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2005 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2006 echo $ECHO_N "(cached) $ECHO_C" >&6
2008 cat >conftest.
$ac_ext <<_ACEOF
2009 #line $LINENO "configure"
2012 cat confdefs.h
>>conftest.
$ac_ext
2013 cat >>conftest.
$ac_ext <<_ACEOF
2014 /* end confdefs.h. */
2027 rm -f conftest.
$ac_objext
2028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2029 (eval $ac_compile) 2>&5
2031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2032 (exit $ac_status); } &&
2033 { ac_try
='test -s conftest.$ac_objext'
2034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2038 (exit $ac_status); }; }; then
2041 echo "$as_me: failed program was:" >&5
2042 sed 's/^/| /' conftest.
$ac_ext >&5
2046 rm -f conftest.
$ac_objext conftest.
$ac_ext
2047 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2050 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2051 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2052 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2053 ac_test_CFLAGS
=${CFLAGS+set}
2054 ac_save_CFLAGS
=$CFLAGS
2056 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2057 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2058 if test "${ac_cv_prog_cc_g+set}" = set; then
2059 echo $ECHO_N "(cached) $ECHO_C" >&6
2061 cat >conftest.
$ac_ext <<_ACEOF
2062 #line $LINENO "configure"
2065 cat confdefs.h
>>conftest.
$ac_ext
2066 cat >>conftest.
$ac_ext <<_ACEOF
2067 /* end confdefs.h. */
2077 rm -f conftest.
$ac_objext
2078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2079 (eval $ac_compile) 2>&5
2081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2082 (exit $ac_status); } &&
2083 { ac_try
='test -s conftest.$ac_objext'
2084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2088 (exit $ac_status); }; }; then
2091 echo "$as_me: failed program was:" >&5
2092 sed 's/^/| /' conftest.
$ac_ext >&5
2096 rm -f conftest.
$ac_objext conftest.
$ac_ext
2098 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2099 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2100 if test "$ac_test_CFLAGS" = set; then
2101 CFLAGS
=$ac_save_CFLAGS
2102 elif test $ac_cv_prog_cc_g = yes; then
2103 if test "$GCC" = yes; then
2109 if test "$GCC" = yes; then
2115 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2116 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2117 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2118 echo $ECHO_N "(cached) $ECHO_C" >&6
2120 ac_cv_prog_cc_stdc
=no
2122 cat >conftest.
$ac_ext <<_ACEOF
2123 #line $LINENO "configure"
2126 cat confdefs.h
>>conftest.
$ac_ext
2127 cat >>conftest.
$ac_ext <<_ACEOF
2128 /* end confdefs.h. */
2131 #include <sys/types.h>
2132 #include <sys/stat.h>
2133 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2134 struct buf { int x; };
2135 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2136 static char *e (p, i)
2142 static char *f (char * (*g) (char **, int), char **p, ...)
2147 s = g (p, va_arg (v,int));
2151 int test (int i, double x);
2152 struct s1 {int (*f) (int a);};
2153 struct s2 {int (*f) (double a);};
2154 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2160 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2165 # Don't try gcc -ansi; that turns off useful extensions and
2166 # breaks some systems' header files.
2167 # AIX -qlanglvl=ansi
2168 # Ultrix and OSF/1 -std1
2169 # HP-UX 10.20 and later -Ae
2170 # HP-UX older versions -Aa -D_HPUX_SOURCE
2171 # SVR4 -Xc -D__EXTENSIONS__
2172 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2174 CC
="$ac_save_CC $ac_arg"
2175 rm -f conftest.
$ac_objext
2176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2177 (eval $ac_compile) 2>&5
2179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2180 (exit $ac_status); } &&
2181 { ac_try
='test -s conftest.$ac_objext'
2182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2186 (exit $ac_status); }; }; then
2187 ac_cv_prog_cc_stdc
=$ac_arg
2190 echo "$as_me: failed program was:" >&5
2191 sed 's/^/| /' conftest.
$ac_ext >&5
2194 rm -f conftest.
$ac_objext
2196 rm -f conftest.
$ac_ext conftest.
$ac_objext
2201 case "x$ac_cv_prog_cc_stdc" in
2203 echo "$as_me:$LINENO: result: none needed" >&5
2204 echo "${ECHO_T}none needed" >&6 ;;
2206 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2207 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2208 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2211 # Some people use a C++ compiler to compile C. Since we use `exit',
2212 # in C++ we need to declare it. In case someone uses the same compiler
2213 # for both compiling C and C++ we need to have the C++ compiler decide
2214 # the declaration of exit, since it's the most demanding environment.
2215 cat >conftest.
$ac_ext <<_ACEOF
2220 rm -f conftest.
$ac_objext
2221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2222 (eval $ac_compile) 2>&5
2224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2225 (exit $ac_status); } &&
2226 { ac_try
='test -s conftest.$ac_objext'
2227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2231 (exit $ac_status); }; }; then
2232 for ac_declaration
in \
2234 '#include <stdlib.h>' \
2235 'extern "C" void std::exit (int) throw (); using std::exit;' \
2236 'extern "C" void std::exit (int); using std::exit;' \
2237 'extern "C" void exit (int) throw ();' \
2238 'extern "C" void exit (int);' \
2241 cat >conftest.
$ac_ext <<_ACEOF
2242 #line $LINENO "configure"
2245 cat confdefs.h
>>conftest.
$ac_ext
2246 cat >>conftest.
$ac_ext <<_ACEOF
2247 /* end confdefs.h. */
2258 rm -f conftest.
$ac_objext
2259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2260 (eval $ac_compile) 2>&5
2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263 (exit $ac_status); } &&
2264 { ac_try
='test -s conftest.$ac_objext'
2265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2269 (exit $ac_status); }; }; then
2272 echo "$as_me: failed program was:" >&5
2273 sed 's/^/| /' conftest.
$ac_ext >&5
2277 rm -f conftest.
$ac_objext conftest.
$ac_ext
2278 cat >conftest.
$ac_ext <<_ACEOF
2279 #line $LINENO "configure"
2282 cat confdefs.h
>>conftest.
$ac_ext
2283 cat >>conftest.
$ac_ext <<_ACEOF
2284 /* end confdefs.h. */
2294 rm -f conftest.
$ac_objext
2295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2296 (eval $ac_compile) 2>&5
2298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2299 (exit $ac_status); } &&
2300 { ac_try
='test -s conftest.$ac_objext'
2301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2305 (exit $ac_status); }; }; then
2308 echo "$as_me: failed program was:" >&5
2309 sed 's/^/| /' conftest.
$ac_ext >&5
2312 rm -f conftest.
$ac_objext conftest.
$ac_ext
2315 if test -n "$ac_declaration"; then
2316 echo '#ifdef __cplusplus' >>confdefs.h
2317 echo $ac_declaration >>confdefs.h
2318 echo '#endif' >>confdefs.h
2322 echo "$as_me: failed program was:" >&5
2323 sed 's/^/| /' conftest.
$ac_ext >&5
2326 rm -f conftest.
$ac_objext conftest.
$ac_ext
2328 ac_cpp
='$CPP $CPPFLAGS'
2329 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2330 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2331 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2334 ac_cpp
='$CPP $CPPFLAGS'
2335 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2336 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2337 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2338 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2339 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2340 # On Suns, sometimes $CPP names a directory.
2341 if test -n "$CPP" && test -d "$CPP"; then
2344 if test -z "$CPP"; then
2345 if test "${ac_cv_prog_CPP+set}" = set; then
2346 echo $ECHO_N "(cached) $ECHO_C" >&6
2348 # Double quotes because CPP needs to be expanded
2349 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2352 for ac_c_preproc_warn_flag
in '' yes
2354 # Use a header file that comes with gcc, so configuring glibc
2355 # with a fresh cross-compiler works.
2356 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2357 # <limits.h> exists even on freestanding compilers.
2358 # On the NeXT, cc -E runs the code through the compiler's parser,
2359 # not just through cpp. "Syntax error" is here to catch this case.
2360 cat >conftest.
$ac_ext <<_ACEOF
2361 #line $LINENO "configure"
2364 cat confdefs.h
>>conftest.
$ac_ext
2365 cat >>conftest.
$ac_ext <<_ACEOF
2366 /* end confdefs.h. */
2368 # include <limits.h>
2370 # include <assert.h>
2374 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2375 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2377 grep -v '^ *+' conftest.er1
>conftest.err
2379 cat conftest.err
>&5
2380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2381 (exit $ac_status); } >/dev
/null
; then
2382 if test -s conftest.err
; then
2383 ac_cpp_err
=$ac_c_preproc_warn_flag
2390 if test -z "$ac_cpp_err"; then
2393 echo "$as_me: failed program was:" >&5
2394 sed 's/^/| /' conftest.
$ac_ext >&5
2396 # Broken: fails on valid input.
2399 rm -f conftest.err conftest.
$ac_ext
2401 # OK, works on sane cases. Now check whether non-existent headers
2402 # can be detected and how.
2403 cat >conftest.
$ac_ext <<_ACEOF
2404 #line $LINENO "configure"
2407 cat confdefs.h
>>conftest.
$ac_ext
2408 cat >>conftest.
$ac_ext <<_ACEOF
2409 /* end confdefs.h. */
2410 #include <ac_nonexistent.h>
2412 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2413 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2415 grep -v '^ *+' conftest.er1
>conftest.err
2417 cat conftest.err
>&5
2418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2419 (exit $ac_status); } >/dev
/null
; then
2420 if test -s conftest.err
; then
2421 ac_cpp_err
=$ac_c_preproc_warn_flag
2428 if test -z "$ac_cpp_err"; then
2429 # Broken: success on invalid input.
2432 echo "$as_me: failed program was:" >&5
2433 sed 's/^/| /' conftest.
$ac_ext >&5
2435 # Passes both tests.
2439 rm -f conftest.err conftest.
$ac_ext
2442 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2443 rm -f conftest.err conftest.
$ac_ext
2444 if $ac_preproc_ok; then
2456 echo "$as_me:$LINENO: result: $CPP" >&5
2457 echo "${ECHO_T}$CPP" >&6
2459 for ac_c_preproc_warn_flag
in '' yes
2461 # Use a header file that comes with gcc, so configuring glibc
2462 # with a fresh cross-compiler works.
2463 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2464 # <limits.h> exists even on freestanding compilers.
2465 # On the NeXT, cc -E runs the code through the compiler's parser,
2466 # not just through cpp. "Syntax error" is here to catch this case.
2467 cat >conftest.
$ac_ext <<_ACEOF
2468 #line $LINENO "configure"
2471 cat confdefs.h
>>conftest.
$ac_ext
2472 cat >>conftest.
$ac_ext <<_ACEOF
2473 /* end confdefs.h. */
2475 # include <limits.h>
2477 # include <assert.h>
2481 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2482 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2484 grep -v '^ *+' conftest.er1
>conftest.err
2486 cat conftest.err
>&5
2487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2488 (exit $ac_status); } >/dev
/null
; then
2489 if test -s conftest.err
; then
2490 ac_cpp_err
=$ac_c_preproc_warn_flag
2497 if test -z "$ac_cpp_err"; then
2500 echo "$as_me: failed program was:" >&5
2501 sed 's/^/| /' conftest.
$ac_ext >&5
2503 # Broken: fails on valid input.
2506 rm -f conftest.err conftest.
$ac_ext
2508 # OK, works on sane cases. Now check whether non-existent headers
2509 # can be detected and how.
2510 cat >conftest.
$ac_ext <<_ACEOF
2511 #line $LINENO "configure"
2514 cat confdefs.h
>>conftest.
$ac_ext
2515 cat >>conftest.
$ac_ext <<_ACEOF
2516 /* end confdefs.h. */
2517 #include <ac_nonexistent.h>
2519 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2520 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2522 grep -v '^ *+' conftest.er1
>conftest.err
2524 cat conftest.err
>&5
2525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2526 (exit $ac_status); } >/dev
/null
; then
2527 if test -s conftest.err
; then
2528 ac_cpp_err
=$ac_c_preproc_warn_flag
2535 if test -z "$ac_cpp_err"; then
2536 # Broken: success on invalid input.
2539 echo "$as_me: failed program was:" >&5
2540 sed 's/^/| /' conftest.
$ac_ext >&5
2542 # Passes both tests.
2546 rm -f conftest.err conftest.
$ac_ext
2549 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2550 rm -f conftest.err conftest.
$ac_ext
2551 if $ac_preproc_ok; then
2554 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2555 See \`config.log' for more details." >&5
2556 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2557 See \`config.log' for more details." >&2;}
2558 { (exit 1); exit 1; }; }
2562 ac_cpp
='$CPP $CPPFLAGS'
2563 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2564 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2565 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2568 echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
2569 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6
2570 if test "${wine_cv_toolsdir+set}" = set; then
2571 echo $ECHO_N "(cached) $ECHO_C" >&6
2573 if test -z "$with_wine_tools"; then
2574 if test "$cross_compiling" = "yes"; then
2575 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
2576 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
2577 { (exit 1); exit 1; }; }
2579 wine_cv_toolsdir
="\$(TOPOBJDIR)"
2581 elif test -d "$with_wine_tools/tools/winebuild"; then
2582 case $with_wine_tools in
2583 /*) wine_cv_toolsdir
="$with_wine_tools" ;;
2584 *) wine_cv_toolsdir
="\$(TOPOBJDIR)/$with_wine_tools" ;;
2587 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
2588 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
2589 { (exit 1); exit 1; }; }
2592 echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
2593 echo "${ECHO_T}$wine_cv_toolsdir" >&6
2594 TOOLSDIR
=$wine_cv_toolsdir
2599 echo "$as_me:$LINENO: checking for X" >&5
2600 echo $ECHO_N "checking for X... $ECHO_C" >&6
2603 # Check whether --with-x or --without-x was given.
2604 if test "${with_x+set}" = set; then
2608 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
2609 if test "x$with_x" = xno
; then
2610 # The user explicitly disabled X.
2613 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
2614 # Both variables are already set.
2617 if test "${ac_cv_have_x+set}" = set; then
2618 echo $ECHO_N "(cached) $ECHO_C" >&6
2620 # One or both of the vars are not set, and there is no cached value.
2621 ac_x_includes
=no ac_x_libraries
=no
2623 if mkdir conftest.dir
; then
2625 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
2626 cat >Imakefile
<<'_ACEOF'
2628 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
2630 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
2631 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2632 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
2633 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
2634 for ac_extension
in a so sl
; do
2635 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
2636 test -f $ac_im_libdir/libX11.
$ac_extension; then
2637 ac_im_usrlibdir
=$ac_im_libdir; break
2640 # Screen out bogus values from the imake configuration. They are
2641 # bogus both because they are the default anyway, and because
2642 # using them would break gcc on systems where it needs fixed includes.
2643 case $ac_im_incroot in
2645 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
2647 case $ac_im_usrlibdir in
2649 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
2656 # Standard set of common directories for X headers.
2657 # Check X11 before X11Rn because it is often a symlink to the current release.
2669 /usr/local/X11/include
2670 /usr/local/X11R6/include
2671 /usr/local/X11R5/include
2672 /usr/local/X11R4/include
2674 /usr/local/include/X11
2675 /usr/local/include/X11R6
2676 /usr/local/include/X11R5
2677 /usr/local/include/X11R4
2681 /usr/XFree86/include/X11
2685 /usr/unsupported/include
2687 /usr/local/x11r5/include
2688 /usr/lpp/Xamples/include
2690 /usr/openwin/include
2691 /usr/openwin/share/include'
2693 if test "$ac_x_includes" = no
; then
2694 # Guess where to find include files, by looking for Intrinsic.h.
2695 # First, try using that file with no special directory specified.
2696 cat >conftest.
$ac_ext <<_ACEOF
2697 #line $LINENO "configure"
2700 cat confdefs.h
>>conftest.
$ac_ext
2701 cat >>conftest.
$ac_ext <<_ACEOF
2702 /* end confdefs.h. */
2703 #include <X11/Intrinsic.h>
2705 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2706 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2708 grep -v '^ *+' conftest.er1
>conftest.err
2710 cat conftest.err
>&5
2711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2712 (exit $ac_status); } >/dev
/null
; then
2713 if test -s conftest.err
; then
2714 ac_cpp_err
=$ac_c_preproc_warn_flag
2721 if test -z "$ac_cpp_err"; then
2722 # We can compile using X headers with no special include directory.
2725 echo "$as_me: failed program was:" >&5
2726 sed 's/^/| /' conftest.
$ac_ext >&5
2728 for ac_dir
in $ac_x_header_dirs; do
2729 if test -r "$ac_dir/X11/Intrinsic.h"; then
2730 ac_x_includes
=$ac_dir
2735 rm -f conftest.err conftest.
$ac_ext
2736 fi # $ac_x_includes = no
2738 if test "$ac_x_libraries" = no
; then
2739 # Check for the libraries.
2740 # See if we find them without any special options.
2741 # Don't add to $LIBS permanently.
2744 cat >conftest.
$ac_ext <<_ACEOF
2745 #line $LINENO "configure"
2748 cat confdefs.h
>>conftest.
$ac_ext
2749 cat >>conftest.
$ac_ext <<_ACEOF
2750 /* end confdefs.h. */
2751 #include <X11/Intrinsic.h>
2760 rm -f conftest.
$ac_objext conftest
$ac_exeext
2761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2762 (eval $ac_link) 2>&5
2764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2765 (exit $ac_status); } &&
2766 { ac_try
='test -s conftest$ac_exeext'
2767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771 (exit $ac_status); }; }; then
2773 # We can link X programs with no special library path.
2776 echo "$as_me: failed program was:" >&5
2777 sed 's/^/| /' conftest.
$ac_ext >&5
2780 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
2782 # Don't even attempt the hair of trying to link an X program!
2783 for ac_extension
in a so sl
; do
2784 if test -r $ac_dir/libXt.
$ac_extension; then
2785 ac_x_libraries
=$ac_dir
2791 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2792 fi # $ac_x_libraries = no
2794 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
2795 # Didn't find X anywhere. Cache the known absence of X.
2796 ac_cv_have_x
="have_x=no"
2798 # Record where we found X for the cache.
2799 ac_cv_have_x
="have_x=yes \
2800 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
2805 eval "$ac_cv_have_x"
2808 if test "$have_x" != yes; then
2809 echo "$as_me:$LINENO: result: $have_x" >&5
2810 echo "${ECHO_T}$have_x" >&6
2813 # If each of the values was on the command line, it overrides each guess.
2814 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
2815 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
2816 # Update the cache value to reflect the command line values.
2817 ac_cv_have_x
="have_x=yes \
2818 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
2819 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
2820 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
2823 if test "$no_x" = yes; then
2824 # Not all programs may use this symbol, but it does not hurt to define it.
2826 cat >>confdefs.h
<<\_ACEOF
2827 #define X_DISPLAY_MISSING 1
2830 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
2832 if test -n "$x_includes"; then
2833 X_CFLAGS
="$X_CFLAGS -I$x_includes"
2836 # It would also be nice to do this for all -L options, not just this one.
2837 if test -n "$x_libraries"; then
2838 X_LIBS
="$X_LIBS -L$x_libraries"
2839 # For Solaris; some versions of Sun CC require a space after -R and
2840 # others require no space. Words are not sufficient . . . .
2841 case `(uname -sr) 2>/dev/null` in
2843 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
2844 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
2845 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
2846 cat >conftest.
$ac_ext <<_ACEOF
2847 #line $LINENO "configure"
2850 cat confdefs.h
>>conftest.
$ac_ext
2851 cat >>conftest.
$ac_ext <<_ACEOF
2852 /* end confdefs.h. */
2862 rm -f conftest.
$ac_objext conftest
$ac_exeext
2863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2864 (eval $ac_link) 2>&5
2866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2867 (exit $ac_status); } &&
2868 { ac_try
='test -s conftest$ac_exeext'
2869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2873 (exit $ac_status); }; }; then
2876 echo "$as_me: failed program was:" >&5
2877 sed 's/^/| /' conftest.
$ac_ext >&5
2881 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2882 if test $ac_R_nospace = yes; then
2883 echo "$as_me:$LINENO: result: no" >&5
2884 echo "${ECHO_T}no" >&6
2885 X_LIBS
="$X_LIBS -R$x_libraries"
2887 LIBS
="$ac_xsave_LIBS -R $x_libraries"
2888 cat >conftest.
$ac_ext <<_ACEOF
2889 #line $LINENO "configure"
2892 cat confdefs.h
>>conftest.
$ac_ext
2893 cat >>conftest.
$ac_ext <<_ACEOF
2894 /* end confdefs.h. */
2904 rm -f conftest.
$ac_objext conftest
$ac_exeext
2905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2906 (eval $ac_link) 2>&5
2908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2909 (exit $ac_status); } &&
2910 { ac_try
='test -s conftest$ac_exeext'
2911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915 (exit $ac_status); }; }; then
2918 echo "$as_me: failed program was:" >&5
2919 sed 's/^/| /' conftest.
$ac_ext >&5
2923 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2924 if test $ac_R_space = yes; then
2925 echo "$as_me:$LINENO: result: yes" >&5
2926 echo "${ECHO_T}yes" >&6
2927 X_LIBS
="$X_LIBS -R $x_libraries"
2929 echo "$as_me:$LINENO: result: neither works" >&5
2930 echo "${ECHO_T}neither works" >&6
2937 # Check for system-dependent libraries X programs must link with.
2938 # Do this before checking for the system-independent R6 libraries
2939 # (-lICE), since we may need -lsocket or whatever for X linking.
2941 if test "$ISC" = yes; then
2942 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
2944 # Martyn Johnson says this is needed for Ultrix, if the X
2945 # libraries were built with DECnet support. And Karl Berry says
2946 # the Alpha needs dnet_stub (dnet does not exist).
2947 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
2948 cat >conftest.
$ac_ext <<_ACEOF
2949 #line $LINENO "configure"
2952 cat confdefs.h
>>conftest.
$ac_ext
2953 cat >>conftest.
$ac_ext <<_ACEOF
2954 /* end confdefs.h. */
2956 /* Override any gcc2 internal prototype to avoid an error. */
2960 /* We use char because int might match the return type of a gcc2
2961 builtin and then its argument prototype would still apply. */
2962 char XOpenDisplay ();
2971 rm -f conftest.
$ac_objext conftest
$ac_exeext
2972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2973 (eval $ac_link) 2>&5
2975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2976 (exit $ac_status); } &&
2977 { ac_try
='test -s conftest$ac_exeext'
2978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2982 (exit $ac_status); }; }; then
2985 echo "$as_me: failed program was:" >&5
2986 sed 's/^/| /' conftest.
$ac_ext >&5
2988 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
2989 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
2990 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
2991 echo $ECHO_N "(cached) $ECHO_C" >&6
2993 ac_check_lib_save_LIBS
=$LIBS
2995 cat >conftest.
$ac_ext <<_ACEOF
2996 #line $LINENO "configure"
2999 cat confdefs.h
>>conftest.
$ac_ext
3000 cat >>conftest.
$ac_ext <<_ACEOF
3001 /* end confdefs.h. */
3003 /* Override any gcc2 internal prototype to avoid an error. */
3007 /* We use char because int might match the return type of a gcc2
3008 builtin and then its argument prototype would still apply. */
3018 rm -f conftest.
$ac_objext conftest
$ac_exeext
3019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3020 (eval $ac_link) 2>&5
3022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3023 (exit $ac_status); } &&
3024 { ac_try
='test -s conftest$ac_exeext'
3025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3029 (exit $ac_status); }; }; then
3030 ac_cv_lib_dnet_dnet_ntoa
=yes
3032 echo "$as_me: failed program was:" >&5
3033 sed 's/^/| /' conftest.
$ac_ext >&5
3035 ac_cv_lib_dnet_dnet_ntoa
=no
3037 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3038 LIBS
=$ac_check_lib_save_LIBS
3040 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
3041 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
3042 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
3043 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
3046 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
3047 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
3048 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
3049 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
3050 echo $ECHO_N "(cached) $ECHO_C" >&6
3052 ac_check_lib_save_LIBS
=$LIBS
3053 LIBS
="-ldnet_stub $LIBS"
3054 cat >conftest.
$ac_ext <<_ACEOF
3055 #line $LINENO "configure"
3058 cat confdefs.h
>>conftest.
$ac_ext
3059 cat >>conftest.
$ac_ext <<_ACEOF
3060 /* end confdefs.h. */
3062 /* Override any gcc2 internal prototype to avoid an error. */
3066 /* We use char because int might match the return type of a gcc2
3067 builtin and then its argument prototype would still apply. */
3077 rm -f conftest.
$ac_objext conftest
$ac_exeext
3078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3079 (eval $ac_link) 2>&5
3081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3082 (exit $ac_status); } &&
3083 { ac_try
='test -s conftest$ac_exeext'
3084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088 (exit $ac_status); }; }; then
3089 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
3091 echo "$as_me: failed program was:" >&5
3092 sed 's/^/| /' conftest.
$ac_ext >&5
3094 ac_cv_lib_dnet_stub_dnet_ntoa
=no
3096 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3097 LIBS
=$ac_check_lib_save_LIBS
3099 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
3100 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
3101 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
3102 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
3107 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3108 LIBS
="$ac_xsave_LIBS"
3110 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
3111 # to get the SysV transport functions.
3112 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
3114 # The nsl library prevents programs from opening the X display
3115 # on Irix 5.2, according to T.E. Dickey.
3116 # The functions gethostbyname, getservbyname, and inet_addr are
3117 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
3118 echo "$as_me:$LINENO: checking for gethostbyname" >&5
3119 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
3120 if test "${ac_cv_func_gethostbyname+set}" = set; then
3121 echo $ECHO_N "(cached) $ECHO_C" >&6
3123 cat >conftest.
$ac_ext <<_ACEOF
3124 #line $LINENO "configure"
3127 cat confdefs.h
>>conftest.
$ac_ext
3128 cat >>conftest.
$ac_ext <<_ACEOF
3129 /* end confdefs.h. */
3130 /* System header to define __stub macros and hopefully few prototypes,
3131 which can conflict with char gethostbyname (); below.
3132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3133 <limits.h> exists even on freestanding compilers. */
3135 # include <limits.h>
3137 # include <assert.h>
3139 /* Override any gcc2 internal prototype to avoid an error. */
3144 /* We use char because int might match the return type of a gcc2
3145 builtin and then its argument prototype would still apply. */
3146 char gethostbyname ();
3147 /* The GNU C library defines this for functions which it implements
3148 to always fail with ENOSYS. Some functions are actually named
3149 something starting with __ and the normal name is an alias. */
3150 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3153 char (*f) () = gethostbyname;
3162 return f != gethostbyname;
3167 rm -f conftest.
$ac_objext conftest
$ac_exeext
3168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3169 (eval $ac_link) 2>&5
3171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3172 (exit $ac_status); } &&
3173 { ac_try
='test -s conftest$ac_exeext'
3174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3178 (exit $ac_status); }; }; then
3179 ac_cv_func_gethostbyname
=yes
3181 echo "$as_me: failed program was:" >&5
3182 sed 's/^/| /' conftest.
$ac_ext >&5
3184 ac_cv_func_gethostbyname
=no
3186 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3188 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3189 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3191 if test $ac_cv_func_gethostbyname = no
; then
3192 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3193 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3194 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3195 echo $ECHO_N "(cached) $ECHO_C" >&6
3197 ac_check_lib_save_LIBS
=$LIBS
3199 cat >conftest.
$ac_ext <<_ACEOF
3200 #line $LINENO "configure"
3203 cat confdefs.h
>>conftest.
$ac_ext
3204 cat >>conftest.
$ac_ext <<_ACEOF
3205 /* end confdefs.h. */
3207 /* Override any gcc2 internal prototype to avoid an error. */
3211 /* We use char because int might match the return type of a gcc2
3212 builtin and then its argument prototype would still apply. */
3213 char gethostbyname ();
3222 rm -f conftest.
$ac_objext conftest
$ac_exeext
3223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3224 (eval $ac_link) 2>&5
3226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3227 (exit $ac_status); } &&
3228 { ac_try
='test -s conftest$ac_exeext'
3229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3233 (exit $ac_status); }; }; then
3234 ac_cv_lib_nsl_gethostbyname
=yes
3236 echo "$as_me: failed program was:" >&5
3237 sed 's/^/| /' conftest.
$ac_ext >&5
3239 ac_cv_lib_nsl_gethostbyname
=no
3241 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3242 LIBS
=$ac_check_lib_save_LIBS
3244 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3245 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3246 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3247 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
3250 if test $ac_cv_lib_nsl_gethostbyname = no
; then
3251 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3252 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3253 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3254 echo $ECHO_N "(cached) $ECHO_C" >&6
3256 ac_check_lib_save_LIBS
=$LIBS
3258 cat >conftest.
$ac_ext <<_ACEOF
3259 #line $LINENO "configure"
3262 cat confdefs.h
>>conftest.
$ac_ext
3263 cat >>conftest.
$ac_ext <<_ACEOF
3264 /* end confdefs.h. */
3266 /* Override any gcc2 internal prototype to avoid an error. */
3270 /* We use char because int might match the return type of a gcc2
3271 builtin and then its argument prototype would still apply. */
3272 char gethostbyname ();
3281 rm -f conftest.
$ac_objext conftest
$ac_exeext
3282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3283 (eval $ac_link) 2>&5
3285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3286 (exit $ac_status); } &&
3287 { ac_try
='test -s conftest$ac_exeext'
3288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3292 (exit $ac_status); }; }; then
3293 ac_cv_lib_bsd_gethostbyname
=yes
3295 echo "$as_me: failed program was:" >&5
3296 sed 's/^/| /' conftest.
$ac_ext >&5
3298 ac_cv_lib_bsd_gethostbyname
=no
3300 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3301 LIBS
=$ac_check_lib_save_LIBS
3303 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3304 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3305 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3306 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
3312 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3313 # socket/setsockopt and other routines are undefined under SCO ODT
3314 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3315 # on later versions), says Simon Leinen: it contains gethostby*
3316 # variants that don't use the name server (or something). -lsocket
3317 # must be given before -lnsl if both are needed. We assume that
3318 # if connect needs -lnsl, so does gethostbyname.
3319 echo "$as_me:$LINENO: checking for connect" >&5
3320 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3321 if test "${ac_cv_func_connect+set}" = set; then
3322 echo $ECHO_N "(cached) $ECHO_C" >&6
3324 cat >conftest.
$ac_ext <<_ACEOF
3325 #line $LINENO "configure"
3328 cat confdefs.h
>>conftest.
$ac_ext
3329 cat >>conftest.
$ac_ext <<_ACEOF
3330 /* end confdefs.h. */
3331 /* System header to define __stub macros and hopefully few prototypes,
3332 which can conflict with char connect (); below.
3333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3334 <limits.h> exists even on freestanding compilers. */
3336 # include <limits.h>
3338 # include <assert.h>
3340 /* Override any gcc2 internal prototype to avoid an error. */
3345 /* We use char because int might match the return type of a gcc2
3346 builtin and then its argument prototype would still apply. */
3348 /* The GNU C library defines this for functions which it implements
3349 to always fail with ENOSYS. Some functions are actually named
3350 something starting with __ and the normal name is an alias. */
3351 #if defined (__stub_connect) || defined (__stub___connect)
3354 char (*f) () = connect;
3363 return f != connect;
3368 rm -f conftest.
$ac_objext conftest
$ac_exeext
3369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3370 (eval $ac_link) 2>&5
3372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3373 (exit $ac_status); } &&
3374 { ac_try
='test -s conftest$ac_exeext'
3375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3379 (exit $ac_status); }; }; then
3380 ac_cv_func_connect
=yes
3382 echo "$as_me: failed program was:" >&5
3383 sed 's/^/| /' conftest.
$ac_ext >&5
3385 ac_cv_func_connect
=no
3387 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3389 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
3390 echo "${ECHO_T}$ac_cv_func_connect" >&6
3392 if test $ac_cv_func_connect = no
; then
3393 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
3394 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
3395 if test "${ac_cv_lib_socket_connect+set}" = set; then
3396 echo $ECHO_N "(cached) $ECHO_C" >&6
3398 ac_check_lib_save_LIBS
=$LIBS
3399 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
3400 cat >conftest.
$ac_ext <<_ACEOF
3401 #line $LINENO "configure"
3404 cat confdefs.h
>>conftest.
$ac_ext
3405 cat >>conftest.
$ac_ext <<_ACEOF
3406 /* end confdefs.h. */
3408 /* Override any gcc2 internal prototype to avoid an error. */
3412 /* We use char because int might match the return type of a gcc2
3413 builtin and then its argument prototype would still apply. */
3423 rm -f conftest.
$ac_objext conftest
$ac_exeext
3424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3425 (eval $ac_link) 2>&5
3427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3428 (exit $ac_status); } &&
3429 { ac_try
='test -s conftest$ac_exeext'
3430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3434 (exit $ac_status); }; }; then
3435 ac_cv_lib_socket_connect
=yes
3437 echo "$as_me: failed program was:" >&5
3438 sed 's/^/| /' conftest.
$ac_ext >&5
3440 ac_cv_lib_socket_connect
=no
3442 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3443 LIBS
=$ac_check_lib_save_LIBS
3445 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
3446 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
3447 if test $ac_cv_lib_socket_connect = yes; then
3448 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
3453 # Guillermo Gomez says -lposix is necessary on A/UX.
3454 echo "$as_me:$LINENO: checking for remove" >&5
3455 echo $ECHO_N "checking for remove... $ECHO_C" >&6
3456 if test "${ac_cv_func_remove+set}" = set; then
3457 echo $ECHO_N "(cached) $ECHO_C" >&6
3459 cat >conftest.
$ac_ext <<_ACEOF
3460 #line $LINENO "configure"
3463 cat confdefs.h
>>conftest.
$ac_ext
3464 cat >>conftest.
$ac_ext <<_ACEOF
3465 /* end confdefs.h. */
3466 /* System header to define __stub macros and hopefully few prototypes,
3467 which can conflict with char remove (); below.
3468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3469 <limits.h> exists even on freestanding compilers. */
3471 # include <limits.h>
3473 # include <assert.h>
3475 /* Override any gcc2 internal prototype to avoid an error. */
3480 /* We use char because int might match the return type of a gcc2
3481 builtin and then its argument prototype would still apply. */
3483 /* The GNU C library defines this for functions which it implements
3484 to always fail with ENOSYS. Some functions are actually named
3485 something starting with __ and the normal name is an alias. */
3486 #if defined (__stub_remove) || defined (__stub___remove)
3489 char (*f) () = remove;
3503 rm -f conftest.
$ac_objext conftest
$ac_exeext
3504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3505 (eval $ac_link) 2>&5
3507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3508 (exit $ac_status); } &&
3509 { ac_try
='test -s conftest$ac_exeext'
3510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3514 (exit $ac_status); }; }; then
3515 ac_cv_func_remove
=yes
3517 echo "$as_me: failed program was:" >&5
3518 sed 's/^/| /' conftest.
$ac_ext >&5
3520 ac_cv_func_remove
=no
3522 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3524 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
3525 echo "${ECHO_T}$ac_cv_func_remove" >&6
3527 if test $ac_cv_func_remove = no
; then
3528 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
3529 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
3530 if test "${ac_cv_lib_posix_remove+set}" = set; then
3531 echo $ECHO_N "(cached) $ECHO_C" >&6
3533 ac_check_lib_save_LIBS
=$LIBS
3534 LIBS
="-lposix $LIBS"
3535 cat >conftest.
$ac_ext <<_ACEOF
3536 #line $LINENO "configure"
3539 cat confdefs.h
>>conftest.
$ac_ext
3540 cat >>conftest.
$ac_ext <<_ACEOF
3541 /* end confdefs.h. */
3543 /* Override any gcc2 internal prototype to avoid an error. */
3547 /* We use char because int might match the return type of a gcc2
3548 builtin and then its argument prototype would still apply. */
3558 rm -f conftest.
$ac_objext conftest
$ac_exeext
3559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3560 (eval $ac_link) 2>&5
3562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3563 (exit $ac_status); } &&
3564 { ac_try
='test -s conftest$ac_exeext'
3565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3569 (exit $ac_status); }; }; then
3570 ac_cv_lib_posix_remove
=yes
3572 echo "$as_me: failed program was:" >&5
3573 sed 's/^/| /' conftest.
$ac_ext >&5
3575 ac_cv_lib_posix_remove
=no
3577 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3578 LIBS
=$ac_check_lib_save_LIBS
3580 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
3581 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
3582 if test $ac_cv_lib_posix_remove = yes; then
3583 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
3588 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
3589 echo "$as_me:$LINENO: checking for shmat" >&5
3590 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
3591 if test "${ac_cv_func_shmat+set}" = set; then
3592 echo $ECHO_N "(cached) $ECHO_C" >&6
3594 cat >conftest.
$ac_ext <<_ACEOF
3595 #line $LINENO "configure"
3598 cat confdefs.h
>>conftest.
$ac_ext
3599 cat >>conftest.
$ac_ext <<_ACEOF
3600 /* end confdefs.h. */
3601 /* System header to define __stub macros and hopefully few prototypes,
3602 which can conflict with char shmat (); below.
3603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3604 <limits.h> exists even on freestanding compilers. */
3606 # include <limits.h>
3608 # include <assert.h>
3610 /* Override any gcc2 internal prototype to avoid an error. */
3615 /* We use char because int might match the return type of a gcc2
3616 builtin and then its argument prototype would still apply. */
3618 /* The GNU C library defines this for functions which it implements
3619 to always fail with ENOSYS. Some functions are actually named
3620 something starting with __ and the normal name is an alias. */
3621 #if defined (__stub_shmat) || defined (__stub___shmat)
3624 char (*f) () = shmat;
3638 rm -f conftest.
$ac_objext conftest
$ac_exeext
3639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3640 (eval $ac_link) 2>&5
3642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3643 (exit $ac_status); } &&
3644 { ac_try
='test -s conftest$ac_exeext'
3645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3649 (exit $ac_status); }; }; then
3650 ac_cv_func_shmat
=yes
3652 echo "$as_me: failed program was:" >&5
3653 sed 's/^/| /' conftest.
$ac_ext >&5
3657 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3659 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
3660 echo "${ECHO_T}$ac_cv_func_shmat" >&6
3662 if test $ac_cv_func_shmat = no
; then
3663 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
3664 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
3665 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
3666 echo $ECHO_N "(cached) $ECHO_C" >&6
3668 ac_check_lib_save_LIBS
=$LIBS
3670 cat >conftest.
$ac_ext <<_ACEOF
3671 #line $LINENO "configure"
3674 cat confdefs.h
>>conftest.
$ac_ext
3675 cat >>conftest.
$ac_ext <<_ACEOF
3676 /* end confdefs.h. */
3678 /* Override any gcc2 internal prototype to avoid an error. */
3682 /* We use char because int might match the return type of a gcc2
3683 builtin and then its argument prototype would still apply. */
3693 rm -f conftest.
$ac_objext conftest
$ac_exeext
3694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3695 (eval $ac_link) 2>&5
3697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3698 (exit $ac_status); } &&
3699 { ac_try
='test -s conftest$ac_exeext'
3700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3704 (exit $ac_status); }; }; then
3705 ac_cv_lib_ipc_shmat
=yes
3707 echo "$as_me: failed program was:" >&5
3708 sed 's/^/| /' conftest.
$ac_ext >&5
3710 ac_cv_lib_ipc_shmat
=no
3712 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3713 LIBS
=$ac_check_lib_save_LIBS
3715 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
3716 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
3717 if test $ac_cv_lib_ipc_shmat = yes; then
3718 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
3724 # Check for libraries that X11R6 Xt/Xaw programs need.
3725 ac_save_LDFLAGS
=$LDFLAGS
3726 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
3727 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
3728 # check for ICE first), but we must link in the order -lSM -lICE or
3729 # we get undefined symbols. So assume we have SM if we have ICE.
3730 # These have to be linked with before -lX11, unlike the other
3731 # libraries we check for below, so use a different variable.
3732 # John Interrante, Karl Berry
3733 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
3734 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
3735 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
3736 echo $ECHO_N "(cached) $ECHO_C" >&6
3738 ac_check_lib_save_LIBS
=$LIBS
3739 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
3740 cat >conftest.
$ac_ext <<_ACEOF
3741 #line $LINENO "configure"
3744 cat confdefs.h
>>conftest.
$ac_ext
3745 cat >>conftest.
$ac_ext <<_ACEOF
3746 /* end confdefs.h. */
3748 /* Override any gcc2 internal prototype to avoid an error. */
3752 /* We use char because int might match the return type of a gcc2
3753 builtin and then its argument prototype would still apply. */
3754 char IceConnectionNumber ();
3758 IceConnectionNumber ();
3763 rm -f conftest.
$ac_objext conftest
$ac_exeext
3764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3765 (eval $ac_link) 2>&5
3767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3768 (exit $ac_status); } &&
3769 { ac_try
='test -s conftest$ac_exeext'
3770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3774 (exit $ac_status); }; }; then
3775 ac_cv_lib_ICE_IceConnectionNumber
=yes
3777 echo "$as_me: failed program was:" >&5
3778 sed 's/^/| /' conftest.
$ac_ext >&5
3780 ac_cv_lib_ICE_IceConnectionNumber
=no
3782 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3783 LIBS
=$ac_check_lib_save_LIBS
3785 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
3786 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
3787 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
3788 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
3791 LDFLAGS
=$ac_save_LDFLAGS
3795 for ac_prog
in 'bison -y' byacc
3797 # Extract the first word of "$ac_prog", so it can be a program name with args.
3798 set dummy
$ac_prog; ac_word
=$2
3799 echo "$as_me:$LINENO: checking for $ac_word" >&5
3800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3801 if test "${ac_cv_prog_YACC+set}" = set; then
3802 echo $ECHO_N "(cached) $ECHO_C" >&6
3804 if test -n "$YACC"; then
3805 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
3807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3811 test -z "$as_dir" && as_dir
=.
3812 for ac_exec_ext
in '' $ac_executable_extensions; do
3813 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3814 ac_cv_prog_YACC
="$ac_prog"
3815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3823 YACC
=$ac_cv_prog_YACC
3824 if test -n "$YACC"; then
3825 echo "$as_me:$LINENO: result: $YACC" >&5
3826 echo "${ECHO_T}$YACC" >&6
3828 echo "$as_me:$LINENO: result: no" >&5
3829 echo "${ECHO_T}no" >&6
3832 test -n "$YACC" && break
3834 test -n "$YACC" || YACC
="yacc"
3836 for ac_prog
in flex
lex
3838 # Extract the first word of "$ac_prog", so it can be a program name with args.
3839 set dummy
$ac_prog; ac_word
=$2
3840 echo "$as_me:$LINENO: checking for $ac_word" >&5
3841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3842 if test "${ac_cv_prog_LEX+set}" = set; then
3843 echo $ECHO_N "(cached) $ECHO_C" >&6
3845 if test -n "$LEX"; then
3846 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
3848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3852 test -z "$as_dir" && as_dir
=.
3853 for ac_exec_ext
in '' $ac_executable_extensions; do
3854 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3855 ac_cv_prog_LEX
="$ac_prog"
3856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3865 if test -n "$LEX"; then
3866 echo "$as_me:$LINENO: result: $LEX" >&5
3867 echo "${ECHO_T}$LEX" >&6
3869 echo "$as_me:$LINENO: result: no" >&5
3870 echo "${ECHO_T}no" >&6
3873 test -n "$LEX" && break
3875 test -n "$LEX" || LEX
=":"
3877 if test -z "$LEXLIB"
3879 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3880 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3881 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3882 echo $ECHO_N "(cached) $ECHO_C" >&6
3884 ac_check_lib_save_LIBS
=$LIBS
3886 cat >conftest.
$ac_ext <<_ACEOF
3887 #line $LINENO "configure"
3890 cat confdefs.h
>>conftest.
$ac_ext
3891 cat >>conftest.
$ac_ext <<_ACEOF
3892 /* end confdefs.h. */
3894 /* Override any gcc2 internal prototype to avoid an error. */
3898 /* We use char because int might match the return type of a gcc2
3899 builtin and then its argument prototype would still apply. */
3909 rm -f conftest.
$ac_objext conftest
$ac_exeext
3910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3911 (eval $ac_link) 2>&5
3913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3914 (exit $ac_status); } &&
3915 { ac_try
='test -s conftest$ac_exeext'
3916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920 (exit $ac_status); }; }; then
3921 ac_cv_lib_fl_yywrap
=yes
3923 echo "$as_me: failed program was:" >&5
3924 sed 's/^/| /' conftest.
$ac_ext >&5
3926 ac_cv_lib_fl_yywrap
=no
3928 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3929 LIBS
=$ac_check_lib_save_LIBS
3931 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3932 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3933 if test $ac_cv_lib_fl_yywrap = yes; then
3936 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3937 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3938 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3939 echo $ECHO_N "(cached) $ECHO_C" >&6
3941 ac_check_lib_save_LIBS
=$LIBS
3943 cat >conftest.
$ac_ext <<_ACEOF
3944 #line $LINENO "configure"
3947 cat confdefs.h
>>conftest.
$ac_ext
3948 cat >>conftest.
$ac_ext <<_ACEOF
3949 /* end confdefs.h. */
3951 /* Override any gcc2 internal prototype to avoid an error. */
3955 /* We use char because int might match the return type of a gcc2
3956 builtin and then its argument prototype would still apply. */
3966 rm -f conftest.
$ac_objext conftest
$ac_exeext
3967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3968 (eval $ac_link) 2>&5
3970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3971 (exit $ac_status); } &&
3972 { ac_try
='test -s conftest$ac_exeext'
3973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3977 (exit $ac_status); }; }; then
3978 ac_cv_lib_l_yywrap
=yes
3980 echo "$as_me: failed program was:" >&5
3981 sed 's/^/| /' conftest.
$ac_ext >&5
3983 ac_cv_lib_l_yywrap
=no
3985 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3986 LIBS
=$ac_check_lib_save_LIBS
3988 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3989 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3990 if test $ac_cv_lib_l_yywrap = yes; then
3998 if test "x$LEX" != "x:"; then
3999 echo "$as_me:$LINENO: checking lex output file root" >&5
4000 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4001 if test "${ac_cv_prog_lex_root+set}" = set; then
4002 echo $ECHO_N "(cached) $ECHO_C" >&6
4004 # The minimal lex program is just a single line: %%. But some broken lexes
4005 # (Solaris, I think it was) want two %% lines, so accommodate them.
4006 cat >conftest.l
<<_ACEOF
4010 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4011 (eval $LEX conftest.l
) 2>&5
4013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4014 (exit $ac_status); }
4015 if test -f lex.yy.c
; then
4016 ac_cv_prog_lex_root
=lex.yy
4017 elif test -f lexyy.c
; then
4018 ac_cv_prog_lex_root
=lexyy
4020 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4021 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4022 { (exit 1); exit 1; }; }
4025 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4026 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4028 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
4030 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4031 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4032 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4033 echo $ECHO_N "(cached) $ECHO_C" >&6
4035 # POSIX says lex can declare yytext either as a pointer or an array; the
4036 # default is implementation-dependent. Figure out which it is, since
4037 # not all implementations provide the %pointer and %array declarations.
4038 ac_cv_prog_lex_yytext_pointer
=no
4039 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4041 LIBS
="$LIBS $LEXLIB"
4042 cat >conftest.
$ac_ext <<_ACEOF
4043 `cat $LEX_OUTPUT_ROOT.c`
4045 rm -f conftest.
$ac_objext conftest
$ac_exeext
4046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4047 (eval $ac_link) 2>&5
4049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4050 (exit $ac_status); } &&
4051 { ac_try
='test -s conftest$ac_exeext'
4052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4056 (exit $ac_status); }; }; then
4057 ac_cv_prog_lex_yytext_pointer
=yes
4059 echo "$as_me: failed program was:" >&5
4060 sed 's/^/| /' conftest.
$ac_ext >&5
4063 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4065 rm -f "${LEX_OUTPUT_ROOT}.c"
4068 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4069 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4070 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4072 cat >>confdefs.h
<<\_ACEOF
4073 #define YYTEXT_POINTER 1
4080 for ac_prog
in $YACC bison
yacc
4082 # Extract the first word of "$ac_prog", so it can be a program name with args.
4083 set dummy
$ac_prog; ac_word
=$2
4084 echo "$as_me:$LINENO: checking for $ac_word" >&5
4085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4086 if test "${ac_cv_prog_XYACC+set}" = set; then
4087 echo $ECHO_N "(cached) $ECHO_C" >&6
4089 if test -n "$XYACC"; then
4090 ac_cv_prog_XYACC
="$XYACC" # Let the user override the test.
4092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4096 test -z "$as_dir" && as_dir
=.
4097 for ac_exec_ext
in '' $ac_executable_extensions; do
4098 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4099 ac_cv_prog_XYACC
="$ac_prog"
4100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4108 XYACC
=$ac_cv_prog_XYACC
4109 if test -n "$XYACC"; then
4110 echo "$as_me:$LINENO: result: $XYACC" >&5
4111 echo "${ECHO_T}$XYACC" >&6
4113 echo "$as_me:$LINENO: result: no" >&5
4114 echo "${ECHO_T}no" >&6
4117 test -n "$XYACC" && break
4119 test -n "$XYACC" || XYACC
="none"
4121 if test "$XYACC" = "none"
4123 { { echo "$as_me:$LINENO: error: no suitable bison/yacc found. Please install the 'bison' package." >&5
4124 echo "$as_me: error: no suitable bison/yacc found. Please install the 'bison' package." >&2;}
4125 { (exit 1); exit 1; }; }
4127 for ac_prog
in $LEX flex
lex
4129 # Extract the first word of "$ac_prog", so it can be a program name with args.
4130 set dummy
$ac_prog; ac_word
=$2
4131 echo "$as_me:$LINENO: checking for $ac_word" >&5
4132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4133 if test "${ac_cv_prog_XLEX+set}" = set; then
4134 echo $ECHO_N "(cached) $ECHO_C" >&6
4136 if test -n "$XLEX"; then
4137 ac_cv_prog_XLEX
="$XLEX" # Let the user override the test.
4139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4143 test -z "$as_dir" && as_dir
=.
4144 for ac_exec_ext
in '' $ac_executable_extensions; do
4145 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4146 ac_cv_prog_XLEX
="$ac_prog"
4147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4155 XLEX
=$ac_cv_prog_XLEX
4156 if test -n "$XLEX"; then
4157 echo "$as_me:$LINENO: result: $XLEX" >&5
4158 echo "${ECHO_T}$XLEX" >&6
4160 echo "$as_me:$LINENO: result: no" >&5
4161 echo "${ECHO_T}no" >&6
4164 test -n "$XLEX" && break
4166 test -n "$XLEX" || XLEX
="none"
4168 if test "$XLEX" = "none"
4170 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
4171 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
4172 { (exit 1); exit 1; }; }
4175 if test -n "$ac_tool_prefix"; then
4176 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4177 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4178 echo "$as_me:$LINENO: checking for $ac_word" >&5
4179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4180 if test "${ac_cv_prog_LD+set}" = set; then
4181 echo $ECHO_N "(cached) $ECHO_C" >&6
4183 if test -n "$LD"; then
4184 ac_cv_prog_LD
="$LD" # Let the user override the test.
4186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4190 test -z "$as_dir" && as_dir
=.
4191 for ac_exec_ext
in '' $ac_executable_extensions; do
4192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4193 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4203 if test -n "$LD"; then
4204 echo "$as_me:$LINENO: result: $LD" >&5
4205 echo "${ECHO_T}$LD" >&6
4207 echo "$as_me:$LINENO: result: no" >&5
4208 echo "${ECHO_T}no" >&6
4212 if test -z "$ac_cv_prog_LD"; then
4214 # Extract the first word of "ld", so it can be a program name with args.
4215 set dummy ld
; ac_word
=$2
4216 echo "$as_me:$LINENO: checking for $ac_word" >&5
4217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4218 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
4219 echo $ECHO_N "(cached) $ECHO_C" >&6
4221 if test -n "$ac_ct_LD"; then
4222 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4228 test -z "$as_dir" && as_dir
=.
4229 for ac_exec_ext
in '' $ac_executable_extensions; do
4230 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4231 ac_cv_prog_ac_ct_LD
="ld"
4232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4238 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD
="ld"
4241 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4242 if test -n "$ac_ct_LD"; then
4243 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
4244 echo "${ECHO_T}$ac_ct_LD" >&6
4246 echo "$as_me:$LINENO: result: no" >&5
4247 echo "${ECHO_T}no" >&6
4255 if test -n "$ac_tool_prefix"; then
4256 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4257 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4258 echo "$as_me:$LINENO: checking for $ac_word" >&5
4259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4260 if test "${ac_cv_prog_AR+set}" = set; then
4261 echo $ECHO_N "(cached) $ECHO_C" >&6
4263 if test -n "$AR"; then
4264 ac_cv_prog_AR
="$AR" # Let the user override the test.
4266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4270 test -z "$as_dir" && as_dir
=.
4271 for ac_exec_ext
in '' $ac_executable_extensions; do
4272 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4273 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4283 if test -n "$AR"; then
4284 echo "$as_me:$LINENO: result: $AR" >&5
4285 echo "${ECHO_T}$AR" >&6
4287 echo "$as_me:$LINENO: result: no" >&5
4288 echo "${ECHO_T}no" >&6
4292 if test -z "$ac_cv_prog_AR"; then
4294 # Extract the first word of "ar", so it can be a program name with args.
4295 set dummy
ar; ac_word
=$2
4296 echo "$as_me:$LINENO: checking for $ac_word" >&5
4297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4298 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4299 echo $ECHO_N "(cached) $ECHO_C" >&6
4301 if test -n "$ac_ct_AR"; then
4302 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4308 test -z "$as_dir" && as_dir
=.
4309 for ac_exec_ext
in '' $ac_executable_extensions; do
4310 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4311 ac_cv_prog_ac_ct_AR
="ar"
4312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4318 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
4321 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4322 if test -n "$ac_ct_AR"; then
4323 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4324 echo "${ECHO_T}$ac_ct_AR" >&6
4326 echo "$as_me:$LINENO: result: no" >&5
4327 echo "${ECHO_T}no" >&6
4335 if test -n "$ac_tool_prefix"; then
4336 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4337 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4338 echo "$as_me:$LINENO: checking for $ac_word" >&5
4339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4340 if test "${ac_cv_prog_RANLIB+set}" = set; then
4341 echo $ECHO_N "(cached) $ECHO_C" >&6
4343 if test -n "$RANLIB"; then
4344 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4350 test -z "$as_dir" && as_dir
=.
4351 for ac_exec_ext
in '' $ac_executable_extensions; do
4352 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4353 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4362 RANLIB
=$ac_cv_prog_RANLIB
4363 if test -n "$RANLIB"; then
4364 echo "$as_me:$LINENO: result: $RANLIB" >&5
4365 echo "${ECHO_T}$RANLIB" >&6
4367 echo "$as_me:$LINENO: result: no" >&5
4368 echo "${ECHO_T}no" >&6
4372 if test -z "$ac_cv_prog_RANLIB"; then
4373 ac_ct_RANLIB
=$RANLIB
4374 # Extract the first word of "ranlib", so it can be a program name with args.
4375 set dummy ranlib
; ac_word
=$2
4376 echo "$as_me:$LINENO: checking for $ac_word" >&5
4377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4378 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4379 echo $ECHO_N "(cached) $ECHO_C" >&6
4381 if test -n "$ac_ct_RANLIB"; then
4382 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4388 test -z "$as_dir" && as_dir
=.
4389 for ac_exec_ext
in '' $ac_executable_extensions; do
4390 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4391 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4398 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4401 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4402 if test -n "$ac_ct_RANLIB"; then
4403 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4404 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4406 echo "$as_me:$LINENO: result: no" >&5
4407 echo "${ECHO_T}no" >&6
4410 RANLIB
=$ac_ct_RANLIB
4412 RANLIB
="$ac_cv_prog_RANLIB"
4415 if test -n "$ac_tool_prefix"; then
4416 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4417 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4418 echo "$as_me:$LINENO: checking for $ac_word" >&5
4419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4420 if test "${ac_cv_prog_STRIP+set}" = set; then
4421 echo $ECHO_N "(cached) $ECHO_C" >&6
4423 if test -n "$STRIP"; then
4424 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4430 test -z "$as_dir" && as_dir
=.
4431 for ac_exec_ext
in '' $ac_executable_extensions; do
4432 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4433 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4442 STRIP
=$ac_cv_prog_STRIP
4443 if test -n "$STRIP"; then
4444 echo "$as_me:$LINENO: result: $STRIP" >&5
4445 echo "${ECHO_T}$STRIP" >&6
4447 echo "$as_me:$LINENO: result: no" >&5
4448 echo "${ECHO_T}no" >&6
4452 if test -z "$ac_cv_prog_STRIP"; then
4454 # Extract the first word of "strip", so it can be a program name with args.
4455 set dummy strip
; ac_word
=$2
4456 echo "$as_me:$LINENO: checking for $ac_word" >&5
4457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4458 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4459 echo $ECHO_N "(cached) $ECHO_C" >&6
4461 if test -n "$ac_ct_STRIP"; then
4462 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4468 test -z "$as_dir" && as_dir
=.
4469 for ac_exec_ext
in '' $ac_executable_extensions; do
4470 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4471 ac_cv_prog_ac_ct_STRIP
="strip"
4472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4478 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="strip"
4481 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4482 if test -n "$ac_ct_STRIP"; then
4483 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4484 echo "${ECHO_T}$ac_ct_STRIP" >&6
4486 echo "$as_me:$LINENO: result: no" >&5
4487 echo "${ECHO_T}no" >&6
4492 STRIP
="$ac_cv_prog_STRIP"
4495 if test -n "$ac_tool_prefix"; then
4496 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
4497 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
4498 echo "$as_me:$LINENO: checking for $ac_word" >&5
4499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4500 if test "${ac_cv_prog_WINDRES+set}" = set; then
4501 echo $ECHO_N "(cached) $ECHO_C" >&6
4503 if test -n "$WINDRES"; then
4504 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
4506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4510 test -z "$as_dir" && as_dir
=.
4511 for ac_exec_ext
in '' $ac_executable_extensions; do
4512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4513 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
4514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4522 WINDRES
=$ac_cv_prog_WINDRES
4523 if test -n "$WINDRES"; then
4524 echo "$as_me:$LINENO: result: $WINDRES" >&5
4525 echo "${ECHO_T}$WINDRES" >&6
4527 echo "$as_me:$LINENO: result: no" >&5
4528 echo "${ECHO_T}no" >&6
4532 if test -z "$ac_cv_prog_WINDRES"; then
4533 ac_ct_WINDRES
=$WINDRES
4534 # Extract the first word of "windres", so it can be a program name with args.
4535 set dummy windres
; ac_word
=$2
4536 echo "$as_me:$LINENO: checking for $ac_word" >&5
4537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4538 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
4539 echo $ECHO_N "(cached) $ECHO_C" >&6
4541 if test -n "$ac_ct_WINDRES"; then
4542 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
4544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4548 test -z "$as_dir" && as_dir
=.
4549 for ac_exec_ext
in '' $ac_executable_extensions; do
4550 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4551 ac_cv_prog_ac_ct_WINDRES
="windres"
4552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4558 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES
="false"
4561 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
4562 if test -n "$ac_ct_WINDRES"; then
4563 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
4564 echo "${ECHO_T}$ac_ct_WINDRES" >&6
4566 echo "$as_me:$LINENO: result: no" >&5
4567 echo "${ECHO_T}no" >&6
4570 WINDRES
=$ac_ct_WINDRES
4572 WINDRES
="$ac_cv_prog_WINDRES"
4575 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4576 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4578 if test "$LN_S" = "ln -s"; then
4579 echo "$as_me:$LINENO: result: yes" >&5
4580 echo "${ECHO_T}yes" >&6
4582 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4583 echo "${ECHO_T}no, using $LN_S" >&6
4586 echo "$as_me:$LINENO: checking whether ln works" >&5
4587 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
4588 rm -f conf$$ conf$$.
file
4590 if ln conf$$.
file conf$$
2>/dev
/null
; then
4593 echo "$as_me:$LINENO: result: yes" >&5
4594 echo "${ECHO_T}yes" >&6
4598 echo "$as_me:$LINENO: result: no, using $LN" >&5
4599 echo "${ECHO_T}no, using $LN" >&6
4601 rm -f conf$$ conf$$.
file
4602 # Extract the first word of "c2man", so it can be a program name with args.
4603 set dummy c2man
; ac_word
=$2
4604 echo "$as_me:$LINENO: checking for $ac_word" >&5
4605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4606 if test "${ac_cv_prog_C2MAN+set}" = set; then
4607 echo $ECHO_N "(cached) $ECHO_C" >&6
4609 if test -n "$C2MAN"; then
4610 ac_cv_prog_C2MAN
="$C2MAN" # Let the user override the test.
4612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4616 test -z "$as_dir" && as_dir
=.
4617 for ac_exec_ext
in '' $ac_executable_extensions; do
4618 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4619 ac_cv_prog_C2MAN
="c2man"
4620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4626 test -z "$ac_cv_prog_C2MAN" && ac_cv_prog_C2MAN
="\$(TOPSRCDIR)/tools/c2man.pl"
4629 C2MAN
=$ac_cv_prog_C2MAN
4630 if test -n "$C2MAN"; then
4631 echo "$as_me:$LINENO: result: $C2MAN" >&5
4632 echo "${ECHO_T}$C2MAN" >&6
4634 echo "$as_me:$LINENO: result: no" >&5
4635 echo "${ECHO_T}no" >&6
4638 # Extract the first word of "ldconfig", so it can be a program name with args.
4639 set dummy ldconfig
; ac_word
=$2
4640 echo "$as_me:$LINENO: checking for $ac_word" >&5
4641 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4642 if test "${ac_cv_path_LDCONFIG+set}" = set; then
4643 echo $ECHO_N "(cached) $ECHO_C" >&6
4647 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
4650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4651 for as_dir
in /sbin
/usr
/sbin
$PATH
4654 test -z "$as_dir" && as_dir
=.
4655 for ac_exec_ext
in '' $ac_executable_extensions; do
4656 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4657 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
4658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4664 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
4668 LDCONFIG
=$ac_cv_path_LDCONFIG
4670 if test -n "$LDCONFIG"; then
4671 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
4672 echo "${ECHO_T}$LDCONFIG" >&6
4674 echo "$as_me:$LINENO: result: no" >&5
4675 echo "${ECHO_T}no" >&6
4678 # Find a good install program. We prefer a C program (faster),
4679 # so one script is as good as another. But avoid the broken or
4680 # incompatible versions:
4681 # SysV /etc/install, /usr/sbin/install
4682 # SunOS /usr/etc/install
4683 # IRIX /sbin/install
4685 # AmigaOS /C/install, which installs bootblocks on floppy discs
4686 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4687 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4688 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4689 # ./install, which can be erroneously created by make from ./install.sh.
4690 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4691 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4692 if test -z "$INSTALL"; then
4693 if test "${ac_cv_path_install+set}" = set; then
4694 echo $ECHO_N "(cached) $ECHO_C" >&6
4696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4700 test -z "$as_dir" && as_dir
=.
4701 # Account for people who put trailing slashes in PATH elements.
4703 .
/ | .
// |
/cC
/* | \
4704 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4707 # OSF1 and SCO ODT 3.0 have their own names for install.
4708 # Don't use installbsd from OSF since it installs stuff as root
4710 for ac_prog
in ginstall scoinst
install; do
4711 for ac_exec_ext
in '' $ac_executable_extensions; do
4712 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4713 if test $ac_prog = install &&
4714 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4715 # AIX install. It has an incompatible calling convention.
4717 elif test $ac_prog = install &&
4718 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4719 # program-specific install script used by HP pwplus--don't use.
4722 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4734 if test "${ac_cv_path_install+set}" = set; then
4735 INSTALL
=$ac_cv_path_install
4737 # As a last resort, use the slow shell script. We don't cache a
4738 # path for INSTALL within a source directory, because that will
4739 # break other packages using the cache if that directory is
4740 # removed, or if the path is relative.
4741 INSTALL
=$ac_install_sh
4744 echo "$as_me:$LINENO: result: $INSTALL" >&5
4745 echo "${ECHO_T}$INSTALL" >&6
4747 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4748 # It thinks the first close brace ends the variable substitution.
4749 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4751 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4753 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4756 [\\/$
]* | ?
:[\\/]* ) ;;
4757 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
4760 for ac_prog
in lclint lint
4762 # Extract the first word of "$ac_prog", so it can be a program name with args.
4763 set dummy
$ac_prog; ac_word
=$2
4764 echo "$as_me:$LINENO: checking for $ac_word" >&5
4765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4766 if test "${ac_cv_prog_LINT+set}" = set; then
4767 echo $ECHO_N "(cached) $ECHO_C" >&6
4769 if test -n "$LINT"; then
4770 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
4772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4776 test -z "$as_dir" && as_dir
=.
4777 for ac_exec_ext
in '' $ac_executable_extensions; do
4778 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4779 ac_cv_prog_LINT
="$ac_prog"
4780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4788 LINT
=$ac_cv_prog_LINT
4789 if test -n "$LINT"; then
4790 echo "$as_me:$LINENO: result: $LINT" >&5
4791 echo "${ECHO_T}$LINT" >&6
4793 echo "$as_me:$LINENO: result: no" >&5
4794 echo "${ECHO_T}no" >&6
4797 test -n "$LINT" && break
4800 if test "$LINT" = "lint"
4802 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4807 for ac_prog
in docbook2html db2html
4809 # Extract the first word of "$ac_prog", so it can be a program name with args.
4810 set dummy
$ac_prog; ac_word
=$2
4811 echo "$as_me:$LINENO: checking for $ac_word" >&5
4812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4813 if test "${ac_cv_prog_DB2HTML+set}" = set; then
4814 echo $ECHO_N "(cached) $ECHO_C" >&6
4816 if test -n "$DB2HTML"; then
4817 ac_cv_prog_DB2HTML
="$DB2HTML" # Let the user override the test.
4819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4823 test -z "$as_dir" && as_dir
=.
4824 for ac_exec_ext
in '' $ac_executable_extensions; do
4825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4826 ac_cv_prog_DB2HTML
="$ac_prog"
4827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4835 DB2HTML
=$ac_cv_prog_DB2HTML
4836 if test -n "$DB2HTML"; then
4837 echo "$as_me:$LINENO: result: $DB2HTML" >&5
4838 echo "${ECHO_T}$DB2HTML" >&6
4840 echo "$as_me:$LINENO: result: no" >&5
4841 echo "${ECHO_T}no" >&6
4844 test -n "$DB2HTML" && break
4846 test -n "$DB2HTML" || DB2HTML
="false"
4850 for ac_prog
in docbook2pdf db2pdf
4852 # Extract the first word of "$ac_prog", so it can be a program name with args.
4853 set dummy
$ac_prog; ac_word
=$2
4854 echo "$as_me:$LINENO: checking for $ac_word" >&5
4855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4856 if test "${ac_cv_prog_DB2PDF+set}" = set; then
4857 echo $ECHO_N "(cached) $ECHO_C" >&6
4859 if test -n "$DB2PDF"; then
4860 ac_cv_prog_DB2PDF
="$DB2PDF" # Let the user override the test.
4862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4866 test -z "$as_dir" && as_dir
=.
4867 for ac_exec_ext
in '' $ac_executable_extensions; do
4868 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4869 ac_cv_prog_DB2PDF
="$ac_prog"
4870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4878 DB2PDF
=$ac_cv_prog_DB2PDF
4879 if test -n "$DB2PDF"; then
4880 echo "$as_me:$LINENO: result: $DB2PDF" >&5
4881 echo "${ECHO_T}$DB2PDF" >&6
4883 echo "$as_me:$LINENO: result: no" >&5
4884 echo "${ECHO_T}no" >&6
4887 test -n "$DB2PDF" && break
4889 test -n "$DB2PDF" || DB2PDF
="false"
4893 for ac_prog
in docbook2ps db2ps
4895 # Extract the first word of "$ac_prog", so it can be a program name with args.
4896 set dummy
$ac_prog; ac_word
=$2
4897 echo "$as_me:$LINENO: checking for $ac_word" >&5
4898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4899 if test "${ac_cv_prog_DB2PS+set}" = set; then
4900 echo $ECHO_N "(cached) $ECHO_C" >&6
4902 if test -n "$DB2PS"; then
4903 ac_cv_prog_DB2PS
="$DB2PS" # Let the user override the test.
4905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4909 test -z "$as_dir" && as_dir
=.
4910 for ac_exec_ext
in '' $ac_executable_extensions; do
4911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4912 ac_cv_prog_DB2PS
="$ac_prog"
4913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4921 DB2PS
=$ac_cv_prog_DB2PS
4922 if test -n "$DB2PS"; then
4923 echo "$as_me:$LINENO: result: $DB2PS" >&5
4924 echo "${ECHO_T}$DB2PS" >&6
4926 echo "$as_me:$LINENO: result: no" >&5
4927 echo "${ECHO_T}no" >&6
4930 test -n "$DB2PS" && break
4932 test -n "$DB2PS" || DB2PS
="false"
4938 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
4939 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
4940 if test "${ac_cv_lib_m_sqrt+set}" = set; then
4941 echo $ECHO_N "(cached) $ECHO_C" >&6
4943 ac_check_lib_save_LIBS
=$LIBS
4945 cat >conftest.
$ac_ext <<_ACEOF
4946 #line $LINENO "configure"
4949 cat confdefs.h
>>conftest.
$ac_ext
4950 cat >>conftest.
$ac_ext <<_ACEOF
4951 /* end confdefs.h. */
4953 /* Override any gcc2 internal prototype to avoid an error. */
4957 /* We use char because int might match the return type of a gcc2
4958 builtin and then its argument prototype would still apply. */
4968 rm -f conftest.
$ac_objext conftest
$ac_exeext
4969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4970 (eval $ac_link) 2>&5
4972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4973 (exit $ac_status); } &&
4974 { ac_try
='test -s conftest$ac_exeext'
4975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4979 (exit $ac_status); }; }; then
4980 ac_cv_lib_m_sqrt
=yes
4982 echo "$as_me: failed program was:" >&5
4983 sed 's/^/| /' conftest.
$ac_ext >&5
4987 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4988 LIBS
=$ac_check_lib_save_LIBS
4990 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
4991 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
4992 if test $ac_cv_lib_m_sqrt = yes; then
4993 cat >>confdefs.h
<<_ACEOF
5002 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
5003 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
5004 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
5005 echo $ECHO_N "(cached) $ECHO_C" >&6
5007 ac_check_lib_save_LIBS
=$LIBS
5009 cat >conftest.
$ac_ext <<_ACEOF
5010 #line $LINENO "configure"
5013 cat confdefs.h
>>conftest.
$ac_ext
5014 cat >>conftest.
$ac_ext <<_ACEOF
5015 /* end confdefs.h. */
5017 /* Override any gcc2 internal prototype to avoid an error. */
5021 /* We use char because int might match the return type of a gcc2
5022 builtin and then its argument prototype would still apply. */
5023 char i386_set_ldt ();
5032 rm -f conftest.
$ac_objext conftest
$ac_exeext
5033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5034 (eval $ac_link) 2>&5
5036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5037 (exit $ac_status); } &&
5038 { ac_try
='test -s conftest$ac_exeext'
5039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5043 (exit $ac_status); }; }; then
5044 ac_cv_lib_i386_i386_set_ldt
=yes
5046 echo "$as_me: failed program was:" >&5
5047 sed 's/^/| /' conftest.
$ac_ext >&5
5049 ac_cv_lib_i386_i386_set_ldt
=no
5051 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5052 LIBS
=$ac_check_lib_save_LIBS
5054 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5055 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
5056 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
5057 cat >>confdefs.h
<<_ACEOF
5058 #define HAVE_LIBI386 1
5066 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5067 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5068 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5069 echo $ECHO_N "(cached) $ECHO_C" >&6
5071 ac_check_lib_save_LIBS
=$LIBS
5072 LIBS
="-lossaudio $LIBS"
5073 cat >conftest.
$ac_ext <<_ACEOF
5074 #line $LINENO "configure"
5077 cat confdefs.h
>>conftest.
$ac_ext
5078 cat >>conftest.
$ac_ext <<_ACEOF
5079 /* end confdefs.h. */
5081 /* Override any gcc2 internal prototype to avoid an error. */
5085 /* We use char because int might match the return type of a gcc2
5086 builtin and then its argument prototype would still apply. */
5096 rm -f conftest.
$ac_objext conftest
$ac_exeext
5097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5098 (eval $ac_link) 2>&5
5100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5101 (exit $ac_status); } &&
5102 { ac_try
='test -s conftest$ac_exeext'
5103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5107 (exit $ac_status); }; }; then
5108 ac_cv_lib_ossaudio__oss_ioctl
=yes
5110 echo "$as_me: failed program was:" >&5
5111 sed 's/^/| /' conftest.
$ac_ext >&5
5113 ac_cv_lib_ossaudio__oss_ioctl
=no
5115 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5116 LIBS
=$ac_check_lib_save_LIBS
5118 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5119 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5120 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5121 cat >>confdefs.h
<<_ACEOF
5122 #define HAVE_LIBOSSAUDIO 1
5125 LIBS
="-lossaudio $LIBS"
5130 for ac_func
in iswalnum
5132 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5133 echo "$as_me:$LINENO: checking for $ac_func" >&5
5134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5135 if eval "test \"\${$as_ac_var+set}\" = set"; then
5136 echo $ECHO_N "(cached) $ECHO_C" >&6
5138 cat >conftest.
$ac_ext <<_ACEOF
5139 #line $LINENO "configure"
5142 cat confdefs.h
>>conftest.
$ac_ext
5143 cat >>conftest.
$ac_ext <<_ACEOF
5144 /* end confdefs.h. */
5145 /* System header to define __stub macros and hopefully few prototypes,
5146 which can conflict with char $ac_func (); below.
5147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5148 <limits.h> exists even on freestanding compilers. */
5150 # include <limits.h>
5152 # include <assert.h>
5154 /* Override any gcc2 internal prototype to avoid an error. */
5159 /* We use char because int might match the return type of a gcc2
5160 builtin and then its argument prototype would still apply. */
5162 /* The GNU C library defines this for functions which it implements
5163 to always fail with ENOSYS. Some functions are actually named
5164 something starting with __ and the normal name is an alias. */
5165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5168 char (*f) () = $ac_func;
5177 return f != $ac_func;
5182 rm -f conftest.
$ac_objext conftest
$ac_exeext
5183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5184 (eval $ac_link) 2>&5
5186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5187 (exit $ac_status); } &&
5188 { ac_try
='test -s conftest$ac_exeext'
5189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5193 (exit $ac_status); }; }; then
5194 eval "$as_ac_var=yes"
5196 echo "$as_me: failed program was:" >&5
5197 sed 's/^/| /' conftest.
$ac_ext >&5
5199 eval "$as_ac_var=no"
5201 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5205 if test `eval echo '${'$as_ac_var'}'` = yes; then
5206 cat >>confdefs.h
<<_ACEOF
5207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5212 echo "$as_me:$LINENO: checking for iswalnum in -lw" >&5
5213 echo $ECHO_N "checking for iswalnum in -lw... $ECHO_C" >&6
5214 if test "${ac_cv_lib_w_iswalnum+set}" = set; then
5215 echo $ECHO_N "(cached) $ECHO_C" >&6
5217 ac_check_lib_save_LIBS
=$LIBS
5219 cat >conftest.
$ac_ext <<_ACEOF
5220 #line $LINENO "configure"
5223 cat confdefs.h
>>conftest.
$ac_ext
5224 cat >>conftest.
$ac_ext <<_ACEOF
5225 /* end confdefs.h. */
5227 /* Override any gcc2 internal prototype to avoid an error. */
5231 /* We use char because int might match the return type of a gcc2
5232 builtin and then its argument prototype would still apply. */
5242 rm -f conftest.
$ac_objext conftest
$ac_exeext
5243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5244 (eval $ac_link) 2>&5
5246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5247 (exit $ac_status); } &&
5248 { ac_try
='test -s conftest$ac_exeext'
5249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5253 (exit $ac_status); }; }; then
5254 ac_cv_lib_w_iswalnum
=yes
5256 echo "$as_me: failed program was:" >&5
5257 sed 's/^/| /' conftest.
$ac_ext >&5
5259 ac_cv_lib_w_iswalnum
=no
5261 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5262 LIBS
=$ac_check_lib_save_LIBS
5264 echo "$as_me:$LINENO: result: $ac_cv_lib_w_iswalnum" >&5
5265 echo "${ECHO_T}$ac_cv_lib_w_iswalnum" >&6
5266 if test $ac_cv_lib_w_iswalnum = yes; then
5267 cat >>confdefs.h
<<_ACEOF
5279 for ac_func
in gethostbyname
5281 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5282 echo "$as_me:$LINENO: checking for $ac_func" >&5
5283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5284 if eval "test \"\${$as_ac_var+set}\" = set"; then
5285 echo $ECHO_N "(cached) $ECHO_C" >&6
5287 cat >conftest.
$ac_ext <<_ACEOF
5288 #line $LINENO "configure"
5291 cat confdefs.h
>>conftest.
$ac_ext
5292 cat >>conftest.
$ac_ext <<_ACEOF
5293 /* end confdefs.h. */
5294 /* System header to define __stub macros and hopefully few prototypes,
5295 which can conflict with char $ac_func (); below.
5296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5297 <limits.h> exists even on freestanding compilers. */
5299 # include <limits.h>
5301 # include <assert.h>
5303 /* Override any gcc2 internal prototype to avoid an error. */
5308 /* We use char because int might match the return type of a gcc2
5309 builtin and then its argument prototype would still apply. */
5311 /* The GNU C library defines this for functions which it implements
5312 to always fail with ENOSYS. Some functions are actually named
5313 something starting with __ and the normal name is an alias. */
5314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5317 char (*f) () = $ac_func;
5326 return f != $ac_func;
5331 rm -f conftest.
$ac_objext conftest
$ac_exeext
5332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5333 (eval $ac_link) 2>&5
5335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5336 (exit $ac_status); } &&
5337 { ac_try
='test -s conftest$ac_exeext'
5338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5342 (exit $ac_status); }; }; then
5343 eval "$as_ac_var=yes"
5345 echo "$as_me: failed program was:" >&5
5346 sed 's/^/| /' conftest.
$ac_ext >&5
5348 eval "$as_ac_var=no"
5350 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5354 if test `eval echo '${'$as_ac_var'}'` = yes; then
5355 cat >>confdefs.h
<<_ACEOF
5356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5361 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5362 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
5363 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5364 echo $ECHO_N "(cached) $ECHO_C" >&6
5366 ac_check_lib_save_LIBS
=$LIBS
5368 cat >conftest.
$ac_ext <<_ACEOF
5369 #line $LINENO "configure"
5372 cat confdefs.h
>>conftest.
$ac_ext
5373 cat >>conftest.
$ac_ext <<_ACEOF
5374 /* end confdefs.h. */
5376 /* Override any gcc2 internal prototype to avoid an error. */
5380 /* We use char because int might match the return type of a gcc2
5381 builtin and then its argument prototype would still apply. */
5382 char gethostbyname ();
5391 rm -f conftest.
$ac_objext conftest
$ac_exeext
5392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5393 (eval $ac_link) 2>&5
5395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5396 (exit $ac_status); } &&
5397 { ac_try
='test -s conftest$ac_exeext'
5398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5402 (exit $ac_status); }; }; then
5403 ac_cv_lib_nsl_gethostbyname
=yes
5405 echo "$as_me: failed program was:" >&5
5406 sed 's/^/| /' conftest.
$ac_ext >&5
5408 ac_cv_lib_nsl_gethostbyname
=no
5410 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5411 LIBS
=$ac_check_lib_save_LIBS
5413 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5414 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
5415 if test $ac_cv_lib_nsl_gethostbyname = yes; then
5416 cat >>confdefs.h
<<_ACEOF
5417 #define HAVE_LIBNSL 1
5428 for ac_func
in connect
5430 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5431 echo "$as_me:$LINENO: checking for $ac_func" >&5
5432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5433 if eval "test \"\${$as_ac_var+set}\" = set"; then
5434 echo $ECHO_N "(cached) $ECHO_C" >&6
5436 cat >conftest.
$ac_ext <<_ACEOF
5437 #line $LINENO "configure"
5440 cat confdefs.h
>>conftest.
$ac_ext
5441 cat >>conftest.
$ac_ext <<_ACEOF
5442 /* end confdefs.h. */
5443 /* System header to define __stub macros and hopefully few prototypes,
5444 which can conflict with char $ac_func (); below.
5445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5446 <limits.h> exists even on freestanding compilers. */
5448 # include <limits.h>
5450 # include <assert.h>
5452 /* Override any gcc2 internal prototype to avoid an error. */
5457 /* We use char because int might match the return type of a gcc2
5458 builtin and then its argument prototype would still apply. */
5460 /* The GNU C library defines this for functions which it implements
5461 to always fail with ENOSYS. Some functions are actually named
5462 something starting with __ and the normal name is an alias. */
5463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5466 char (*f) () = $ac_func;
5475 return f != $ac_func;
5480 rm -f conftest.
$ac_objext conftest
$ac_exeext
5481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5482 (eval $ac_link) 2>&5
5484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5485 (exit $ac_status); } &&
5486 { ac_try
='test -s conftest$ac_exeext'
5487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5491 (exit $ac_status); }; }; then
5492 eval "$as_ac_var=yes"
5494 echo "$as_me: failed program was:" >&5
5495 sed 's/^/| /' conftest.
$ac_ext >&5
5497 eval "$as_ac_var=no"
5499 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5503 if test `eval echo '${'$as_ac_var'}'` = yes; then
5504 cat >>confdefs.h
<<_ACEOF
5505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5510 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
5511 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
5512 if test "${ac_cv_lib_socket_connect+set}" = set; then
5513 echo $ECHO_N "(cached) $ECHO_C" >&6
5515 ac_check_lib_save_LIBS
=$LIBS
5516 LIBS
="-lsocket $LIBS"
5517 cat >conftest.
$ac_ext <<_ACEOF
5518 #line $LINENO "configure"
5521 cat confdefs.h
>>conftest.
$ac_ext
5522 cat >>conftest.
$ac_ext <<_ACEOF
5523 /* end confdefs.h. */
5525 /* Override any gcc2 internal prototype to avoid an error. */
5529 /* We use char because int might match the return type of a gcc2
5530 builtin and then its argument prototype would still apply. */
5540 rm -f conftest.
$ac_objext conftest
$ac_exeext
5541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5542 (eval $ac_link) 2>&5
5544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5545 (exit $ac_status); } &&
5546 { ac_try
='test -s conftest$ac_exeext'
5547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5551 (exit $ac_status); }; }; then
5552 ac_cv_lib_socket_connect
=yes
5554 echo "$as_me: failed program was:" >&5
5555 sed 's/^/| /' conftest.
$ac_ext >&5
5557 ac_cv_lib_socket_connect
=no
5559 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5560 LIBS
=$ac_check_lib_save_LIBS
5562 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
5563 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
5564 if test $ac_cv_lib_socket_connect = yes; then
5565 cat >>confdefs.h
<<_ACEOF
5566 #define HAVE_LIBSOCKET 1
5569 LIBS
="-lsocket $LIBS"
5577 for ac_func
in inet_aton
5579 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5580 echo "$as_me:$LINENO: checking for $ac_func" >&5
5581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5582 if eval "test \"\${$as_ac_var+set}\" = set"; then
5583 echo $ECHO_N "(cached) $ECHO_C" >&6
5585 cat >conftest.
$ac_ext <<_ACEOF
5586 #line $LINENO "configure"
5589 cat confdefs.h
>>conftest.
$ac_ext
5590 cat >>conftest.
$ac_ext <<_ACEOF
5591 /* end confdefs.h. */
5592 /* System header to define __stub macros and hopefully few prototypes,
5593 which can conflict with char $ac_func (); below.
5594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5595 <limits.h> exists even on freestanding compilers. */
5597 # include <limits.h>
5599 # include <assert.h>
5601 /* Override any gcc2 internal prototype to avoid an error. */
5606 /* We use char because int might match the return type of a gcc2
5607 builtin and then its argument prototype would still apply. */
5609 /* The GNU C library defines this for functions which it implements
5610 to always fail with ENOSYS. Some functions are actually named
5611 something starting with __ and the normal name is an alias. */
5612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5615 char (*f) () = $ac_func;
5624 return f != $ac_func;
5629 rm -f conftest.
$ac_objext conftest
$ac_exeext
5630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5631 (eval $ac_link) 2>&5
5633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5634 (exit $ac_status); } &&
5635 { ac_try
='test -s conftest$ac_exeext'
5636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5640 (exit $ac_status); }; }; then
5641 eval "$as_ac_var=yes"
5643 echo "$as_me: failed program was:" >&5
5644 sed 's/^/| /' conftest.
$ac_ext >&5
5646 eval "$as_ac_var=no"
5648 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5652 if test `eval echo '${'$as_ac_var'}'` = yes; then
5653 cat >>confdefs.h
<<_ACEOF
5654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5659 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
5660 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
5661 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
5662 echo $ECHO_N "(cached) $ECHO_C" >&6
5664 ac_check_lib_save_LIBS
=$LIBS
5665 LIBS
="-lresolv $LIBS"
5666 cat >conftest.
$ac_ext <<_ACEOF
5667 #line $LINENO "configure"
5670 cat confdefs.h
>>conftest.
$ac_ext
5671 cat >>conftest.
$ac_ext <<_ACEOF
5672 /* end confdefs.h. */
5674 /* Override any gcc2 internal prototype to avoid an error. */
5678 /* We use char because int might match the return type of a gcc2
5679 builtin and then its argument prototype would still apply. */
5689 rm -f conftest.
$ac_objext conftest
$ac_exeext
5690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5691 (eval $ac_link) 2>&5
5693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5694 (exit $ac_status); } &&
5695 { ac_try
='test -s conftest$ac_exeext'
5696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5700 (exit $ac_status); }; }; then
5701 ac_cv_lib_resolv_inet_aton
=yes
5703 echo "$as_me: failed program was:" >&5
5704 sed 's/^/| /' conftest.
$ac_ext >&5
5706 ac_cv_lib_resolv_inet_aton
=no
5708 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5709 LIBS
=$ac_check_lib_save_LIBS
5711 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
5712 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
5713 if test $ac_cv_lib_resolv_inet_aton = yes; then
5714 cat >>confdefs.h
<<_ACEOF
5715 #define HAVE_LIBRESOLV 1
5718 LIBS
="-lresolv $LIBS"
5726 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
5727 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
5728 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
5729 echo $ECHO_N "(cached) $ECHO_C" >&6
5731 ac_check_lib_save_LIBS
=$LIBS
5733 cat >conftest.
$ac_ext <<_ACEOF
5734 #line $LINENO "configure"
5737 cat confdefs.h
>>conftest.
$ac_ext
5738 cat >>conftest.
$ac_ext <<_ACEOF
5739 /* end confdefs.h. */
5741 /* Override any gcc2 internal prototype to avoid an error. */
5745 /* We use char because int might match the return type of a gcc2
5746 builtin and then its argument prototype would still apply. */
5747 char _xpg4_setrunelocale ();
5751 _xpg4_setrunelocale ();
5756 rm -f conftest.
$ac_objext conftest
$ac_exeext
5757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5758 (eval $ac_link) 2>&5
5760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5761 (exit $ac_status); } &&
5762 { ac_try
='test -s conftest$ac_exeext'
5763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5767 (exit $ac_status); }; }; then
5768 ac_cv_lib_xpg4__xpg4_setrunelocale
=yes
5770 echo "$as_me: failed program was:" >&5
5771 sed 's/^/| /' conftest.
$ac_ext >&5
5773 ac_cv_lib_xpg4__xpg4_setrunelocale
=no
5775 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5776 LIBS
=$ac_check_lib_save_LIBS
5778 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
5779 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
5780 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
5781 cat >>confdefs.h
<<_ACEOF
5782 #define HAVE_LIBXPG4 1
5790 echo "$as_me:$LINENO: checking for mmap in -lmmap" >&5
5791 echo $ECHO_N "checking for mmap in -lmmap... $ECHO_C" >&6
5792 if test "${ac_cv_lib_mmap_mmap+set}" = set; then
5793 echo $ECHO_N "(cached) $ECHO_C" >&6
5795 ac_check_lib_save_LIBS
=$LIBS
5797 cat >conftest.
$ac_ext <<_ACEOF
5798 #line $LINENO "configure"
5801 cat confdefs.h
>>conftest.
$ac_ext
5802 cat >>conftest.
$ac_ext <<_ACEOF
5803 /* end confdefs.h. */
5805 /* Override any gcc2 internal prototype to avoid an error. */
5809 /* We use char because int might match the return type of a gcc2
5810 builtin and then its argument prototype would still apply. */
5820 rm -f conftest.
$ac_objext conftest
$ac_exeext
5821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5822 (eval $ac_link) 2>&5
5824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5825 (exit $ac_status); } &&
5826 { ac_try
='test -s conftest$ac_exeext'
5827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5831 (exit $ac_status); }; }; then
5832 ac_cv_lib_mmap_mmap
=yes
5834 echo "$as_me: failed program was:" >&5
5835 sed 's/^/| /' conftest.
$ac_ext >&5
5837 ac_cv_lib_mmap_mmap
=no
5839 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5840 LIBS
=$ac_check_lib_save_LIBS
5842 echo "$as_me:$LINENO: result: $ac_cv_lib_mmap_mmap" >&5
5843 echo "${ECHO_T}$ac_cv_lib_mmap_mmap" >&6
5844 if test $ac_cv_lib_mmap_mmap = yes; then
5845 cat >>confdefs.h
<<_ACEOF
5846 #define HAVE_LIBMMAP 1
5856 echo "$as_me:$LINENO: checking for egrep" >&5
5857 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5858 if test "${ac_cv_prog_egrep+set}" = set; then
5859 echo $ECHO_N "(cached) $ECHO_C" >&6
5861 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5862 then ac_cv_prog_egrep
='grep -E'
5863 else ac_cv_prog_egrep
='egrep'
5866 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5867 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5868 EGREP
=$ac_cv_prog_egrep
5871 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5872 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5873 if test "${ac_cv_header_stdc+set}" = set; then
5874 echo $ECHO_N "(cached) $ECHO_C" >&6
5876 cat >conftest.
$ac_ext <<_ACEOF
5877 #line $LINENO "configure"
5880 cat confdefs.h
>>conftest.
$ac_ext
5881 cat >>conftest.
$ac_ext <<_ACEOF
5882 /* end confdefs.h. */
5896 rm -f conftest.
$ac_objext
5897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5898 (eval $ac_compile) 2>&5
5900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5901 (exit $ac_status); } &&
5902 { ac_try
='test -s conftest.$ac_objext'
5903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5907 (exit $ac_status); }; }; then
5908 ac_cv_header_stdc
=yes
5910 echo "$as_me: failed program was:" >&5
5911 sed 's/^/| /' conftest.
$ac_ext >&5
5913 ac_cv_header_stdc
=no
5915 rm -f conftest.
$ac_objext conftest.
$ac_ext
5917 if test $ac_cv_header_stdc = yes; then
5918 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5919 cat >conftest.
$ac_ext <<_ACEOF
5920 #line $LINENO "configure"
5923 cat confdefs.h
>>conftest.
$ac_ext
5924 cat >>conftest.
$ac_ext <<_ACEOF
5925 /* end confdefs.h. */
5929 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5930 $EGREP "memchr" >/dev
/null
2>&1; then
5933 ac_cv_header_stdc
=no
5939 if test $ac_cv_header_stdc = yes; then
5940 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5941 cat >conftest.
$ac_ext <<_ACEOF
5942 #line $LINENO "configure"
5945 cat confdefs.h
>>conftest.
$ac_ext
5946 cat >>conftest.
$ac_ext <<_ACEOF
5947 /* end confdefs.h. */
5951 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5952 $EGREP "free" >/dev
/null
2>&1; then
5955 ac_cv_header_stdc
=no
5961 if test $ac_cv_header_stdc = yes; then
5962 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5963 if test "$cross_compiling" = yes; then
5966 cat >conftest.
$ac_ext <<_ACEOF
5967 #line $LINENO "configure"
5970 cat confdefs.h
>>conftest.
$ac_ext
5971 cat >>conftest.
$ac_ext <<_ACEOF
5972 /* end confdefs.h. */
5974 #if ((' ' & 0x0FF) == 0x020)
5975 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5976 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5978 # define ISLOWER(c) \
5979 (('a' <= (c) && (c) <= 'i') \
5980 || ('j' <= (c) && (c) <= 'r') \
5981 || ('s' <= (c) && (c) <= 'z'))
5982 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5985 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5990 for (i = 0; i < 256; i++)
5991 if (XOR (islower (i), ISLOWER (i))
5992 || toupper (i) != TOUPPER (i))
5997 rm -f conftest
$ac_exeext
5998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5999 (eval $ac_link) 2>&5
6001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6002 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6007 (exit $ac_status); }; }; then
6010 echo "$as_me: program exited with status $ac_status" >&5
6011 echo "$as_me: failed program was:" >&5
6012 sed 's/^/| /' conftest.
$ac_ext >&5
6015 ac_cv_header_stdc
=no
6017 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6021 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6022 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6023 if test $ac_cv_header_stdc = yes; then
6025 cat >>confdefs.h
<<\_ACEOF
6026 #define STDC_HEADERS 1
6031 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6041 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6042 inttypes.h stdint.h unistd.h
6044 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6045 echo "$as_me:$LINENO: checking for $ac_header" >&5
6046 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6047 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6048 echo $ECHO_N "(cached) $ECHO_C" >&6
6050 cat >conftest.
$ac_ext <<_ACEOF
6051 #line $LINENO "configure"
6054 cat confdefs.h
>>conftest.
$ac_ext
6055 cat >>conftest.
$ac_ext <<_ACEOF
6056 /* end confdefs.h. */
6057 $ac_includes_default
6059 #include <$ac_header>
6061 rm -f conftest.
$ac_objext
6062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6063 (eval $ac_compile) 2>&5
6065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6066 (exit $ac_status); } &&
6067 { ac_try
='test -s conftest.$ac_objext'
6068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6072 (exit $ac_status); }; }; then
6073 eval "$as_ac_Header=yes"
6075 echo "$as_me: failed program was:" >&5
6076 sed 's/^/| /' conftest.
$ac_ext >&5
6078 eval "$as_ac_Header=no"
6080 rm -f conftest.
$ac_objext conftest.
$ac_ext
6082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6083 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6084 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6085 cat >>confdefs.h
<<_ACEOF
6086 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6095 for ac_header
in jpeglib.h
6097 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6098 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6099 echo "$as_me:$LINENO: checking for $ac_header" >&5
6100 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6101 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6102 echo $ECHO_N "(cached) $ECHO_C" >&6
6104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6105 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6107 # Is the header compilable?
6108 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6109 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6110 cat >conftest.
$ac_ext <<_ACEOF
6111 #line $LINENO "configure"
6114 cat confdefs.h
>>conftest.
$ac_ext
6115 cat >>conftest.
$ac_ext <<_ACEOF
6116 /* end confdefs.h. */
6117 $ac_includes_default
6118 #include <$ac_header>
6120 rm -f conftest.
$ac_objext
6121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6122 (eval $ac_compile) 2>&5
6124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6125 (exit $ac_status); } &&
6126 { ac_try
='test -s conftest.$ac_objext'
6127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6131 (exit $ac_status); }; }; then
6132 ac_header_compiler
=yes
6134 echo "$as_me: failed program was:" >&5
6135 sed 's/^/| /' conftest.
$ac_ext >&5
6137 ac_header_compiler
=no
6139 rm -f conftest.
$ac_objext conftest.
$ac_ext
6140 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6141 echo "${ECHO_T}$ac_header_compiler" >&6
6143 # Is the header present?
6144 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6145 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6146 cat >conftest.
$ac_ext <<_ACEOF
6147 #line $LINENO "configure"
6150 cat confdefs.h
>>conftest.
$ac_ext
6151 cat >>conftest.
$ac_ext <<_ACEOF
6152 /* end confdefs.h. */
6153 #include <$ac_header>
6155 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6156 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6158 grep -v '^ *+' conftest.er1
>conftest.err
6160 cat conftest.err
>&5
6161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6162 (exit $ac_status); } >/dev
/null
; then
6163 if test -s conftest.err
; then
6164 ac_cpp_err
=$ac_c_preproc_warn_flag
6171 if test -z "$ac_cpp_err"; then
6172 ac_header_preproc
=yes
6174 echo "$as_me: failed program was:" >&5
6175 sed 's/^/| /' conftest.
$ac_ext >&5
6177 ac_header_preproc
=no
6179 rm -f conftest.err conftest.
$ac_ext
6180 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6181 echo "${ECHO_T}$ac_header_preproc" >&6
6183 # So? What about this header?
6184 case $ac_header_compiler:$ac_header_preproc in
6186 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6187 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6188 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6189 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6192 ## ------------------------------------ ##
6193 ## Report this to bug-autoconf@gnu.org. ##
6194 ## ------------------------------------ ##
6197 sed "s/^/$as_me: WARNING: /" >&2
6200 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6201 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6202 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6203 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6204 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6205 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6208 ## ------------------------------------ ##
6209 ## Report this to bug-autoconf@gnu.org. ##
6210 ## ------------------------------------ ##
6213 sed "s/^/$as_me: WARNING: /" >&2
6216 echo "$as_me:$LINENO: checking for $ac_header" >&5
6217 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6218 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6219 echo $ECHO_N "(cached) $ECHO_C" >&6
6221 eval "$as_ac_Header=$ac_header_preproc"
6223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6224 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6227 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6228 cat >>confdefs.h
<<_ACEOF
6229 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6231 echo "$as_me:$LINENO: checking for jpeg_start_decompress in -ljpeg" >&5
6232 echo $ECHO_N "checking for jpeg_start_decompress in -ljpeg... $ECHO_C" >&6
6233 if test "${ac_cv_lib_jpeg_jpeg_start_decompress+set}" = set; then
6234 echo $ECHO_N "(cached) $ECHO_C" >&6
6236 ac_check_lib_save_LIBS
=$LIBS
6238 cat >conftest.
$ac_ext <<_ACEOF
6239 #line $LINENO "configure"
6242 cat confdefs.h
>>conftest.
$ac_ext
6243 cat >>conftest.
$ac_ext <<_ACEOF
6244 /* end confdefs.h. */
6246 /* Override any gcc2 internal prototype to avoid an error. */
6250 /* We use char because int might match the return type of a gcc2
6251 builtin and then its argument prototype would still apply. */
6252 char jpeg_start_decompress ();
6256 jpeg_start_decompress ();
6261 rm -f conftest.
$ac_objext conftest
$ac_exeext
6262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6263 (eval $ac_link) 2>&5
6265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6266 (exit $ac_status); } &&
6267 { ac_try
='test -s conftest$ac_exeext'
6268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6272 (exit $ac_status); }; }; then
6273 ac_cv_lib_jpeg_jpeg_start_decompress
=yes
6275 echo "$as_me: failed program was:" >&5
6276 sed 's/^/| /' conftest.
$ac_ext >&5
6278 ac_cv_lib_jpeg_jpeg_start_decompress
=no
6280 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6281 LIBS
=$ac_check_lib_save_LIBS
6283 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_start_decompress" >&5
6284 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_start_decompress" >&6
6285 if test $ac_cv_lib_jpeg_jpeg_start_decompress = yes; then
6287 cat >>confdefs.h
<<\_ACEOF
6288 #define HAVE_LIBJPEG 1
6311 if test "$have_x" = "yes"
6314 ac_save_CPPFLAGS
="$CPPFLAGS"
6315 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
6318 for ac_header
in X11
/Xlib.h
6320 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6321 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6322 echo "$as_me:$LINENO: checking for $ac_header" >&5
6323 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6324 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6325 echo $ECHO_N "(cached) $ECHO_C" >&6
6327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6328 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6330 # Is the header compilable?
6331 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6332 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6333 cat >conftest.
$ac_ext <<_ACEOF
6334 #line $LINENO "configure"
6337 cat confdefs.h
>>conftest.
$ac_ext
6338 cat >>conftest.
$ac_ext <<_ACEOF
6339 /* end confdefs.h. */
6340 $ac_includes_default
6341 #include <$ac_header>
6343 rm -f conftest.
$ac_objext
6344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6345 (eval $ac_compile) 2>&5
6347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6348 (exit $ac_status); } &&
6349 { ac_try
='test -s conftest.$ac_objext'
6350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6354 (exit $ac_status); }; }; then
6355 ac_header_compiler
=yes
6357 echo "$as_me: failed program was:" >&5
6358 sed 's/^/| /' conftest.
$ac_ext >&5
6360 ac_header_compiler
=no
6362 rm -f conftest.
$ac_objext conftest.
$ac_ext
6363 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6364 echo "${ECHO_T}$ac_header_compiler" >&6
6366 # Is the header present?
6367 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6368 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6369 cat >conftest.
$ac_ext <<_ACEOF
6370 #line $LINENO "configure"
6373 cat confdefs.h
>>conftest.
$ac_ext
6374 cat >>conftest.
$ac_ext <<_ACEOF
6375 /* end confdefs.h. */
6376 #include <$ac_header>
6378 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6379 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6381 grep -v '^ *+' conftest.er1
>conftest.err
6383 cat conftest.err
>&5
6384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6385 (exit $ac_status); } >/dev
/null
; then
6386 if test -s conftest.err
; then
6387 ac_cpp_err
=$ac_c_preproc_warn_flag
6394 if test -z "$ac_cpp_err"; then
6395 ac_header_preproc
=yes
6397 echo "$as_me: failed program was:" >&5
6398 sed 's/^/| /' conftest.
$ac_ext >&5
6400 ac_header_preproc
=no
6402 rm -f conftest.err conftest.
$ac_ext
6403 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6404 echo "${ECHO_T}$ac_header_preproc" >&6
6406 # So? What about this header?
6407 case $ac_header_compiler:$ac_header_preproc in
6409 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6410 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6411 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6412 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6415 ## ------------------------------------ ##
6416 ## Report this to bug-autoconf@gnu.org. ##
6417 ## ------------------------------------ ##
6420 sed "s/^/$as_me: WARNING: /" >&2
6423 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6424 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6425 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6426 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6427 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6428 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6431 ## ------------------------------------ ##
6432 ## Report this to bug-autoconf@gnu.org. ##
6433 ## ------------------------------------ ##
6436 sed "s/^/$as_me: WARNING: /" >&2
6439 echo "$as_me:$LINENO: checking for $ac_header" >&5
6440 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6441 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6442 echo $ECHO_N "(cached) $ECHO_C" >&6
6444 eval "$as_ac_Header=$ac_header_preproc"
6446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6447 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6450 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6451 cat >>confdefs.h
<<_ACEOF
6452 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6456 for ac_header
in X11
/XKBlib.h
6458 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6459 echo "$as_me:$LINENO: checking for $ac_header" >&5
6460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6461 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6462 echo $ECHO_N "(cached) $ECHO_C" >&6
6464 cat >conftest.
$ac_ext <<_ACEOF
6465 #line $LINENO "configure"
6468 cat confdefs.h
>>conftest.
$ac_ext
6469 cat >>conftest.
$ac_ext <<_ACEOF
6470 /* end confdefs.h. */
6471 #include <X11/Xlib.h>
6473 #include <$ac_header>
6475 rm -f conftest.
$ac_objext
6476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6477 (eval $ac_compile) 2>&5
6479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6480 (exit $ac_status); } &&
6481 { ac_try
='test -s conftest.$ac_objext'
6482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6486 (exit $ac_status); }; }; then
6487 eval "$as_ac_Header=yes"
6489 echo "$as_me: failed program was:" >&5
6490 sed 's/^/| /' conftest.
$ac_ext >&5
6492 eval "$as_ac_Header=no"
6494 rm -f conftest.
$ac_objext conftest.
$ac_ext
6496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6497 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6498 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6499 cat >>confdefs.h
<<_ACEOF
6500 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6502 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
6503 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
6504 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
6505 echo $ECHO_N "(cached) $ECHO_C" >&6
6507 ac_check_lib_save_LIBS
=$LIBS
6508 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6509 cat >conftest.
$ac_ext <<_ACEOF
6510 #line $LINENO "configure"
6513 cat confdefs.h
>>conftest.
$ac_ext
6514 cat >>conftest.
$ac_ext <<_ACEOF
6515 /* end confdefs.h. */
6517 /* Override any gcc2 internal prototype to avoid an error. */
6521 /* We use char because int might match the return type of a gcc2
6522 builtin and then its argument prototype would still apply. */
6523 char XkbQueryExtension ();
6527 XkbQueryExtension ();
6532 rm -f conftest.
$ac_objext conftest
$ac_exeext
6533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6534 (eval $ac_link) 2>&5
6536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6537 (exit $ac_status); } &&
6538 { ac_try
='test -s conftest$ac_exeext'
6539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6543 (exit $ac_status); }; }; then
6544 ac_cv_lib_X11_XkbQueryExtension
=yes
6546 echo "$as_me: failed program was:" >&5
6547 sed 's/^/| /' conftest.
$ac_ext >&5
6549 ac_cv_lib_X11_XkbQueryExtension
=no
6551 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6552 LIBS
=$ac_check_lib_save_LIBS
6554 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
6555 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
6556 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
6558 cat >>confdefs.h
<<\_ACEOF
6566 { echo "$as_me:$LINENO: WARNING: Xkb extension not found, Wine will be built without it" >&5
6567 echo "$as_me: WARNING: Xkb extension not found, Wine will be built without it" >&2;}
6574 for ac_header
in X11
/extensions
/XShm.h
6576 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6577 echo "$as_me:$LINENO: checking for $ac_header" >&5
6578 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6579 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6580 echo $ECHO_N "(cached) $ECHO_C" >&6
6582 cat >conftest.
$ac_ext <<_ACEOF
6583 #line $LINENO "configure"
6586 cat confdefs.h
>>conftest.
$ac_ext
6587 cat >>conftest.
$ac_ext <<_ACEOF
6588 /* end confdefs.h. */
6589 #include <X11/Xlib.h>
6591 #include <$ac_header>
6593 rm -f conftest.
$ac_objext
6594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6595 (eval $ac_compile) 2>&5
6597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6598 (exit $ac_status); } &&
6599 { ac_try
='test -s conftest.$ac_objext'
6600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6604 (exit $ac_status); }; }; then
6605 eval "$as_ac_Header=yes"
6607 echo "$as_me: failed program was:" >&5
6608 sed 's/^/| /' conftest.
$ac_ext >&5
6610 eval "$as_ac_Header=no"
6612 rm -f conftest.
$ac_objext conftest.
$ac_ext
6614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6615 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6616 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6617 cat >>confdefs.h
<<_ACEOF
6618 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6620 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
6621 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
6622 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
6623 echo $ECHO_N "(cached) $ECHO_C" >&6
6625 ac_check_lib_save_LIBS
=$LIBS
6626 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6627 cat >conftest.
$ac_ext <<_ACEOF
6628 #line $LINENO "configure"
6631 cat confdefs.h
>>conftest.
$ac_ext
6632 cat >>conftest.
$ac_ext <<_ACEOF
6633 /* end confdefs.h. */
6635 /* Override any gcc2 internal prototype to avoid an error. */
6639 /* We use char because int might match the return type of a gcc2
6640 builtin and then its argument prototype would still apply. */
6641 char XShmQueryExtension ();
6645 XShmQueryExtension ();
6650 rm -f conftest.
$ac_objext conftest
$ac_exeext
6651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6652 (eval $ac_link) 2>&5
6654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6655 (exit $ac_status); } &&
6656 { ac_try
='test -s conftest$ac_exeext'
6657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6661 (exit $ac_status); }; }; then
6662 ac_cv_lib_Xext_XShmQueryExtension
=yes
6664 echo "$as_me: failed program was:" >&5
6665 sed 's/^/| /' conftest.
$ac_ext >&5
6667 ac_cv_lib_Xext_XShmQueryExtension
=no
6669 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6670 LIBS
=$ac_check_lib_save_LIBS
6672 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
6673 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
6674 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
6676 cat >>confdefs.h
<<\_ACEOF
6677 #define HAVE_LIBXXSHM 1
6684 { echo "$as_me:$LINENO: WARNING: XShm extension not found, Wine will be built without it" >&5
6685 echo "$as_me: WARNING: XShm extension not found, Wine will be built without it" >&2;}
6692 for ac_header
in X11
/Xutil.h
6694 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6695 echo "$as_me:$LINENO: checking for $ac_header" >&5
6696 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6697 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6698 echo $ECHO_N "(cached) $ECHO_C" >&6
6700 cat >conftest.
$ac_ext <<_ACEOF
6701 #line $LINENO "configure"
6704 cat confdefs.h
>>conftest.
$ac_ext
6705 cat >>conftest.
$ac_ext <<_ACEOF
6706 /* end confdefs.h. */
6707 #include <X11/Xlib.h>
6709 #include <$ac_header>
6711 rm -f conftest.
$ac_objext
6712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6713 (eval $ac_compile) 2>&5
6715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6716 (exit $ac_status); } &&
6717 { ac_try
='test -s conftest.$ac_objext'
6718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6722 (exit $ac_status); }; }; then
6723 eval "$as_ac_Header=yes"
6725 echo "$as_me: failed program was:" >&5
6726 sed 's/^/| /' conftest.
$ac_ext >&5
6728 eval "$as_ac_Header=no"
6730 rm -f conftest.
$ac_objext conftest.
$ac_ext
6732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6733 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6734 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6735 cat >>confdefs.h
<<_ACEOF
6736 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6745 for ac_header
in X11
/extensions
/shape.h
6747 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6748 echo "$as_me:$LINENO: checking for $ac_header" >&5
6749 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6751 echo $ECHO_N "(cached) $ECHO_C" >&6
6753 cat >conftest.
$ac_ext <<_ACEOF
6754 #line $LINENO "configure"
6757 cat confdefs.h
>>conftest.
$ac_ext
6758 cat >>conftest.
$ac_ext <<_ACEOF
6759 /* end confdefs.h. */
6760 #include <X11/Xlib.h>
6761 #ifdef HAVE_X11_XUTIL_H
6762 # include <X11/Xutil.h>
6765 #include <$ac_header>
6767 rm -f conftest.
$ac_objext
6768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6769 (eval $ac_compile) 2>&5
6771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6772 (exit $ac_status); } &&
6773 { ac_try
='test -s conftest.$ac_objext'
6774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6778 (exit $ac_status); }; }; then
6779 eval "$as_ac_Header=yes"
6781 echo "$as_me: failed program was:" >&5
6782 sed 's/^/| /' conftest.
$ac_ext >&5
6784 eval "$as_ac_Header=no"
6786 rm -f conftest.
$ac_objext conftest.
$ac_ext
6788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6789 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6790 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6791 cat >>confdefs.h
<<_ACEOF
6792 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6794 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
6795 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
6796 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
6797 echo $ECHO_N "(cached) $ECHO_C" >&6
6799 ac_check_lib_save_LIBS
=$LIBS
6800 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6801 cat >conftest.
$ac_ext <<_ACEOF
6802 #line $LINENO "configure"
6805 cat confdefs.h
>>conftest.
$ac_ext
6806 cat >>conftest.
$ac_ext <<_ACEOF
6807 /* end confdefs.h. */
6809 /* Override any gcc2 internal prototype to avoid an error. */
6813 /* We use char because int might match the return type of a gcc2
6814 builtin and then its argument prototype would still apply. */
6815 char XShapeQueryExtension ();
6819 XShapeQueryExtension ();
6824 rm -f conftest.
$ac_objext conftest
$ac_exeext
6825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6826 (eval $ac_link) 2>&5
6828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6829 (exit $ac_status); } &&
6830 { ac_try
='test -s conftest$ac_exeext'
6831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6835 (exit $ac_status); }; }; then
6836 ac_cv_lib_Xext_XShapeQueryExtension
=yes
6838 echo "$as_me: failed program was:" >&5
6839 sed 's/^/| /' conftest.
$ac_ext >&5
6841 ac_cv_lib_Xext_XShapeQueryExtension
=no
6843 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6844 LIBS
=$ac_check_lib_save_LIBS
6846 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
6847 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
6848 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
6850 cat >>confdefs.h
<<\_ACEOF
6851 #define HAVE_LIBXSHAPE 1
6858 { echo "$as_me:$LINENO: WARNING: XShape extension not found, Wine will be built without it" >&5
6859 echo "$as_me: WARNING: XShape extension not found, Wine will be built without it" >&2;}
6866 for ac_header
in X11
/extensions
/xf86dga.h
6868 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6869 echo "$as_me:$LINENO: checking for $ac_header" >&5
6870 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6871 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6872 echo $ECHO_N "(cached) $ECHO_C" >&6
6874 cat >conftest.
$ac_ext <<_ACEOF
6875 #line $LINENO "configure"
6878 cat confdefs.h
>>conftest.
$ac_ext
6879 cat >>conftest.
$ac_ext <<_ACEOF
6880 /* end confdefs.h. */
6881 #include <X11/Xlib.h>
6883 #include <$ac_header>
6885 rm -f conftest.
$ac_objext
6886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6887 (eval $ac_compile) 2>&5
6889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6890 (exit $ac_status); } &&
6891 { ac_try
='test -s conftest.$ac_objext'
6892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6896 (exit $ac_status); }; }; then
6897 eval "$as_ac_Header=yes"
6899 echo "$as_me: failed program was:" >&5
6900 sed 's/^/| /' conftest.
$ac_ext >&5
6902 eval "$as_ac_Header=no"
6904 rm -f conftest.
$ac_objext conftest.
$ac_ext
6906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6907 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6908 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6909 cat >>confdefs.h
<<_ACEOF
6910 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6912 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
6913 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
6914 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
6915 echo $ECHO_N "(cached) $ECHO_C" >&6
6917 ac_check_lib_save_LIBS
=$LIBS
6918 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6920 cat >conftest.
$ac_ext <<_ACEOF
6921 #line $LINENO "configure"
6924 cat confdefs.h
>>conftest.
$ac_ext
6925 cat >>conftest.
$ac_ext <<_ACEOF
6926 /* end confdefs.h. */
6928 /* Override any gcc2 internal prototype to avoid an error. */
6932 /* We use char because int might match the return type of a gcc2
6933 builtin and then its argument prototype would still apply. */
6934 char XDGAQueryExtension ();
6938 XDGAQueryExtension ();
6943 rm -f conftest.
$ac_objext conftest
$ac_exeext
6944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6945 (eval $ac_link) 2>&5
6947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6948 (exit $ac_status); } &&
6949 { ac_try
='test -s conftest$ac_exeext'
6950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6954 (exit $ac_status); }; }; then
6955 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=yes
6957 echo "$as_me: failed program was:" >&5
6958 sed 's/^/| /' conftest.
$ac_ext >&5
6960 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=no
6962 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6963 LIBS
=$ac_check_lib_save_LIBS
6965 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
6966 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
6967 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
6969 cat >>confdefs.h
<<\_ACEOF
6970 #define HAVE_LIBXXF86DGA2 1
6973 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
6976 echo "$as_me:$LINENO: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
6977 echo $ECHO_N "checking for XF86DGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
6978 if test "${ac_cv_lib_Xxf86dga_XF86DGAQueryExtension+set}" = set; then
6979 echo $ECHO_N "(cached) $ECHO_C" >&6
6981 ac_check_lib_save_LIBS
=$LIBS
6982 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6984 cat >conftest.
$ac_ext <<_ACEOF
6985 #line $LINENO "configure"
6988 cat confdefs.h
>>conftest.
$ac_ext
6989 cat >>conftest.
$ac_ext <<_ACEOF
6990 /* end confdefs.h. */
6992 /* Override any gcc2 internal prototype to avoid an error. */
6996 /* We use char because int might match the return type of a gcc2
6997 builtin and then its argument prototype would still apply. */
6998 char XF86DGAQueryExtension ();
7002 XF86DGAQueryExtension ();
7007 rm -f conftest.
$ac_objext conftest
$ac_exeext
7008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7009 (eval $ac_link) 2>&5
7011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7012 (exit $ac_status); } &&
7013 { ac_try
='test -s conftest$ac_exeext'
7014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7018 (exit $ac_status); }; }; then
7019 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension
=yes
7021 echo "$as_me: failed program was:" >&5
7022 sed 's/^/| /' conftest.
$ac_ext >&5
7024 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension
=no
7026 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7027 LIBS
=$ac_check_lib_save_LIBS
7029 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&5
7030 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&6
7031 if test $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension = yes; then
7033 cat >>confdefs.h
<<\_ACEOF
7034 #define HAVE_LIBXXF86DGA 1
7037 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
7046 { echo "$as_me:$LINENO: WARNING: DGA extension not found, Wine will be built without it" >&5
7047 echo "$as_me: WARNING: DGA extension not found, Wine will be built without it" >&2;}
7054 for ac_header
in X11
/extensions
/xf86vmode.h
7056 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7057 echo "$as_me:$LINENO: checking for $ac_header" >&5
7058 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7059 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7060 echo $ECHO_N "(cached) $ECHO_C" >&6
7062 cat >conftest.
$ac_ext <<_ACEOF
7063 #line $LINENO "configure"
7066 cat confdefs.h
>>conftest.
$ac_ext
7067 cat >>conftest.
$ac_ext <<_ACEOF
7068 /* end confdefs.h. */
7069 #include <X11/Xlib.h>
7071 #include <$ac_header>
7073 rm -f conftest.
$ac_objext
7074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7075 (eval $ac_compile) 2>&5
7077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7078 (exit $ac_status); } &&
7079 { ac_try
='test -s conftest.$ac_objext'
7080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7084 (exit $ac_status); }; }; then
7085 eval "$as_ac_Header=yes"
7087 echo "$as_me: failed program was:" >&5
7088 sed 's/^/| /' conftest.
$ac_ext >&5
7090 eval "$as_ac_Header=no"
7092 rm -f conftest.
$ac_objext conftest.
$ac_ext
7094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7095 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7096 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7097 cat >>confdefs.h
<<_ACEOF
7098 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7100 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
7101 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
7102 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
7103 echo $ECHO_N "(cached) $ECHO_C" >&6
7105 ac_check_lib_save_LIBS
=$LIBS
7106 LIBS
="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
7108 cat >conftest.
$ac_ext <<_ACEOF
7109 #line $LINENO "configure"
7112 cat confdefs.h
>>conftest.
$ac_ext
7113 cat >>conftest.
$ac_ext <<_ACEOF
7114 /* end confdefs.h. */
7116 /* Override any gcc2 internal prototype to avoid an error. */
7120 /* We use char because int might match the return type of a gcc2
7121 builtin and then its argument prototype would still apply. */
7122 char XF86VidModeQueryExtension ();
7126 XF86VidModeQueryExtension ();
7131 rm -f conftest.
$ac_objext conftest
$ac_exeext
7132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7133 (eval $ac_link) 2>&5
7135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7136 (exit $ac_status); } &&
7137 { ac_try
='test -s conftest$ac_exeext'
7138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7142 (exit $ac_status); }; }; then
7143 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
7145 echo "$as_me: failed program was:" >&5
7146 sed 's/^/| /' conftest.
$ac_ext >&5
7148 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
7150 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7151 LIBS
=$ac_check_lib_save_LIBS
7153 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
7154 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
7155 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
7157 cat >>confdefs.h
<<\_ACEOF
7158 #define HAVE_LIBXXF86VM 1
7161 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
7167 { echo "$as_me:$LINENO: WARNING: XFree86 VMODE extension not found, Wine will be built without it" >&5
7168 echo "$as_me: WARNING: XFree86 VMODE extension not found, Wine will be built without it" >&2;}
7175 for ac_header
in X11
/extensions
/Xvlib.h
7177 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7178 echo "$as_me:$LINENO: checking for $ac_header" >&5
7179 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7180 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7181 echo $ECHO_N "(cached) $ECHO_C" >&6
7183 cat >conftest.
$ac_ext <<_ACEOF
7184 #line $LINENO "configure"
7187 cat confdefs.h
>>conftest.
$ac_ext
7188 cat >>conftest.
$ac_ext <<_ACEOF
7189 /* end confdefs.h. */
7190 #include <X11/Xlib.h>
7192 #include <$ac_header>
7194 rm -f conftest.
$ac_objext
7195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7196 (eval $ac_compile) 2>&5
7198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7199 (exit $ac_status); } &&
7200 { ac_try
='test -s conftest.$ac_objext'
7201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7205 (exit $ac_status); }; }; then
7206 eval "$as_ac_Header=yes"
7208 echo "$as_me: failed program was:" >&5
7209 sed 's/^/| /' conftest.
$ac_ext >&5
7211 eval "$as_ac_Header=no"
7213 rm -f conftest.
$ac_objext conftest.
$ac_ext
7215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7216 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7217 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7218 cat >>confdefs.h
<<_ACEOF
7219 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7221 echo "$as_me:$LINENO: checking for XvShmCreateImage in -lXv" >&5
7222 echo $ECHO_N "checking for XvShmCreateImage in -lXv... $ECHO_C" >&6
7223 if test "${ac_cv_lib_Xv_XvShmCreateImage+set}" = set; then
7224 echo $ECHO_N "(cached) $ECHO_C" >&6
7226 ac_check_lib_save_LIBS
=$LIBS
7227 LIBS
="-lXv $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
7229 cat >conftest.
$ac_ext <<_ACEOF
7230 #line $LINENO "configure"
7233 cat confdefs.h
>>conftest.
$ac_ext
7234 cat >>conftest.
$ac_ext <<_ACEOF
7235 /* end confdefs.h. */
7237 /* Override any gcc2 internal prototype to avoid an error. */
7241 /* We use char because int might match the return type of a gcc2
7242 builtin and then its argument prototype would still apply. */
7243 char XvShmCreateImage ();
7247 XvShmCreateImage ();
7252 rm -f conftest.
$ac_objext conftest
$ac_exeext
7253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7254 (eval $ac_link) 2>&5
7256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7257 (exit $ac_status); } &&
7258 { ac_try
='test -s conftest$ac_exeext'
7259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7263 (exit $ac_status); }; }; then
7264 ac_cv_lib_Xv_XvShmCreateImage
=yes
7266 echo "$as_me: failed program was:" >&5
7267 sed 's/^/| /' conftest.
$ac_ext >&5
7269 ac_cv_lib_Xv_XvShmCreateImage
=no
7271 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7272 LIBS
=$ac_check_lib_save_LIBS
7274 echo "$as_me:$LINENO: result: $ac_cv_lib_Xv_XvShmCreateImage" >&5
7275 echo "${ECHO_T}$ac_cv_lib_Xv_XvShmCreateImage" >&6
7276 if test $ac_cv_lib_Xv_XvShmCreateImage = yes; then
7278 cat >>confdefs.h
<<\_ACEOF
7279 #define HAVE_XVIDEO 1
7282 X_PRE_LIBS
="$X_PRE_LIBS -lXv"
7288 { echo "$as_me:$LINENO: WARNING: XVideo extension not found, Wine will be built without it" >&5
7289 echo "$as_me: WARNING: XVideo extension not found, Wine will be built without it" >&2;}
7296 for ac_header
in X11
/extensions
/Xrender.h
7298 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7299 echo "$as_me:$LINENO: checking for $ac_header" >&5
7300 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7301 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7302 echo $ECHO_N "(cached) $ECHO_C" >&6
7304 cat >conftest.
$ac_ext <<_ACEOF
7305 #line $LINENO "configure"
7308 cat confdefs.h
>>conftest.
$ac_ext
7309 cat >>conftest.
$ac_ext <<_ACEOF
7310 /* end confdefs.h. */
7311 #include <X11/Xlib.h>
7313 #include <$ac_header>
7315 rm -f conftest.
$ac_objext
7316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7317 (eval $ac_compile) 2>&5
7319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7320 (exit $ac_status); } &&
7321 { ac_try
='test -s conftest.$ac_objext'
7322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7326 (exit $ac_status); }; }; then
7327 eval "$as_ac_Header=yes"
7329 echo "$as_me: failed program was:" >&5
7330 sed 's/^/| /' conftest.
$ac_ext >&5
7332 eval "$as_ac_Header=no"
7334 rm -f conftest.
$ac_objext conftest.
$ac_ext
7336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7337 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7338 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7339 cat >>confdefs.h
<<_ACEOF
7340 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7353 if test "x$with_opengl" != "xno"
7355 if test -f /usr
/X11R
6/lib
/libGL.a
-a ! -f /usr
/X11R
6/lib
/libGL.so
7357 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
7358 This prevents linking to OpenGL. Delete the file and restart configure." >&5
7359 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
7360 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
7361 { (exit 1); exit 1; }; }
7366 for ac_header
in GL
/gl.h GL
/glx.h
7368 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7369 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7370 echo "$as_me:$LINENO: checking for $ac_header" >&5
7371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7373 echo $ECHO_N "(cached) $ECHO_C" >&6
7375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7376 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7378 # Is the header compilable?
7379 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7380 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7381 cat >conftest.
$ac_ext <<_ACEOF
7382 #line $LINENO "configure"
7385 cat confdefs.h
>>conftest.
$ac_ext
7386 cat >>conftest.
$ac_ext <<_ACEOF
7387 /* end confdefs.h. */
7388 $ac_includes_default
7389 #include <$ac_header>
7391 rm -f conftest.
$ac_objext
7392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7393 (eval $ac_compile) 2>&5
7395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7396 (exit $ac_status); } &&
7397 { ac_try
='test -s conftest.$ac_objext'
7398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7402 (exit $ac_status); }; }; then
7403 ac_header_compiler
=yes
7405 echo "$as_me: failed program was:" >&5
7406 sed 's/^/| /' conftest.
$ac_ext >&5
7408 ac_header_compiler
=no
7410 rm -f conftest.
$ac_objext conftest.
$ac_ext
7411 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7412 echo "${ECHO_T}$ac_header_compiler" >&6
7414 # Is the header present?
7415 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7416 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7417 cat >conftest.
$ac_ext <<_ACEOF
7418 #line $LINENO "configure"
7421 cat confdefs.h
>>conftest.
$ac_ext
7422 cat >>conftest.
$ac_ext <<_ACEOF
7423 /* end confdefs.h. */
7424 #include <$ac_header>
7426 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7427 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7429 grep -v '^ *+' conftest.er1
>conftest.err
7431 cat conftest.err
>&5
7432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7433 (exit $ac_status); } >/dev
/null
; then
7434 if test -s conftest.err
; then
7435 ac_cpp_err
=$ac_c_preproc_warn_flag
7442 if test -z "$ac_cpp_err"; then
7443 ac_header_preproc
=yes
7445 echo "$as_me: failed program was:" >&5
7446 sed 's/^/| /' conftest.
$ac_ext >&5
7448 ac_header_preproc
=no
7450 rm -f conftest.err conftest.
$ac_ext
7451 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7452 echo "${ECHO_T}$ac_header_preproc" >&6
7454 # So? What about this header?
7455 case $ac_header_compiler:$ac_header_preproc in
7457 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7458 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7459 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7460 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7463 ## ------------------------------------ ##
7464 ## Report this to bug-autoconf@gnu.org. ##
7465 ## ------------------------------------ ##
7468 sed "s/^/$as_me: WARNING: /" >&2
7471 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7472 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7473 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7474 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7475 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7476 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7479 ## ------------------------------------ ##
7480 ## Report this to bug-autoconf@gnu.org. ##
7481 ## ------------------------------------ ##
7484 sed "s/^/$as_me: WARNING: /" >&2
7487 echo "$as_me:$LINENO: checking for $ac_header" >&5
7488 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7489 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7490 echo $ECHO_N "(cached) $ECHO_C" >&6
7492 eval "$as_ac_Header=$ac_header_preproc"
7494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7495 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7498 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7499 cat >>confdefs.h
<<_ACEOF
7500 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7507 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
7510 for ac_header
in GL
/glext.h
7512 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7513 echo "$as_me:$LINENO: checking for $ac_header" >&5
7514 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7515 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7516 echo $ECHO_N "(cached) $ECHO_C" >&6
7518 cat >conftest.
$ac_ext <<_ACEOF
7519 #line $LINENO "configure"
7522 cat confdefs.h
>>conftest.
$ac_ext
7523 cat >>conftest.
$ac_ext <<_ACEOF
7524 /* end confdefs.h. */
7527 #include <$ac_header>
7529 rm -f conftest.
$ac_objext
7530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7531 (eval $ac_compile) 2>&5
7533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7534 (exit $ac_status); } &&
7535 { ac_try
='test -s conftest.$ac_objext'
7536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7540 (exit $ac_status); }; }; then
7541 eval "$as_ac_Header=yes"
7543 echo "$as_me: failed program was:" >&5
7544 sed 's/^/| /' conftest.
$ac_ext >&5
7546 eval "$as_ac_Header=no"
7548 rm -f conftest.
$ac_objext conftest.
$ac_ext
7550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7551 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7552 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7553 cat >>confdefs.h
<<_ACEOF
7554 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7561 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
7562 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
7563 if test "${wine_cv_opengl_version_OK+set}" = set; then
7564 echo $ECHO_N "(cached) $ECHO_C" >&6
7566 cat >conftest.
$ac_ext <<_ACEOF
7567 #line $LINENO "configure"
7570 cat confdefs.h
>>conftest.
$ac_ext
7571 cat >>conftest.
$ac_ext <<_ACEOF
7572 /* end confdefs.h. */
7577 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
7582 rm -f conftest.
$ac_objext
7583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7584 (eval $ac_compile) 2>&5
7586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7587 (exit $ac_status); } &&
7588 { ac_try
='test -s conftest.$ac_objext'
7589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7593 (exit $ac_status); }; }; then
7594 wine_cv_opengl_version_OK
="yes"
7596 echo "$as_me: failed program was:" >&5
7597 sed 's/^/| /' conftest.
$ac_ext >&5
7599 wine_cv_opengl_version_OK
="no"
7602 rm -f conftest.
$ac_objext conftest.
$ac_ext
7605 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
7606 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
7608 if test "$wine_cv_opengl_version_OK" = "yes"
7610 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
7611 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
7612 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
7613 echo $ECHO_N "(cached) $ECHO_C" >&6
7615 ac_check_lib_save_LIBS
=$LIBS
7616 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
7617 cat >conftest.
$ac_ext <<_ACEOF
7618 #line $LINENO "configure"
7621 cat confdefs.h
>>conftest.
$ac_ext
7622 cat >>conftest.
$ac_ext <<_ACEOF
7623 /* end confdefs.h. */
7625 /* Override any gcc2 internal prototype to avoid an error. */
7629 /* We use char because int might match the return type of a gcc2
7630 builtin and then its argument prototype would still apply. */
7631 char glXCreateContext ();
7635 glXCreateContext ();
7640 rm -f conftest.
$ac_objext conftest
$ac_exeext
7641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7642 (eval $ac_link) 2>&5
7644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7645 (exit $ac_status); } &&
7646 { ac_try
='test -s conftest$ac_exeext'
7647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7651 (exit $ac_status); }; }; then
7652 ac_cv_lib_GL_glXCreateContext
=yes
7654 echo "$as_me: failed program was:" >&5
7655 sed 's/^/| /' conftest.
$ac_ext >&5
7657 ac_cv_lib_GL_glXCreateContext
=no
7659 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7660 LIBS
=$ac_check_lib_save_LIBS
7662 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
7663 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
7664 if test $ac_cv_lib_GL_glXCreateContext = yes; then
7670 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
7672 OPENGLFILES
='$(OPENGLFILES)'
7674 cat >>confdefs.h
<<\_ACEOF
7675 #define HAVE_OPENGL 1
7679 echo "$as_me:$LINENO: checking for glXGetProcAddressARB in -lGL" >&5
7680 echo $ECHO_N "checking for glXGetProcAddressARB in -lGL... $ECHO_C" >&6
7681 if test "${ac_cv_lib_GL_glXGetProcAddressARB+set}" = set; then
7682 echo $ECHO_N "(cached) $ECHO_C" >&6
7684 ac_check_lib_save_LIBS
=$LIBS
7685 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
7686 cat >conftest.
$ac_ext <<_ACEOF
7687 #line $LINENO "configure"
7690 cat confdefs.h
>>conftest.
$ac_ext
7691 cat >>conftest.
$ac_ext <<_ACEOF
7692 /* end confdefs.h. */
7694 /* Override any gcc2 internal prototype to avoid an error. */
7698 /* We use char because int might match the return type of a gcc2
7699 builtin and then its argument prototype would still apply. */
7700 char glXGetProcAddressARB ();
7704 glXGetProcAddressARB ();
7709 rm -f conftest.
$ac_objext conftest
$ac_exeext
7710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7711 (eval $ac_link) 2>&5
7713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7714 (exit $ac_status); } &&
7715 { ac_try
='test -s conftest$ac_exeext'
7716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7720 (exit $ac_status); }; }; then
7721 ac_cv_lib_GL_glXGetProcAddressARB
=yes
7723 echo "$as_me: failed program was:" >&5
7724 sed 's/^/| /' conftest.
$ac_ext >&5
7726 ac_cv_lib_GL_glXGetProcAddressARB
=no
7728 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7729 LIBS
=$ac_check_lib_save_LIBS
7731 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXGetProcAddressARB" >&5
7732 echo "${ECHO_T}$ac_cv_lib_GL_glXGetProcAddressARB" >&6
7733 if test $ac_cv_lib_GL_glXGetProcAddressARB = yes; then
7735 cat >>confdefs.h
<<\_ACEOF
7736 #define HAVE_GLX_GETPROCADDRESS 1
7742 if test "$ac_cv_lib_GL_glXGetProcAddressARB" = "yes"
7744 echo "$as_me:$LINENO: checking for OpenGL extension functions prototypes" >&5
7745 echo $ECHO_N "checking for OpenGL extension functions prototypes... $ECHO_C" >&6
7746 if test "${wine_cv_extension_prototypes+set}" = set; then
7747 echo $ECHO_N "(cached) $ECHO_C" >&6
7749 cat >conftest.
$ac_ext <<_ACEOF
7750 #line $LINENO "configure"
7753 cat confdefs.h
>>conftest.
$ac_ext
7754 cat >>conftest.
$ac_ext <<_ACEOF
7755 /* end confdefs.h. */
7757 #ifdef HAVE_GL_GLEXT_H
7758 # include <GL/glext.h>
7764 PFNGLCOLORTABLEEXTPROC test_proc;
7769 rm -f conftest.
$ac_objext
7770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7771 (eval $ac_compile) 2>&5
7773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7774 (exit $ac_status); } &&
7775 { ac_try
='test -s conftest.$ac_objext'
7776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7780 (exit $ac_status); }; }; then
7781 wine_cv_extension_prototypes
="yes"
7783 echo "$as_me: failed program was:" >&5
7784 sed 's/^/| /' conftest.
$ac_ext >&5
7786 wine_cv_extension_prototypes
="no"
7789 rm -f conftest.
$ac_objext conftest.
$ac_ext
7792 echo "$as_me:$LINENO: result: $wine_cv_extension_prototypes" >&5
7793 echo "${ECHO_T}$wine_cv_extension_prototypes" >&6
7794 if test "$wine_cv_extension_prototypes" = "yes"
7797 cat >>confdefs.h
<<\_ACEOF
7798 #define HAVE_GLEXT_PROTOTYPES 1
7805 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
7806 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
7807 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
7808 echo $ECHO_N "(cached) $ECHO_C" >&6
7810 ac_check_lib_save_LIBS
=$LIBS
7811 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
7813 cat >conftest.
$ac_ext <<_ACEOF
7814 #line $LINENO "configure"
7817 cat confdefs.h
>>conftest.
$ac_ext
7818 cat >>conftest.
$ac_ext <<_ACEOF
7819 /* end confdefs.h. */
7821 /* Override any gcc2 internal prototype to avoid an error. */
7825 /* We use char because int might match the return type of a gcc2
7826 builtin and then its argument prototype would still apply. */
7836 rm -f conftest.
$ac_objext conftest
$ac_exeext
7837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7838 (eval $ac_link) 2>&5
7840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7841 (exit $ac_status); } &&
7842 { ac_try
='test -s conftest$ac_exeext'
7843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7847 (exit $ac_status); }; }; then
7848 ac_cv_lib_GLU_gluLookAt
=yes
7850 echo "$as_me: failed program was:" >&5
7851 sed 's/^/| /' conftest.
$ac_ext >&5
7853 ac_cv_lib_GLU_gluLookAt
=no
7855 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7856 LIBS
=$ac_check_lib_save_LIBS
7858 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
7859 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
7860 if test $ac_cv_lib_GLU_gluLookAt = yes; then
7861 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
7862 GLU32FILES
='$(GLU32FILES)'
7873 for ac_header
in audio
/audiolib.h
7875 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7876 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7877 echo "$as_me:$LINENO: checking for $ac_header" >&5
7878 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7879 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7880 echo $ECHO_N "(cached) $ECHO_C" >&6
7882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7883 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7885 # Is the header compilable?
7886 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7887 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7888 cat >conftest.
$ac_ext <<_ACEOF
7889 #line $LINENO "configure"
7892 cat confdefs.h
>>conftest.
$ac_ext
7893 cat >>conftest.
$ac_ext <<_ACEOF
7894 /* end confdefs.h. */
7895 $ac_includes_default
7896 #include <$ac_header>
7898 rm -f conftest.
$ac_objext
7899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7900 (eval $ac_compile) 2>&5
7902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7903 (exit $ac_status); } &&
7904 { ac_try
='test -s conftest.$ac_objext'
7905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7909 (exit $ac_status); }; }; then
7910 ac_header_compiler
=yes
7912 echo "$as_me: failed program was:" >&5
7913 sed 's/^/| /' conftest.
$ac_ext >&5
7915 ac_header_compiler
=no
7917 rm -f conftest.
$ac_objext conftest.
$ac_ext
7918 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7919 echo "${ECHO_T}$ac_header_compiler" >&6
7921 # Is the header present?
7922 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7923 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7924 cat >conftest.
$ac_ext <<_ACEOF
7925 #line $LINENO "configure"
7928 cat confdefs.h
>>conftest.
$ac_ext
7929 cat >>conftest.
$ac_ext <<_ACEOF
7930 /* end confdefs.h. */
7931 #include <$ac_header>
7933 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7934 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7936 grep -v '^ *+' conftest.er1
>conftest.err
7938 cat conftest.err
>&5
7939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7940 (exit $ac_status); } >/dev
/null
; then
7941 if test -s conftest.err
; then
7942 ac_cpp_err
=$ac_c_preproc_warn_flag
7949 if test -z "$ac_cpp_err"; then
7950 ac_header_preproc
=yes
7952 echo "$as_me: failed program was:" >&5
7953 sed 's/^/| /' conftest.
$ac_ext >&5
7955 ac_header_preproc
=no
7957 rm -f conftest.err conftest.
$ac_ext
7958 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7959 echo "${ECHO_T}$ac_header_preproc" >&6
7961 # So? What about this header?
7962 case $ac_header_compiler:$ac_header_preproc in
7964 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7965 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7966 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7967 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7970 ## ------------------------------------ ##
7971 ## Report this to bug-autoconf@gnu.org. ##
7972 ## ------------------------------------ ##
7975 sed "s/^/$as_me: WARNING: /" >&2
7978 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7979 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7980 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7981 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7982 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7983 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7986 ## ------------------------------------ ##
7987 ## Report this to bug-autoconf@gnu.org. ##
7988 ## ------------------------------------ ##
7991 sed "s/^/$as_me: WARNING: /" >&2
7994 echo "$as_me:$LINENO: checking for $ac_header" >&5
7995 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7996 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7997 echo $ECHO_N "(cached) $ECHO_C" >&6
7999 eval "$as_ac_Header=$ac_header_preproc"
8001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8002 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8005 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8006 cat >>confdefs.h
<<_ACEOF
8007 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8010 for ac_header
in audio
/soundlib.h
8012 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8013 echo "$as_me:$LINENO: checking for $ac_header" >&5
8014 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8015 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8016 echo $ECHO_N "(cached) $ECHO_C" >&6
8018 cat >conftest.
$ac_ext <<_ACEOF
8019 #line $LINENO "configure"
8022 cat confdefs.h
>>conftest.
$ac_ext
8023 cat >>conftest.
$ac_ext <<_ACEOF
8024 /* end confdefs.h. */
8025 #include <audio/audiolib.h>
8027 #include <$ac_header>
8029 rm -f conftest.
$ac_objext
8030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8031 (eval $ac_compile) 2>&5
8033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8034 (exit $ac_status); } &&
8035 { ac_try
='test -s conftest.$ac_objext'
8036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8040 (exit $ac_status); }; }; then
8041 eval "$as_ac_Header=yes"
8043 echo "$as_me: failed program was:" >&5
8044 sed 's/^/| /' conftest.
$ac_ext >&5
8046 eval "$as_ac_Header=no"
8048 rm -f conftest.
$ac_objext conftest.
$ac_ext
8050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8051 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8052 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8053 cat >>confdefs.h
<<_ACEOF
8054 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8061 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8062 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
8063 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8064 echo $ECHO_N "(cached) $ECHO_C" >&6
8066 ac_check_lib_save_LIBS
=$LIBS
8067 LIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8068 cat >conftest.
$ac_ext <<_ACEOF
8069 #line $LINENO "configure"
8072 cat confdefs.h
>>conftest.
$ac_ext
8073 cat >>conftest.
$ac_ext <<_ACEOF
8074 /* end confdefs.h. */
8076 /* Override any gcc2 internal prototype to avoid an error. */
8080 /* We use char because int might match the return type of a gcc2
8081 builtin and then its argument prototype would still apply. */
8082 char AuCreateFlow ();
8091 rm -f conftest.
$ac_objext conftest
$ac_exeext
8092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8093 (eval $ac_link) 2>&5
8095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8096 (exit $ac_status); } &&
8097 { ac_try
='test -s conftest$ac_exeext'
8098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8102 (exit $ac_status); }; }; then
8103 ac_cv_lib_audio_AuCreateFlow
=yes
8105 echo "$as_me: failed program was:" >&5
8106 sed 's/^/| /' conftest.
$ac_ext >&5
8108 ac_cv_lib_audio_AuCreateFlow
=no
8110 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8111 LIBS
=$ac_check_lib_save_LIBS
8113 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8114 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
8115 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8117 cat >>confdefs.h
<<\_ACEOF
8121 NASLIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8129 CPPFLAGS
="$ac_save_CPPFLAGS"
8138 if test "x$with_curses" != "xno"
8141 for ac_header
in ncurses.h
8143 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8144 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8145 echo "$as_me:$LINENO: checking for $ac_header" >&5
8146 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8147 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8148 echo $ECHO_N "(cached) $ECHO_C" >&6
8150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8151 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8153 # Is the header compilable?
8154 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8155 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8156 cat >conftest.
$ac_ext <<_ACEOF
8157 #line $LINENO "configure"
8160 cat confdefs.h
>>conftest.
$ac_ext
8161 cat >>conftest.
$ac_ext <<_ACEOF
8162 /* end confdefs.h. */
8163 $ac_includes_default
8164 #include <$ac_header>
8166 rm -f conftest.
$ac_objext
8167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8168 (eval $ac_compile) 2>&5
8170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8171 (exit $ac_status); } &&
8172 { ac_try
='test -s conftest.$ac_objext'
8173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8177 (exit $ac_status); }; }; then
8178 ac_header_compiler
=yes
8180 echo "$as_me: failed program was:" >&5
8181 sed 's/^/| /' conftest.
$ac_ext >&5
8183 ac_header_compiler
=no
8185 rm -f conftest.
$ac_objext conftest.
$ac_ext
8186 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8187 echo "${ECHO_T}$ac_header_compiler" >&6
8189 # Is the header present?
8190 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8191 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8192 cat >conftest.
$ac_ext <<_ACEOF
8193 #line $LINENO "configure"
8196 cat confdefs.h
>>conftest.
$ac_ext
8197 cat >>conftest.
$ac_ext <<_ACEOF
8198 /* end confdefs.h. */
8199 #include <$ac_header>
8201 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8202 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8204 grep -v '^ *+' conftest.er1
>conftest.err
8206 cat conftest.err
>&5
8207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8208 (exit $ac_status); } >/dev
/null
; then
8209 if test -s conftest.err
; then
8210 ac_cpp_err
=$ac_c_preproc_warn_flag
8217 if test -z "$ac_cpp_err"; then
8218 ac_header_preproc
=yes
8220 echo "$as_me: failed program was:" >&5
8221 sed 's/^/| /' conftest.
$ac_ext >&5
8223 ac_header_preproc
=no
8225 rm -f conftest.err conftest.
$ac_ext
8226 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8227 echo "${ECHO_T}$ac_header_preproc" >&6
8229 # So? What about this header?
8230 case $ac_header_compiler:$ac_header_preproc in
8232 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8233 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8234 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8235 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8238 ## ------------------------------------ ##
8239 ## Report this to bug-autoconf@gnu.org. ##
8240 ## ------------------------------------ ##
8243 sed "s/^/$as_me: WARNING: /" >&2
8246 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8247 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8248 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8249 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8250 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8251 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8254 ## ------------------------------------ ##
8255 ## Report this to bug-autoconf@gnu.org. ##
8256 ## ------------------------------------ ##
8259 sed "s/^/$as_me: WARNING: /" >&2
8262 echo "$as_me:$LINENO: checking for $ac_header" >&5
8263 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8264 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8265 echo $ECHO_N "(cached) $ECHO_C" >&6
8267 eval "$as_ac_Header=$ac_header_preproc"
8269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8270 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8273 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8274 cat >>confdefs.h
<<_ACEOF
8275 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8277 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
8278 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
8279 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
8280 echo $ECHO_N "(cached) $ECHO_C" >&6
8282 ac_check_lib_save_LIBS
=$LIBS
8283 LIBS
="-lncurses $LIBS"
8284 cat >conftest.
$ac_ext <<_ACEOF
8285 #line $LINENO "configure"
8288 cat confdefs.h
>>conftest.
$ac_ext
8289 cat >>conftest.
$ac_ext <<_ACEOF
8290 /* end confdefs.h. */
8292 /* Override any gcc2 internal prototype to avoid an error. */
8296 /* We use char because int might match the return type of a gcc2
8297 builtin and then its argument prototype would still apply. */
8307 rm -f conftest.
$ac_objext conftest
$ac_exeext
8308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8309 (eval $ac_link) 2>&5
8311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8312 (exit $ac_status); } &&
8313 { ac_try
='test -s conftest$ac_exeext'
8314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8318 (exit $ac_status); }; }; then
8319 ac_cv_lib_ncurses_waddch
=yes
8321 echo "$as_me: failed program was:" >&5
8322 sed 's/^/| /' conftest.
$ac_ext >&5
8324 ac_cv_lib_ncurses_waddch
=no
8326 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8327 LIBS
=$ac_check_lib_save_LIBS
8329 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
8330 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
8331 if test $ac_cv_lib_ncurses_waddch = yes; then
8333 cat >>confdefs.h
<<\_ACEOF
8334 #define HAVE_LIBNCURSES 1
8337 CURSESLIBS
="-lncurses"
8340 for ac_header
in curses.h
8342 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8343 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8344 echo "$as_me:$LINENO: checking for $ac_header" >&5
8345 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8346 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8347 echo $ECHO_N "(cached) $ECHO_C" >&6
8349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8350 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8352 # Is the header compilable?
8353 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8354 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8355 cat >conftest.
$ac_ext <<_ACEOF
8356 #line $LINENO "configure"
8359 cat confdefs.h
>>conftest.
$ac_ext
8360 cat >>conftest.
$ac_ext <<_ACEOF
8361 /* end confdefs.h. */
8362 $ac_includes_default
8363 #include <$ac_header>
8365 rm -f conftest.
$ac_objext
8366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8367 (eval $ac_compile) 2>&5
8369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8370 (exit $ac_status); } &&
8371 { ac_try
='test -s conftest.$ac_objext'
8372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8376 (exit $ac_status); }; }; then
8377 ac_header_compiler
=yes
8379 echo "$as_me: failed program was:" >&5
8380 sed 's/^/| /' conftest.
$ac_ext >&5
8382 ac_header_compiler
=no
8384 rm -f conftest.
$ac_objext conftest.
$ac_ext
8385 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8386 echo "${ECHO_T}$ac_header_compiler" >&6
8388 # Is the header present?
8389 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8390 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8391 cat >conftest.
$ac_ext <<_ACEOF
8392 #line $LINENO "configure"
8395 cat confdefs.h
>>conftest.
$ac_ext
8396 cat >>conftest.
$ac_ext <<_ACEOF
8397 /* end confdefs.h. */
8398 #include <$ac_header>
8400 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8401 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8403 grep -v '^ *+' conftest.er1
>conftest.err
8405 cat conftest.err
>&5
8406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8407 (exit $ac_status); } >/dev
/null
; then
8408 if test -s conftest.err
; then
8409 ac_cpp_err
=$ac_c_preproc_warn_flag
8416 if test -z "$ac_cpp_err"; then
8417 ac_header_preproc
=yes
8419 echo "$as_me: failed program was:" >&5
8420 sed 's/^/| /' conftest.
$ac_ext >&5
8422 ac_header_preproc
=no
8424 rm -f conftest.err conftest.
$ac_ext
8425 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8426 echo "${ECHO_T}$ac_header_preproc" >&6
8428 # So? What about this header?
8429 case $ac_header_compiler:$ac_header_preproc in
8431 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8432 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8433 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8434 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8437 ## ------------------------------------ ##
8438 ## Report this to bug-autoconf@gnu.org. ##
8439 ## ------------------------------------ ##
8442 sed "s/^/$as_me: WARNING: /" >&2
8445 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8446 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8447 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8448 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8449 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8450 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8453 ## ------------------------------------ ##
8454 ## Report this to bug-autoconf@gnu.org. ##
8455 ## ------------------------------------ ##
8458 sed "s/^/$as_me: WARNING: /" >&2
8461 echo "$as_me:$LINENO: checking for $ac_header" >&5
8462 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8464 echo $ECHO_N "(cached) $ECHO_C" >&6
8466 eval "$as_ac_Header=$ac_header_preproc"
8468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8469 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8472 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8473 cat >>confdefs.h
<<_ACEOF
8474 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8476 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
8477 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
8478 if test "${ac_cv_lib_curses_waddch+set}" = set; then
8479 echo $ECHO_N "(cached) $ECHO_C" >&6
8481 ac_check_lib_save_LIBS
=$LIBS
8482 LIBS
="-lcurses $LIBS"
8483 cat >conftest.
$ac_ext <<_ACEOF
8484 #line $LINENO "configure"
8487 cat confdefs.h
>>conftest.
$ac_ext
8488 cat >>conftest.
$ac_ext <<_ACEOF
8489 /* end confdefs.h. */
8491 /* Override any gcc2 internal prototype to avoid an error. */
8495 /* We use char because int might match the return type of a gcc2
8496 builtin and then its argument prototype would still apply. */
8506 rm -f conftest.
$ac_objext conftest
$ac_exeext
8507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8508 (eval $ac_link) 2>&5
8510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8511 (exit $ac_status); } &&
8512 { ac_try
='test -s conftest$ac_exeext'
8513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8517 (exit $ac_status); }; }; then
8518 ac_cv_lib_curses_waddch
=yes
8520 echo "$as_me: failed program was:" >&5
8521 sed 's/^/| /' conftest.
$ac_ext >&5
8523 ac_cv_lib_curses_waddch
=no
8525 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8526 LIBS
=$ac_check_lib_save_LIBS
8528 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
8529 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
8530 if test $ac_cv_lib_curses_waddch = yes; then
8532 cat >>confdefs.h
<<\_ACEOF
8533 #define HAVE_LIBCURSES 1
8536 CURSESLIBS
="-lcurses"
8550 LIBS
="$CURSESLIBS $LIBS"
8553 for ac_func
in getbkgd resizeterm
8555 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8556 echo "$as_me:$LINENO: checking for $ac_func" >&5
8557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8558 if eval "test \"\${$as_ac_var+set}\" = set"; then
8559 echo $ECHO_N "(cached) $ECHO_C" >&6
8561 cat >conftest.
$ac_ext <<_ACEOF
8562 #line $LINENO "configure"
8565 cat confdefs.h
>>conftest.
$ac_ext
8566 cat >>conftest.
$ac_ext <<_ACEOF
8567 /* end confdefs.h. */
8568 /* System header to define __stub macros and hopefully few prototypes,
8569 which can conflict with char $ac_func (); below.
8570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8571 <limits.h> exists even on freestanding compilers. */
8573 # include <limits.h>
8575 # include <assert.h>
8577 /* 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. */
8585 /* The GNU C library defines this for functions which it implements
8586 to always fail with ENOSYS. Some functions are actually named
8587 something starting with __ and the normal name is an alias. */
8588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8591 char (*f) () = $ac_func;
8600 return f != $ac_func;
8605 rm -f conftest.
$ac_objext conftest
$ac_exeext
8606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8607 (eval $ac_link) 2>&5
8609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8610 (exit $ac_status); } &&
8611 { ac_try
='test -s conftest$ac_exeext'
8612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8616 (exit $ac_status); }; }; then
8617 eval "$as_ac_var=yes"
8619 echo "$as_me: failed program was:" >&5
8620 sed 's/^/| /' conftest.
$ac_ext >&5
8622 eval "$as_ac_var=no"
8624 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8628 if test `eval echo '${'$as_ac_var'}'` = yes; then
8629 cat >>confdefs.h
<<_ACEOF
8630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8640 # Extract the first word of "sane-config", so it can be a program name with args.
8641 set dummy sane-config
; ac_word
=$2
8642 echo "$as_me:$LINENO: checking for $ac_word" >&5
8643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8644 if test "${ac_cv_prog_sane_devel+set}" = set; then
8645 echo $ECHO_N "(cached) $ECHO_C" >&6
8647 if test -n "$sane_devel"; then
8648 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
8650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8654 test -z "$as_dir" && as_dir
=.
8655 for ac_exec_ext
in '' $ac_executable_extensions; do
8656 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8657 ac_cv_prog_sane_devel
="sane-config"
8658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8664 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
8667 sane_devel
=$ac_cv_prog_sane_devel
8668 if test -n "$sane_devel"; then
8669 echo "$as_me:$LINENO: result: $sane_devel" >&5
8670 echo "${ECHO_T}$sane_devel" >&6
8672 echo "$as_me:$LINENO: result: no" >&5
8673 echo "${ECHO_T}no" >&6
8676 if test "$sane_devel" = "no"
8681 SANELIBS
="`$sane_devel --libs`"
8682 SANEINCL
="`$sane_devel --cflags`"
8683 ac_save_CPPFLAGS
="$CPPFLAGS"
8684 ac_save_LIBS
="$LIBS"
8685 CPPFLAGS
="$CPPFLAGS $SANEINCL"
8686 LIBS
="$LIBS $SANELIBS"
8687 if test "${ac_cv_header_sane_sane_h+set}" = set; then
8688 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
8689 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
8690 if test "${ac_cv_header_sane_sane_h+set}" = set; then
8691 echo $ECHO_N "(cached) $ECHO_C" >&6
8693 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
8694 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
8696 # Is the header compilable?
8697 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
8698 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
8699 cat >conftest.
$ac_ext <<_ACEOF
8700 #line $LINENO "configure"
8703 cat confdefs.h
>>conftest.
$ac_ext
8704 cat >>conftest.
$ac_ext <<_ACEOF
8705 /* end confdefs.h. */
8706 $ac_includes_default
8707 #include <sane/sane.h>
8709 rm -f conftest.
$ac_objext
8710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8711 (eval $ac_compile) 2>&5
8713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8714 (exit $ac_status); } &&
8715 { ac_try
='test -s conftest.$ac_objext'
8716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8720 (exit $ac_status); }; }; then
8721 ac_header_compiler
=yes
8723 echo "$as_me: failed program was:" >&5
8724 sed 's/^/| /' conftest.
$ac_ext >&5
8726 ac_header_compiler
=no
8728 rm -f conftest.
$ac_objext conftest.
$ac_ext
8729 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8730 echo "${ECHO_T}$ac_header_compiler" >&6
8732 # Is the header present?
8733 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
8734 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
8735 cat >conftest.
$ac_ext <<_ACEOF
8736 #line $LINENO "configure"
8739 cat confdefs.h
>>conftest.
$ac_ext
8740 cat >>conftest.
$ac_ext <<_ACEOF
8741 /* end confdefs.h. */
8742 #include <sane/sane.h>
8744 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8745 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8747 grep -v '^ *+' conftest.er1
>conftest.err
8749 cat conftest.err
>&5
8750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8751 (exit $ac_status); } >/dev
/null
; then
8752 if test -s conftest.err
; then
8753 ac_cpp_err
=$ac_c_preproc_warn_flag
8760 if test -z "$ac_cpp_err"; then
8761 ac_header_preproc
=yes
8763 echo "$as_me: failed program was:" >&5
8764 sed 's/^/| /' conftest.
$ac_ext >&5
8766 ac_header_preproc
=no
8768 rm -f conftest.err conftest.
$ac_ext
8769 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8770 echo "${ECHO_T}$ac_header_preproc" >&6
8772 # So? What about this header?
8773 case $ac_header_compiler:$ac_header_preproc in
8775 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
8776 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8777 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
8778 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
8781 ## ------------------------------------ ##
8782 ## Report this to bug-autoconf@gnu.org. ##
8783 ## ------------------------------------ ##
8786 sed "s/^/$as_me: WARNING: /" >&2
8789 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
8790 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
8791 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
8792 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
8793 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
8794 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
8797 ## ------------------------------------ ##
8798 ## Report this to bug-autoconf@gnu.org. ##
8799 ## ------------------------------------ ##
8802 sed "s/^/$as_me: WARNING: /" >&2
8805 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
8806 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
8807 if test "${ac_cv_header_sane_sane_h+set}" = set; then
8808 echo $ECHO_N "(cached) $ECHO_C" >&6
8810 ac_cv_header_sane_sane_h
=$ac_header_preproc
8812 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
8813 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
8816 if test $ac_cv_header_sane_sane_h = yes; then
8817 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
8818 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
8819 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
8820 echo $ECHO_N "(cached) $ECHO_C" >&6
8822 ac_check_lib_save_LIBS
=$LIBS
8824 cat >conftest.
$ac_ext <<_ACEOF
8825 #line $LINENO "configure"
8828 cat confdefs.h
>>conftest.
$ac_ext
8829 cat >>conftest.
$ac_ext <<_ACEOF
8830 /* end confdefs.h. */
8832 /* Override any gcc2 internal prototype to avoid an error. */
8836 /* We use char because int might match the return type of a gcc2
8837 builtin and then its argument prototype would still apply. */
8847 rm -f conftest.
$ac_objext conftest
$ac_exeext
8848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8849 (eval $ac_link) 2>&5
8851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8852 (exit $ac_status); } &&
8853 { ac_try
='test -s conftest$ac_exeext'
8854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8858 (exit $ac_status); }; }; then
8859 ac_cv_lib_sane_sane_open
=yes
8861 echo "$as_me: failed program was:" >&5
8862 sed 's/^/| /' conftest.
$ac_ext >&5
8864 ac_cv_lib_sane_sane_open
=no
8866 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8867 LIBS
=$ac_check_lib_save_LIBS
8869 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
8870 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
8871 if test $ac_cv_lib_sane_sane_open = yes; then
8873 cat >>confdefs.h
<<\_ACEOF
8888 LIBS
="$ac_save_LIBS"
8889 CPPFLAGS
="$ac_save_CPPFLAGS"
8894 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
8895 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
8896 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
8897 echo $ECHO_N "(cached) $ECHO_C" >&6
8899 ac_check_lib_save_LIBS
=$LIBS
8900 LIBS
="-lfreetype $X_LIBS $LIBS"
8901 cat >conftest.
$ac_ext <<_ACEOF
8902 #line $LINENO "configure"
8905 cat confdefs.h
>>conftest.
$ac_ext
8906 cat >>conftest.
$ac_ext <<_ACEOF
8907 /* end confdefs.h. */
8909 /* Override any gcc2 internal prototype to avoid an error. */
8913 /* We use char because int might match the return type of a gcc2
8914 builtin and then its argument prototype would still apply. */
8915 char FT_Init_FreeType ();
8919 FT_Init_FreeType ();
8924 rm -f conftest.
$ac_objext conftest
$ac_exeext
8925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8926 (eval $ac_link) 2>&5
8928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8929 (exit $ac_status); } &&
8930 { ac_try
='test -s conftest$ac_exeext'
8931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8935 (exit $ac_status); }; }; then
8936 ac_cv_lib_freetype_FT_Init_FreeType
=yes
8938 echo "$as_me: failed program was:" >&5
8939 sed 's/^/| /' conftest.
$ac_ext >&5
8941 ac_cv_lib_freetype_FT_Init_FreeType
=no
8943 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8944 LIBS
=$ac_check_lib_save_LIBS
8946 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
8947 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
8948 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
8954 if test "$ft_lib" = "no"
8957 wine_cv_msg_freetype
=no
8959 # Extract the first word of "freetype-config", so it can be a program name with args.
8960 set dummy freetype-config
; ac_word
=$2
8961 echo "$as_me:$LINENO: checking for $ac_word" >&5
8962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8963 if test "${ac_cv_prog_ft_devel+set}" = set; then
8964 echo $ECHO_N "(cached) $ECHO_C" >&6
8966 if test -n "$ft_devel"; then
8967 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
8969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8973 test -z "$as_dir" && as_dir
=.
8974 for ac_exec_ext
in '' $ac_executable_extensions; do
8975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8976 ac_cv_prog_ft_devel
="freetype-config"
8977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8983 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel
="no"
8986 ft_devel
=$ac_cv_prog_ft_devel
8987 if test -n "$ft_devel"; then
8988 echo "$as_me:$LINENO: result: $ft_devel" >&5
8989 echo "${ECHO_T}$ft_devel" >&6
8991 echo "$as_me:$LINENO: result: no" >&5
8992 echo "${ECHO_T}no" >&6
8995 if test "$ft_devel" = "no"
8997 # Extract the first word of "freetype2-config", so it can be a program name with args.
8998 set dummy freetype2-config
; ac_word
=$2
8999 echo "$as_me:$LINENO: checking for $ac_word" >&5
9000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9001 if test "${ac_cv_prog_ft_devel2+set}" = set; then
9002 echo $ECHO_N "(cached) $ECHO_C" >&6
9004 if test -n "$ft_devel2"; then
9005 ac_cv_prog_ft_devel2
="$ft_devel2" # Let the user override the test.
9007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9011 test -z "$as_dir" && as_dir
=.
9012 for ac_exec_ext
in '' $ac_executable_extensions; do
9013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9014 ac_cv_prog_ft_devel2
="freetype2-config"
9015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9021 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2
="no"
9024 ft_devel2
=$ac_cv_prog_ft_devel2
9025 if test -n "$ft_devel2"; then
9026 echo "$as_me:$LINENO: result: $ft_devel2" >&5
9027 echo "${ECHO_T}$ft_devel2" >&6
9029 echo "$as_me:$LINENO: result: no" >&5
9030 echo "${ECHO_T}no" >&6
9033 if test "$ft_devel2" = "freetype2-config"
9038 if test "$ft_devel" = "no"
9041 wine_cv_msg_freetype
=yes
9043 FREETYPEINCL
=`$ft_devel --cflags`
9044 ac_save_CPPFLAGS
="$CPPFLAGS"
9045 CPPFLAGS
="$FREETYPEINCL $CPPFLAGS"
9054 for ac_header
in freetype
/freetype.h \
9055 freetype
/ftglyph.h \
9056 freetype
/tttables.h \
9057 freetype
/ftnames.h \
9058 freetype
/ftsnames.h \
9059 freetype
/ttnameid.h \
9060 freetype
/ftoutln.h \
9061 freetype
/internal
/sfnt.h
9063 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9064 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9065 echo "$as_me:$LINENO: checking for $ac_header" >&5
9066 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9067 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9068 echo $ECHO_N "(cached) $ECHO_C" >&6
9070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9071 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9073 # Is the header compilable?
9074 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9075 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9076 cat >conftest.
$ac_ext <<_ACEOF
9077 #line $LINENO "configure"
9080 cat confdefs.h
>>conftest.
$ac_ext
9081 cat >>conftest.
$ac_ext <<_ACEOF
9082 /* end confdefs.h. */
9083 $ac_includes_default
9084 #include <$ac_header>
9086 rm -f conftest.
$ac_objext
9087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9088 (eval $ac_compile) 2>&5
9090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9091 (exit $ac_status); } &&
9092 { ac_try
='test -s conftest.$ac_objext'
9093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9097 (exit $ac_status); }; }; then
9098 ac_header_compiler
=yes
9100 echo "$as_me: failed program was:" >&5
9101 sed 's/^/| /' conftest.
$ac_ext >&5
9103 ac_header_compiler
=no
9105 rm -f conftest.
$ac_objext conftest.
$ac_ext
9106 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9107 echo "${ECHO_T}$ac_header_compiler" >&6
9109 # Is the header present?
9110 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9111 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9112 cat >conftest.
$ac_ext <<_ACEOF
9113 #line $LINENO "configure"
9116 cat confdefs.h
>>conftest.
$ac_ext
9117 cat >>conftest.
$ac_ext <<_ACEOF
9118 /* end confdefs.h. */
9119 #include <$ac_header>
9121 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9122 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9124 grep -v '^ *+' conftest.er1
>conftest.err
9126 cat conftest.err
>&5
9127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9128 (exit $ac_status); } >/dev
/null
; then
9129 if test -s conftest.err
; then
9130 ac_cpp_err
=$ac_c_preproc_warn_flag
9137 if test -z "$ac_cpp_err"; then
9138 ac_header_preproc
=yes
9140 echo "$as_me: failed program was:" >&5
9141 sed 's/^/| /' conftest.
$ac_ext >&5
9143 ac_header_preproc
=no
9145 rm -f conftest.err conftest.
$ac_ext
9146 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9147 echo "${ECHO_T}$ac_header_preproc" >&6
9149 # So? What about this header?
9150 case $ac_header_compiler:$ac_header_preproc in
9152 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9153 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9154 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9155 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9158 ## ------------------------------------ ##
9159 ## Report this to bug-autoconf@gnu.org. ##
9160 ## ------------------------------------ ##
9163 sed "s/^/$as_me: WARNING: /" >&2
9166 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9167 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9168 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9169 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9170 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9171 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9174 ## ------------------------------------ ##
9175 ## Report this to bug-autoconf@gnu.org. ##
9176 ## ------------------------------------ ##
9179 sed "s/^/$as_me: WARNING: /" >&2
9182 echo "$as_me:$LINENO: checking for $ac_header" >&5
9183 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9184 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9185 echo $ECHO_N "(cached) $ECHO_C" >&6
9187 eval "$as_ac_Header=$ac_header_preproc"
9189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9190 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9193 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9194 cat >>confdefs.h
<<_ACEOF
9195 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9202 cat >conftest.
$ac_ext <<_ACEOF
9203 #line $LINENO "configure"
9206 cat confdefs.h
>>conftest.
$ac_ext
9207 cat >>conftest.
$ac_ext <<_ACEOF
9208 /* end confdefs.h. */
9209 #include <ft2build.h>
9210 #include <freetype/fttrigon.h>
9212 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9213 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9215 grep -v '^ *+' conftest.er1
>conftest.err
9217 cat conftest.err
>&5
9218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9219 (exit $ac_status); } >/dev
/null
; then
9220 if test -s conftest.err
; then
9221 ac_cpp_err
=$ac_c_preproc_warn_flag
9228 if test -z "$ac_cpp_err"; then
9230 cat >>confdefs.h
<<\_ACEOF
9231 #define HAVE_FREETYPE_FTTRIGON_H 1
9234 wine_cv_fttrigon
=yes
9236 echo "$as_me: failed program was:" >&5
9237 sed 's/^/| /' conftest.
$ac_ext >&5
9241 rm -f conftest.err conftest.
$ac_ext
9242 CPPFLAGS
="$ac_save_CPPFLAGS"
9243 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
9246 cat >>confdefs.h
<<\_ACEOF
9247 #define HAVE_FREETYPE 1
9250 wine_cv_msg_freetype
=no
9253 wine_cv_msg_freetype
=yes
9259 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
9260 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
9261 if test "${ac_cv_c_ppdev+set}" = set; then
9262 echo $ECHO_N "(cached) $ECHO_C" >&6
9264 cat >conftest.
$ac_ext <<_ACEOF
9265 #line $LINENO "configure"
9268 cat confdefs.h
>>conftest.
$ac_ext
9269 cat >>conftest.
$ac_ext <<_ACEOF
9270 /* end confdefs.h. */
9271 #include <linux/ppdev.h>
9280 rm -f conftest.
$ac_objext
9281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9282 (eval $ac_compile) 2>&5
9284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9285 (exit $ac_status); } &&
9286 { ac_try
='test -s conftest.$ac_objext'
9287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9291 (exit $ac_status); }; }; then
9294 echo "$as_me: failed program was:" >&5
9295 sed 's/^/| /' conftest.
$ac_ext >&5
9299 rm -f conftest.
$ac_objext conftest.
$ac_ext
9302 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
9303 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
9304 if test "$ac_cv_c_ppdev" = "yes"
9307 cat >>confdefs.h
<<\_ACEOF
9308 #define HAVE_PPDEV 1
9313 echo "$as_me:$LINENO: checking for va_copy" >&5
9314 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
9315 if test "${ac_cv_c_va_copy+set}" = set; then
9316 echo $ECHO_N "(cached) $ECHO_C" >&6
9318 cat >conftest.
$ac_ext <<_ACEOF
9319 #line $LINENO "configure"
9322 cat confdefs.h
>>conftest.
$ac_ext
9323 cat >>conftest.
$ac_ext <<_ACEOF
9324 /* end confdefs.h. */
9336 rm -f conftest.
$ac_objext conftest
$ac_exeext
9337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9338 (eval $ac_link) 2>&5
9340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9341 (exit $ac_status); } &&
9342 { ac_try
='test -s conftest$ac_exeext'
9343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9347 (exit $ac_status); }; }; then
9348 ac_cv_c_va_copy
="yes"
9350 echo "$as_me: failed program was:" >&5
9351 sed 's/^/| /' conftest.
$ac_ext >&5
9353 ac_cv_c_va_copy
="no"
9355 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9358 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
9359 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
9360 if test "$ac_cv_c_va_copy" = "yes"
9363 cat >>confdefs.h
<<\_ACEOF
9364 #define HAVE_VA_COPY 1
9368 echo "$as_me:$LINENO: checking for __va_copy" >&5
9369 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
9370 if test "${ac_cv_c___va_copy+set}" = set; then
9371 echo $ECHO_N "(cached) $ECHO_C" >&6
9373 cat >conftest.
$ac_ext <<_ACEOF
9374 #line $LINENO "configure"
9377 cat confdefs.h
>>conftest.
$ac_ext
9378 cat >>conftest.
$ac_ext <<_ACEOF
9379 /* end confdefs.h. */
9391 rm -f conftest.
$ac_objext conftest
$ac_exeext
9392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9393 (eval $ac_link) 2>&5
9395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9396 (exit $ac_status); } &&
9397 { ac_try
='test -s conftest$ac_exeext'
9398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9402 (exit $ac_status); }; }; then
9403 ac_cv_c___va_copy
="yes"
9405 echo "$as_me: failed program was:" >&5
9406 sed 's/^/| /' conftest.
$ac_ext >&5
9408 ac_cv_c___va_copy
="no"
9410 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9413 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
9414 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
9415 if test "$ac_cv_c___va_copy" = "yes"
9418 cat >>confdefs.h
<<\_ACEOF
9419 #define HAVE___VA_COPY 1
9424 echo "$as_me:$LINENO: checking for GNU style IPX support" >&5
9425 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
9426 if test "${ac_cv_c_ipx_gnu+set}" = set; then
9427 echo $ECHO_N "(cached) $ECHO_C" >&6
9429 cat >conftest.
$ac_ext <<_ACEOF
9430 #line $LINENO "configure"
9433 cat confdefs.h
>>conftest.
$ac_ext
9434 cat >>conftest.
$ac_ext <<_ACEOF
9435 /* end confdefs.h. */
9436 #include <sys/types.h>
9437 #ifdef HAVE_SYS_SOCKET_H
9438 # include <sys/socket.h>
9440 #include <netipx/ipx.h>
9444 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
9449 rm -f conftest.
$ac_objext
9450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9451 (eval $ac_compile) 2>&5
9453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9454 (exit $ac_status); } &&
9455 { ac_try
='test -s conftest.$ac_objext'
9456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9460 (exit $ac_status); }; }; then
9461 ac_cv_c_ipx_gnu
="yes"
9463 echo "$as_me: failed program was:" >&5
9464 sed 's/^/| /' conftest.
$ac_ext >&5
9466 ac_cv_c_ipx_gnu
="no"
9468 rm -f conftest.
$ac_objext conftest.
$ac_ext
9471 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_gnu" >&5
9472 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
9473 if test "$ac_cv_c_ipx_gnu" = "yes"
9476 cat >>confdefs.h
<<\_ACEOF
9477 #define HAVE_IPX_GNU 1
9482 if test "$ac_cv_c_ipx_gnu" = "no"
9484 echo "$as_me:$LINENO: checking for linux style IPX support" >&5
9485 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
9486 if test "${ac_cv_c_ipx_linux+set}" = set; then
9487 echo $ECHO_N "(cached) $ECHO_C" >&6
9489 cat >conftest.
$ac_ext <<_ACEOF
9490 #line $LINENO "configure"
9493 cat confdefs.h
>>conftest.
$ac_ext
9494 cat >>conftest.
$ac_ext <<_ACEOF
9495 /* end confdefs.h. */
9496 #include <sys/types.h>
9497 #ifdef HAVE_SYS_SOCKET_H
9498 # include <sys/socket.h>
9500 #include <asm/types.h>
9501 #include <linux/ipx.h>
9505 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
9510 rm -f conftest.
$ac_objext
9511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9512 (eval $ac_compile) 2>&5
9514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9515 (exit $ac_status); } &&
9516 { ac_try
='test -s conftest.$ac_objext'
9517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9521 (exit $ac_status); }; }; then
9522 ac_cv_c_ipx_linux
="yes"
9524 echo "$as_me: failed program was:" >&5
9525 sed 's/^/| /' conftest.
$ac_ext >&5
9527 ac_cv_c_ipx_linux
="no"
9529 rm -f conftest.
$ac_objext conftest.
$ac_ext
9532 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_linux" >&5
9533 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
9534 if test "$ac_cv_c_ipx_linux" = "yes"
9537 cat >>confdefs.h
<<\_ACEOF
9538 #define HAVE_IPX_LINUX 1
9547 for ac_header
in sys
/soundcard.h machine
/soundcard.h soundcard.h
9549 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9550 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9551 echo "$as_me:$LINENO: checking for $ac_header" >&5
9552 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9553 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9554 echo $ECHO_N "(cached) $ECHO_C" >&6
9556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9557 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9559 # Is the header compilable?
9560 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9561 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9562 cat >conftest.
$ac_ext <<_ACEOF
9563 #line $LINENO "configure"
9566 cat confdefs.h
>>conftest.
$ac_ext
9567 cat >>conftest.
$ac_ext <<_ACEOF
9568 /* end confdefs.h. */
9569 $ac_includes_default
9570 #include <$ac_header>
9572 rm -f conftest.
$ac_objext
9573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9574 (eval $ac_compile) 2>&5
9576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9577 (exit $ac_status); } &&
9578 { ac_try
='test -s conftest.$ac_objext'
9579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9583 (exit $ac_status); }; }; then
9584 ac_header_compiler
=yes
9586 echo "$as_me: failed program was:" >&5
9587 sed 's/^/| /' conftest.
$ac_ext >&5
9589 ac_header_compiler
=no
9591 rm -f conftest.
$ac_objext conftest.
$ac_ext
9592 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9593 echo "${ECHO_T}$ac_header_compiler" >&6
9595 # Is the header present?
9596 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9597 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9598 cat >conftest.
$ac_ext <<_ACEOF
9599 #line $LINENO "configure"
9602 cat confdefs.h
>>conftest.
$ac_ext
9603 cat >>conftest.
$ac_ext <<_ACEOF
9604 /* end confdefs.h. */
9605 #include <$ac_header>
9607 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9608 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9610 grep -v '^ *+' conftest.er1
>conftest.err
9612 cat conftest.err
>&5
9613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9614 (exit $ac_status); } >/dev
/null
; then
9615 if test -s conftest.err
; then
9616 ac_cpp_err
=$ac_c_preproc_warn_flag
9623 if test -z "$ac_cpp_err"; then
9624 ac_header_preproc
=yes
9626 echo "$as_me: failed program was:" >&5
9627 sed 's/^/| /' conftest.
$ac_ext >&5
9629 ac_header_preproc
=no
9631 rm -f conftest.err conftest.
$ac_ext
9632 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9633 echo "${ECHO_T}$ac_header_preproc" >&6
9635 # So? What about this header?
9636 case $ac_header_compiler:$ac_header_preproc in
9638 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9639 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9640 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9641 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9644 ## ------------------------------------ ##
9645 ## Report this to bug-autoconf@gnu.org. ##
9646 ## ------------------------------------ ##
9649 sed "s/^/$as_me: WARNING: /" >&2
9652 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9653 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9654 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9655 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9656 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9657 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9660 ## ------------------------------------ ##
9661 ## Report this to bug-autoconf@gnu.org. ##
9662 ## ------------------------------------ ##
9665 sed "s/^/$as_me: WARNING: /" >&2
9668 echo "$as_me:$LINENO: checking for $ac_header" >&5
9669 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9670 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9671 echo $ECHO_N "(cached) $ECHO_C" >&6
9673 eval "$as_ac_Header=$ac_header_preproc"
9675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9676 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9679 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9680 cat >>confdefs.h
<<_ACEOF
9681 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9689 echo "$as_me:$LINENO: checking for Open Sound System" >&5
9690 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
9691 if test "${ac_cv_c_opensoundsystem+set}" = set; then
9692 echo $ECHO_N "(cached) $ECHO_C" >&6
9694 cat >conftest.
$ac_ext <<_ACEOF
9695 #line $LINENO "configure"
9698 cat confdefs.h
>>conftest.
$ac_ext
9699 cat >>conftest.
$ac_ext <<_ACEOF
9700 /* end confdefs.h. */
9702 #if defined(HAVE_SYS_SOUNDCARD_H)
9703 #include <sys/soundcard.h>
9704 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
9705 #include <machine/soundcard.h>
9706 #elif defined(HAVE_SOUNDCARD_H)
9707 #include <soundcard.h>
9715 /* check for one of the Open Sound System specific SNDCTL_ defines */
9716 #if !defined(SNDCTL_DSP_STEREO)
9717 #error No open sound system
9724 rm -f conftest.
$ac_objext
9725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9726 (eval $ac_compile) 2>&5
9728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9729 (exit $ac_status); } &&
9730 { ac_try
='test -s conftest.$ac_objext'
9731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9735 (exit $ac_status); }; }; then
9736 ac_cv_c_opensoundsystem
="yes"
9738 echo "$as_me: failed program was:" >&5
9739 sed 's/^/| /' conftest.
$ac_ext >&5
9741 ac_cv_c_opensoundsystem
="no"
9743 rm -f conftest.
$ac_objext conftest.
$ac_ext
9745 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
9746 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
9748 if test "$ac_cv_c_opensoundsystem" = "yes"
9751 cat >>confdefs.h
<<\_ACEOF
9757 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
9758 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
9759 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
9760 echo $ECHO_N "(cached) $ECHO_C" >&6
9762 cat >conftest.
$ac_ext <<_ACEOF
9763 #line $LINENO "configure"
9766 cat confdefs.h
>>conftest.
$ac_ext
9767 cat >>conftest.
$ac_ext <<_ACEOF
9768 /* end confdefs.h. */
9770 #if defined(HAVE_SYS_SOUNDCARD_H)
9771 #include <sys/soundcard.h>
9772 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
9773 #include <machine/soundcard.h>
9774 #elif defined(HAVE_SOUNDCARD_H)
9775 #include <soundcard.h>
9783 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
9784 #if !defined(SNDCTL_SEQ_SYNC)
9785 #error No open sound system MIDI interface
9792 rm -f conftest.
$ac_objext
9793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9794 (eval $ac_compile) 2>&5
9796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9797 (exit $ac_status); } &&
9798 { ac_try
='test -s conftest.$ac_objext'
9799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9803 (exit $ac_status); }; }; then
9804 ac_cv_c_opensoundsystem_midi
="yes"
9806 echo "$as_me: failed program was:" >&5
9807 sed 's/^/| /' conftest.
$ac_ext >&5
9809 ac_cv_c_opensoundsystem_midi
="no"
9811 rm -f conftest.
$ac_objext conftest.
$ac_ext
9813 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
9814 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
9816 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
9819 cat >>confdefs.h
<<\_ACEOF
9820 #define HAVE_OSS_MIDI 1
9825 # Extract the first word of "artsc-config", so it can be a program name with args.
9826 set dummy artsc-config
; ac_word
=$2
9827 echo "$as_me:$LINENO: checking for $ac_word" >&5
9828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9829 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
9830 echo $ECHO_N "(cached) $ECHO_C" >&6
9832 case $ARTSCCONFIG in
9834 ac_cv_path_ARTSCCONFIG
="$ARTSCCONFIG" # Let the user override the test with a path.
9837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9841 test -z "$as_dir" && as_dir
=.
9842 for ac_exec_ext
in '' $ac_executable_extensions; do
9843 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9844 ac_cv_path_ARTSCCONFIG
="$as_dir/$ac_word$ac_exec_ext"
9845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9854 ARTSCCONFIG
=$ac_cv_path_ARTSCCONFIG
9856 if test -n "$ARTSCCONFIG"; then
9857 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
9858 echo "${ECHO_T}$ARTSCCONFIG" >&6
9860 echo "$as_me:$LINENO: result: no" >&5
9861 echo "${ECHO_T}no" >&6
9864 echo "$as_me:$LINENO: checking for aRts Sound server" >&5
9865 echo $ECHO_N "checking for aRts Sound server... $ECHO_C" >&6
9866 if test "${ac_cv_c_artsserver+set}" = set; then
9867 echo $ECHO_N "(cached) $ECHO_C" >&6
9869 if test x
$ARTSCCONFIG = x
-o x
$ARTSCCONFIG = x
'"$ARTSCCONFIG"';
9871 ac_cv_c_artsserver
=no
9873 ARTSC_CFLAGS
=`$ARTSCCONFIG --cflags`
9874 ARTSC_LIBS
=`$ARTSCCONFIG --libs`
9875 ac_cv_c_artsserver
=no
9876 save_CFLAGS
="$CFLAGS"
9877 CFLAGS
="$CFLAGS $ARTSC_CFLAGS"
9878 cat >conftest.
$ac_ext <<_ACEOF
9879 #line $LINENO "configure"
9882 cat confdefs.h
>>conftest.
$ac_ext
9883 cat >>conftest.
$ac_ext <<_ACEOF
9884 /* end confdefs.h. */
9892 arts_stream_t stream;
9898 rm -f conftest.
$ac_objext
9899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9900 (eval $ac_compile) 2>&5
9902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9903 (exit $ac_status); } &&
9904 { ac_try
='test -s conftest.$ac_objext'
9905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9909 (exit $ac_status); }; }; then
9911 ac_cv_c_artsserver
=yes
9914 echo "$as_me: failed program was:" >&5
9915 sed 's/^/| /' conftest.
$ac_ext >&5
9918 rm -f conftest.
$ac_objext conftest.
$ac_ext
9919 CFLAGS
="$save_CFLAGS"
9922 echo "$as_me:$LINENO: result: $ac_cv_c_artsserver" >&5
9923 echo "${ECHO_T}$ac_cv_c_artsserver" >&6
9925 if test "$ac_cv_c_artsserver" = "yes"
9927 ARTSLIBS
=$ARTSC_LIBS
9929 ARTSINCL
=$ARTSC_CFLAGS
9933 cat >>confdefs.h
<<\_ACEOF
9943 for ac_header
in alsa
/asoundlib.h sys
/asoundlib.h
9945 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9947 echo "$as_me:$LINENO: checking for $ac_header" >&5
9948 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9949 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9950 echo $ECHO_N "(cached) $ECHO_C" >&6
9952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9953 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9955 # Is the header compilable?
9956 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9957 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9958 cat >conftest.
$ac_ext <<_ACEOF
9959 #line $LINENO "configure"
9962 cat confdefs.h
>>conftest.
$ac_ext
9963 cat >>conftest.
$ac_ext <<_ACEOF
9964 /* end confdefs.h. */
9965 $ac_includes_default
9966 #include <$ac_header>
9968 rm -f conftest.
$ac_objext
9969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9970 (eval $ac_compile) 2>&5
9972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9973 (exit $ac_status); } &&
9974 { ac_try
='test -s conftest.$ac_objext'
9975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9979 (exit $ac_status); }; }; then
9980 ac_header_compiler
=yes
9982 echo "$as_me: failed program was:" >&5
9983 sed 's/^/| /' conftest.
$ac_ext >&5
9985 ac_header_compiler
=no
9987 rm -f conftest.
$ac_objext conftest.
$ac_ext
9988 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9989 echo "${ECHO_T}$ac_header_compiler" >&6
9991 # Is the header present?
9992 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9993 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9994 cat >conftest.
$ac_ext <<_ACEOF
9995 #line $LINENO "configure"
9998 cat confdefs.h
>>conftest.
$ac_ext
9999 cat >>conftest.
$ac_ext <<_ACEOF
10000 /* end confdefs.h. */
10001 #include <$ac_header>
10003 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10004 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10006 grep -v '^ *+' conftest.er1
>conftest.err
10008 cat conftest.err
>&5
10009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10010 (exit $ac_status); } >/dev
/null
; then
10011 if test -s conftest.err
; then
10012 ac_cpp_err
=$ac_c_preproc_warn_flag
10019 if test -z "$ac_cpp_err"; then
10020 ac_header_preproc
=yes
10022 echo "$as_me: failed program was:" >&5
10023 sed 's/^/| /' conftest.
$ac_ext >&5
10025 ac_header_preproc
=no
10027 rm -f conftest.err conftest.
$ac_ext
10028 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10029 echo "${ECHO_T}$ac_header_preproc" >&6
10031 # So? What about this header?
10032 case $ac_header_compiler:$ac_header_preproc in
10034 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10035 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10036 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10037 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10040 ## ------------------------------------ ##
10041 ## Report this to bug-autoconf@gnu.org. ##
10042 ## ------------------------------------ ##
10045 sed "s/^/$as_me: WARNING: /" >&2
10048 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10049 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10050 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10051 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10052 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10053 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10056 ## ------------------------------------ ##
10057 ## Report this to bug-autoconf@gnu.org. ##
10058 ## ------------------------------------ ##
10061 sed "s/^/$as_me: WARNING: /" >&2
10064 echo "$as_me:$LINENO: checking for $ac_header" >&5
10065 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10066 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10067 echo $ECHO_N "(cached) $ECHO_C" >&6
10069 eval "$as_ac_Header=$ac_header_preproc"
10071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10072 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10075 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10076 cat >>confdefs.h
<<_ACEOF
10077 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10084 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
10086 echo "$as_me:$LINENO: checking for snd_pcm_open in -lasound" >&5
10087 echo $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6
10088 if test "${ac_cv_lib_asound_snd_pcm_open+set}" = set; then
10089 echo $ECHO_N "(cached) $ECHO_C" >&6
10091 ac_check_lib_save_LIBS
=$LIBS
10092 LIBS
="-lasound $LIBS"
10093 cat >conftest.
$ac_ext <<_ACEOF
10094 #line $LINENO "configure"
10097 cat confdefs.h
>>conftest.
$ac_ext
10098 cat >>conftest.
$ac_ext <<_ACEOF
10099 /* end confdefs.h. */
10101 /* Override any gcc2 internal prototype to avoid an error. */
10105 /* We use char because int might match the return type of a gcc2
10106 builtin and then its argument prototype would still apply. */
10107 char snd_pcm_open ();
10116 rm -f conftest.
$ac_objext conftest
$ac_exeext
10117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10118 (eval $ac_link) 2>&5
10120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10121 (exit $ac_status); } &&
10122 { ac_try
='test -s conftest$ac_exeext'
10123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10124 (eval $ac_try) 2>&5
10126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10127 (exit $ac_status); }; }; then
10128 ac_cv_lib_asound_snd_pcm_open
=yes
10130 echo "$as_me: failed program was:" >&5
10131 sed 's/^/| /' conftest.
$ac_ext >&5
10133 ac_cv_lib_asound_snd_pcm_open
=no
10135 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10136 LIBS
=$ac_check_lib_save_LIBS
10138 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5
10139 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6
10140 if test $ac_cv_lib_asound_snd_pcm_open = yes; then
10142 cat >>confdefs.h
<<\_ACEOF
10143 #define HAVE_ALSA 1
10146 ALSALIBS
="-lasound"
10155 for ac_header
in libaudioio.h
10157 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10158 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10159 echo "$as_me:$LINENO: checking for $ac_header" >&5
10160 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10161 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10162 echo $ECHO_N "(cached) $ECHO_C" >&6
10164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10165 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10167 # Is the header compilable?
10168 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10169 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10170 cat >conftest.
$ac_ext <<_ACEOF
10171 #line $LINENO "configure"
10174 cat confdefs.h
>>conftest.
$ac_ext
10175 cat >>conftest.
$ac_ext <<_ACEOF
10176 /* end confdefs.h. */
10177 $ac_includes_default
10178 #include <$ac_header>
10180 rm -f conftest.
$ac_objext
10181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10182 (eval $ac_compile) 2>&5
10184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10185 (exit $ac_status); } &&
10186 { ac_try
='test -s conftest.$ac_objext'
10187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10188 (eval $ac_try) 2>&5
10190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10191 (exit $ac_status); }; }; then
10192 ac_header_compiler
=yes
10194 echo "$as_me: failed program was:" >&5
10195 sed 's/^/| /' conftest.
$ac_ext >&5
10197 ac_header_compiler
=no
10199 rm -f conftest.
$ac_objext conftest.
$ac_ext
10200 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10201 echo "${ECHO_T}$ac_header_compiler" >&6
10203 # Is the header present?
10204 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10205 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10206 cat >conftest.
$ac_ext <<_ACEOF
10207 #line $LINENO "configure"
10210 cat confdefs.h
>>conftest.
$ac_ext
10211 cat >>conftest.
$ac_ext <<_ACEOF
10212 /* end confdefs.h. */
10213 #include <$ac_header>
10215 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10216 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10218 grep -v '^ *+' conftest.er1
>conftest.err
10220 cat conftest.err
>&5
10221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10222 (exit $ac_status); } >/dev
/null
; then
10223 if test -s conftest.err
; then
10224 ac_cpp_err
=$ac_c_preproc_warn_flag
10231 if test -z "$ac_cpp_err"; then
10232 ac_header_preproc
=yes
10234 echo "$as_me: failed program was:" >&5
10235 sed 's/^/| /' conftest.
$ac_ext >&5
10237 ac_header_preproc
=no
10239 rm -f conftest.err conftest.
$ac_ext
10240 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10241 echo "${ECHO_T}$ac_header_preproc" >&6
10243 # So? What about this header?
10244 case $ac_header_compiler:$ac_header_preproc in
10246 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10247 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10248 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10249 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10252 ## ------------------------------------ ##
10253 ## Report this to bug-autoconf@gnu.org. ##
10254 ## ------------------------------------ ##
10257 sed "s/^/$as_me: WARNING: /" >&2
10260 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10261 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10262 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10263 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10264 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10265 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10268 ## ------------------------------------ ##
10269 ## Report this to bug-autoconf@gnu.org. ##
10270 ## ------------------------------------ ##
10273 sed "s/^/$as_me: WARNING: /" >&2
10276 echo "$as_me:$LINENO: checking for $ac_header" >&5
10277 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10278 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10279 echo $ECHO_N "(cached) $ECHO_C" >&6
10281 eval "$as_ac_Header=$ac_header_preproc"
10283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10284 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10287 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10288 cat >>confdefs.h
<<_ACEOF
10289 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10291 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
10292 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
10293 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
10294 echo $ECHO_N "(cached) $ECHO_C" >&6
10296 ac_check_lib_save_LIBS
=$LIBS
10297 LIBS
="-laudioio $LIBS"
10298 cat >conftest.
$ac_ext <<_ACEOF
10299 #line $LINENO "configure"
10302 cat confdefs.h
>>conftest.
$ac_ext
10303 cat >>conftest.
$ac_ext <<_ACEOF
10304 /* end confdefs.h. */
10306 /* Override any gcc2 internal prototype to avoid an error. */
10310 /* We use char because int might match the return type of a gcc2
10311 builtin and then its argument prototype would still apply. */
10312 char AudioIOGetVersion ();
10316 AudioIOGetVersion ();
10321 rm -f conftest.
$ac_objext conftest
$ac_exeext
10322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10323 (eval $ac_link) 2>&5
10325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10326 (exit $ac_status); } &&
10327 { ac_try
='test -s conftest$ac_exeext'
10328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10329 (eval $ac_try) 2>&5
10331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10332 (exit $ac_status); }; }; then
10333 ac_cv_lib_audioio_AudioIOGetVersion
=yes
10335 echo "$as_me: failed program was:" >&5
10336 sed 's/^/| /' conftest.
$ac_ext >&5
10338 ac_cv_lib_audioio_AudioIOGetVersion
=no
10340 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10341 LIBS
=$ac_check_lib_save_LIBS
10343 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
10344 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
10345 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
10346 AUDIOIOLIBS
="-laudioio"
10348 cat >>confdefs.h
<<\_ACEOF
10349 #define HAVE_LIBAUDIOIO 1
10360 echo "$as_me:$LINENO: checking whether mmap64 works defined as mmap" >&5
10361 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
10362 if test "${ac_cv_mmap64_works+set}" = set; then
10363 echo $ECHO_N "(cached) $ECHO_C" >&6
10365 if test "$cross_compiling" = yes; then
10366 ac_cv_mmap64_works
="no"
10368 cat >conftest.
$ac_ext <<_ACEOF
10369 #line $LINENO "configure"
10372 cat confdefs.h
>>conftest.
$ac_ext
10373 cat >>conftest.
$ac_ext <<_ACEOF
10374 /* end confdefs.h. */
10376 #define _FILE_OFFSET_BITS 64
10378 #include <unistd.h>
10380 #include <sys/mman.h>
10383 int main(int argc,char **argv) {
10384 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
10385 if (fd == -1) exit(1);
10387 unlink("conftest.map");
10389 write(fd,"test",4);
10391 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
10397 fprintf(stderr,"success!\n");
10403 rm -f conftest
$ac_exeext
10404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10405 (eval $ac_link) 2>&5
10407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10408 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10410 (eval $ac_try) 2>&5
10412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10413 (exit $ac_status); }; }; then
10414 ac_cv_mmap64_works
="yes"
10416 echo "$as_me: program exited with status $ac_status" >&5
10417 echo "$as_me: failed program was:" >&5
10418 sed 's/^/| /' conftest.
$ac_ext >&5
10420 ( exit $ac_status )
10421 ac_cv_mmap64_works
="no"
10423 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10426 echo "$as_me:$LINENO: result: $ac_cv_mmap64_works" >&5
10427 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
10429 if test "$ac_cv_mmap64_works" = "yes"
10432 cat >>confdefs.h
<<\_ACEOF
10433 #define _FILE_OFFSET_BITS 64
10439 if test "x${GCC}" = "xyes"
10441 CFLAGS
="$CFLAGS -Wall"
10442 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
10443 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
10444 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
10445 echo $ECHO_N "(cached) $ECHO_C" >&6
10447 if test "$cross_compiling" = yes; then
10448 ac_cv_c_gcc_strength_bug
="yes"
10450 cat >conftest.
$ac_ext <<_ACEOF
10451 #line $LINENO "configure"
10454 cat confdefs.h
>>conftest.
$ac_ext
10455 cat >>conftest.
$ac_ext <<_ACEOF
10456 /* end confdefs.h. */
10458 int L[4] = {0,1,2,3};
10460 static int Array[3];
10461 unsigned int B = 3;
10463 for(i=0; i<B; i++) Array[i] = i - 3;
10464 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
10467 exit( Array[1] != -2 || L[2] != 3);
10470 rm -f conftest
$ac_exeext
10471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10472 (eval $ac_link) 2>&5
10474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10475 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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_cv_c_gcc_strength_bug
="no"
10483 echo "$as_me: program exited with status $ac_status" >&5
10484 echo "$as_me: failed program was:" >&5
10485 sed 's/^/| /' conftest.
$ac_ext >&5
10487 ( exit $ac_status )
10488 ac_cv_c_gcc_strength_bug
="yes"
10490 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10493 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
10494 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
10495 if test "$ac_cv_c_gcc_strength_bug" = "yes"
10497 CFLAGS
="$CFLAGS -fno-strength-reduce"
10500 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
10501 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
10502 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
10503 echo $ECHO_N "(cached) $ECHO_C" >&6
10505 ac_wine_try_cflags_saved
=$CFLAGS
10506 CFLAGS
="$CFLAGS -mpreferred-stack-boundary=2"
10507 cat >conftest.
$ac_ext <<_ACEOF
10508 #line $LINENO "configure"
10511 cat confdefs.h
>>conftest.
$ac_ext
10512 cat >>conftest.
$ac_ext <<_ACEOF
10513 /* end confdefs.h. */
10523 rm -f conftest.
$ac_objext conftest
$ac_exeext
10524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10525 (eval $ac_link) 2>&5
10527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10528 (exit $ac_status); } &&
10529 { ac_try
='test -s conftest$ac_exeext'
10530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10531 (eval $ac_try) 2>&5
10533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10534 (exit $ac_status); }; }; then
10535 ac_cv_c_gcc_stack_boundary
="yes"
10537 echo "$as_me: failed program was:" >&5
10538 sed 's/^/| /' conftest.
$ac_ext >&5
10540 ac_cv_c_gcc_stack_boundary
="no"
10542 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10543 CFLAGS
=$ac_wine_try_cflags_saved
10545 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
10546 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
10547 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
10549 CFLAGS
="$CFLAGS -mpreferred-stack-boundary=2"
10554 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
10555 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
10556 if test "${ac_cv_asm_func_def+set}" = set; then
10557 echo $ECHO_N "(cached) $ECHO_C" >&6
10559 cat >conftest.
$ac_ext <<_ACEOF
10560 #line $LINENO "configure"
10563 cat confdefs.h
>>conftest.
$ac_ext
10564 cat >>conftest.
$ac_ext <<_ACEOF
10565 /* end confdefs.h. */
10566 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"); }
10576 rm -f conftest.
$ac_objext conftest
$ac_exeext
10577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10578 (eval $ac_link) 2>&5
10580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10581 (exit $ac_status); } &&
10582 { ac_try
='test -s conftest$ac_exeext'
10583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10584 (eval $ac_try) 2>&5
10586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10587 (exit $ac_status); }; }; then
10588 ac_cv_asm_func_def
=".def"
10590 echo "$as_me: failed program was:" >&5
10591 sed 's/^/| /' conftest.
$ac_ext >&5
10593 cat >conftest.
$ac_ext <<_ACEOF
10594 #line $LINENO "configure"
10597 cat confdefs.h
>>conftest.
$ac_ext
10598 cat >>conftest.
$ac_ext <<_ACEOF
10599 /* end confdefs.h. */
10600 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
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_asm_func_def
=".type @function"
10624 echo "$as_me: failed program was:" >&5
10625 sed 's/^/| /' conftest.
$ac_ext >&5
10627 cat >conftest.
$ac_ext <<_ACEOF
10628 #line $LINENO "configure"
10631 cat confdefs.h
>>conftest.
$ac_ext
10632 cat >>conftest.
$ac_ext <<_ACEOF
10633 /* end confdefs.h. */
10634 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
10644 rm -f conftest.
$ac_objext conftest
$ac_exeext
10645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10646 (eval $ac_link) 2>&5
10648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10649 (exit $ac_status); } &&
10650 { ac_try
='test -s conftest$ac_exeext'
10651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10652 (eval $ac_try) 2>&5
10654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10655 (exit $ac_status); }; }; then
10656 ac_cv_asm_func_def
=".type 2"
10658 echo "$as_me: failed program was:" >&5
10659 sed 's/^/| /' conftest.
$ac_ext >&5
10661 ac_cv_asm_func_def
="unknown"
10663 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10665 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10667 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10669 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
10670 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
10674 case "$ac_cv_asm_func_def" in
10676 cat >>confdefs.h
<<\_ACEOF
10677 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
10681 cat >>confdefs.h
<<\_ACEOF
10682 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
10686 cat >>confdefs.h
<<\_ACEOF
10687 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
10691 cat >>confdefs.h
<<\_ACEOF
10692 #define __ASM_FUNC(name) ""
10698 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
10699 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
10700 if test "${ac_cv_c_extern_prefix+set}" = set; then
10701 echo $ECHO_N "(cached) $ECHO_C" >&6
10703 cat >conftest.
$ac_ext <<_ACEOF
10704 #line $LINENO "configure"
10707 cat confdefs.h
>>conftest.
$ac_ext
10708 cat >>conftest.
$ac_ext <<_ACEOF
10709 /* end confdefs.h. */
10710 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
10711 extern int ac_test;
10715 if (ac_test) return 1
10720 rm -f conftest.
$ac_objext conftest
$ac_exeext
10721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10722 (eval $ac_link) 2>&5
10724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10725 (exit $ac_status); } &&
10726 { ac_try
='test -s conftest$ac_exeext'
10727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10728 (eval $ac_try) 2>&5
10730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10731 (exit $ac_status); }; }; then
10732 ac_cv_c_extern_prefix
="yes"
10734 echo "$as_me: failed program was:" >&5
10735 sed 's/^/| /' conftest.
$ac_ext >&5
10737 ac_cv_c_extern_prefix
="no"
10739 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10741 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
10742 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
10746 if test "$ac_cv_c_extern_prefix" = "yes"
10748 cat >>confdefs.h
<<\_ACEOF
10749 #define __ASM_NAME(name) "_" name
10753 cat >>confdefs.h
<<\_ACEOF
10754 #define __ASM_NAME(name) name
10760 echo "$as_me:$LINENO: checking whether assembler accepts .string" >&5
10761 echo $ECHO_N "checking whether assembler accepts .string... $ECHO_C" >&6
10762 if test "${ac_cv_c_asm_string+set}" = set; then
10763 echo $ECHO_N "(cached) $ECHO_C" >&6
10765 cat >conftest.
$ac_ext <<_ACEOF
10766 #line $LINENO "configure"
10769 cat confdefs.h
>>conftest.
$ac_ext
10770 cat >>conftest.
$ac_ext <<_ACEOF
10771 /* end confdefs.h. */
10772 void ac_asm(void) { asm(".data\n\t.string \"test\"\n\t.text"); }
10782 rm -f conftest.
$ac_objext conftest
$ac_exeext
10783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10784 (eval $ac_link) 2>&5
10786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10787 (exit $ac_status); } &&
10788 { ac_try
='test -s conftest$ac_exeext'
10789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10790 (eval $ac_try) 2>&5
10792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10793 (exit $ac_status); }; }; then
10794 ac_cv_c_asm_string
="yes"
10796 echo "$as_me: failed program was:" >&5
10797 sed 's/^/| /' conftest.
$ac_ext >&5
10799 ac_cv_c_asm_string
="no"
10801 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10803 echo "$as_me:$LINENO: result: $ac_cv_c_asm_string" >&5
10804 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
10805 if test "$ac_cv_c_asm_string" = "yes"
10808 cat >>confdefs.h
<<\_ACEOF
10809 #define HAVE_ASM_STRING 1
10832 if test -n "$ac_tool_prefix"; then
10833 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
10834 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
10835 echo "$as_me:$LINENO: checking for $ac_word" >&5
10836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10837 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
10838 echo $ECHO_N "(cached) $ECHO_C" >&6
10840 if test -n "$DLLTOOL"; then
10841 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
10843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10844 for as_dir
in $PATH
10847 test -z "$as_dir" && as_dir
=.
10848 for ac_exec_ext
in '' $ac_executable_extensions; do
10849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10850 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
10851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10859 DLLTOOL
=$ac_cv_prog_DLLTOOL
10860 if test -n "$DLLTOOL"; then
10861 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
10862 echo "${ECHO_T}$DLLTOOL" >&6
10864 echo "$as_me:$LINENO: result: no" >&5
10865 echo "${ECHO_T}no" >&6
10869 if test -z "$ac_cv_prog_DLLTOOL"; then
10870 ac_ct_DLLTOOL
=$DLLTOOL
10871 # Extract the first word of "dlltool", so it can be a program name with args.
10872 set dummy dlltool
; ac_word
=$2
10873 echo "$as_me:$LINENO: checking for $ac_word" >&5
10874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10875 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
10876 echo $ECHO_N "(cached) $ECHO_C" >&6
10878 if test -n "$ac_ct_DLLTOOL"; then
10879 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
10881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10882 for as_dir
in $PATH
10885 test -z "$as_dir" && as_dir
=.
10886 for ac_exec_ext
in '' $ac_executable_extensions; do
10887 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10888 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
10889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10895 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL
="false"
10898 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
10899 if test -n "$ac_ct_DLLTOOL"; then
10900 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
10901 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
10903 echo "$as_me:$LINENO: result: no" >&5
10904 echo "${ECHO_T}no" >&6
10907 DLLTOOL
=$ac_ct_DLLTOOL
10909 DLLTOOL
="$ac_cv_prog_DLLTOOL"
10912 if test -n "$ac_tool_prefix"; then
10913 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
10914 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
10915 echo "$as_me:$LINENO: checking for $ac_word" >&5
10916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10917 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
10918 echo $ECHO_N "(cached) $ECHO_C" >&6
10920 if test -n "$DLLWRAP"; then
10921 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
10923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10924 for as_dir
in $PATH
10927 test -z "$as_dir" && as_dir
=.
10928 for ac_exec_ext
in '' $ac_executable_extensions; do
10929 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10930 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
10931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10939 DLLWRAP
=$ac_cv_prog_DLLWRAP
10940 if test -n "$DLLWRAP"; then
10941 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
10942 echo "${ECHO_T}$DLLWRAP" >&6
10944 echo "$as_me:$LINENO: result: no" >&5
10945 echo "${ECHO_T}no" >&6
10949 if test -z "$ac_cv_prog_DLLWRAP"; then
10950 ac_ct_DLLWRAP
=$DLLWRAP
10951 # Extract the first word of "dllwrap", so it can be a program name with args.
10952 set dummy dllwrap
; ac_word
=$2
10953 echo "$as_me:$LINENO: checking for $ac_word" >&5
10954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10955 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
10956 echo $ECHO_N "(cached) $ECHO_C" >&6
10958 if test -n "$ac_ct_DLLWRAP"; then
10959 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
10961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10962 for as_dir
in $PATH
10965 test -z "$as_dir" && as_dir
=.
10966 for ac_exec_ext
in '' $ac_executable_extensions; do
10967 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10968 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
10969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10975 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP
="false"
10978 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
10979 if test -n "$ac_ct_DLLWRAP"; then
10980 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
10981 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
10983 echo "$as_me:$LINENO: result: no" >&5
10984 echo "${ECHO_T}no" >&6
10987 DLLWRAP
=$ac_ct_DLLWRAP
10989 DLLWRAP
="$ac_cv_prog_DLLWRAP"
10992 if test "$DLLWRAP" = "false"; then
11001 for ac_header
in dlfcn.h
11003 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11004 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11005 echo "$as_me:$LINENO: checking for $ac_header" >&5
11006 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11007 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11008 echo $ECHO_N "(cached) $ECHO_C" >&6
11010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11011 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11013 # Is the header compilable?
11014 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11015 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11016 cat >conftest.
$ac_ext <<_ACEOF
11017 #line $LINENO "configure"
11020 cat confdefs.h
>>conftest.
$ac_ext
11021 cat >>conftest.
$ac_ext <<_ACEOF
11022 /* end confdefs.h. */
11023 $ac_includes_default
11024 #include <$ac_header>
11026 rm -f conftest.
$ac_objext
11027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11028 (eval $ac_compile) 2>&5
11030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11031 (exit $ac_status); } &&
11032 { ac_try
='test -s conftest.$ac_objext'
11033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11034 (eval $ac_try) 2>&5
11036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11037 (exit $ac_status); }; }; then
11038 ac_header_compiler
=yes
11040 echo "$as_me: failed program was:" >&5
11041 sed 's/^/| /' conftest.
$ac_ext >&5
11043 ac_header_compiler
=no
11045 rm -f conftest.
$ac_objext conftest.
$ac_ext
11046 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11047 echo "${ECHO_T}$ac_header_compiler" >&6
11049 # Is the header present?
11050 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11051 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11052 cat >conftest.
$ac_ext <<_ACEOF
11053 #line $LINENO "configure"
11056 cat confdefs.h
>>conftest.
$ac_ext
11057 cat >>conftest.
$ac_ext <<_ACEOF
11058 /* end confdefs.h. */
11059 #include <$ac_header>
11061 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11062 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11064 grep -v '^ *+' conftest.er1
>conftest.err
11066 cat conftest.err
>&5
11067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11068 (exit $ac_status); } >/dev
/null
; then
11069 if test -s conftest.err
; then
11070 ac_cpp_err
=$ac_c_preproc_warn_flag
11077 if test -z "$ac_cpp_err"; then
11078 ac_header_preproc
=yes
11080 echo "$as_me: failed program was:" >&5
11081 sed 's/^/| /' conftest.
$ac_ext >&5
11083 ac_header_preproc
=no
11085 rm -f conftest.err conftest.
$ac_ext
11086 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11087 echo "${ECHO_T}$ac_header_preproc" >&6
11089 # So? What about this header?
11090 case $ac_header_compiler:$ac_header_preproc in
11092 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11093 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11094 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11095 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11098 ## ------------------------------------ ##
11099 ## Report this to bug-autoconf@gnu.org. ##
11100 ## ------------------------------------ ##
11103 sed "s/^/$as_me: WARNING: /" >&2
11106 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11107 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11108 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11109 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11110 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11111 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11114 ## ------------------------------------ ##
11115 ## Report this to bug-autoconf@gnu.org. ##
11116 ## ------------------------------------ ##
11119 sed "s/^/$as_me: WARNING: /" >&2
11122 echo "$as_me:$LINENO: checking for $ac_header" >&5
11123 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11124 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11125 echo $ECHO_N "(cached) $ECHO_C" >&6
11127 eval "$as_ac_Header=$ac_header_preproc"
11129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11130 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11133 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11134 cat >>confdefs.h
<<_ACEOF
11135 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11138 for ac_func
in dlopen
11140 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11141 echo "$as_me:$LINENO: checking for $ac_func" >&5
11142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11143 if eval "test \"\${$as_ac_var+set}\" = set"; then
11144 echo $ECHO_N "(cached) $ECHO_C" >&6
11146 cat >conftest.
$ac_ext <<_ACEOF
11147 #line $LINENO "configure"
11150 cat confdefs.h
>>conftest.
$ac_ext
11151 cat >>conftest.
$ac_ext <<_ACEOF
11152 /* end confdefs.h. */
11153 /* System header to define __stub macros and hopefully few prototypes,
11154 which can conflict with char $ac_func (); below.
11155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11156 <limits.h> exists even on freestanding compilers. */
11158 # include <limits.h>
11160 # include <assert.h>
11162 /* Override any gcc2 internal prototype to avoid an error. */
11167 /* We use char because int might match the return type of a gcc2
11168 builtin and then its argument prototype would still apply. */
11170 /* The GNU C library defines this for functions which it implements
11171 to always fail with ENOSYS. Some functions are actually named
11172 something starting with __ and the normal name is an alias. */
11173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11176 char (*f) () = $ac_func;
11185 return f != $ac_func;
11190 rm -f conftest.
$ac_objext conftest
$ac_exeext
11191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11192 (eval $ac_link) 2>&5
11194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11195 (exit $ac_status); } &&
11196 { ac_try
='test -s conftest$ac_exeext'
11197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11198 (eval $ac_try) 2>&5
11200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11201 (exit $ac_status); }; }; then
11202 eval "$as_ac_var=yes"
11204 echo "$as_me: failed program was:" >&5
11205 sed 's/^/| /' conftest.
$ac_ext >&5
11207 eval "$as_ac_var=no"
11209 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11213 if test `eval echo '${'$as_ac_var'}'` = yes; then
11214 cat >>confdefs.h
<<_ACEOF
11215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11219 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11220 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11221 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11222 echo $ECHO_N "(cached) $ECHO_C" >&6
11224 ac_check_lib_save_LIBS
=$LIBS
11226 cat >conftest.
$ac_ext <<_ACEOF
11227 #line $LINENO "configure"
11230 cat confdefs.h
>>conftest.
$ac_ext
11231 cat >>conftest.
$ac_ext <<_ACEOF
11232 /* end confdefs.h. */
11234 /* Override any gcc2 internal prototype to avoid an error. */
11238 /* We use char because int might match the return type of a gcc2
11239 builtin and then its argument prototype would still apply. */
11249 rm -f conftest.
$ac_objext conftest
$ac_exeext
11250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11251 (eval $ac_link) 2>&5
11253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11254 (exit $ac_status); } &&
11255 { ac_try
='test -s conftest$ac_exeext'
11256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11257 (eval $ac_try) 2>&5
11259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11260 (exit $ac_status); }; }; then
11261 ac_cv_lib_dl_dlopen
=yes
11263 echo "$as_me: failed program was:" >&5
11264 sed 's/^/| /' conftest.
$ac_ext >&5
11266 ac_cv_lib_dl_dlopen
=no
11268 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11269 LIBS
=$ac_check_lib_save_LIBS
11271 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11272 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11273 if test $ac_cv_lib_dl_dlopen = yes; then
11275 cat >>confdefs.h
<<\_ACEOF
11276 #define HAVE_DLOPEN 1
11294 if test "$LIBEXT" = "so"
11298 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
11299 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
11300 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
11301 echo $ECHO_N "(cached) $ECHO_C" >&6
11303 ac_wine_try_cflags_saved
=$CFLAGS
11304 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
11305 cat >conftest.
$ac_ext <<_ACEOF
11306 #line $LINENO "configure"
11309 cat confdefs.h
>>conftest.
$ac_ext
11310 cat >>conftest.
$ac_ext <<_ACEOF
11311 /* end confdefs.h. */
11321 rm -f conftest.
$ac_objext conftest
$ac_exeext
11322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11323 (eval $ac_link) 2>&5
11325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11326 (exit $ac_status); } &&
11327 { ac_try
='test -s conftest$ac_exeext'
11328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11329 (eval $ac_try) 2>&5
11331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11332 (exit $ac_status); }; }; then
11333 ac_cv_c_dll_gnuelf
="yes"
11335 echo "$as_me: failed program was:" >&5
11336 sed 's/^/| /' conftest.
$ac_ext >&5
11338 ac_cv_c_dll_gnuelf
="no"
11340 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11341 CFLAGS
=$ac_wine_try_cflags_saved
11343 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
11344 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
11345 if test "$ac_cv_c_dll_gnuelf" = "yes"
11347 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
11348 LDDLLFLAGS
="-Wl,-Bsymbolic"
11349 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
11350 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
11351 if test "${ac_cv_c_dll_zdefs+set}" = set; then
11352 echo $ECHO_N "(cached) $ECHO_C" >&6
11354 ac_wine_try_cflags_saved
=$CFLAGS
11355 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
11356 cat >conftest.
$ac_ext <<_ACEOF
11357 #line $LINENO "configure"
11360 cat confdefs.h
>>conftest.
$ac_ext
11361 cat >>conftest.
$ac_ext <<_ACEOF
11362 /* end confdefs.h. */
11372 rm -f conftest.
$ac_objext conftest
$ac_exeext
11373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11374 (eval $ac_link) 2>&5
11376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11377 (exit $ac_status); } &&
11378 { ac_try
='test -s conftest$ac_exeext'
11379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11380 (eval $ac_try) 2>&5
11382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11383 (exit $ac_status); }; }; then
11384 ac_cv_c_dll_zdefs
="yes"
11386 echo "$as_me: failed program was:" >&5
11387 sed 's/^/| /' conftest.
$ac_ext >&5
11389 ac_cv_c_dll_zdefs
="no"
11391 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11392 CFLAGS
=$ac_wine_try_cflags_saved
11394 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
11395 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
11396 if test "$ac_cv_c_dll_zdefs" = "yes"
11398 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
11401 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
11402 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
11403 if test "${ac_cv_c_dll_unixware+set}" = set; then
11404 echo $ECHO_N "(cached) $ECHO_C" >&6
11406 ac_wine_try_cflags_saved
=$CFLAGS
11407 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
11408 cat >conftest.
$ac_ext <<_ACEOF
11409 #line $LINENO "configure"
11412 cat confdefs.h
>>conftest.
$ac_ext
11413 cat >>conftest.
$ac_ext <<_ACEOF
11414 /* end confdefs.h. */
11424 rm -f conftest.
$ac_objext conftest
$ac_exeext
11425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11426 (eval $ac_link) 2>&5
11428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11429 (exit $ac_status); } &&
11430 { ac_try
='test -s conftest$ac_exeext'
11431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11432 (eval $ac_try) 2>&5
11434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11435 (exit $ac_status); }; }; then
11436 ac_cv_c_dll_unixware
="yes"
11438 echo "$as_me: failed program was:" >&5
11439 sed 's/^/| /' conftest.
$ac_ext >&5
11441 ac_cv_c_dll_unixware
="no"
11443 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11444 CFLAGS
=$ac_wine_try_cflags_saved
11446 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
11447 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
11448 if test "$ac_cv_c_dll_unixware" = "yes"
11450 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
11451 LDDLLFLAGS
="-Wl,-B,symbolic"
11458 if test "$cross_compiling" = "no"
11460 for ac_prog
in i586-mingw32msvc-gcc
11462 # Extract the first word of "$ac_prog", so it can be a program name with args.
11463 set dummy
$ac_prog; ac_word
=$2
11464 echo "$as_me:$LINENO: checking for $ac_word" >&5
11465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11466 if test "${ac_cv_prog_CROSSCC+set}" = set; then
11467 echo $ECHO_N "(cached) $ECHO_C" >&6
11469 if test -n "$CROSSCC"; then
11470 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
11472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11473 for as_dir
in $PATH
11476 test -z "$as_dir" && as_dir
=.
11477 for ac_exec_ext
in '' $ac_executable_extensions; do
11478 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11479 ac_cv_prog_CROSSCC
="$ac_prog"
11480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11488 CROSSCC
=$ac_cv_prog_CROSSCC
11489 if test -n "$CROSSCC"; then
11490 echo "$as_me:$LINENO: result: $CROSSCC" >&5
11491 echo "${ECHO_T}$CROSSCC" >&6
11493 echo "$as_me:$LINENO: result: no" >&5
11494 echo "${ECHO_T}no" >&6
11497 test -n "$CROSSCC" && break
11499 test -n "$CROSSCC" || CROSSCC
="false"
11501 for ac_prog
in i586-mingw32msvc-dlltool
11503 # Extract the first word of "$ac_prog", so it can be a program name with args.
11504 set dummy
$ac_prog; ac_word
=$2
11505 echo "$as_me:$LINENO: checking for $ac_word" >&5
11506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11507 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
11508 echo $ECHO_N "(cached) $ECHO_C" >&6
11510 if test -n "$DLLTOOL"; then
11511 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
11513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11514 for as_dir
in $PATH
11517 test -z "$as_dir" && as_dir
=.
11518 for ac_exec_ext
in '' $ac_executable_extensions; do
11519 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11520 ac_cv_prog_DLLTOOL
="$ac_prog"
11521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11529 DLLTOOL
=$ac_cv_prog_DLLTOOL
11530 if test -n "$DLLTOOL"; then
11531 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
11532 echo "${ECHO_T}$DLLTOOL" >&6
11534 echo "$as_me:$LINENO: result: no" >&5
11535 echo "${ECHO_T}no" >&6
11538 test -n "$DLLTOOL" && break
11540 test -n "$DLLTOOL" || DLLTOOL
="false"
11542 if test "$CROSSCC" != "false"; then CROSSTEST
="\$(CROSSTEST)"; fi
11547 if test "$LIBEXT" = "a"; then
11548 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
11549 It is currently not possible to build Wine without shared library
11550 (.so) support to allow transparent switch between .so and .dll files.
11551 If you are using Linux, you will need a newer binutils.
11553 echo "$as_me: error: could not find a way to build shared libraries.
11554 It is currently not possible to build Wine without shared library
11555 (.so) support to allow transparent switch between .so and .dll files.
11556 If you are using Linux, you will need a newer binutils.
11558 { (exit 1); exit 1; }; }
11563 LDPATH
="PATH=\"\$(TOOLSDIR)/library:\$(TOOLSDIR)/unicode:\$\$PATH\""
11566 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/library:\$(TOOLSDIR)/unicode:\$\$LD_LIBRARY_PATH\""
11574 CRTLIBS
="-lmsvcrt" ;;
11578 if test "$LIBEXT" = "so"
11580 # Extract the first word of "ldd", so it can be a program name with args.
11581 set dummy ldd
; ac_word
=$2
11582 echo "$as_me:$LINENO: checking for $ac_word" >&5
11583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11584 if test "${ac_cv_path_LDD+set}" = set; then
11585 echo $ECHO_N "(cached) $ECHO_C" >&6
11589 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
11592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11593 as_dummy
="/sbin:/usr/sbin:$PATH"
11594 for as_dir
in $as_dummy
11597 test -z "$as_dir" && as_dir
=.
11598 for ac_exec_ext
in '' $ac_executable_extensions; do
11599 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11600 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
11601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11607 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
11611 LDD
=$ac_cv_path_LDD
11613 if test -n "$LDD"; then
11614 echo "$as_me:$LINENO: result: $LDD" >&5
11615 echo "${ECHO_T}$LDD" >&6
11617 echo "$as_me:$LINENO: result: no" >&5
11618 echo "${ECHO_T}no" >&6
11622 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
11623 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
11624 if test "${ac_cv_lib_soname_X11+set}" = set; then
11625 echo $ECHO_N "(cached) $ECHO_C" >&6
11627 ac_get_soname_save_LIBS
=$LIBS
11628 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11629 cat >conftest.
$ac_ext <<_ACEOF
11630 #line $LINENO "configure"
11633 cat confdefs.h
>>conftest.
$ac_ext
11634 cat >>conftest.
$ac_ext <<_ACEOF
11635 /* end confdefs.h. */
11637 /* Override any gcc2 internal prototype to avoid an error. */
11641 /* We use char because int might match the return type of a gcc2
11642 builtin and then its argument prototype would still apply. */
11643 char XCreateWindow ();
11652 rm -f conftest.
$ac_objext conftest
$ac_exeext
11653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11654 (eval $ac_link) 2>&5
11656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11657 (exit $ac_status); } &&
11658 { ac_try
='test -s conftest$ac_exeext'
11659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11660 (eval $ac_try) 2>&5
11662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11663 (exit $ac_status); }; }; then
11664 ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
11665 if test "x$ac_cv_lib_soname_X11" = "x"
11667 ac_cv_lib_soname_X11
="libX11.so"
11670 echo "$as_me: failed program was:" >&5
11671 sed 's/^/| /' conftest.
$ac_ext >&5
11673 ac_cv_lib_soname_X11
="libX11.so"
11675 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11676 LIBS
=$ac_get_soname_save_LIBS
11678 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
11679 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
11680 if test "x$ac_cv_lib_soname_X11" != xNONE
11682 cat >>confdefs.h
<<_ACEOF
11683 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11687 echo "$as_me:$LINENO: checking for -lXext soname" >&5
11688 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
11689 if test "${ac_cv_lib_soname_Xext+set}" = set; then
11690 echo $ECHO_N "(cached) $ECHO_C" >&6
11692 ac_get_soname_save_LIBS
=$LIBS
11693 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11694 cat >conftest.
$ac_ext <<_ACEOF
11695 #line $LINENO "configure"
11698 cat confdefs.h
>>conftest.
$ac_ext
11699 cat >>conftest.
$ac_ext <<_ACEOF
11700 /* end confdefs.h. */
11702 /* Override any gcc2 internal prototype to avoid an error. */
11706 /* We use char because int might match the return type of a gcc2
11707 builtin and then its argument prototype would still apply. */
11708 char XextCreateExtension ();
11712 XextCreateExtension ();
11717 rm -f conftest.
$ac_objext conftest
$ac_exeext
11718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11719 (eval $ac_link) 2>&5
11721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11722 (exit $ac_status); } &&
11723 { ac_try
='test -s conftest$ac_exeext'
11724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11725 (eval $ac_try) 2>&5
11727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11728 (exit $ac_status); }; }; then
11729 ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
11730 if test "x$ac_cv_lib_soname_Xext" = "x"
11732 ac_cv_lib_soname_Xext
="libXext.so"
11735 echo "$as_me: failed program was:" >&5
11736 sed 's/^/| /' conftest.
$ac_ext >&5
11738 ac_cv_lib_soname_Xext
="libXext.so"
11740 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11741 LIBS
=$ac_get_soname_save_LIBS
11743 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
11744 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
11745 if test "x$ac_cv_lib_soname_Xext" != xNONE
11747 cat >>confdefs.h
<<_ACEOF
11748 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11752 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
11753 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
11754 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
11755 echo $ECHO_N "(cached) $ECHO_C" >&6
11757 ac_get_soname_save_LIBS
=$LIBS
11758 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11759 cat >conftest.
$ac_ext <<_ACEOF
11760 #line $LINENO "configure"
11763 cat confdefs.h
>>conftest.
$ac_ext
11764 cat >>conftest.
$ac_ext <<_ACEOF
11765 /* end confdefs.h. */
11767 /* Override any gcc2 internal prototype to avoid an error. */
11771 /* We use char because int might match the return type of a gcc2
11772 builtin and then its argument prototype would still apply. */
11773 char XRenderQueryExtension ();
11777 XRenderQueryExtension ();
11782 rm -f conftest.
$ac_objext conftest
$ac_exeext
11783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11784 (eval $ac_link) 2>&5
11786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11787 (exit $ac_status); } &&
11788 { ac_try
='test -s conftest$ac_exeext'
11789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11790 (eval $ac_try) 2>&5
11792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11793 (exit $ac_status); }; }; then
11794 ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
11795 if test "x$ac_cv_lib_soname_Xrender" = "x"
11797 ac_cv_lib_soname_Xrender
="libXrender.so"
11800 echo "$as_me: failed program was:" >&5
11801 sed 's/^/| /' conftest.
$ac_ext >&5
11803 ac_cv_lib_soname_Xrender
="libXrender.so"
11805 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11806 LIBS
=$ac_get_soname_save_LIBS
11808 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
11809 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
11810 if test "x$ac_cv_lib_soname_Xrender" != xNONE
11812 cat >>confdefs.h
<<_ACEOF
11813 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11817 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
11818 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
11819 if test "${ac_cv_lib_soname_freetype+set}" = set; then
11820 echo $ECHO_N "(cached) $ECHO_C" >&6
11822 ac_get_soname_save_LIBS
=$LIBS
11823 LIBS
="-lfreetype $X_LIBS $LIBS"
11824 cat >conftest.
$ac_ext <<_ACEOF
11825 #line $LINENO "configure"
11828 cat confdefs.h
>>conftest.
$ac_ext
11829 cat >>conftest.
$ac_ext <<_ACEOF
11830 /* end confdefs.h. */
11832 /* Override any gcc2 internal prototype to avoid an error. */
11836 /* We use char because int might match the return type of a gcc2
11837 builtin and then its argument prototype would still apply. */
11838 char FT_Init_FreeType ();
11842 FT_Init_FreeType ();
11847 rm -f conftest.
$ac_objext conftest
$ac_exeext
11848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11849 (eval $ac_link) 2>&5
11851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11852 (exit $ac_status); } &&
11853 { ac_try
='test -s conftest$ac_exeext'
11854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11855 (eval $ac_try) 2>&5
11857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11858 (exit $ac_status); }; }; then
11859 ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
11860 if test "x$ac_cv_lib_soname_freetype" = "x"
11862 ac_cv_lib_soname_freetype
="libfreetype.so"
11865 echo "$as_me: failed program was:" >&5
11866 sed 's/^/| /' conftest.
$ac_ext >&5
11868 ac_cv_lib_soname_freetype
="libfreetype.so"
11870 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11871 LIBS
=$ac_get_soname_save_LIBS
11873 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
11874 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
11875 if test "x$ac_cv_lib_soname_freetype" != xNONE
11877 cat >>confdefs.h
<<_ACEOF
11878 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11882 echo "$as_me:$LINENO: checking for -lGL soname" >&5
11883 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
11884 if test "${ac_cv_lib_soname_GL+set}" = set; then
11885 echo $ECHO_N "(cached) $ECHO_C" >&6
11887 ac_get_soname_save_LIBS
=$LIBS
11888 LIBS
="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
11889 cat >conftest.
$ac_ext <<_ACEOF
11890 #line $LINENO "configure"
11893 cat confdefs.h
>>conftest.
$ac_ext
11894 cat >>conftest.
$ac_ext <<_ACEOF
11895 /* end confdefs.h. */
11897 /* Override any gcc2 internal prototype to avoid an error. */
11901 /* We use char because int might match the return type of a gcc2
11902 builtin and then its argument prototype would still apply. */
11903 char glXQueryExtension ();
11907 glXQueryExtension ();
11912 rm -f conftest.
$ac_objext conftest
$ac_exeext
11913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11914 (eval $ac_link) 2>&5
11916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11917 (exit $ac_status); } &&
11918 { ac_try
='test -s conftest$ac_exeext'
11919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11920 (eval $ac_try) 2>&5
11922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11923 (exit $ac_status); }; }; then
11924 ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
11925 if test "x$ac_cv_lib_soname_GL" = "x"
11927 ac_cv_lib_soname_GL
="libGL.so"
11930 echo "$as_me: failed program was:" >&5
11931 sed 's/^/| /' conftest.
$ac_ext >&5
11933 ac_cv_lib_soname_GL
="libGL.so"
11935 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11936 LIBS
=$ac_get_soname_save_LIBS
11938 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11939 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
11940 if test "x$ac_cv_lib_soname_GL" != xNONE
11942 cat >>confdefs.h
<<_ACEOF
11943 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11947 echo "$as_me:$LINENO: checking for -lcups soname" >&5
11948 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
11949 if test "${ac_cv_lib_soname_cups+set}" = set; then
11950 echo $ECHO_N "(cached) $ECHO_C" >&6
11952 ac_get_soname_save_LIBS
=$LIBS
11953 LIBS
="-lcups $LIBS"
11954 cat >conftest.
$ac_ext <<_ACEOF
11955 #line $LINENO "configure"
11958 cat confdefs.h
>>conftest.
$ac_ext
11959 cat >>conftest.
$ac_ext <<_ACEOF
11960 /* end confdefs.h. */
11962 /* Override any gcc2 internal prototype to avoid an error. */
11966 /* We use char because int might match the return type of a gcc2
11967 builtin and then its argument prototype would still apply. */
11968 char cupsGetDefault ();
11977 rm -f conftest.
$ac_objext conftest
$ac_exeext
11978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11979 (eval $ac_link) 2>&5
11981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11982 (exit $ac_status); } &&
11983 { ac_try
='test -s conftest$ac_exeext'
11984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11985 (eval $ac_try) 2>&5
11987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11988 (exit $ac_status); }; }; then
11989 ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
11990 if test "x$ac_cv_lib_soname_cups" = "x"
11992 ac_cv_lib_soname_cups
="libcups.so"
11995 echo "$as_me: failed program was:" >&5
11996 sed 's/^/| /' conftest.
$ac_ext >&5
11998 ac_cv_lib_soname_cups
="libcups.so"
12000 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12001 LIBS
=$ac_get_soname_save_LIBS
12003 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
12004 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
12005 if test "x$ac_cv_lib_soname_cups" != xNONE
12007 cat >>confdefs.h
<<_ACEOF
12008 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12012 echo "$as_me:$LINENO: checking for -ljack soname" >&5
12013 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6
12014 if test "${ac_cv_lib_soname_jack+set}" = set; then
12015 echo $ECHO_N "(cached) $ECHO_C" >&6
12017 ac_get_soname_save_LIBS
=$LIBS
12018 LIBS
="-ljack $LIBS"
12019 cat >conftest.
$ac_ext <<_ACEOF
12020 #line $LINENO "configure"
12023 cat confdefs.h
>>conftest.
$ac_ext
12024 cat >>conftest.
$ac_ext <<_ACEOF
12025 /* end confdefs.h. */
12027 /* Override any gcc2 internal prototype to avoid an error. */
12031 /* We use char because int might match the return type of a gcc2
12032 builtin and then its argument prototype would still apply. */
12033 char jack_client_new ();
12037 jack_client_new ();
12042 rm -f conftest.
$ac_objext conftest
$ac_exeext
12043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12044 (eval $ac_link) 2>&5
12046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12047 (exit $ac_status); } &&
12048 { ac_try
='test -s conftest$ac_exeext'
12049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12050 (eval $ac_try) 2>&5
12052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12053 (exit $ac_status); }; }; then
12054 ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
12055 if test "x$ac_cv_lib_soname_jack" = "x"
12057 ac_cv_lib_soname_jack
="libjack.so"
12060 echo "$as_me: failed program was:" >&5
12061 sed 's/^/| /' conftest.
$ac_ext >&5
12063 ac_cv_lib_soname_jack
="libjack.so"
12065 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12066 LIBS
=$ac_get_soname_save_LIBS
12068 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
12069 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6
12070 if test "x$ac_cv_lib_soname_jack" != xNONE
12072 cat >>confdefs.h
<<_ACEOF
12073 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
12080 wine_cv_libc_reentrant
=no
12081 echo "$as_me:$LINENO: checking for reentrant libc: __errno_location" >&5
12082 echo $ECHO_N "checking for reentrant libc: __errno_location... $ECHO_C" >&6
12083 if test "${wine_cv_libc_r___errno_location+set}" = set; then
12084 echo $ECHO_N "(cached) $ECHO_C" >&6
12086 if test "$cross_compiling" = yes; then
12087 wine_cv_libc_r___errno_location
=yes
12089 cat >conftest.
$ac_ext <<_ACEOF
12090 #line $LINENO "configure"
12093 cat confdefs.h
>>conftest.
$ac_ext
12094 cat >>conftest.
$ac_ext <<_ACEOF
12095 /* end confdefs.h. */
12097 int *__errno_location(){return &myerrno;}
12098 main(){close(333); close(333); exit(!myerrno);}
12100 rm -f conftest
$ac_exeext
12101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12102 (eval $ac_link) 2>&5
12104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12105 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12107 (eval $ac_try) 2>&5
12109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12110 (exit $ac_status); }; }; then
12111 wine_cv_libc_r___errno_location
=yes
12113 echo "$as_me: program exited with status $ac_status" >&5
12114 echo "$as_me: failed program was:" >&5
12115 sed 's/^/| /' conftest.
$ac_ext >&5
12117 ( exit $ac_status )
12118 wine_cv_libc_r___errno_location
=no
12120 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12123 echo "$as_me:$LINENO: result: $wine_cv_libc_r___errno_location" >&5
12124 echo "${ECHO_T}$wine_cv_libc_r___errno_location" >&6
12125 if test "$wine_cv_libc_r___errno_location" = "yes"; then
12126 wine_cv_libc_reentrant
=__errno_location
12128 echo "$as_me:$LINENO: checking for reentrant libc: __error" >&5
12129 echo $ECHO_N "checking for reentrant libc: __error... $ECHO_C" >&6
12130 if test "${wine_cv_libc_r___error+set}" = set; then
12131 echo $ECHO_N "(cached) $ECHO_C" >&6
12133 if test "$cross_compiling" = yes; then
12134 wine_cv_libc_r___error
=yes
12136 cat >conftest.
$ac_ext <<_ACEOF
12137 #line $LINENO "configure"
12140 cat confdefs.h
>>conftest.
$ac_ext
12141 cat >>conftest.
$ac_ext <<_ACEOF
12142 /* end confdefs.h. */
12144 int *__error(){return &myerrno;}
12145 main(){close(333); close(333); exit(!myerrno);}
12147 rm -f conftest
$ac_exeext
12148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12149 (eval $ac_link) 2>&5
12151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12152 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12154 (eval $ac_try) 2>&5
12156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12157 (exit $ac_status); }; }; then
12158 wine_cv_libc_r___error
=yes
12160 echo "$as_me: program exited with status $ac_status" >&5
12161 echo "$as_me: failed program was:" >&5
12162 sed 's/^/| /' conftest.
$ac_ext >&5
12164 ( exit $ac_status )
12165 wine_cv_libc_r___error
=no
12167 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12170 echo "$as_me:$LINENO: result: $wine_cv_libc_r___error" >&5
12171 echo "${ECHO_T}$wine_cv_libc_r___error" >&6
12172 if test "$wine_cv_libc_r___error" = "yes"; then
12173 wine_cv_libc_reentrant
=__error
12175 echo "$as_me:$LINENO: checking for reentrant libc: ___errno" >&5
12176 echo $ECHO_N "checking for reentrant libc: ___errno... $ECHO_C" >&6
12177 if test "${wine_cv_libc_r____errno+set}" = set; then
12178 echo $ECHO_N "(cached) $ECHO_C" >&6
12180 if test "$cross_compiling" = yes; then
12181 wine_cv_libc_r____errno
=yes
12183 cat >conftest.
$ac_ext <<_ACEOF
12184 #line $LINENO "configure"
12187 cat confdefs.h
>>conftest.
$ac_ext
12188 cat >>conftest.
$ac_ext <<_ACEOF
12189 /* end confdefs.h. */
12191 int *___errno(){return &myerrno;}
12192 main(){close(333); close(333); exit(!myerrno);}
12194 rm -f conftest
$ac_exeext
12195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12196 (eval $ac_link) 2>&5
12198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12199 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12201 (eval $ac_try) 2>&5
12203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12204 (exit $ac_status); }; }; then
12205 wine_cv_libc_r____errno
=yes
12207 echo "$as_me: program exited with status $ac_status" >&5
12208 echo "$as_me: failed program was:" >&5
12209 sed 's/^/| /' conftest.
$ac_ext >&5
12211 ( exit $ac_status )
12212 wine_cv_libc_r____errno
=no
12214 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12217 echo "$as_me:$LINENO: result: $wine_cv_libc_r____errno" >&5
12218 echo "${ECHO_T}$wine_cv_libc_r____errno" >&6
12219 if test "$wine_cv_libc_r____errno" = "yes"; then
12220 wine_cv_libc_reentrant
=___errno
12222 echo "$as_me:$LINENO: checking for reentrant libc: __thr_errno" >&5
12223 echo $ECHO_N "checking for reentrant libc: __thr_errno... $ECHO_C" >&6
12224 if test "${wine_cv_libc_r___thr_errno+set}" = set; then
12225 echo $ECHO_N "(cached) $ECHO_C" >&6
12227 if test "$cross_compiling" = yes; then
12228 wine_cv_libc_r___thr_errno
=yes
12230 cat >conftest.
$ac_ext <<_ACEOF
12231 #line $LINENO "configure"
12234 cat confdefs.h
>>conftest.
$ac_ext
12235 cat >>conftest.
$ac_ext <<_ACEOF
12236 /* end confdefs.h. */
12238 int *__thr_errno(){return &myerrno;}
12239 main(){close(333); close(333); exit(!myerrno);}
12241 rm -f 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); } && { ac_try
='./conftest$ac_exeext'
12247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12248 (eval $ac_try) 2>&5
12250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12251 (exit $ac_status); }; }; then
12252 wine_cv_libc_r___thr_errno
=yes
12254 echo "$as_me: program exited with status $ac_status" >&5
12255 echo "$as_me: failed program was:" >&5
12256 sed 's/^/| /' conftest.
$ac_ext >&5
12258 ( exit $ac_status )
12259 wine_cv_libc_r___thr_errno
=no
12261 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12264 echo "$as_me:$LINENO: result: $wine_cv_libc_r___thr_errno" >&5
12265 echo "${ECHO_T}$wine_cv_libc_r___thr_errno" >&6
12266 if test "$wine_cv_libc_r___thr_errno" = "yes"; then
12267 wine_cv_libc_reentrant
=__thr_errno
12269 echo "$as_me:$LINENO: checking for reentrant libc: __errno" >&5
12270 echo $ECHO_N "checking for reentrant libc: __errno... $ECHO_C" >&6
12271 if test "${wine_cv_libc_r___errno+set}" = set; then
12272 echo $ECHO_N "(cached) $ECHO_C" >&6
12274 if test "$cross_compiling" = yes; then
12275 wine_cv_libc_r___errno
=yes
12277 cat >conftest.
$ac_ext <<_ACEOF
12278 #line $LINENO "configure"
12281 cat confdefs.h
>>conftest.
$ac_ext
12282 cat >>conftest.
$ac_ext <<_ACEOF
12283 /* end confdefs.h. */
12285 int *__errno(){return &myerrno;}
12286 main(){close(333); close(333); exit(!myerrno);}
12288 rm -f conftest
$ac_exeext
12289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12290 (eval $ac_link) 2>&5
12292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12293 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12295 (eval $ac_try) 2>&5
12297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12298 (exit $ac_status); }; }; then
12299 wine_cv_libc_r___errno
=yes
12301 echo "$as_me: program exited with status $ac_status" >&5
12302 echo "$as_me: failed program was:" >&5
12303 sed 's/^/| /' conftest.
$ac_ext >&5
12305 ( exit $ac_status )
12306 wine_cv_libc_r___errno
=no
12308 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12311 echo "$as_me:$LINENO: result: $wine_cv_libc_r___errno" >&5
12312 echo "${ECHO_T}$wine_cv_libc_r___errno" >&6
12313 if test "$wine_cv_libc_r___errno" = "yes"; then
12314 wine_cv_libc_reentrant
=__errno
12327 if test "$wine_cv_libc_reentrant" != "no"
12330 cat >>confdefs.h
<<_ACEOF
12331 #define ERRNO_LOCATION $wine_cv_libc_reentrant
12337 if test "$have_x" = "yes"
12339 echo "$as_me:$LINENO: checking for reentrant X libraries" >&5
12340 echo $ECHO_N "checking for reentrant X libraries... $ECHO_C" >&6
12341 if test "${wine_cv_x_reentrant+set}" = set; then
12342 echo $ECHO_N "(cached) $ECHO_C" >&6
12345 for dir
in "$x_libraries" /usr
/lib
/usr
/local
/lib
/lib
; do
12346 if test -r $dir/libX11.so
; then
12347 libX11_check
="-D $dir/libX11.so"
12350 if test -r $dir/libX11.a
; then
12351 libX11_check
="$dir/libX11.a"
12355 if test "$libX11_check" != "none"; then
12356 if nm
$libX11_check |
grep $wine_cv_libc_reentrant >/dev
/null
2>&1
12358 wine_cv_x_reentrant
=yes
12360 wine_cv_x_reentrant
=no
12363 wine_cv_x_reentrant
=unknown
12366 echo "$as_me:$LINENO: result: $wine_cv_x_reentrant" >&5
12367 echo "${ECHO_T}$wine_cv_x_reentrant" >&6
12371 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
12372 # for constant arguments. Useless!
12373 echo "$as_me:$LINENO: checking for working alloca.h" >&5
12374 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
12375 if test "${ac_cv_working_alloca_h+set}" = set; then
12376 echo $ECHO_N "(cached) $ECHO_C" >&6
12378 cat >conftest.
$ac_ext <<_ACEOF
12379 #line $LINENO "configure"
12382 cat confdefs.h
>>conftest.
$ac_ext
12383 cat >>conftest.
$ac_ext <<_ACEOF
12384 /* end confdefs.h. */
12385 #include <alloca.h>
12389 char *p = (char *) alloca (2 * sizeof (int));
12394 rm -f conftest.
$ac_objext conftest
$ac_exeext
12395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12396 (eval $ac_link) 2>&5
12398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12399 (exit $ac_status); } &&
12400 { ac_try
='test -s conftest$ac_exeext'
12401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12402 (eval $ac_try) 2>&5
12404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12405 (exit $ac_status); }; }; then
12406 ac_cv_working_alloca_h
=yes
12408 echo "$as_me: failed program was:" >&5
12409 sed 's/^/| /' conftest.
$ac_ext >&5
12411 ac_cv_working_alloca_h
=no
12413 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12415 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
12416 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
12417 if test $ac_cv_working_alloca_h = yes; then
12419 cat >>confdefs.h
<<\_ACEOF
12420 #define HAVE_ALLOCA_H 1
12425 echo "$as_me:$LINENO: checking for alloca" >&5
12426 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
12427 if test "${ac_cv_func_alloca_works+set}" = set; then
12428 echo $ECHO_N "(cached) $ECHO_C" >&6
12430 cat >conftest.
$ac_ext <<_ACEOF
12431 #line $LINENO "configure"
12434 cat confdefs.h
>>conftest.
$ac_ext
12435 cat >>conftest.
$ac_ext <<_ACEOF
12436 /* end confdefs.h. */
12438 # define alloca __builtin_alloca
12441 # include <malloc.h>
12442 # define alloca _alloca
12445 # include <alloca.h>
12450 # ifndef alloca /* predefined by HP cc +Olibcalls */
12461 char *p = (char *) alloca (1);
12466 rm -f conftest.
$ac_objext conftest
$ac_exeext
12467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12468 (eval $ac_link) 2>&5
12470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12471 (exit $ac_status); } &&
12472 { ac_try
='test -s conftest$ac_exeext'
12473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12474 (eval $ac_try) 2>&5
12476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12477 (exit $ac_status); }; }; then
12478 ac_cv_func_alloca_works
=yes
12480 echo "$as_me: failed program was:" >&5
12481 sed 's/^/| /' conftest.
$ac_ext >&5
12483 ac_cv_func_alloca_works
=no
12485 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12487 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
12488 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
12490 if test $ac_cv_func_alloca_works = yes; then
12492 cat >>confdefs.h
<<\_ACEOF
12493 #define HAVE_ALLOCA 1
12497 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
12498 # that cause trouble. Some versions do not even contain alloca or
12499 # contain a buggy version. If you still want to use their alloca,
12500 # use ar to extract alloca.o from them instead of compiling alloca.c.
12502 ALLOCA
=alloca.
$ac_objext
12504 cat >>confdefs.h
<<\_ACEOF
12509 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
12510 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
12511 if test "${ac_cv_os_cray+set}" = set; then
12512 echo $ECHO_N "(cached) $ECHO_C" >&6
12514 cat >conftest.
$ac_ext <<_ACEOF
12515 #line $LINENO "configure"
12518 cat confdefs.h
>>conftest.
$ac_ext
12519 cat >>conftest.
$ac_ext <<_ACEOF
12520 /* end confdefs.h. */
12521 #if defined(CRAY) && ! defined(CRAY2)
12528 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12529 $EGREP "webecray" >/dev
/null
2>&1; then
12537 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
12538 echo "${ECHO_T}$ac_cv_os_cray" >&6
12539 if test $ac_cv_os_cray = yes; then
12540 for ac_func
in _getb67 GETB67 getb67
; do
12541 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12542 echo "$as_me:$LINENO: checking for $ac_func" >&5
12543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12544 if eval "test \"\${$as_ac_var+set}\" = set"; then
12545 echo $ECHO_N "(cached) $ECHO_C" >&6
12547 cat >conftest.
$ac_ext <<_ACEOF
12548 #line $LINENO "configure"
12551 cat confdefs.h
>>conftest.
$ac_ext
12552 cat >>conftest.
$ac_ext <<_ACEOF
12553 /* end confdefs.h. */
12554 /* System header to define __stub macros and hopefully few prototypes,
12555 which can conflict with char $ac_func (); below.
12556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12557 <limits.h> exists even on freestanding compilers. */
12559 # include <limits.h>
12561 # include <assert.h>
12563 /* Override any gcc2 internal prototype to avoid an error. */
12568 /* We use char because int might match the return type of a gcc2
12569 builtin and then its argument prototype would still apply. */
12571 /* The GNU C library defines this for functions which it implements
12572 to always fail with ENOSYS. Some functions are actually named
12573 something starting with __ and the normal name is an alias. */
12574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12577 char (*f) () = $ac_func;
12586 return f != $ac_func;
12591 rm -f conftest.
$ac_objext conftest
$ac_exeext
12592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12593 (eval $ac_link) 2>&5
12595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12596 (exit $ac_status); } &&
12597 { ac_try
='test -s conftest$ac_exeext'
12598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12599 (eval $ac_try) 2>&5
12601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12602 (exit $ac_status); }; }; then
12603 eval "$as_ac_var=yes"
12605 echo "$as_me: failed program was:" >&5
12606 sed 's/^/| /' conftest.
$ac_ext >&5
12608 eval "$as_ac_var=no"
12610 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12614 if test `eval echo '${'$as_ac_var'}'` = yes; then
12616 cat >>confdefs.h
<<_ACEOF
12617 #define CRAY_STACKSEG_END $ac_func
12626 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
12627 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
12628 if test "${ac_cv_c_stack_direction+set}" = set; then
12629 echo $ECHO_N "(cached) $ECHO_C" >&6
12631 if test "$cross_compiling" = yes; then
12632 ac_cv_c_stack_direction
=0
12634 cat >conftest.
$ac_ext <<_ACEOF
12635 #line $LINENO "configure"
12638 cat confdefs.h
>>conftest.
$ac_ext
12639 cat >>conftest.
$ac_ext <<_ACEOF
12640 /* end confdefs.h. */
12642 find_stack_direction ()
12644 static char *addr = 0;
12649 return find_stack_direction ();
12652 return (&dummy > addr) ? 1 : -1;
12658 exit (find_stack_direction () < 0);
12661 rm -f conftest
$ac_exeext
12662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12663 (eval $ac_link) 2>&5
12665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12666 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12668 (eval $ac_try) 2>&5
12670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12671 (exit $ac_status); }; }; then
12672 ac_cv_c_stack_direction
=1
12674 echo "$as_me: program exited with status $ac_status" >&5
12675 echo "$as_me: failed program was:" >&5
12676 sed 's/^/| /' conftest.
$ac_ext >&5
12678 ( exit $ac_status )
12679 ac_cv_c_stack_direction
=-1
12681 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12684 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
12685 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
12687 cat >>confdefs.h
<<_ACEOF
12688 #define STACK_DIRECTION $ac_cv_c_stack_direction
12783 pthread_getspecific \
12784 pthread_key_create \
12785 pthread_mutex_lock \
12786 pthread_mutex_unlock \
12787 pthread_setspecific \
12807 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12808 echo "$as_me:$LINENO: checking for $ac_func" >&5
12809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12810 if eval "test \"\${$as_ac_var+set}\" = set"; then
12811 echo $ECHO_N "(cached) $ECHO_C" >&6
12813 cat >conftest.
$ac_ext <<_ACEOF
12814 #line $LINENO "configure"
12817 cat confdefs.h
>>conftest.
$ac_ext
12818 cat >>conftest.
$ac_ext <<_ACEOF
12819 /* end confdefs.h. */
12820 /* System header to define __stub macros and hopefully few prototypes,
12821 which can conflict with char $ac_func (); below.
12822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12823 <limits.h> exists even on freestanding compilers. */
12825 # include <limits.h>
12827 # include <assert.h>
12829 /* Override any gcc2 internal prototype to avoid an error. */
12834 /* We use char because int might match the return type of a gcc2
12835 builtin and then its argument prototype would still apply. */
12837 /* The GNU C library defines this for functions which it implements
12838 to always fail with ENOSYS. Some functions are actually named
12839 something starting with __ and the normal name is an alias. */
12840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12843 char (*f) () = $ac_func;
12852 return f != $ac_func;
12857 rm -f conftest.
$ac_objext conftest
$ac_exeext
12858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12859 (eval $ac_link) 2>&5
12861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12862 (exit $ac_status); } &&
12863 { ac_try
='test -s conftest$ac_exeext'
12864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12865 (eval $ac_try) 2>&5
12867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12868 (exit $ac_status); }; }; then
12869 eval "$as_ac_var=yes"
12871 echo "$as_me: failed program was:" >&5
12872 sed 's/^/| /' conftest.
$ac_ext >&5
12874 eval "$as_ac_var=no"
12876 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12880 if test `eval echo '${'$as_ac_var'}'` = yes; then
12881 cat >>confdefs.h
<<_ACEOF
12882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12983 netinet
/in_systm.h \
13031 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13032 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13033 echo "$as_me:$LINENO: checking for $ac_header" >&5
13034 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13035 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13036 echo $ECHO_N "(cached) $ECHO_C" >&6
13038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13039 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13041 # Is the header compilable?
13042 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13043 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13044 cat >conftest.
$ac_ext <<_ACEOF
13045 #line $LINENO "configure"
13048 cat confdefs.h
>>conftest.
$ac_ext
13049 cat >>conftest.
$ac_ext <<_ACEOF
13050 /* end confdefs.h. */
13051 $ac_includes_default
13052 #include <$ac_header>
13054 rm -f conftest.
$ac_objext
13055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13056 (eval $ac_compile) 2>&5
13058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13059 (exit $ac_status); } &&
13060 { ac_try
='test -s conftest.$ac_objext'
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_header_compiler
=yes
13068 echo "$as_me: failed program was:" >&5
13069 sed 's/^/| /' conftest.
$ac_ext >&5
13071 ac_header_compiler
=no
13073 rm -f conftest.
$ac_objext conftest.
$ac_ext
13074 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13075 echo "${ECHO_T}$ac_header_compiler" >&6
13077 # Is the header present?
13078 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13079 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13080 cat >conftest.
$ac_ext <<_ACEOF
13081 #line $LINENO "configure"
13084 cat confdefs.h
>>conftest.
$ac_ext
13085 cat >>conftest.
$ac_ext <<_ACEOF
13086 /* end confdefs.h. */
13087 #include <$ac_header>
13089 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13090 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13092 grep -v '^ *+' conftest.er1
>conftest.err
13094 cat conftest.err
>&5
13095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13096 (exit $ac_status); } >/dev
/null
; then
13097 if test -s conftest.err
; then
13098 ac_cpp_err
=$ac_c_preproc_warn_flag
13105 if test -z "$ac_cpp_err"; then
13106 ac_header_preproc
=yes
13108 echo "$as_me: failed program was:" >&5
13109 sed 's/^/| /' conftest.
$ac_ext >&5
13111 ac_header_preproc
=no
13113 rm -f conftest.err conftest.
$ac_ext
13114 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13115 echo "${ECHO_T}$ac_header_preproc" >&6
13117 # So? What about this header?
13118 case $ac_header_compiler:$ac_header_preproc in
13120 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13121 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13122 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13123 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13126 ## ------------------------------------ ##
13127 ## Report this to bug-autoconf@gnu.org. ##
13128 ## ------------------------------------ ##
13131 sed "s/^/$as_me: WARNING: /" >&2
13134 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13135 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13136 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13137 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13138 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13139 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13142 ## ------------------------------------ ##
13143 ## Report this to bug-autoconf@gnu.org. ##
13144 ## ------------------------------------ ##
13147 sed "s/^/$as_me: WARNING: /" >&2
13150 echo "$as_me:$LINENO: checking for $ac_header" >&5
13151 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13152 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13153 echo $ECHO_N "(cached) $ECHO_C" >&6
13155 eval "$as_ac_Header=$ac_header_preproc"
13157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13158 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13161 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13162 cat >>confdefs.h
<<_ACEOF
13163 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13170 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
13171 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
13172 if test "${ac_cv_header_stat_broken+set}" = set; then
13173 echo $ECHO_N "(cached) $ECHO_C" >&6
13175 cat >conftest.
$ac_ext <<_ACEOF
13176 #line $LINENO "configure"
13179 cat confdefs.h
>>conftest.
$ac_ext
13180 cat >>conftest.
$ac_ext <<_ACEOF
13181 /* end confdefs.h. */
13182 #include <sys/types.h>
13183 #include <sys/stat.h>
13185 #if defined(S_ISBLK) && defined(S_IFDIR)
13186 # if S_ISBLK (S_IFDIR)
13191 #if defined(S_ISBLK) && defined(S_IFCHR)
13192 # if S_ISBLK (S_IFCHR)
13197 #if defined(S_ISLNK) && defined(S_IFREG)
13198 # if S_ISLNK (S_IFREG)
13203 #if defined(S_ISSOCK) && defined(S_IFREG)
13204 # if S_ISSOCK (S_IFREG)
13210 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13211 $EGREP "You lose" >/dev
/null
2>&1; then
13212 ac_cv_header_stat_broken
=yes
13214 ac_cv_header_stat_broken
=no
13219 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
13220 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
13221 if test $ac_cv_header_stat_broken = yes; then
13223 cat >>confdefs.h
<<\_ACEOF
13224 #define STAT_MACROS_BROKEN 1
13233 for ac_header
in sys
/mount.h sys
/user.h
13235 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13236 echo "$as_me:$LINENO: checking for $ac_header" >&5
13237 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13238 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13239 echo $ECHO_N "(cached) $ECHO_C" >&6
13241 cat >conftest.
$ac_ext <<_ACEOF
13242 #line $LINENO "configure"
13245 cat confdefs.h
>>conftest.
$ac_ext
13246 cat >>conftest.
$ac_ext <<_ACEOF
13247 /* end confdefs.h. */
13248 #include <sys/types.h>
13249 #if HAVE_SYS_PARAM_H
13250 # include <sys/param.h>
13253 #include <$ac_header>
13255 rm -f conftest.
$ac_objext
13256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13257 (eval $ac_compile) 2>&5
13259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13260 (exit $ac_status); } &&
13261 { ac_try
='test -s conftest.$ac_objext'
13262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13263 (eval $ac_try) 2>&5
13265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13266 (exit $ac_status); }; }; then
13267 eval "$as_ac_Header=yes"
13269 echo "$as_me: failed program was:" >&5
13270 sed 's/^/| /' conftest.
$ac_ext >&5
13272 eval "$as_ac_Header=no"
13274 rm -f conftest.
$ac_objext conftest.
$ac_ext
13276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13277 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13278 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13279 cat >>confdefs.h
<<_ACEOF
13280 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13289 for ac_header
in net
/if.h
13291 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13292 echo "$as_me:$LINENO: checking for $ac_header" >&5
13293 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13294 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13295 echo $ECHO_N "(cached) $ECHO_C" >&6
13297 cat >conftest.
$ac_ext <<_ACEOF
13298 #line $LINENO "configure"
13301 cat confdefs.h
>>conftest.
$ac_ext
13302 cat >>conftest.
$ac_ext <<_ACEOF
13303 /* end confdefs.h. */
13304 #include <sys/types.h>
13305 #if HAVE_SYS_SOCKET_H
13306 # include <sys/socket.h>
13309 #include <$ac_header>
13311 rm -f conftest.
$ac_objext
13312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13313 (eval $ac_compile) 2>&5
13315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13316 (exit $ac_status); } &&
13317 { ac_try
='test -s conftest.$ac_objext'
13318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13319 (eval $ac_try) 2>&5
13321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13322 (exit $ac_status); }; }; then
13323 eval "$as_ac_Header=yes"
13325 echo "$as_me: failed program was:" >&5
13326 sed 's/^/| /' conftest.
$ac_ext >&5
13328 eval "$as_ac_Header=no"
13330 rm -f conftest.
$ac_objext conftest.
$ac_ext
13332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13333 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13334 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13335 cat >>confdefs.h
<<_ACEOF
13336 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13345 for ac_header
in netinet
/ip.h
13347 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13348 echo "$as_me:$LINENO: checking for $ac_header" >&5
13349 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13350 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13351 echo $ECHO_N "(cached) $ECHO_C" >&6
13353 cat >conftest.
$ac_ext <<_ACEOF
13354 #line $LINENO "configure"
13357 cat confdefs.h
>>conftest.
$ac_ext
13358 cat >>conftest.
$ac_ext <<_ACEOF
13359 /* end confdefs.h. */
13360 #include <sys/types.h>
13361 #if HAVE_SYS_SOCKET_H
13362 # include <sys/socket.h>
13364 #if HAVE_NETINET_IN_SYSTM_H
13365 # include <netinet/in_systm.h>
13368 #include <$ac_header>
13370 rm -f conftest.
$ac_objext
13371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13372 (eval $ac_compile) 2>&5
13374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13375 (exit $ac_status); } &&
13376 { ac_try
='test -s conftest.$ac_objext'
13377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13378 (eval $ac_try) 2>&5
13380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13381 (exit $ac_status); }; }; then
13382 eval "$as_ac_Header=yes"
13384 echo "$as_me: failed program was:" >&5
13385 sed 's/^/| /' conftest.
$ac_ext >&5
13387 eval "$as_ac_Header=no"
13389 rm -f conftest.
$ac_objext conftest.
$ac_ext
13391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13392 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13393 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13394 cat >>confdefs.h
<<_ACEOF
13395 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13404 for ac_header
in resolv.h
13406 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13407 echo "$as_me:$LINENO: checking for $ac_header" >&5
13408 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13409 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13410 echo $ECHO_N "(cached) $ECHO_C" >&6
13412 cat >conftest.
$ac_ext <<_ACEOF
13413 #line $LINENO "configure"
13416 cat confdefs.h
>>conftest.
$ac_ext
13417 cat >>conftest.
$ac_ext <<_ACEOF
13418 /* end confdefs.h. */
13419 #include <sys/types.h>
13420 #if HAVE_SYS_SOCKET_H
13421 # include <sys/socket.h>
13424 #include <$ac_header>
13426 rm -f conftest.
$ac_objext
13427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13428 (eval $ac_compile) 2>&5
13430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13431 (exit $ac_status); } &&
13432 { ac_try
='test -s conftest.$ac_objext'
13433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13434 (eval $ac_try) 2>&5
13436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13437 (exit $ac_status); }; }; then
13438 eval "$as_ac_Header=yes"
13440 echo "$as_me: failed program was:" >&5
13441 sed 's/^/| /' conftest.
$ac_ext >&5
13443 eval "$as_ac_Header=no"
13445 rm -f conftest.
$ac_objext conftest.
$ac_ext
13447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13448 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13449 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13450 cat >>confdefs.h
<<_ACEOF
13451 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13460 for ac_header
in ucontext.h
13462 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13463 echo "$as_me:$LINENO: checking for $ac_header" >&5
13464 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13465 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13466 echo $ECHO_N "(cached) $ECHO_C" >&6
13468 cat >conftest.
$ac_ext <<_ACEOF
13469 #line $LINENO "configure"
13472 cat confdefs.h
>>conftest.
$ac_ext
13473 cat >>conftest.
$ac_ext <<_ACEOF
13474 /* end confdefs.h. */
13475 #include <signal.h>
13477 #include <$ac_header>
13479 rm -f conftest.
$ac_objext
13480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13481 (eval $ac_compile) 2>&5
13483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13484 (exit $ac_status); } &&
13485 { ac_try
='test -s conftest.$ac_objext'
13486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13487 (eval $ac_try) 2>&5
13489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13490 (exit $ac_status); }; }; then
13491 eval "$as_ac_Header=yes"
13493 echo "$as_me: failed program was:" >&5
13494 sed 's/^/| /' conftest.
$ac_ext >&5
13496 eval "$as_ac_Header=no"
13498 rm -f conftest.
$ac_objext conftest.
$ac_ext
13500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13501 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13502 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13503 cat >>confdefs.h
<<_ACEOF
13504 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13513 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13514 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13515 if test "${ac_cv_c_const+set}" = set; then
13516 echo $ECHO_N "(cached) $ECHO_C" >&6
13518 cat >conftest.
$ac_ext <<_ACEOF
13519 #line $LINENO "configure"
13522 cat confdefs.h
>>conftest.
$ac_ext
13523 cat >>conftest.
$ac_ext <<_ACEOF
13524 /* end confdefs.h. */
13529 /* FIXME: Include the comments suggested by Paul. */
13530 #ifndef __cplusplus
13531 /* Ultrix mips cc rejects this. */
13532 typedef int charset[2];
13534 /* SunOS 4.1.1 cc rejects this. */
13535 char const *const *ccp;
13537 /* NEC SVR4.0.2 mips cc rejects this. */
13538 struct point {int x, y;};
13539 static struct point const zero = {0,0};
13540 /* AIX XL C 1.02.0.0 rejects this.
13541 It does not let you subtract one const X* pointer from another in
13542 an arm of an if-expression whose if-part is not a constant
13544 const char *g = "string";
13545 ccp = &g + (g ? g-g : 0);
13546 /* HPUX 7.0 cc rejects these. */
13549 ccp = (char const *const *) p;
13550 { /* SCO 3.2v4 cc rejects this. */
13552 char const *s = 0 ? (char *) 0 : (char const *) 0;
13556 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13557 int x[] = {25, 17};
13558 const int *foo = &x[0];
13561 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13562 typedef const int *iptr;
13566 { /* AIX XL C 1.02.0.0 rejects this saying
13567 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13568 struct s { int j; const int *ap[3]; };
13569 struct s *b; b->j = 5;
13571 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13572 const int foo = 10;
13580 rm -f conftest.
$ac_objext
13581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13582 (eval $ac_compile) 2>&5
13584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13585 (exit $ac_status); } &&
13586 { ac_try
='test -s conftest.$ac_objext'
13587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13588 (eval $ac_try) 2>&5
13590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13591 (exit $ac_status); }; }; then
13594 echo "$as_me: failed program was:" >&5
13595 sed 's/^/| /' conftest.
$ac_ext >&5
13599 rm -f conftest.
$ac_objext conftest.
$ac_ext
13601 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13602 echo "${ECHO_T}$ac_cv_c_const" >&6
13603 if test $ac_cv_c_const = no
; then
13605 cat >>confdefs.h
<<\_ACEOF
13611 echo "$as_me:$LINENO: checking for inline" >&5
13612 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13613 if test "${ac_cv_c_inline+set}" = set; then
13614 echo $ECHO_N "(cached) $ECHO_C" >&6
13617 for ac_kw
in inline __inline__ __inline
; do
13618 cat >conftest.
$ac_ext <<_ACEOF
13619 #line $LINENO "configure"
13622 cat confdefs.h
>>conftest.
$ac_ext
13623 cat >>conftest.
$ac_ext <<_ACEOF
13624 /* end confdefs.h. */
13625 #ifndef __cplusplus
13627 static $ac_kw foo_t static_foo () {return 0; }
13628 $ac_kw foo_t foo () {return 0; }
13632 rm -f conftest.
$ac_objext
13633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13634 (eval $ac_compile) 2>&5
13636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13637 (exit $ac_status); } &&
13638 { ac_try
='test -s conftest.$ac_objext'
13639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13640 (eval $ac_try) 2>&5
13642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13643 (exit $ac_status); }; }; then
13644 ac_cv_c_inline
=$ac_kw; break
13646 echo "$as_me: failed program was:" >&5
13647 sed 's/^/| /' conftest.
$ac_ext >&5
13650 rm -f conftest.
$ac_objext conftest.
$ac_ext
13654 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13655 echo "${ECHO_T}$ac_cv_c_inline" >&6
13656 case $ac_cv_c_inline in
13659 cat >>confdefs.h
<<\_ACEOF
13663 *) cat >>confdefs.h
<<_ACEOF
13664 #define inline $ac_cv_c_inline
13669 echo "$as_me:$LINENO: checking for mode_t" >&5
13670 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
13671 if test "${ac_cv_type_mode_t+set}" = set; then
13672 echo $ECHO_N "(cached) $ECHO_C" >&6
13674 cat >conftest.
$ac_ext <<_ACEOF
13675 #line $LINENO "configure"
13678 cat confdefs.h
>>conftest.
$ac_ext
13679 cat >>conftest.
$ac_ext <<_ACEOF
13680 /* end confdefs.h. */
13681 $ac_includes_default
13687 if (sizeof (mode_t))
13693 rm -f conftest.
$ac_objext
13694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13695 (eval $ac_compile) 2>&5
13697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13698 (exit $ac_status); } &&
13699 { ac_try
='test -s conftest.$ac_objext'
13700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13701 (eval $ac_try) 2>&5
13703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13704 (exit $ac_status); }; }; then
13705 ac_cv_type_mode_t
=yes
13707 echo "$as_me: failed program was:" >&5
13708 sed 's/^/| /' conftest.
$ac_ext >&5
13710 ac_cv_type_mode_t
=no
13712 rm -f conftest.
$ac_objext conftest.
$ac_ext
13714 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
13715 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
13716 if test $ac_cv_type_mode_t = yes; then
13718 cat >>confdefs.h
<<_ACEOF
13719 #define HAVE_MODE_T 1
13724 echo "$as_me:$LINENO: checking for off_t" >&5
13725 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
13726 if test "${ac_cv_type_off_t+set}" = set; then
13727 echo $ECHO_N "(cached) $ECHO_C" >&6
13729 cat >conftest.
$ac_ext <<_ACEOF
13730 #line $LINENO "configure"
13733 cat confdefs.h
>>conftest.
$ac_ext
13734 cat >>conftest.
$ac_ext <<_ACEOF
13735 /* end confdefs.h. */
13736 $ac_includes_default
13742 if (sizeof (off_t))
13748 rm -f conftest.
$ac_objext
13749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13750 (eval $ac_compile) 2>&5
13752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13753 (exit $ac_status); } &&
13754 { ac_try
='test -s conftest.$ac_objext'
13755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13756 (eval $ac_try) 2>&5
13758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13759 (exit $ac_status); }; }; then
13760 ac_cv_type_off_t
=yes
13762 echo "$as_me: failed program was:" >&5
13763 sed 's/^/| /' conftest.
$ac_ext >&5
13765 ac_cv_type_off_t
=no
13767 rm -f conftest.
$ac_objext conftest.
$ac_ext
13769 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
13770 echo "${ECHO_T}$ac_cv_type_off_t" >&6
13771 if test $ac_cv_type_off_t = yes; then
13773 cat >>confdefs.h
<<_ACEOF
13774 #define HAVE_OFF_T 1
13779 echo "$as_me:$LINENO: checking for pid_t" >&5
13780 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
13781 if test "${ac_cv_type_pid_t+set}" = set; then
13782 echo $ECHO_N "(cached) $ECHO_C" >&6
13784 cat >conftest.
$ac_ext <<_ACEOF
13785 #line $LINENO "configure"
13788 cat confdefs.h
>>conftest.
$ac_ext
13789 cat >>conftest.
$ac_ext <<_ACEOF
13790 /* end confdefs.h. */
13791 $ac_includes_default
13797 if (sizeof (pid_t))
13803 rm -f conftest.
$ac_objext
13804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13805 (eval $ac_compile) 2>&5
13807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13808 (exit $ac_status); } &&
13809 { ac_try
='test -s conftest.$ac_objext'
13810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13811 (eval $ac_try) 2>&5
13813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13814 (exit $ac_status); }; }; then
13815 ac_cv_type_pid_t
=yes
13817 echo "$as_me: failed program was:" >&5
13818 sed 's/^/| /' conftest.
$ac_ext >&5
13820 ac_cv_type_pid_t
=no
13822 rm -f conftest.
$ac_objext conftest.
$ac_ext
13824 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
13825 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
13826 if test $ac_cv_type_pid_t = yes; then
13828 cat >>confdefs.h
<<_ACEOF
13829 #define HAVE_PID_T 1
13834 echo "$as_me:$LINENO: checking for size_t" >&5
13835 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
13836 if test "${ac_cv_type_size_t+set}" = set; then
13837 echo $ECHO_N "(cached) $ECHO_C" >&6
13839 cat >conftest.
$ac_ext <<_ACEOF
13840 #line $LINENO "configure"
13843 cat confdefs.h
>>conftest.
$ac_ext
13844 cat >>conftest.
$ac_ext <<_ACEOF
13845 /* end confdefs.h. */
13846 $ac_includes_default
13852 if (sizeof (size_t))
13858 rm -f conftest.
$ac_objext
13859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13860 (eval $ac_compile) 2>&5
13862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13863 (exit $ac_status); } &&
13864 { ac_try
='test -s conftest.$ac_objext'
13865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13866 (eval $ac_try) 2>&5
13868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13869 (exit $ac_status); }; }; then
13870 ac_cv_type_size_t
=yes
13872 echo "$as_me: failed program was:" >&5
13873 sed 's/^/| /' conftest.
$ac_ext >&5
13875 ac_cv_type_size_t
=no
13877 rm -f conftest.
$ac_objext conftest.
$ac_ext
13879 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
13880 echo "${ECHO_T}$ac_cv_type_size_t" >&6
13881 if test $ac_cv_type_size_t = yes; then
13883 cat >>confdefs.h
<<_ACEOF
13884 #define HAVE_SIZE_T 1
13889 echo "$as_me:$LINENO: checking for ssize_t" >&5
13890 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
13891 if test "${ac_cv_type_ssize_t+set}" = set; then
13892 echo $ECHO_N "(cached) $ECHO_C" >&6
13894 cat >conftest.
$ac_ext <<_ACEOF
13895 #line $LINENO "configure"
13898 cat confdefs.h
>>conftest.
$ac_ext
13899 cat >>conftest.
$ac_ext <<_ACEOF
13900 /* end confdefs.h. */
13901 $ac_includes_default
13907 if (sizeof (ssize_t))
13913 rm -f conftest.
$ac_objext
13914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13915 (eval $ac_compile) 2>&5
13917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13918 (exit $ac_status); } &&
13919 { ac_try
='test -s conftest.$ac_objext'
13920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13921 (eval $ac_try) 2>&5
13923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13924 (exit $ac_status); }; }; then
13925 ac_cv_type_ssize_t
=yes
13927 echo "$as_me: failed program was:" >&5
13928 sed 's/^/| /' conftest.
$ac_ext >&5
13930 ac_cv_type_ssize_t
=no
13932 rm -f conftest.
$ac_objext conftest.
$ac_ext
13934 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
13935 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
13936 if test $ac_cv_type_ssize_t = yes; then
13938 cat >>confdefs.h
<<_ACEOF
13939 #define HAVE_SSIZE_T 1
13945 echo "$as_me:$LINENO: checking for long long" >&5
13946 echo $ECHO_N "checking for long long... $ECHO_C" >&6
13947 if test "${ac_cv_type_long_long+set}" = set; then
13948 echo $ECHO_N "(cached) $ECHO_C" >&6
13950 cat >conftest.
$ac_ext <<_ACEOF
13951 #line $LINENO "configure"
13954 cat confdefs.h
>>conftest.
$ac_ext
13955 cat >>conftest.
$ac_ext <<_ACEOF
13956 /* end confdefs.h. */
13957 $ac_includes_default
13961 if ((long long *) 0)
13963 if (sizeof (long long))
13969 rm -f conftest.
$ac_objext
13970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13971 (eval $ac_compile) 2>&5
13973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13974 (exit $ac_status); } &&
13975 { ac_try
='test -s conftest.$ac_objext'
13976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13977 (eval $ac_try) 2>&5
13979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13980 (exit $ac_status); }; }; then
13981 ac_cv_type_long_long
=yes
13983 echo "$as_me: failed program was:" >&5
13984 sed 's/^/| /' conftest.
$ac_ext >&5
13986 ac_cv_type_long_long
=no
13988 rm -f conftest.
$ac_objext conftest.
$ac_ext
13990 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
13991 echo "${ECHO_T}$ac_cv_type_long_long" >&6
13993 echo "$as_me:$LINENO: checking size of long long" >&5
13994 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
13995 if test "${ac_cv_sizeof_long_long+set}" = set; then
13996 echo $ECHO_N "(cached) $ECHO_C" >&6
13998 if test "$ac_cv_type_long_long" = yes; then
13999 # The cast to unsigned long works around a bug in the HP C Compiler
14000 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14001 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14002 # This bug is HP SR number 8606223364.
14003 if test "$cross_compiling" = yes; then
14004 # Depending upon the size, compute the lo and hi bounds.
14005 cat >conftest.
$ac_ext <<_ACEOF
14006 #line $LINENO "configure"
14009 cat confdefs.h
>>conftest.
$ac_ext
14010 cat >>conftest.
$ac_ext <<_ACEOF
14011 /* end confdefs.h. */
14012 $ac_includes_default
14016 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
14023 rm -f conftest.
$ac_objext
14024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14025 (eval $ac_compile) 2>&5
14027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14028 (exit $ac_status); } &&
14029 { ac_try
='test -s conftest.$ac_objext'
14030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14031 (eval $ac_try) 2>&5
14033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14034 (exit $ac_status); }; }; then
14037 cat >conftest.
$ac_ext <<_ACEOF
14038 #line $LINENO "configure"
14041 cat confdefs.h
>>conftest.
$ac_ext
14042 cat >>conftest.
$ac_ext <<_ACEOF
14043 /* end confdefs.h. */
14044 $ac_includes_default
14048 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
14055 rm -f conftest.
$ac_objext
14056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14057 (eval $ac_compile) 2>&5
14059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14060 (exit $ac_status); } &&
14061 { ac_try
='test -s conftest.$ac_objext'
14062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14063 (eval $ac_try) 2>&5
14065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14066 (exit $ac_status); }; }; then
14067 ac_hi
=$ac_mid; break
14069 echo "$as_me: failed program was:" >&5
14070 sed 's/^/| /' conftest.
$ac_ext >&5
14072 ac_lo
=`expr $ac_mid + 1`
14073 if test $ac_lo -le $ac_mid; then
14077 ac_mid
=`expr 2 '*' $ac_mid + 1`
14079 rm -f conftest.
$ac_objext conftest.
$ac_ext
14082 echo "$as_me: failed program was:" >&5
14083 sed 's/^/| /' conftest.
$ac_ext >&5
14085 cat >conftest.
$ac_ext <<_ACEOF
14086 #line $LINENO "configure"
14089 cat confdefs.h
>>conftest.
$ac_ext
14090 cat >>conftest.
$ac_ext <<_ACEOF
14091 /* end confdefs.h. */
14092 $ac_includes_default
14096 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
14103 rm -f conftest.
$ac_objext
14104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14105 (eval $ac_compile) 2>&5
14107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14108 (exit $ac_status); } &&
14109 { ac_try
='test -s conftest.$ac_objext'
14110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14111 (eval $ac_try) 2>&5
14113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14114 (exit $ac_status); }; }; then
14117 cat >conftest.
$ac_ext <<_ACEOF
14118 #line $LINENO "configure"
14121 cat confdefs.h
>>conftest.
$ac_ext
14122 cat >>conftest.
$ac_ext <<_ACEOF
14123 /* end confdefs.h. */
14124 $ac_includes_default
14128 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
14135 rm -f conftest.
$ac_objext
14136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14137 (eval $ac_compile) 2>&5
14139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14140 (exit $ac_status); } &&
14141 { ac_try
='test -s conftest.$ac_objext'
14142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14143 (eval $ac_try) 2>&5
14145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14146 (exit $ac_status); }; }; then
14147 ac_lo
=$ac_mid; break
14149 echo "$as_me: failed program was:" >&5
14150 sed 's/^/| /' conftest.
$ac_ext >&5
14152 ac_hi
=`expr '(' $ac_mid ')' - 1`
14153 if test $ac_mid -le $ac_hi; then
14157 ac_mid
=`expr 2 '*' $ac_mid`
14159 rm -f conftest.
$ac_objext conftest.
$ac_ext
14162 echo "$as_me: failed program was:" >&5
14163 sed 's/^/| /' conftest.
$ac_ext >&5
14167 rm -f conftest.
$ac_objext conftest.
$ac_ext
14169 rm -f conftest.
$ac_objext conftest.
$ac_ext
14170 # Binary search between lo and hi bounds.
14171 while test "x$ac_lo" != "x$ac_hi"; do
14172 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14173 cat >conftest.
$ac_ext <<_ACEOF
14174 #line $LINENO "configure"
14177 cat confdefs.h
>>conftest.
$ac_ext
14178 cat >>conftest.
$ac_ext <<_ACEOF
14179 /* end confdefs.h. */
14180 $ac_includes_default
14184 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
14191 rm -f conftest.
$ac_objext
14192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14193 (eval $ac_compile) 2>&5
14195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14196 (exit $ac_status); } &&
14197 { ac_try
='test -s conftest.$ac_objext'
14198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14199 (eval $ac_try) 2>&5
14201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14202 (exit $ac_status); }; }; then
14205 echo "$as_me: failed program was:" >&5
14206 sed 's/^/| /' conftest.
$ac_ext >&5
14208 ac_lo
=`expr '(' $ac_mid ')' + 1`
14210 rm -f conftest.
$ac_objext conftest.
$ac_ext
14213 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
14214 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
14215 See \`config.log' for more details." >&5
14216 echo "$as_me: error: cannot compute sizeof (long long), 77
14217 See \`config.log' for more details." >&2;}
14218 { (exit 1); exit 1; }; } ;;
14221 if test "$cross_compiling" = yes; then
14222 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14223 See \`config.log' for more details." >&5
14224 echo "$as_me: error: cannot run test program while cross compiling
14225 See \`config.log' for more details." >&2;}
14226 { (exit 1); exit 1; }; }
14228 cat >conftest.
$ac_ext <<_ACEOF
14229 #line $LINENO "configure"
14232 cat confdefs.h
>>conftest.
$ac_ext
14233 cat >>conftest.
$ac_ext <<_ACEOF
14234 /* end confdefs.h. */
14235 $ac_includes_default
14236 long longval () { return (long) (sizeof (long long)); }
14237 unsigned long ulongval () { return (long) (sizeof (long long)); }
14239 #include <stdlib.h>
14244 FILE *f = fopen ("conftest.val", "w");
14247 if (((long) (sizeof (long long))) < 0)
14249 long i = longval ();
14250 if (i != ((long) (sizeof (long long))))
14252 fprintf (f, "%ld\n", i);
14256 unsigned long i = ulongval ();
14257 if (i != ((long) (sizeof (long long))))
14259 fprintf (f, "%lu\n", i);
14261 exit (ferror (f) || fclose (f) != 0);
14267 rm -f conftest
$ac_exeext
14268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14269 (eval $ac_link) 2>&5
14271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14272 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14274 (eval $ac_try) 2>&5
14276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14277 (exit $ac_status); }; }; then
14278 ac_cv_sizeof_long_long
=`cat conftest.val`
14280 echo "$as_me: program exited with status $ac_status" >&5
14281 echo "$as_me: failed program was:" >&5
14282 sed 's/^/| /' conftest.
$ac_ext >&5
14284 ( exit $ac_status )
14285 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
14286 See \`config.log' for more details." >&5
14287 echo "$as_me: error: cannot compute sizeof (long long), 77
14288 See \`config.log' for more details." >&2;}
14289 { (exit 1); exit 1; }; }
14291 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14296 ac_cv_sizeof_long_long
=0
14299 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
14300 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
14301 cat >>confdefs.h
<<_ACEOF
14302 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
14307 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
14308 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
14309 if test "${wine_cv_linux_input_h+set}" = set; then
14310 echo $ECHO_N "(cached) $ECHO_C" >&6
14312 cat >conftest.
$ac_ext <<_ACEOF
14313 #line $LINENO "configure"
14316 cat confdefs.h
>>conftest.
$ac_ext
14317 cat >>conftest.
$ac_ext <<_ACEOF
14318 /* end confdefs.h. */
14320 #include <linux/input.h>
14326 int foo = EVIOCGBIT(EV_ABS,42);
14327 int bar = BTN_PINKIE;
14334 rm -f conftest.
$ac_objext
14335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14336 (eval $ac_compile) 2>&5
14338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14339 (exit $ac_status); } &&
14340 { ac_try
='test -s conftest.$ac_objext'
14341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14342 (eval $ac_try) 2>&5
14344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14345 (exit $ac_status); }; }; then
14346 wine_cv_linux_input_h
=yes
14348 echo "$as_me: failed program was:" >&5
14349 sed 's/^/| /' conftest.
$ac_ext >&5
14351 wine_cv_linux_input_h
=no
14353 rm -f conftest.
$ac_objext conftest.
$ac_ext
14356 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
14357 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
14358 if test "$wine_cv_linux_input_h" = "yes"
14361 cat >>confdefs.h
<<\_ACEOF
14362 #define HAVE_CORRECT_LINUXINPUT_H 1
14368 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
14369 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
14370 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
14371 echo $ECHO_N "(cached) $ECHO_C" >&6
14373 cat >conftest.
$ac_ext <<_ACEOF
14374 #line $LINENO "configure"
14377 cat confdefs.h
>>conftest.
$ac_ext
14378 cat >>conftest.
$ac_ext <<_ACEOF
14379 /* end confdefs.h. */
14389 struct hostent *result;
14396 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
14397 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
14403 rm -f conftest.
$ac_objext
14404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14405 (eval $ac_compile) 2>&5
14407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14408 (exit $ac_status); } &&
14409 { ac_try
='test -s conftest.$ac_objext'
14410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14411 (eval $ac_try) 2>&5
14413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14414 (exit $ac_status); }; }; then
14415 wine_cv_linux_gethostbyname_r_6
=yes
14417 echo "$as_me: failed program was:" >&5
14418 sed 's/^/| /' conftest.
$ac_ext >&5
14420 wine_cv_linux_gethostbyname_r_6
=no
14423 rm -f conftest.
$ac_objext conftest.
$ac_ext
14426 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
14427 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
14428 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
14431 cat >>confdefs.h
<<\_ACEOF
14432 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
14437 if test "$ac_cv_header_linux_joystick_h" = "yes"
14439 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
14440 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
14441 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
14442 echo $ECHO_N "(cached) $ECHO_C" >&6
14444 cat >conftest.
$ac_ext <<_ACEOF
14445 #line $LINENO "configure"
14448 cat confdefs.h
>>conftest.
$ac_ext
14449 cat >>conftest.
$ac_ext <<_ACEOF
14450 /* end confdefs.h. */
14452 #include <sys/ioctl.h>
14453 #include <linux/joystick.h>
14455 struct js_event blub;
14456 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
14457 #error "no 2.2 header"
14468 rm -f conftest.
$ac_objext
14469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14470 (eval $ac_compile) 2>&5
14472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14473 (exit $ac_status); } &&
14474 { ac_try
='test -s conftest.$ac_objext'
14475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14476 (eval $ac_try) 2>&5
14478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14479 (exit $ac_status); }; }; then
14480 wine_cv_linux_joystick_22_api
=yes
14482 echo "$as_me: failed program was:" >&5
14483 sed 's/^/| /' conftest.
$ac_ext >&5
14485 wine_cv_linux_joystick_22_api
=no
14487 rm -f conftest.
$ac_objext conftest.
$ac_ext
14490 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
14491 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
14492 if test "$wine_cv_linux_joystick_22_api" = "yes"
14495 cat >>confdefs.h
<<\_ACEOF
14496 #define HAVE_LINUX_22_JOYSTICK_API 1
14503 if test "$ac_cv_header_sys_vfs_h" = "yes"
14505 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
14506 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
14507 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
14508 echo $ECHO_N "(cached) $ECHO_C" >&6
14510 cat >conftest.
$ac_ext <<_ACEOF
14511 #line $LINENO "configure"
14514 cat confdefs.h
>>conftest.
$ac_ext
14515 cat >>conftest.
$ac_ext <<_ACEOF
14516 /* end confdefs.h. */
14518 #include <sys/types.h>
14519 #ifdef HAVE_SYS_PARAM_H
14520 # include <sys/param.h>
14522 #include <sys/vfs.h>
14528 struct statfs stfs;
14530 memset(&stfs,0,sizeof(stfs));
14536 rm -f conftest.
$ac_objext
14537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14538 (eval $ac_compile) 2>&5
14540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14541 (exit $ac_status); } &&
14542 { ac_try
='test -s conftest.$ac_objext'
14543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14544 (eval $ac_try) 2>&5
14546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14547 (exit $ac_status); }; }; then
14548 wine_cv_sys_vfs_has_statfs
=yes
14550 echo "$as_me: failed program was:" >&5
14551 sed 's/^/| /' conftest.
$ac_ext >&5
14553 wine_cv_sys_vfs_has_statfs
=no
14556 rm -f conftest.
$ac_objext conftest.
$ac_ext
14559 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
14560 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
14561 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
14564 cat >>confdefs.h
<<\_ACEOF
14565 #define STATFS_DEFINED_BY_SYS_VFS 1
14571 if test "$ac_cv_header_sys_statfs_h" = "yes"
14573 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
14574 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
14575 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
14576 echo $ECHO_N "(cached) $ECHO_C" >&6
14578 cat >conftest.
$ac_ext <<_ACEOF
14579 #line $LINENO "configure"
14582 cat confdefs.h
>>conftest.
$ac_ext
14583 cat >>conftest.
$ac_ext <<_ACEOF
14584 /* end confdefs.h. */
14586 #include <sys/types.h>
14587 #ifdef HAVE_SYS_PARAM_H
14588 # include <sys/param.h>
14590 #include <sys/statfs.h>
14596 struct statfs stfs;
14602 rm -f conftest.
$ac_objext
14603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14604 (eval $ac_compile) 2>&5
14606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14607 (exit $ac_status); } &&
14608 { ac_try
='test -s conftest.$ac_objext'
14609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14610 (eval $ac_try) 2>&5
14612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14613 (exit $ac_status); }; }; then
14614 wine_cv_sys_statfs_has_statfs
=yes
14616 echo "$as_me: failed program was:" >&5
14617 sed 's/^/| /' conftest.
$ac_ext >&5
14619 wine_cv_sys_statfs_has_statfs
=no
14622 rm -f conftest.
$ac_objext conftest.
$ac_ext
14625 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
14626 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
14627 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
14630 cat >>confdefs.h
<<\_ACEOF
14631 #define STATFS_DEFINED_BY_SYS_STATFS 1
14637 if test "$ac_cv_header_sys_mount_h" = "yes"
14639 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
14640 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
14641 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
14642 echo $ECHO_N "(cached) $ECHO_C" >&6
14644 cat >conftest.
$ac_ext <<_ACEOF
14645 #line $LINENO "configure"
14648 cat confdefs.h
>>conftest.
$ac_ext
14649 cat >>conftest.
$ac_ext <<_ACEOF
14650 /* end confdefs.h. */
14652 #include <sys/types.h>
14653 #ifdef HAVE_SYS_PARAM_H
14654 # include <sys/param.h>
14656 #include <sys/mount.h>
14662 struct statfs stfs;
14668 rm -f conftest.
$ac_objext
14669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14670 (eval $ac_compile) 2>&5
14672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14673 (exit $ac_status); } &&
14674 { ac_try
='test -s conftest.$ac_objext'
14675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14676 (eval $ac_try) 2>&5
14678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14679 (exit $ac_status); }; }; then
14680 wine_cv_sys_mount_has_statfs
=yes
14682 echo "$as_me: failed program was:" >&5
14683 sed 's/^/| /' conftest.
$ac_ext >&5
14685 wine_cv_sys_mount_has_statfs
=no
14688 rm -f conftest.
$ac_objext conftest.
$ac_ext
14691 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
14692 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
14693 if test "$wine_cv_sys_mount_has_statfs" = "yes"
14696 cat >>confdefs.h
<<\_ACEOF
14697 #define STATFS_DEFINED_BY_SYS_MOUNT 1
14704 echo "$as_me:$LINENO: checking for f_bfree in struct statfs" >&5
14705 echo $ECHO_N "checking for f_bfree in struct statfs... $ECHO_C" >&6
14706 if test "${ac_cv_c_statfs_f_bfree+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. */
14716 #include <sys/types.h>
14717 #ifdef HAVE_SYS_PARAM_H
14718 # include <sys/param.h>
14720 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
14721 # include <sys/mount.h>
14723 # ifdef STATFS_DEFINED_BY_SYS_VFS
14724 # include <sys/vfs.h>
14726 # ifdef STATFS_DEFINED_BY_SYS_STATFS
14727 # include <sys/statfs.h>
14734 struct statfs s; s.f_bfree = 0
14739 rm -f conftest.
$ac_objext
14740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14741 (eval $ac_compile) 2>&5
14743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14744 (exit $ac_status); } &&
14745 { ac_try
='test -s conftest.$ac_objext'
14746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14747 (eval $ac_try) 2>&5
14749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14750 (exit $ac_status); }; }; then
14751 ac_cv_c_statfs_f_bfree
="yes"
14753 echo "$as_me: failed program was:" >&5
14754 sed 's/^/| /' conftest.
$ac_ext >&5
14756 ac_cv_c_statfs_f_bfree
="no"
14758 rm -f conftest.
$ac_objext conftest.
$ac_ext
14760 echo "$as_me:$LINENO: result: $ac_cv_c_statfs_f_bfree" >&5
14761 echo "${ECHO_T}$ac_cv_c_statfs_f_bfree" >&6
14762 if test "x$ac_cv_c_statfs_f_bfree" = "xyes"; then
14764 cat >>confdefs.h
<<\_ACEOF
14765 #define STATFS_HAS_BFREE 1
14772 echo "$as_me:$LINENO: checking for f_bavail in struct statfs" >&5
14773 echo $ECHO_N "checking for f_bavail in struct statfs... $ECHO_C" >&6
14774 if test "${ac_cv_c_statfs_f_bavail+set}" = set; then
14775 echo $ECHO_N "(cached) $ECHO_C" >&6
14777 cat >conftest.
$ac_ext <<_ACEOF
14778 #line $LINENO "configure"
14781 cat confdefs.h
>>conftest.
$ac_ext
14782 cat >>conftest.
$ac_ext <<_ACEOF
14783 /* end confdefs.h. */
14784 #include <sys/types.h>
14785 #ifdef HAVE_SYS_PARAM_H
14786 # include <sys/param.h>
14788 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
14789 # include <sys/mount.h>
14791 # ifdef STATFS_DEFINED_BY_SYS_VFS
14792 # include <sys/vfs.h>
14794 # ifdef STATFS_DEFINED_BY_SYS_STATFS
14795 # include <sys/statfs.h>
14802 struct statfs s; s.f_bavail = 0
14807 rm -f conftest.
$ac_objext
14808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14809 (eval $ac_compile) 2>&5
14811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812 (exit $ac_status); } &&
14813 { ac_try
='test -s conftest.$ac_objext'
14814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14815 (eval $ac_try) 2>&5
14817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14818 (exit $ac_status); }; }; then
14819 ac_cv_c_statfs_f_bavail
="yes"
14821 echo "$as_me: failed program was:" >&5
14822 sed 's/^/| /' conftest.
$ac_ext >&5
14824 ac_cv_c_statfs_f_bavail
="no"
14826 rm -f conftest.
$ac_objext conftest.
$ac_ext
14828 echo "$as_me:$LINENO: result: $ac_cv_c_statfs_f_bavail" >&5
14829 echo "${ECHO_T}$ac_cv_c_statfs_f_bavail" >&6
14830 if test "x$ac_cv_c_statfs_f_bavail" = "xyes"; then
14832 cat >>confdefs.h
<<\_ACEOF
14833 #define STATFS_HAS_BAVAIL 1
14840 echo "$as_me:$LINENO: checking for msg_accrights in struct msghdr" >&5
14841 echo $ECHO_N "checking for msg_accrights in struct msghdr... $ECHO_C" >&6
14842 if test "${ac_cv_c_msghdr_msg_accrights+set}" = set; then
14843 echo $ECHO_N "(cached) $ECHO_C" >&6
14845 cat >conftest.
$ac_ext <<_ACEOF
14846 #line $LINENO "configure"
14849 cat confdefs.h
>>conftest.
$ac_ext
14850 cat >>conftest.
$ac_ext <<_ACEOF
14851 /* end confdefs.h. */
14852 #include <sys/types.h>
14853 #ifdef HAVE_SYS_SOCKET_H
14854 # include <sys/socket.h>
14859 struct msghdr s; s.msg_accrights = 0
14864 rm -f conftest.
$ac_objext
14865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14866 (eval $ac_compile) 2>&5
14868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14869 (exit $ac_status); } &&
14870 { ac_try
='test -s conftest.$ac_objext'
14871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14872 (eval $ac_try) 2>&5
14874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14875 (exit $ac_status); }; }; then
14876 ac_cv_c_msghdr_msg_accrights
="yes"
14878 echo "$as_me: failed program was:" >&5
14879 sed 's/^/| /' conftest.
$ac_ext >&5
14881 ac_cv_c_msghdr_msg_accrights
="no"
14883 rm -f conftest.
$ac_objext conftest.
$ac_ext
14885 echo "$as_me:$LINENO: result: $ac_cv_c_msghdr_msg_accrights" >&5
14886 echo "${ECHO_T}$ac_cv_c_msghdr_msg_accrights" >&6
14887 if test "x$ac_cv_c_msghdr_msg_accrights" = "xyes"; then
14889 cat >>confdefs.h
<<\_ACEOF
14890 #define HAVE_MSGHDR_ACCRIGHTS 1
14897 echo "$as_me:$LINENO: checking for sa_len in struct sockaddr" >&5
14898 echo $ECHO_N "checking for sa_len in struct sockaddr... $ECHO_C" >&6
14899 if test "${ac_cv_c_sockaddr_sa_len+set}" = set; then
14900 echo $ECHO_N "(cached) $ECHO_C" >&6
14902 cat >conftest.
$ac_ext <<_ACEOF
14903 #line $LINENO "configure"
14906 cat confdefs.h
>>conftest.
$ac_ext
14907 cat >>conftest.
$ac_ext <<_ACEOF
14908 /* end confdefs.h. */
14909 #include <sys/types.h>
14910 #ifdef HAVE_SYS_SOCKET_H
14911 # include <sys/socket.h>
14916 struct sockaddr s; s.sa_len = 0
14921 rm -f conftest.
$ac_objext
14922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14923 (eval $ac_compile) 2>&5
14925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14926 (exit $ac_status); } &&
14927 { ac_try
='test -s conftest.$ac_objext'
14928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14929 (eval $ac_try) 2>&5
14931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14932 (exit $ac_status); }; }; then
14933 ac_cv_c_sockaddr_sa_len
="yes"
14935 echo "$as_me: failed program was:" >&5
14936 sed 's/^/| /' conftest.
$ac_ext >&5
14938 ac_cv_c_sockaddr_sa_len
="no"
14940 rm -f conftest.
$ac_objext conftest.
$ac_ext
14942 echo "$as_me:$LINENO: result: $ac_cv_c_sockaddr_sa_len" >&5
14943 echo "${ECHO_T}$ac_cv_c_sockaddr_sa_len" >&6
14944 if test "x$ac_cv_c_sockaddr_sa_len" = "xyes"; then
14946 cat >>confdefs.h
<<\_ACEOF
14947 #define HAVE_SOCKADDR_SA_LEN 1
14954 echo "$as_me:$LINENO: checking for sun_len in struct sockaddr_un" >&5
14955 echo $ECHO_N "checking for sun_len in struct sockaddr_un... $ECHO_C" >&6
14956 if test "${ac_cv_c_sockaddr_un_sun_len+set}" = set; then
14957 echo $ECHO_N "(cached) $ECHO_C" >&6
14959 cat >conftest.
$ac_ext <<_ACEOF
14960 #line $LINENO "configure"
14963 cat confdefs.h
>>conftest.
$ac_ext
14964 cat >>conftest.
$ac_ext <<_ACEOF
14965 /* end confdefs.h. */
14966 #include <sys/types.h>
14967 #ifdef HAVE_SYS_SOCKET_H
14968 # include <sys/socket.h>
14970 #ifdef HAVE_SYS_UN_H
14971 # include <sys/un.h>
14976 struct sockaddr_un s; s.sun_len = 0
14981 rm -f conftest.
$ac_objext
14982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14983 (eval $ac_compile) 2>&5
14985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14986 (exit $ac_status); } &&
14987 { ac_try
='test -s conftest.$ac_objext'
14988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14989 (eval $ac_try) 2>&5
14991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14992 (exit $ac_status); }; }; then
14993 ac_cv_c_sockaddr_un_sun_len
="yes"
14995 echo "$as_me: failed program was:" >&5
14996 sed 's/^/| /' conftest.
$ac_ext >&5
14998 ac_cv_c_sockaddr_un_sun_len
="no"
15000 rm -f conftest.
$ac_objext conftest.
$ac_ext
15002 echo "$as_me:$LINENO: result: $ac_cv_c_sockaddr_un_sun_len" >&5
15003 echo "${ECHO_T}$ac_cv_c_sockaddr_un_sun_len" >&6
15004 if test "x$ac_cv_c_sockaddr_un_sun_len" = "xyes"; then
15006 cat >>confdefs.h
<<\_ACEOF
15007 #define HAVE_SOCKADDR_SUN_LEN 1
15016 *i
[3456789]86*) echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
15017 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
15018 if test "${ac_cv_cpp_def___i386__+set}" = set; then
15019 echo $ECHO_N "(cached) $ECHO_C" >&6
15021 cat >conftest.
$ac_ext <<_ACEOF
15022 #line $LINENO "configure"
15025 cat confdefs.h
>>conftest.
$ac_ext
15026 cat >>conftest.
$ac_ext <<_ACEOF
15027 /* end confdefs.h. */
15032 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15033 $EGREP "yes" >/dev
/null
2>&1; then
15034 ac_cv_cpp_def___i386__
=yes
15036 ac_cv_cpp_def___i386__
=no
15041 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
15042 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6
15043 if test $ac_cv_cpp_def___i386__ = yes; then
15044 CFLAGS
="$CFLAGS -D__i386__"
15045 LINTFLAGS
="$LINTFLAGS -D__i386__"
15048 *alpha
*) echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
15049 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6
15050 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
15051 echo $ECHO_N "(cached) $ECHO_C" >&6
15053 cat >conftest.
$ac_ext <<_ACEOF
15054 #line $LINENO "configure"
15057 cat confdefs.h
>>conftest.
$ac_ext
15058 cat >>conftest.
$ac_ext <<_ACEOF
15059 /* end confdefs.h. */
15064 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15065 $EGREP "yes" >/dev
/null
2>&1; then
15066 ac_cv_cpp_def___ALPHA__
=yes
15068 ac_cv_cpp_def___ALPHA__
=no
15073 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
15074 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6
15075 if test $ac_cv_cpp_def___ALPHA__ = yes; then
15076 CFLAGS
="$CFLAGS -D__ALPHA__"
15077 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
15080 *sparc
*) echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
15081 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
15082 if test "${ac_cv_cpp_def___sparc__+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. */
15096 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15097 $EGREP "yes" >/dev
/null
2>&1; then
15098 ac_cv_cpp_def___sparc__
=yes
15100 ac_cv_cpp_def___sparc__
=no
15105 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
15106 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
15107 if test $ac_cv_cpp_def___sparc__ = yes; then
15108 CFLAGS
="$CFLAGS -D__sparc__"
15109 LINTFLAGS
="$LINTFLAGS -D__sparc__"
15114 case $host_vendor in
15115 *sun
*) echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
15116 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
15117 if test "${ac_cv_cpp_def___sun__+set}" = set; then
15118 echo $ECHO_N "(cached) $ECHO_C" >&6
15120 cat >conftest.
$ac_ext <<_ACEOF
15121 #line $LINENO "configure"
15124 cat confdefs.h
>>conftest.
$ac_ext
15125 cat >>conftest.
$ac_ext <<_ACEOF
15126 /* end confdefs.h. */
15131 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15132 $EGREP "yes" >/dev
/null
2>&1; then
15133 ac_cv_cpp_def___sun__
=yes
15135 ac_cv_cpp_def___sun__
=no
15140 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
15141 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6
15142 if test $ac_cv_cpp_def___sun__ = yes; then
15143 CFLAGS
="$CFLAGS -D__sun__"
15144 LINTFLAGS
="$LINTFLAGS -D__sun__"
15153 ac_config_commands
="$ac_config_commands controls"
15155 ac_config_commands
="$ac_config_commands dlls/ddraw/d3ddevice"
15157 ac_config_commands
="$ac_config_commands dlls/ddraw/dclipper"
15159 ac_config_commands
="$ac_config_commands dlls/ddraw/ddraw"
15161 ac_config_commands
="$ac_config_commands dlls/ddraw/direct3d"
15163 ac_config_commands
="$ac_config_commands dlls/ddraw/dpalette"
15165 ac_config_commands
="$ac_config_commands dlls/ddraw/dsurface"
15167 ac_config_commands
="$ac_config_commands dlls/dinput/joystick"
15169 ac_config_commands
="$ac_config_commands dlls/dinput/keyboard"
15171 ac_config_commands
="$ac_config_commands dlls/dinput/mouse"
15173 ac_config_commands
="$ac_config_commands dlls/gdi/enhmfdrv"
15175 ac_config_commands
="$ac_config_commands dlls/gdi/mfdrv"
15177 ac_config_commands
="$ac_config_commands dlls/gdi/win16drv"
15179 ac_config_commands
="$ac_config_commands dlls/kernel/messages"
15181 ac_config_commands
="$ac_config_commands dlls/user/dde"
15183 ac_config_commands
="$ac_config_commands dlls/user/resources"
15185 ac_config_commands
="$ac_config_commands dlls/wineps/data"
15187 ac_config_commands
="$ac_config_commands files"
15189 ac_config_commands
="$ac_config_commands graphics"
15191 ac_config_commands
="$ac_config_commands graphics/x11drv"
15193 ac_config_commands
="$ac_config_commands if1632"
15195 ac_config_commands
="$ac_config_commands include/wine"
15197 ac_config_commands
="$ac_config_commands loader"
15199 ac_config_commands
="$ac_config_commands loader/ne"
15201 ac_config_commands
="$ac_config_commands memory"
15203 ac_config_commands
="$ac_config_commands misc"
15205 ac_config_commands
="$ac_config_commands msdos"
15207 ac_config_commands
="$ac_config_commands objects"
15209 ac_config_commands
="$ac_config_commands programs/regapi/tests"
15211 ac_config_commands
="$ac_config_commands programs/regedit/tests"
15213 ac_config_commands
="$ac_config_commands relay32"
15215 ac_config_commands
="$ac_config_commands scheduler"
15217 ac_config_commands
="$ac_config_commands win32"
15219 ac_config_commands
="$ac_config_commands windows"
15222 MAKE_RULES
=Make.rules
15225 MAKE_DLL_RULES
=dlls
/Makedll.rules
15228 MAKE_TEST_RULES
=dlls
/Maketest.rules
15231 MAKE_PROG_RULES
=programs
/Makeprog.rules
15234 ac_config_files
="$ac_config_files Make.rules dlls/Makedll.rules dlls/Maketest.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/comcat/Makefile dlls/comctl32/Makefile dlls/commdlg/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/ctl3d/Makefile dlls/d3d8/Makefile dlls/d3dx8/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput8/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/icmp/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/kernel/Makefile dlls/kernel/tests/Makefile dlls/lzexpand/Makefile dlls/mapi32/Makefile dlls/mpr/Makefile dlls/msacm/Makefile dlls/msacm/imaadp32/Makefile dlls/msacm/msadp32/Makefile dlls/msacm/msg711/Makefile dlls/msacm/winemp3/Makefile dlls/msdmo/Makefile dlls/msimg32/Makefile dlls/msisys/Makefile dlls/msnet32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvideo/Makefile dlls/msvideo/msrle32/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/odbc32/Makefile dlls/ole32/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr/Makefile dlls/opengl32/Makefile dlls/psapi/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/rasapi32/Makefile dlls/richedit/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/shdocvw/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/sti/Makefile dlls/tapi32/Makefile dlls/ttydrv/Makefile dlls/twain/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/version/Makefile dlls/win32s/Makefile dlls/winaspi/Makefile dlls/winedos/Makefile dlls/wineps/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/mcianim/Makefile dlls/winmm/mciavi/Makefile dlls/winmm/mcicda/Makefile dlls/winmm/mciseq/Makefile dlls/winmm/mciwave/Makefile dlls/winmm/midimap/Makefile dlls/winmm/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/wintab32/Makefile dlls/wintrust/Makefile dlls/wow32/Makefile dlls/wsock32/Makefile dlls/x11drv/Makefile documentation/Makefile include/Makefile library/Makefile miscemu/Makefile ole/Makefile programs/Makefile programs/avitools/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/expand/Makefile programs/notepad/Makefile programs/osversioncheck/Makefile programs/progman/Makefile programs/regapi/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/regtest/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wcmd/Makefile programs/wineboot/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winhelp/Makefile programs/winver/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/wmc/Makefile tools/wpp/Makefile tools/wrc/Makefile unicode/Makefile"
15237 cat >confcache
<<\_ACEOF
15238 # This file is a shell script that caches the results of configure
15239 # tests run on this system so they can be shared between configure
15240 # scripts and configure runs, see configure's option --config-cache.
15241 # It is not useful on other systems. If it contains results you don't
15242 # want to keep, you may remove or edit it.
15244 # config.status only pays attention to the cache file if you give it
15245 # the --recheck option to rerun configure.
15247 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15248 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15249 # following values.
15253 # The following way of writing the cache mishandles newlines in values,
15254 # but we know of no workaround that is simple, portable, and efficient.
15255 # So, don't put newlines in cache variables' values.
15256 # Ultrix sh set writes to stderr and can't be redirected directly,
15257 # and sets the high bit in the cache file unless we assign to the vars.
15260 case `(ac_space=' '; set | grep ac_space) 2>&1` in
15262 # `set' does not quote correctly, so add quotes (double-quote
15263 # substitution turns \\\\ into \\, and sed turns \\ into \).
15266 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15269 # `set' quotes correctly as required by POSIX, so do not add quotes.
15271 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
15278 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15280 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15282 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
15283 if test -w $cache_file; then
15284 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
15285 cat confcache
>$cache_file
15287 echo "not updating unwritable cache $cache_file"
15292 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15293 # Let make expand exec_prefix.
15294 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15296 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15297 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15298 # trailing colons and then remove the whole line if VPATH becomes empty
15299 # (actually we leave an empty line to preserve line numbers).
15300 if test "x$srcdir" = x.
; then
15301 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
15302 s/:*\$(srcdir):*/:/;
15303 s/:*\${srcdir}:*/:/;
15305 s/^\([^=]*=[ ]*\):*/\1/;
15311 DEFS
=-DHAVE_CONFIG_H
15315 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15316 # 1. Remove the extension, and $U if already installed.
15317 ac_i
=`echo "$ac_i" |
15318 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
15320 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
15321 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
15323 LIBOBJS
=$ac_libobjs
15325 LTLIBOBJS
=$ac_ltlibobjs
15329 : ${CONFIG_STATUS=./config.status}
15330 ac_clean_files_save
=$ac_clean_files
15331 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15332 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
15333 echo "$as_me: creating $CONFIG_STATUS" >&6;}
15334 cat >$CONFIG_STATUS <<_ACEOF
15336 # Generated by $as_me.
15337 # Run this file to recreate the current configuration.
15338 # Compiler output produced by configure, useful for debugging
15339 # configure, is in config.log if it exists.
15342 ac_cs_recheck=false
15344 SHELL=\${CONFIG_SHELL-$SHELL}
15347 cat >>$CONFIG_STATUS <<\_ACEOF
15348 ## --------------------- ##
15349 ## M4sh Initialization. ##
15350 ## --------------------- ##
15352 # Be Bourne compatible
15353 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
15356 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
15357 # is contrary to our usage. Disable this feature.
15358 alias -g '${1+"$@"}'='"$@"'
15359 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
15363 # Support unset when possible.
15364 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
15371 # Work around bugs in pre-3.0 UWIN ksh.
15372 $as_unset ENV MAIL MAILPATH
15379 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
15380 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
15381 LC_TELEPHONE LC_TIME
15383 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
15384 eval $as_var=C
; export $as_var
15390 # Required to use basename.
15391 if expr a
: '\(a\)' >/dev
/null
2>&1; then
15397 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
15398 as_basename
=basename
15404 # Name of the executable.
15405 as_me
=`$as_basename "$0" ||
15406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15407 X"$0" : 'X\(//\)$' \| \
15408 X"$0" : 'X\(/\)$' \| \
15409 . : '\(.\)' 2>/dev/null ||
15411 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
15412 /^X\/\(\/\/\)$/{ s//\1/; q; }
15413 /^X\/\(\/\).*/{ s//\1/; q; }
15417 # PATH needs CR, and LINENO needs CR and PATH.
15418 # Avoid depending upon Character Ranges.
15419 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15420 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15421 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15422 as_cr_digits
='0123456789'
15423 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15425 # The user is always right.
15426 if test "${PATH_SEPARATOR+set}" != set; then
15427 echo "#! /bin/sh" >conf$$.sh
15428 echo "exit 0" >>conf$$.sh
15430 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
15439 as_lineno_1
=$LINENO
15440 as_lineno_2
=$LINENO
15441 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
15442 test "x$as_lineno_1" != "x$as_lineno_2" &&
15443 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
15444 # Find who we are. Look in the path if we contain no path at all
15447 *[\\/]* ) as_myself
=$0 ;;
15448 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15449 for as_dir
in $PATH
15452 test -z "$as_dir" && as_dir
=.
15453 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
15458 # We did not find ourselves, most probably we were run as `sh COMMAND'
15459 # in which case we are not to be found in the path.
15460 if test "x$as_myself" = x
; then
15463 if test ! -f "$as_myself"; then
15464 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
15465 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
15466 { (exit 1); exit 1; }; }
15468 case $CONFIG_SHELL in
15470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15471 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
15474 test -z "$as_dir" && as_dir
=.
15475 for as_base
in sh bash ksh sh5
; do
15478 if ("$as_dir/$as_base" -c '
15479 as_lineno_1=$LINENO
15480 as_lineno_2=$LINENO
15481 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
15482 test "x$as_lineno_1" != "x$as_lineno_2" &&
15483 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
15484 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
15485 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
15486 CONFIG_SHELL
=$as_dir/$as_base
15487 export CONFIG_SHELL
15488 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
15496 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15497 # uniformly replaced by the line number. The first 'sed' inserts a
15498 # line-number line before each line; the second 'sed' does the real
15499 # work. The second script uses 'N' to pair each line-number line
15500 # with the numbered line, and appends trailing '-' during
15501 # substitution so that $LINENO is not a special case at line end.
15502 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15503 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
15504 sed '=' <$as_myself |
15509 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
15512 s,^['$as_cr_digits']*\n,,
15513 ' >$as_me.lineno
&&
15514 chmod +x
$as_me.lineno ||
15515 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
15516 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
15517 { (exit 1); exit 1; }; }
15519 # Don't try to exec as it changes $[0], causing all sort of problems
15520 # (the dirname of $[0] is not the place where we might find the
15521 # original and so on. Autoconf is especially sensible to this).
15523 # Exit status is that of the last command.
15528 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
15529 *c
*,-n*) ECHO_N
= ECHO_C
='
15531 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
15532 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
15535 if expr a
: '\(a\)' >/dev
/null
2>&1; then
15541 rm -f conf$$ conf$$.exe conf$$.
file
15543 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15544 # We could just check for DJGPP; but this test a) works b) is more generic
15545 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
15546 if test -f conf$$.exe
; then
15547 # Don't use ln at all; we don't have any links
15552 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15557 rm -f conf$$ conf$$.exe conf$$.
file
15559 if mkdir
-p .
2>/dev
/null
; then
15565 as_executable_p
="test -f"
15567 # Sed expression to map a string onto a valid CPP name.
15568 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
15570 # Sed expression to map a string onto a valid variable name.
15571 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
15575 # We need space, tab and new line, in precisely that order.
15585 # Open the log real soon, to keep \$[0] and so on meaningful, and to
15586 # report actual input values of CONFIG_FILES etc. instead of their
15587 # values after options handling. Logging --version etc. is OK.
15591 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15592 ## Running $as_me. ##
15597 This file was extended by Wine $as_me 20021219, which was
15598 generated by GNU Autoconf 2.57. Invocation command line was
15600 CONFIG_FILES = $CONFIG_FILES
15601 CONFIG_HEADERS = $CONFIG_HEADERS
15602 CONFIG_LINKS = $CONFIG_LINKS
15603 CONFIG_COMMANDS = $CONFIG_COMMANDS
15607 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
15611 # Files that config.status was made for.
15612 if test -n "$ac_config_files"; then
15613 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
15616 if test -n "$ac_config_headers"; then
15617 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
15620 if test -n "$ac_config_links"; then
15621 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
15624 if test -n "$ac_config_commands"; then
15625 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
15628 cat >>$CONFIG_STATUS <<\_ACEOF
15631 \`$as_me' instantiates files from templates according to the
15632 current configuration.
15634 Usage: $0 [OPTIONS] [FILE]...
15636 -h, --help print this help, then exit
15637 -V, --version print version number, then exit
15638 -q, --quiet do not print progress messages
15639 -d, --debug don't remove temporary files
15640 --recheck update $as_me by reconfiguring in the same conditions
15641 --file=FILE[:TEMPLATE]
15642 instantiate the configuration file FILE
15643 --header=FILE[:TEMPLATE]
15644 instantiate the configuration header FILE
15646 Configuration files:
15649 Configuration headers:
15652 Configuration commands:
15655 Report bugs to <bug-autoconf@gnu.org>."
15658 cat >>$CONFIG_STATUS <<_ACEOF
15660 Wine config.status 20021219
15661 configured by $0, generated by GNU Autoconf 2.57,
15662 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
15664 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
15665 Free Software Foundation, Inc.
15666 This config.status script is free software; the Free Software Foundation
15667 gives unlimited permission to copy, distribute and modify it."
15672 cat >>$CONFIG_STATUS <<\_ACEOF
15673 # If no file are specified by the user, then we need to provide default
15674 # value. By we need to know if files were specified by the user.
15680 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
15681 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
15689 *) # This is not an option, so the user has probably given explicit
15692 ac_need_defaults
=false
;;
15696 # Handling of the options.
15698 cat >>$CONFIG_STATUS <<\_ACEOF
15699 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15701 --version |
--vers* |
-V )
15702 echo "$ac_cs_version"; exit 0 ;;
15704 # Conflict between --help and --header
15705 { { echo "$as_me:$LINENO: error: ambiguous option: $1
15706 Try \`$0 --help' for more information." >&5
15707 echo "$as_me: error: ambiguous option: $1
15708 Try \`$0 --help' for more information." >&2;}
15709 { (exit 1); exit 1; }; };;
15710 --help |
--hel |
-h )
15711 echo "$ac_cs_usage"; exit 0 ;;
15712 --debug |
--d* |
-d )
15714 --file |
--fil |
--fi |
--f )
15716 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
15717 ac_need_defaults
=false
;;
15718 --header |
--heade |
--head |
--hea )
15720 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
15721 ac_need_defaults
=false
;;
15722 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15723 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15726 # This is an error.
15727 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
15728 Try \`$0 --help' for more information." >&5
15729 echo "$as_me: error: unrecognized option: $1
15730 Try \`$0 --help' for more information." >&2;}
15731 { (exit 1); exit 1; }; } ;;
15733 *) ac_config_targets
="$ac_config_targets $1" ;;
15739 ac_configure_extra_args
=
15741 if $ac_cs_silent; then
15743 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15747 cat >>$CONFIG_STATUS <<_ACEOF
15748 if \$ac_cs_recheck; then
15749 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
15750 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15759 cat >>$CONFIG_STATUS <<\_ACEOF
15760 for ac_config_target
in $ac_config_targets
15762 case "$ac_config_target" in
15763 # Handling of arguments.
15764 "Make.rules" ) CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
15765 "dlls/Makedll.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
15766 "dlls/Maketest.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
15767 "programs/Makeprog.rules" ) CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
15768 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15769 "dlls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
15770 "dlls/advapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
15771 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
15772 "dlls/avicap32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
15773 "dlls/avifil32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
15774 "dlls/cabinet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
15775 "dlls/comcat/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
15776 "dlls/comctl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
15777 "dlls/commdlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/commdlg/Makefile" ;;
15778 "dlls/crtdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
15779 "dlls/crypt32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
15780 "dlls/ctl3d/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d/Makefile" ;;
15781 "dlls/d3d8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
15782 "dlls/d3dx8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
15783 "dlls/dciman32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
15784 "dlls/ddraw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
15785 "dlls/devenum/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
15786 "dlls/dinput/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
15787 "dlls/dinput8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
15788 "dlls/dplay/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
15789 "dlls/dplayx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
15790 "dlls/dsound/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
15791 "dlls/dsound/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
15792 "dlls/gdi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/Makefile" ;;
15793 "dlls/gdi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
15794 "dlls/glu32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
15795 "dlls/icmp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
15796 "dlls/imagehlp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
15797 "dlls/imm32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
15798 "dlls/kernel/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/Makefile" ;;
15799 "dlls/kernel/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
15800 "dlls/lzexpand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
15801 "dlls/mapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
15802 "dlls/mpr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
15803 "dlls/msacm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/Makefile" ;;
15804 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
15805 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
15806 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
15807 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
15808 "dlls/msdmo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
15809 "dlls/msimg32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
15810 "dlls/msisys/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msisys/Makefile" ;;
15811 "dlls/msnet32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
15812 "dlls/msvcrt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
15813 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
15814 "dlls/msvcrt20/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
15815 "dlls/msvideo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvideo/Makefile" ;;
15816 "dlls/msvideo/msrle32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvideo/msrle32/Makefile" ;;
15817 "dlls/netapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
15818 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
15819 "dlls/ntdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
15820 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
15821 "dlls/odbc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
15822 "dlls/ole32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
15823 "dlls/oleaut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
15824 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
15825 "dlls/olecli/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olecli/Makefile" ;;
15826 "dlls/oledlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
15827 "dlls/olepro32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
15828 "dlls/olesvr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olesvr/Makefile" ;;
15829 "dlls/opengl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
15830 "dlls/psapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
15831 "dlls/qcap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
15832 "dlls/quartz/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
15833 "dlls/rasapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
15834 "dlls/richedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/richedit/Makefile" ;;
15835 "dlls/rpcrt4/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
15836 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
15837 "dlls/serialui/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
15838 "dlls/setupapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
15839 "dlls/shdocvw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
15840 "dlls/shell32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
15841 "dlls/shell32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
15842 "dlls/shfolder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
15843 "dlls/shlwapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
15844 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
15845 "dlls/snmpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
15846 "dlls/sti/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
15847 "dlls/tapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
15848 "dlls/ttydrv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
15849 "dlls/twain/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/twain/Makefile" ;;
15850 "dlls/url/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
15851 "dlls/urlmon/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
15852 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
15853 "dlls/user/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/Makefile" ;;
15854 "dlls/user/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/tests/Makefile" ;;
15855 "dlls/version/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
15856 "dlls/win32s/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/win32s/Makefile" ;;
15857 "dlls/winaspi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winaspi/Makefile" ;;
15858 "dlls/winedos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
15859 "dlls/wineps/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wineps/Makefile" ;;
15860 "dlls/wininet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
15861 "dlls/wininet/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
15862 "dlls/winmm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
15863 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
15864 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
15865 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
15866 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
15867 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
15868 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
15869 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
15870 "dlls/winmm/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
15871 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
15872 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
15873 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
15874 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
15875 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
15876 "dlls/winmm/winejack/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
15877 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
15878 "dlls/winnls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winnls/Makefile" ;;
15879 "dlls/winsock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winsock/Makefile" ;;
15880 "dlls/winsock/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winsock/tests/Makefile" ;;
15881 "dlls/winspool/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/Makefile" ;;
15882 "dlls/wintab32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
15883 "dlls/wintrust/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
15884 "dlls/wow32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
15885 "dlls/wsock32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
15886 "dlls/x11drv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/x11drv/Makefile" ;;
15887 "documentation/Makefile" ) CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
15888 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
15889 "library/Makefile" ) CONFIG_FILES
="$CONFIG_FILES library/Makefile" ;;
15890 "miscemu/Makefile" ) CONFIG_FILES
="$CONFIG_FILES miscemu/Makefile" ;;
15891 "ole/Makefile" ) CONFIG_FILES
="$CONFIG_FILES ole/Makefile" ;;
15892 "programs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
15893 "programs/avitools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/avitools/Makefile" ;;
15894 "programs/clock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
15895 "programs/cmdlgtst/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
15896 "programs/control/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
15897 "programs/expand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
15898 "programs/notepad/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
15899 "programs/osversioncheck/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/osversioncheck/Makefile" ;;
15900 "programs/progman/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
15901 "programs/regapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regapi/Makefile" ;;
15902 "programs/regedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
15903 "programs/regsvr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
15904 "programs/regtest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regtest/Makefile" ;;
15905 "programs/rpcss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
15906 "programs/rundll32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
15907 "programs/uninstaller/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
15908 "programs/view/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
15909 "programs/wcmd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wcmd/Makefile" ;;
15910 "programs/wineboot/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
15911 "programs/wineconsole/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
15912 "programs/winedbg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
15913 "programs/winefile/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
15914 "programs/winemine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
15915 "programs/winepath/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
15916 "programs/winhelp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
15917 "programs/winver/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
15918 "server/Makefile" ) CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
15919 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
15920 "tools/widl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
15921 "tools/winapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winapi/Makefile" ;;
15922 "tools/winebuild/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
15923 "tools/winedump/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
15924 "tools/wmc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
15925 "tools/wpp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wpp/Makefile" ;;
15926 "tools/wrc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
15927 "unicode/Makefile" ) CONFIG_FILES
="$CONFIG_FILES unicode/Makefile" ;;
15928 "controls" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS controls" ;;
15929 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
15930 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
15931 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
15932 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
15933 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
15934 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
15935 "dlls/dinput/joystick" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/dinput/joystick" ;;
15936 "dlls/dinput/keyboard" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/dinput/keyboard" ;;
15937 "dlls/dinput/mouse" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/dinput/mouse" ;;
15938 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
15939 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
15940 "dlls/gdi/win16drv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/win16drv" ;;
15941 "dlls/kernel/messages" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel/messages" ;;
15942 "dlls/user/dde" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/dde" ;;
15943 "dlls/user/resources" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/resources" ;;
15944 "dlls/wineps/data" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps/data" ;;
15945 "files" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS files" ;;
15946 "graphics" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS graphics" ;;
15947 "graphics/x11drv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS graphics/x11drv" ;;
15948 "if1632" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS if1632" ;;
15949 "include/wine" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
15950 "loader" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS loader" ;;
15951 "loader/ne" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS loader/ne" ;;
15952 "memory" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS memory" ;;
15953 "misc" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS misc" ;;
15954 "msdos" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS msdos" ;;
15955 "objects" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS objects" ;;
15956 "programs/regapi/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS programs/regapi/tests" ;;
15957 "programs/regedit/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS programs/regedit/tests" ;;
15958 "relay32" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS relay32" ;;
15959 "scheduler" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS scheduler" ;;
15960 "win32" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS win32" ;;
15961 "windows" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS windows" ;;
15962 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
15963 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15964 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15965 { (exit 1); exit 1; }; };;
15969 # If the user did not use the arguments to specify the items to instantiate,
15970 # then the envvar interface is used. Set only those that are not.
15971 # We use the long form for the default assignment because of an extremely
15972 # bizarre bug on SunOS 4.1.3.
15973 if $ac_need_defaults; then
15974 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15975 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15976 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15979 # Have a temporary directory for convenience. Make it in the build tree
15980 # simply because there is no reason to put it here, and in addition,
15981 # creating and moving files from /tmp can sometimes cause problems.
15982 # Create a temporary directory, and hook for its removal unless debugging.
15985 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
15986 trap '{ (exit 1); exit 1; }' 1 2 13 15
15989 # Create a (secure) tmp directory for tmp files.
15992 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
15993 test -n "$tmp" && test -d "$tmp"
15996 tmp
=.
/confstat$$
-$RANDOM
15997 (umask 077 && mkdir
$tmp)
16000 echo "$me: cannot create a temporary directory in ." >&2
16001 { (exit 1); exit 1; }
16006 cat >>$CONFIG_STATUS <<_ACEOF
16009 # CONFIG_FILES section.
16012 # No need to generate the scripts if there are no CONFIG_FILES.
16013 # This happens for instance when ./config.status config.h
16014 if test -n "\$CONFIG_FILES"; then
16015 # Protect against being on the right side of a sed subst in config.status.
16016 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
16017 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
16018 s,@SHELL@,$SHELL,;t t
16019 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
16020 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
16021 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
16022 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
16023 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
16024 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
16025 s,@exec_prefix@,$exec_prefix,;t t
16026 s,@prefix@,$prefix,;t t
16027 s,@program_transform_name@,$program_transform_name,;t t
16028 s,@bindir@,$bindir,;t t
16029 s,@sbindir@,$sbindir,;t t
16030 s,@libexecdir@,$libexecdir,;t t
16031 s,@datadir@,$datadir,;t t
16032 s,@sysconfdir@,$sysconfdir,;t t
16033 s,@sharedstatedir@,$sharedstatedir,;t t
16034 s,@localstatedir@,$localstatedir,;t t
16035 s,@libdir@,$libdir,;t t
16036 s,@includedir@,$includedir,;t t
16037 s,@oldincludedir@,$oldincludedir,;t t
16038 s,@infodir@,$infodir,;t t
16039 s,@mandir@,$mandir,;t t
16040 s,@build_alias@,$build_alias,;t t
16041 s,@host_alias@,$host_alias,;t t
16042 s,@target_alias@,$target_alias,;t t
16043 s,@DEFS@,$DEFS,;t t
16044 s,@ECHO_C@,$ECHO_C,;t t
16045 s,@ECHO_N@,$ECHO_N,;t t
16046 s,@ECHO_T@,$ECHO_T,;t t
16047 s,@LIBS@,$LIBS,;t t
16048 s,@OPTIONS@,$OPTIONS,;t t
16049 s,@WIN16_FILES@,$WIN16_FILES,;t t
16050 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
16051 s,@build@,$build,;t t
16052 s,@build_cpu@,$build_cpu,;t t
16053 s,@build_vendor@,$build_vendor,;t t
16054 s,@build_os@,$build_os,;t t
16055 s,@host@,$host,;t t
16056 s,@host_cpu@,$host_cpu,;t t
16057 s,@host_vendor@,$host_vendor,;t t
16058 s,@host_os@,$host_os,;t t
16059 s,@SET_MAKE@,$SET_MAKE,;t t
16061 s,@CFLAGS@,$CFLAGS,;t t
16062 s,@LDFLAGS@,$LDFLAGS,;t t
16063 s,@CPPFLAGS@,$CPPFLAGS,;t t
16064 s,@ac_ct_CC@,$ac_ct_CC,;t t
16065 s,@EXEEXT@,$EXEEXT,;t t
16066 s,@OBJEXT@,$OBJEXT,;t t
16068 s,@TOOLSDIR@,$TOOLSDIR,;t t
16069 s,@X_CFLAGS@,$X_CFLAGS,;t t
16070 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
16071 s,@X_LIBS@,$X_LIBS,;t t
16072 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
16073 s,@YACC@,$YACC,;t t
16075 s,@LEXLIB@,$LEXLIB,;t t
16076 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
16077 s,@XYACC@,$XYACC,;t t
16078 s,@XLEX@,$XLEX,;t t
16080 s,@ac_ct_LD@,$ac_ct_LD,;t t
16082 s,@ac_ct_AR@,$ac_ct_AR,;t t
16083 s,@RANLIB@,$RANLIB,;t t
16084 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
16085 s,@STRIP@,$STRIP,;t t
16086 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
16087 s,@WINDRES@,$WINDRES,;t t
16088 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
16089 s,@LN_S@,$LN_S,;t t
16091 s,@C2MAN@,$C2MAN,;t t
16092 s,@LDCONFIG@,$LDCONFIG,;t t
16093 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
16094 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
16095 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
16096 s,@LINT@,$LINT,;t t
16097 s,@LINTFLAGS@,$LINTFLAGS,;t t
16098 s,@DB2HTML@,$DB2HTML,;t t
16099 s,@DB2PDF@,$DB2PDF,;t t
16100 s,@DB2PS@,$DB2PS,;t t
16101 s,@JPEGLIB@,$JPEGLIB,;t t
16102 s,@EGREP@,$EGREP,;t t
16103 s,@XLIB@,$XLIB,;t t
16104 s,@XFILES@,$XFILES,;t t
16105 s,@OPENGLFILES@,$OPENGLFILES,;t t
16106 s,@GLU32FILES@,$GLU32FILES,;t t
16107 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
16108 s,@NASLIBS@,$NASLIBS,;t t
16109 s,@CURSESLIBS@,$CURSESLIBS,;t t
16110 s,@sane_devel@,$sane_devel,;t t
16111 s,@SANELIBS@,$SANELIBS,;t t
16112 s,@SANEINCL@,$SANEINCL,;t t
16113 s,@ft_devel@,$ft_devel,;t t
16114 s,@ft_devel2@,$ft_devel2,;t t
16115 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
16116 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
16117 s,@ARTSLIBS@,$ARTSLIBS,;t t
16118 s,@ARTSINCL@,$ARTSINCL,;t t
16119 s,@ALSALIBS@,$ALSALIBS,;t t
16120 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
16121 s,@DLLEXT@,$DLLEXT,;t t
16122 s,@DLLFLAGS@,$DLLFLAGS,;t t
16123 s,@DLLIBS@,$DLLIBS,;t t
16124 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
16125 s,@LDSHARED@,$LDSHARED,;t t
16126 s,@LIBEXT@,$LIBEXT,;t t
16127 s,@IMPLIBEXT@,$IMPLIBEXT,;t t
16128 s,@DLLTOOL@,$DLLTOOL,;t t
16129 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
16130 s,@DLLWRAP@,$DLLWRAP,;t t
16131 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
16132 s,@CROSSTEST@,$CROSSTEST,;t t
16133 s,@CROSSCC@,$CROSSCC,;t t
16134 s,@LDPATH@,$LDPATH,;t t
16135 s,@CRTLIBS@,$CRTLIBS,;t t
16137 s,@ALLOCA@,$ALLOCA,;t t
16138 s,@LIBOBJS@,$LIBOBJS,;t t
16139 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
16140 /@MAKE_RULES@/r $MAKE_RULES
16141 s,@MAKE_RULES@,,;t t
16142 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
16143 s,@MAKE_DLL_RULES@,,;t t
16144 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
16145 s,@MAKE_TEST_RULES@,,;t t
16146 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
16147 s,@MAKE_PROG_RULES@,,;t t
16152 cat >>$CONFIG_STATUS <<\_ACEOF
16153 # Split the substitutions into bite-sized pieces for seds with
16154 # small command number limits, like on Digital OSF/1 and HP-UX.
16155 ac_max_sed_lines
=48
16156 ac_sed_frag
=1 # Number of current file.
16157 ac_beg
=1 # First line for current file.
16158 ac_end
=$ac_max_sed_lines # Line after last line for current file.
16161 while $ac_more_lines; do
16162 if test $ac_beg -gt 1; then
16163 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
16165 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
16167 if test ! -s $tmp/subs.frag
; then
16168 ac_more_lines
=false
16170 # The purpose of the label and of the branching condition is to
16171 # speed up the sed processing (if there are no `@' at all, there
16172 # is no need to browse any of the substitutions).
16173 # These are the two extra sed commands mentioned above.
16175 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
16176 if test -z "$ac_sed_cmds"; then
16177 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
16179 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
16181 ac_sed_frag
=`expr $ac_sed_frag + 1`
16183 ac_end
=`expr $ac_end + $ac_max_sed_lines`
16186 if test -z "$ac_sed_cmds"; then
16189 fi # test -n "$CONFIG_FILES"
16192 cat >>$CONFIG_STATUS <<\_ACEOF
16193 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
16194 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16196 - |
*:- |
*:-:* ) # input from stdin
16198 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16199 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
16200 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16201 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
16202 * ) ac_file_in
=$ac_file.
in ;;
16205 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
16206 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
16207 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16208 X"$ac_file" : 'X\(//\)[^/]' \| \
16209 X"$ac_file" : 'X\(//\)$' \| \
16210 X"$ac_file" : 'X\(/\)' \| \
16211 . : '\(.\)' 2>/dev/null ||
16213 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16214 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16215 /^X\(\/\/\)$/{ s//\1/; q; }
16216 /^X\(\/\).*/{ s//\1/; q; }
16218 { if $as_mkdir_p; then
16223 while test ! -d "$as_dir"; do
16224 as_dirs
="$as_dir $as_dirs"
16225 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
16226 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16227 X"$as_dir" : 'X\(//\)[^/]' \| \
16228 X"$as_dir" : 'X\(//\)$' \| \
16229 X"$as_dir" : 'X\(/\)' \| \
16230 . : '\(.\)' 2>/dev/null ||
16232 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16233 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16234 /^X\(\/\/\)$/{ s//\1/; q; }
16235 /^X\(\/\).*/{ s//\1/; q; }
16238 test ! -n "$as_dirs" || mkdir
$as_dirs
16239 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16240 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16241 { (exit 1); exit 1; }; }; }
16245 if test "$ac_dir" != .
; then
16246 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
16247 # A "../" for each directory in $ac_dir_suffix.
16248 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
16250 ac_dir_suffix
= ac_top_builddir
=
16254 .
) # No --srcdir option. We are building in place.
16256 if test -z "$ac_top_builddir"; then
16259 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
16261 [\\/]* | ?
:[\\/]* ) # Absolute path.
16262 ac_srcdir
=$srcdir$ac_dir_suffix;
16263 ac_top_srcdir
=$srcdir ;;
16264 *) # Relative path.
16265 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
16266 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
16268 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
16270 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
16271 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
16272 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
16273 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
16277 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16278 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
16281 if test x
"$ac_file" != x-
; then
16282 { echo "$as_me:$LINENO: creating $ac_file" >&5
16283 echo "$as_me: creating $ac_file" >&6;}
16286 # Let's still pretend it is `configure' which instantiates (i.e., don't
16287 # use $as_me), people would be surprised to read:
16288 # /* config.h. Generated by config.status. */
16289 if test x
"$ac_file" = x-
; then
16292 configure_input
="$ac_file. "
16294 configure_input
=$configure_input"Generated from `echo $ac_file_in |
16295 sed 's,.*/,,'` by configure."
16297 # First look for the input files in the build tree, otherwise in the
16299 ac_file_inputs
=`IFS=:
16300 for f in $ac_file_in; do
16302 -) echo $tmp/stdin ;;
16304 # Absolute (can't be DOS-style, as IFS=:)
16305 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16306 echo "$as_me: error: cannot find input file: $f" >&2;}
16307 { (exit 1); exit 1; }; }
16310 if test -f "$f"; then
16313 elif test -f "$srcdir/$f"; then
16318 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16319 echo "$as_me: error: cannot find input file: $f" >&2;}
16320 { (exit 1); exit 1; }; }
16323 done` ||
{ (exit 1); exit 1; }
16325 cat >>$CONFIG_STATUS <<_ACEOF
16329 cat >>$CONFIG_STATUS <<\_ACEOF
16331 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16332 s
,@configure_input@
,$configure_input,;t t
16333 s
,@srcdir@
,$ac_srcdir,;t t
16334 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
16335 s
,@top_srcdir@
,$ac_top_srcdir,;t t
16336 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
16337 s
,@builddir@
,$ac_builddir,;t t
16338 s
,@abs_builddir@
,$ac_abs_builddir,;t t
16339 s
,@top_builddir@
,$ac_top_builddir,;t t
16340 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
16341 s
,@INSTALL@
,$ac_INSTALL,;t t
16342 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
16344 if test x"$ac_file" != x-; then
16345 mv $tmp/out $ac_file
16353 cat >>$CONFIG_STATUS <<\_ACEOF
16356 # CONFIG_HEADER section.
16359 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
16360 # NAME is the cpp macro being defined and VALUE is the value it is being given.
16362 # ac_d sets the value in "#define NAME VALUE" lines.
16363 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
16364 ac_dB
='[ ].*$,\1#\2'
16367 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
16368 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16369 ac_uB
='$,\1#\2define\3'
16373 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
16374 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16376 - |
*:- |
*:-:* ) # input from stdin
16378 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16379 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
16380 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16381 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
16382 * ) ac_file_in
=$ac_file.
in ;;
16385 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
16386 echo "$as_me: creating $ac_file" >&6;}
16388 # First look for the input files in the build tree, otherwise in the
16390 ac_file_inputs
=`IFS=:
16391 for f in $ac_file_in; do
16393 -) echo $tmp/stdin ;;
16395 # Absolute (can't be DOS-style, as IFS=:)
16396 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16397 echo "$as_me: error: cannot find input file: $f" >&2;}
16398 { (exit 1); exit 1; }; }
16401 if test -f "$f"; then
16404 elif test -f "$srcdir/$f"; then
16409 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16410 echo "$as_me: error: cannot find input file: $f" >&2;}
16411 { (exit 1); exit 1; }; }
16414 done` ||
{ (exit 1); exit 1; }
16415 # Remove the trailing spaces.
16416 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
16420 # Transform confdefs.h into two sed scripts, `conftest.defines' and
16421 # `conftest.undefs', that substitutes the proper values into
16422 # config.h.in to produce config.h. The first handles `#define'
16423 # templates, and the second `#undef' templates.
16424 # And first: Protect against being on the right side of a sed subst in
16425 # config.status. Protect against being in an unquoted here document
16426 # in config.status.
16427 rm -f conftest.defines conftest.undefs
16428 # Using a here document instead of a string reduces the quoting nightmare.
16429 # Putting comments in sed scripts is not portable.
16431 # `end' is used to avoid that the second main sed command (meant for
16432 # 0-ary CPP macros) applies to n-ary macro definitions.
16433 # See the Autoconf documentation for `clear'.
16434 cat >confdef2sed.
sed <<\_ACEOF
16439 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
16441 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
16444 # If some macros were called several times there might be several times
16445 # the same #defines, which is useless. Nevertheless, we may not want to
16446 # sort them, since we want the *last* AC-DEFINE to be honored.
16447 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
16448 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
16449 rm -f confdef2sed.sed
16451 # This sed command replaces #undef with comments. This is necessary, for
16452 # example, in the case of _POSIX_SOURCE, which is predefined and required
16453 # on some systems where configure will not decide to define it.
16454 cat >>conftest.undefs <<\_ACEOF
16455 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
16458 # Break up conftest.defines because some shells have a limit on the size
16459 # of here documents, and old seds have small limits too (100 cmds).
16460 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
16461 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
16462 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
16463 echo ' :' >>$CONFIG_STATUS
16464 rm -f conftest.tail
16465 while grep . conftest.defines >/dev/null
16467 # Write a limited-size here document to $tmp/defines.sed.
16468 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
16469 # Speed up: don't consider the non `#define' lines.
16470 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
16471 # Work around the forget-to-reset-the-flag bug.
16472 echo 't clr' >>$CONFIG_STATUS
16473 echo ': clr' >>$CONFIG_STATUS
16474 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
16476 sed -f $tmp/defines.sed $tmp/in >$tmp/out
16478 mv $tmp/out $tmp/in
16480 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
16481 rm -f conftest.defines
16482 mv conftest.
tail conftest.defines
16484 rm -f conftest.defines
16485 echo ' fi # grep' >>$CONFIG_STATUS
16486 echo >>$CONFIG_STATUS
16488 # Break up conftest.undefs because some shells have a limit on the size
16489 # of here documents, and old seds have small limits too (100 cmds).
16490 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
16491 rm -f conftest.
tail
16492 while grep . conftest.undefs
>/dev
/null
16494 # Write a limited-size here document to $tmp/undefs.sed.
16495 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
16496 # Speed up: don't consider the non
`#undef'
16497 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
16498 # Work around the forget-to-reset-the-flag bug.
16499 echo 't clr' >>$CONFIG_STATUS
16500 echo ': clr' >>$CONFIG_STATUS
16501 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
16503 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
16505 mv $tmp/out $tmp/in
16507 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
16508 rm -f conftest.undefs
16509 mv conftest.tail conftest.undefs
16511 rm -f conftest.undefs
16513 cat >>$CONFIG_STATUS <<\_ACEOF
16514 # Let's still pretend it is `configure
' which instantiates (i.e., don't
16515 # use $as_me), people would be surprised to read:
16516 # /* config.h. Generated by config.status. */
16517 if test x
"$ac_file" = x-
; then
16518 echo "/* Generated by configure. */" >$tmp/config.h
16520 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
16522 cat $tmp/in >>$tmp/config.h
16524 if test x
"$ac_file" != x-
; then
16525 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
16526 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
16527 echo "$as_me: $ac_file is unchanged" >&6;}
16529 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
16530 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16531 X"$ac_file" : 'X\(//\)[^/]' \| \
16532 X"$ac_file" : 'X\(//\)$' \| \
16533 X"$ac_file" : 'X\(/\)' \| \
16534 . : '\(.\)' 2>/dev/null ||
16536 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16537 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16538 /^X\(\/\/\)$/{ s//\1/; q; }
16539 /^X\(\/\).*/{ s//\1/; q; }
16541 { if $as_mkdir_p; then
16546 while test ! -d "$as_dir"; do
16547 as_dirs
="$as_dir $as_dirs"
16548 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
16549 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16550 X"$as_dir" : 'X\(//\)[^/]' \| \
16551 X"$as_dir" : 'X\(//\)$' \| \
16552 X"$as_dir" : 'X\(/\)' \| \
16553 . : '\(.\)' 2>/dev/null ||
16555 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16556 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16557 /^X\(\/\/\)$/{ s//\1/; q; }
16558 /^X\(\/\).*/{ s//\1/; q; }
16561 test ! -n "$as_dirs" || mkdir
$as_dirs
16562 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16563 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16564 { (exit 1); exit 1; }; }; }
16567 mv $tmp/config.h
$ac_file
16571 rm -f $tmp/config.h
16575 cat >>$CONFIG_STATUS <<\_ACEOF
16578 # CONFIG_COMMANDS section.
16580 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
16581 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
16582 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16583 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
16584 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16585 X"$ac_dest" : 'X\(//\)[^/]' \| \
16586 X"$ac_dest" : 'X\(//\)$' \| \
16587 X"$ac_dest" : 'X\(/\)' \| \
16588 . : '\(.\)' 2>/dev/null ||
16590 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16591 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16592 /^X\(\/\/\)$/{ s//\1/; q; }
16593 /^X\(\/\).*/{ s//\1/; q; }
16597 if test "$ac_dir" != .
; then
16598 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
16599 # A "../" for each directory in $ac_dir_suffix.
16600 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
16602 ac_dir_suffix
= ac_top_builddir
=
16606 .
) # No --srcdir option. We are building in place.
16608 if test -z "$ac_top_builddir"; then
16611 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
16613 [\\/]* | ?
:[\\/]* ) # Absolute path.
16614 ac_srcdir
=$srcdir$ac_dir_suffix;
16615 ac_top_srcdir
=$srcdir ;;
16616 *) # Relative path.
16617 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
16618 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
16620 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
16622 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
16623 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
16624 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
16625 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
16628 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
16629 echo "$as_me: executing $ac_dest commands" >&6;}
16631 controls
) test -d "controls" ||
({ echo "$as_me:$LINENO: creating controls" >&5
16632 echo "$as_me: creating controls" >&6;} && mkdir
"controls") ;;
16633 dlls
/ddraw
/d3ddevice
) test -d "dlls/ddraw/d3ddevice" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/d3ddevice" >&5
16634 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir
"dlls/ddraw/d3ddevice") ;;
16635 dlls
/ddraw
/dclipper
) test -d "dlls/ddraw/dclipper" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dclipper" >&5
16636 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir
"dlls/ddraw/dclipper") ;;
16637 dlls
/ddraw
/ddraw
) test -d "dlls/ddraw/ddraw" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/ddraw" >&5
16638 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir
"dlls/ddraw/ddraw") ;;
16639 dlls
/ddraw
/direct3d
) test -d "dlls/ddraw/direct3d" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/direct3d" >&5
16640 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir
"dlls/ddraw/direct3d") ;;
16641 dlls
/ddraw
/dpalette
) test -d "dlls/ddraw/dpalette" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dpalette" >&5
16642 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir
"dlls/ddraw/dpalette") ;;
16643 dlls
/ddraw
/dsurface
) test -d "dlls/ddraw/dsurface" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dsurface" >&5
16644 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir
"dlls/ddraw/dsurface") ;;
16645 dlls
/dinput
/joystick
) test -d "dlls/dinput/joystick" ||
({ echo "$as_me:$LINENO: creating dlls/dinput/joystick" >&5
16646 echo "$as_me: creating dlls/dinput/joystick" >&6;} && mkdir
"dlls/dinput/joystick") ;;
16647 dlls
/dinput
/keyboard
) test -d "dlls/dinput/keyboard" ||
({ echo "$as_me:$LINENO: creating dlls/dinput/keyboard" >&5
16648 echo "$as_me: creating dlls/dinput/keyboard" >&6;} && mkdir
"dlls/dinput/keyboard") ;;
16649 dlls
/dinput
/mouse
) test -d "dlls/dinput/mouse" ||
({ echo "$as_me:$LINENO: creating dlls/dinput/mouse" >&5
16650 echo "$as_me: creating dlls/dinput/mouse" >&6;} && mkdir
"dlls/dinput/mouse") ;;
16651 dlls
/gdi
/enhmfdrv
) test -d "dlls/gdi/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
16652 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir
"dlls/gdi/enhmfdrv") ;;
16653 dlls
/gdi
/mfdrv
) test -d "dlls/gdi/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
16654 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir
"dlls/gdi/mfdrv") ;;
16655 dlls
/gdi
/win16drv
) test -d "dlls/gdi/win16drv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/win16drv" >&5
16656 echo "$as_me: creating dlls/gdi/win16drv" >&6;} && mkdir
"dlls/gdi/win16drv") ;;
16657 dlls
/kernel
/messages
) test -d "dlls/kernel/messages" ||
({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
16658 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir
"dlls/kernel/messages") ;;
16659 dlls
/user
/dde
) test -d "dlls/user/dde" ||
({ echo "$as_me:$LINENO: creating dlls/user/dde" >&5
16660 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir
"dlls/user/dde") ;;
16661 dlls
/user
/resources
) test -d "dlls/user/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
16662 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir
"dlls/user/resources") ;;
16663 dlls
/wineps
/data
) test -d "dlls/wineps/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
16664 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir
"dlls/wineps/data") ;;
16665 files
) test -d "files" ||
({ echo "$as_me:$LINENO: creating files" >&5
16666 echo "$as_me: creating files" >&6;} && mkdir
"files") ;;
16667 graphics
) test -d "graphics" ||
({ echo "$as_me:$LINENO: creating graphics" >&5
16668 echo "$as_me: creating graphics" >&6;} && mkdir
"graphics") ;;
16669 graphics
/x11drv
) test -d "graphics/x11drv" ||
({ echo "$as_me:$LINENO: creating graphics/x11drv" >&5
16670 echo "$as_me: creating graphics/x11drv" >&6;} && mkdir
"graphics/x11drv") ;;
16671 if1632
) test -d "if1632" ||
({ echo "$as_me:$LINENO: creating if1632" >&5
16672 echo "$as_me: creating if1632" >&6;} && mkdir
"if1632") ;;
16673 include
/wine
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
16674 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
16675 loader
) test -d "loader" ||
({ echo "$as_me:$LINENO: creating loader" >&5
16676 echo "$as_me: creating loader" >&6;} && mkdir
"loader") ;;
16677 loader
/ne
) test -d "loader/ne" ||
({ echo "$as_me:$LINENO: creating loader/ne" >&5
16678 echo "$as_me: creating loader/ne" >&6;} && mkdir
"loader/ne") ;;
16679 memory
) test -d "memory" ||
({ echo "$as_me:$LINENO: creating memory" >&5
16680 echo "$as_me: creating memory" >&6;} && mkdir
"memory") ;;
16681 misc
) test -d "misc" ||
({ echo "$as_me:$LINENO: creating misc" >&5
16682 echo "$as_me: creating misc" >&6;} && mkdir
"misc") ;;
16683 msdos
) test -d "msdos" ||
({ echo "$as_me:$LINENO: creating msdos" >&5
16684 echo "$as_me: creating msdos" >&6;} && mkdir
"msdos") ;;
16685 objects
) test -d "objects" ||
({ echo "$as_me:$LINENO: creating objects" >&5
16686 echo "$as_me: creating objects" >&6;} && mkdir
"objects") ;;
16687 programs
/regapi
/tests
) test -d "programs/regapi/tests" ||
({ echo "$as_me:$LINENO: creating programs/regapi/tests" >&5
16688 echo "$as_me: creating programs/regapi/tests" >&6;} && mkdir
"programs/regapi/tests") ;;
16689 programs
/regedit
/tests
) test -d "programs/regedit/tests" ||
({ echo "$as_me:$LINENO: creating programs/regedit/tests" >&5
16690 echo "$as_me: creating programs/regedit/tests" >&6;} && mkdir
"programs/regedit/tests") ;;
16691 relay32
) test -d "relay32" ||
({ echo "$as_me:$LINENO: creating relay32" >&5
16692 echo "$as_me: creating relay32" >&6;} && mkdir
"relay32") ;;
16693 scheduler
) test -d "scheduler" ||
({ echo "$as_me:$LINENO: creating scheduler" >&5
16694 echo "$as_me: creating scheduler" >&6;} && mkdir
"scheduler") ;;
16695 win32
) test -d "win32" ||
({ echo "$as_me:$LINENO: creating win32" >&5
16696 echo "$as_me: creating win32" >&6;} && mkdir
"win32") ;;
16697 windows
) test -d "windows" ||
({ echo "$as_me:$LINENO: creating windows" >&5
16698 echo "$as_me: creating windows" >&6;} && mkdir
"windows") ;;
16703 cat >>$CONFIG_STATUS <<\_ACEOF
16705 { (exit 0); exit 0; }
16707 chmod +x
$CONFIG_STATUS
16708 ac_clean_files
=$ac_clean_files_save
16711 # configure is writing to config.log, and then calls config.status.
16712 # config.status does its own redirection, appending to config.log.
16713 # Unfortunately, on DOS this fails, as config.log is still kept open
16714 # by configure, so config.status won't be able to write to it; its
16715 # output is simply discarded. So we exec the FD to /dev/null,
16716 # effectively closing config.log, so it can be properly (re)opened and
16717 # appended to by config.status. When coming back to configure, we
16718 # need to make the FD available again.
16719 if test "$no_create" != yes; then
16721 ac_config_status_args
=
16722 test "$silent" = yes &&
16723 ac_config_status_args
="$ac_config_status_args --quiet"
16725 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16727 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16728 # would make configure fail if this is the last instruction.
16729 $ac_cs_success ||
{ (exit 1); exit 1; }
16733 if test "$have_x" = "no"
16736 echo "*** Warning: X development files not found. Wine will be built without"
16737 echo "*** X support, which currently does not work, and would probably not be"
16738 echo "*** what you want anyway. You will need to install devel packages of"
16739 echo "*** Xlib/Xfree86 at the very least."
16742 if test "$ac_cv_lib_ncurses_resizeterm" = "no" -a "$ac_cv_lib_ncurses_waddch" = "yes"
16745 echo "*** Warning: resizeterm not found in ncurses. Wine will be built without"
16746 echo "*** terminal resize support. Consider upgrading ncurses."
16749 if test "$wine_cv_libc_reentrant" = "no"
16752 echo "*** Warning: non-reentrant libc detected. Wine will be built without"
16753 echo "*** threading support. Consider upgrading libc to a more recent"
16754 echo "*** reentrant version of libc."
16757 if test "$have_x" = "yes" -a "$wine_cv_x_reentrant" != "yes"
16760 echo "*** Warning: non-reentrant X11 library detected. Multi-threaded"
16761 echo "*** applications won't work properly. You should upgrade your X11 library."
16764 if test "$wine_cv_opengl_version_OK" = "no"
16767 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
16768 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
16771 if test "$wine_cv_msg_freetype" = "yes"
16774 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
16775 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
16776 echo "*** freetype-devel package (or its equivalent on your distribution) to"
16777 echo "*** enable Wine to use TrueType fonts."
16781 echo "Configure finished. Do 'make depend && make' to compile Wine."