oleaut32/tests: Remove redundant NULL check before SysFreeString (Smatch).
[wine] / configure
CommitLineData
e2991ea7 1#! /bin/sh
e2991ea7 2# Guess values for system-dependent variables and create Makefiles.
d381c7cb 3# Generated by GNU Autoconf 2.61 for Wine 1.1.5.
e2991ea7 4#
875927f6
AJ
5# Report bugs to <wine-devel@winehq.org>.
6#
fc6ffb29
AJ
7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
e2991ea7
AJ
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
daa2886c
AJ
11## --------------------- ##
12## M4sh Initialization. ##
13## --------------------- ##
f5818d2f 14
dc9f3843
AJ
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
f5818d2f
AJ
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
11af04e3
AJ
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
fc6ffb29
AJ
23 setopt NO_GLOB_SUBST
24else
dc9f3843
AJ
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27esac
28
f5818d2f 29fi
dc9f3843
AJ
30
31
f5818d2f 32
fc6ffb29
AJ
33
34# PATH needs CR
35# Avoid depending upon Character Ranges.
36as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39as_cr_digits='0123456789'
40as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42# The user is always right.
43if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
46 chmod +x conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48 PATH_SEPARATOR=';'
49 else
50 PATH_SEPARATOR=:
51 fi
52 rm -f conf$$.sh
53fi
54
daa2886c 55# Support unset when possible.
875927f6 56if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
daa2886c
AJ
57 as_unset=unset
58else
59 as_unset=false
60fi
61
11af04e3 62
fc6ffb29
AJ
63# IFS
64# We need space, tab and new line, in precisely that order. Quoting is
65# there to prevent editors from complaining about space-tab.
66# (If _AS_PATH_WALK were called with IFS unset, it would disable word
67# splitting by setting IFS to empty value.)
68as_nl='
69'
70IFS=" "" $as_nl"
71
72# Find who we are. Look in the path if we contain no directory separator.
73case $0 in
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76for as_dir in $PATH
77do
78 IFS=$as_save_IFS
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81done
82IFS=$as_save_IFS
83
84 ;;
85esac
86# We did not find ourselves, most probably we were run as `sh COMMAND'
87# in which case we are not to be found in the path.
88if test "x$as_myself" = x; then
89 as_myself=$0
90fi
91if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 { (exit 1); exit 1; }
94fi
95
11af04e3 96# Work around bugs in pre-3.0 UWIN ksh.
fc6ffb29
AJ
97for as_var in ENV MAIL MAILPATH
98do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99done
11af04e3
AJ
100PS1='$ '
101PS2='> '
102PS4='+ '
103
104# NLS nuisances.
e24bcc77
AJ
105for as_var in \
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 LC_TELEPHONE LC_TIME
11af04e3 109do
875927f6 110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11af04e3
AJ
111 eval $as_var=C; export $as_var
112 else
fc6ffb29 113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
11af04e3
AJ
114 fi
115done
116
117# Required to use basename.
fc6ffb29
AJ
118if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
11af04e3
AJ
120 as_expr=expr
121else
122 as_expr=false
123fi
124
fc6ffb29 125if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11af04e3
AJ
126 as_basename=basename
127else
128 as_basename=false
129fi
daa2886c
AJ
130
131
f5818d2f 132# Name of the executable.
fc6ffb29 133as_me=`$as_basename -- "$0" ||
daa2886c
AJ
134$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
fc6ffb29 136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
daa2886c 137echo X/"$0" |
fc6ffb29
AJ
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
139 s//\1/
140 q
141 }
142 /^X\/\(\/\/\)$/{
143 s//\1/
144 q
145 }
146 /^X\/\(\/\).*/{
147 s//\1/
148 q
149 }
150 s/.*/./; q'`
daa2886c 151
fc6ffb29
AJ
152# CDPATH.
153$as_unset CDPATH
11af04e3 154
daa2886c 155
fc6ffb29
AJ
156if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
158 as_have_required=yes
159else
160 as_have_required=no
daa2886c
AJ
161fi
162
fc6ffb29
AJ
163 if test $as_have_required = yes && (eval ":
164(as_func_return () {
165 (exit \$1)
166}
167as_func_success () {
168 as_func_return 0
169}
170as_func_failure () {
171 as_func_return 1
172}
173as_func_ret_success () {
174 return 0
175}
176as_func_ret_failure () {
177 return 1
178}
daa2886c 179
fc6ffb29
AJ
180exitcode=0
181if as_func_success; then
182 :
183else
184 exitcode=1
185 echo as_func_success failed.
186fi
daa2886c 187
fc6ffb29
AJ
188if as_func_failure; then
189 exitcode=1
190 echo as_func_failure succeeded.
191fi
192
193if as_func_ret_success; then
194 :
195else
196 exitcode=1
197 echo as_func_ret_success failed.
198fi
199
200if as_func_ret_failure; then
201 exitcode=1
202 echo as_func_ret_failure succeeded.
203fi
204
205if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206 :
207else
208 exitcode=1
209 echo positional parameters were not saved.
210fi
211
212test \$exitcode = 0) || { (exit 1); exit 1; }
213
214(
215 as_lineno_1=\$LINENO
216 as_lineno_2=\$LINENO
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219") 2> /dev/null; then
220 :
221else
222 as_candidate_shells=
daa2886c 223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
dc9f3843 224for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
daa2886c
AJ
225do
226 IFS=$as_save_IFS
227 test -z "$as_dir" && as_dir=.
fc6ffb29 228 case $as_dir in
daa2886c 229 /*)
fc6ffb29
AJ
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 done;;
233 esac
234done
235IFS=$as_save_IFS
236
237
238 for as_shell in $as_candidate_shells $SHELL; do
0ebeb530
JW
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
fc6ffb29
AJ
242if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 emulate sh
244 NULLCMD=:
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
248 setopt NO_GLOB_SUBST
249else
dc9f3843
AJ
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
252esac
253
fc6ffb29 254fi
dc9f3843 255
fc6ffb29
AJ
256
257:
258_ASEOF
259}; then
260 CONFIG_SHELL=$as_shell
261 as_have_required=yes
0ebeb530 262 if { "$as_shell" 2> /dev/null <<\_ASEOF
fc6ffb29
AJ
263if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 emulate sh
265 NULLCMD=:
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
269 setopt NO_GLOB_SUBST
270else
dc9f3843
AJ
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
273esac
274
fc6ffb29 275fi
dc9f3843 276
fc6ffb29
AJ
277
278:
279(as_func_return () {
280 (exit $1)
281}
282as_func_success () {
283 as_func_return 0
284}
285as_func_failure () {
286 as_func_return 1
287}
288as_func_ret_success () {
289 return 0
290}
291as_func_ret_failure () {
292 return 1
293}
294
295exitcode=0
296if as_func_success; then
297 :
298else
299 exitcode=1
300 echo as_func_success failed.
301fi
302
303if as_func_failure; then
304 exitcode=1
305 echo as_func_failure succeeded.
306fi
307
308if as_func_ret_success; then
309 :
310else
311 exitcode=1
312 echo as_func_ret_success failed.
313fi
314
315if as_func_ret_failure; then
316 exitcode=1
317 echo as_func_ret_failure succeeded.
318fi
319
320if ( set x; as_func_ret_success y && test x = "$1" ); then
321 :
322else
323 exitcode=1
324 echo positional parameters were not saved.
325fi
326
327test $exitcode = 0) || { (exit 1); exit 1; }
328
329(
daa2886c
AJ
330 as_lineno_1=$LINENO
331 as_lineno_2=$LINENO
daa2886c 332 test "x$as_lineno_1" != "x$as_lineno_2" &&
fc6ffb29
AJ
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
334
335_ASEOF
336}; then
337 break
338fi
339
340fi
341
342 done
343
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 done
348 export CONFIG_SHELL
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350fi
351
352
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
359fi
360
361
362fi
363
364fi
365
366
367
368(eval "as_func_return () {
369 (exit \$1)
370}
371as_func_success () {
372 as_func_return 0
373}
374as_func_failure () {
375 as_func_return 1
376}
377as_func_ret_success () {
378 return 0
379}
380as_func_ret_failure () {
381 return 1
382}
383
384exitcode=0
385if as_func_success; then
386 :
387else
388 exitcode=1
389 echo as_func_success failed.
390fi
391
392if as_func_failure; then
393 exitcode=1
394 echo as_func_failure succeeded.
395fi
396
397if as_func_ret_success; then
398 :
399else
400 exitcode=1
401 echo as_func_ret_success failed.
402fi
403
404if as_func_ret_failure; then
405 exitcode=1
406 echo as_func_ret_failure succeeded.
407fi
408
409if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410 :
411else
412 exitcode=1
413 echo positional parameters were not saved.
414fi
415
416test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
420 echo message
421}
422
423
424
425 as_lineno_1=$LINENO
426 as_lineno_2=$LINENO
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
daa2886c
AJ
429
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
fc6ffb29
AJ
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
436 # case at line end.
daa2886c 437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
fc6ffb29
AJ
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
440 sed -n '
441 p
442 /[$]LINENO/=
443 ' <$as_myself |
daa2886c 444 sed '
fc6ffb29
AJ
445 s/[$]LINENO.*/&-/
446 t lineno
447 b
448 :lineno
daa2886c 449 N
fc6ffb29
AJ
450 :loop
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
daa2886c 452 t loop
fc6ffb29 453 s/-\n.*//
daa2886c 454 ' >$as_me.lineno &&
fc6ffb29 455 chmod +x "$as_me.lineno" ||
daa2886c
AJ
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
458
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
fc6ffb29
AJ
461 # original and so on. Autoconf is especially sensitive to this).
462 . "./$as_me.lineno"
daa2886c
AJ
463 # Exit status is that of the last command.
464 exit
465}
466
467
0ebeb530 468if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
fc6ffb29
AJ
469 as_dirname=dirname
470else
471 as_dirname=false
472fi
473
474ECHO_C= ECHO_N= ECHO_T=
475case `echo -n x` in
476-n*)
477 case `echo 'x\c'` in
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 *) ECHO_C='\c';;
480 esac;;
481*)
482 ECHO_N='-n';;
daa2886c 483esac
f5818d2f 484
fc6ffb29
AJ
485if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
f5818d2f
AJ
487 as_expr=expr
488else
489 as_expr=false
490fi
491
492rm -f conf$$ conf$$.exe conf$$.file
fc6ffb29
AJ
493if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
495else
496 rm -f conf$$.dir
497 mkdir conf$$.dir
498fi
f5818d2f
AJ
499echo >conf$$.file
500if ln -s conf$$.file conf$$ 2>/dev/null; then
fc6ffb29
AJ
501 as_ln_s='ln -s'
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
f5818d2f 507 as_ln_s='cp -p'
f5818d2f
AJ
508elif ln conf$$.file conf$$ 2>/dev/null; then
509 as_ln_s=ln
510else
511 as_ln_s='cp -p'
512fi
fc6ffb29
AJ
513rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514rmdir conf$$.dir 2>/dev/null
f5818d2f 515
11af04e3
AJ
516if mkdir -p . 2>/dev/null; then
517 as_mkdir_p=:
518else
875927f6 519 test -d ./-p && rmdir ./-p
11af04e3
AJ
520 as_mkdir_p=false
521fi
522
dc9f3843
AJ
523if test -x / >/dev/null 2>&1; then
524 as_test_x='test -x'
fc6ffb29 525else
dc9f3843
AJ
526 if ls -dL / >/dev/null 2>&1; then
527 as_ls_L_option=L
528 else
529 as_ls_L_option=
530 fi
531 as_test_x='
532 eval sh -c '\''
533 if test -d "$1"; then
534 test -d "$1/.";
535 else
536 case $1 in
537 -*)set "./$1";;
538 esac;
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
541 '\'' sh
542 '
fc6ffb29 543fi
dc9f3843 544as_executable_p=$as_test_x
f5818d2f 545
daa2886c 546# Sed expression to map a string onto a valid CPP name.
875927f6 547as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
daa2886c
AJ
548
549# Sed expression to map a string onto a valid variable name.
875927f6 550as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
f5818d2f 551
f5818d2f 552
daa2886c 553
fc6ffb29 554exec 7<&0 </dev/null 6>&1
f5818d2f
AJ
555
556# Name of the host.
557# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558# so uname gets run too.
559ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560
f5818d2f
AJ
561#
562# Initializations.
563#
e2991ea7 564ac_default_prefix=/usr/local
fc6ffb29 565ac_clean_files=
11af04e3 566ac_config_libobj_dir=.
fc6ffb29 567LIBOBJS=
f5818d2f
AJ
568cross_compiling=no
569subdirs=
daa2886c
AJ
570MFLAGS=
571MAKEFLAGS=
f5818d2f
AJ
572SHELL=${CONFIG_SHELL-/bin/sh}
573
daa2886c
AJ
574# Identity of this package.
575PACKAGE_NAME='Wine'
576PACKAGE_TARNAME='wine'
d381c7cb
AJ
577PACKAGE_VERSION='1.1.5'
578PACKAGE_STRING='Wine 1.1.5'
875927f6 579PACKAGE_BUGREPORT='wine-devel@winehq.org'
daa2886c 580
f5818d2f
AJ
581ac_unique_file="server/atom.c"
582# Factoring default headers for most tests.
583ac_includes_default="\
584#include <stdio.h>
f0ca586f 585#ifdef HAVE_SYS_TYPES_H
f5818d2f
AJ
586# include <sys/types.h>
587#endif
f0ca586f 588#ifdef HAVE_SYS_STAT_H
f5818d2f
AJ
589# include <sys/stat.h>
590#endif
f0ca586f 591#ifdef STDC_HEADERS
f5818d2f
AJ
592# include <stdlib.h>
593# include <stddef.h>
594#else
f0ca586f 595# ifdef HAVE_STDLIB_H
f5818d2f
AJ
596# include <stdlib.h>
597# endif
598#endif
f0ca586f
PK
599#ifdef HAVE_STRING_H
600# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
f5818d2f
AJ
601# include <memory.h>
602# endif
603# include <string.h>
604#endif
f0ca586f 605#ifdef HAVE_STRINGS_H
f5818d2f
AJ
606# include <strings.h>
607#endif
f0ca586f 608#ifdef HAVE_INTTYPES_H
f5818d2f 609# include <inttypes.h>
fc6ffb29 610#endif
f0ca586f 611#ifdef HAVE_STDINT_H
fc6ffb29 612# include <stdint.h>
f5818d2f 613#endif
f0ca586f 614#ifdef HAVE_UNISTD_H
f5818d2f
AJ
615# include <unistd.h>
616#endif"
e2991ea7 617
fc6ffb29
AJ
618ac_subst_vars='SHELL
619PATH_SEPARATOR
620PACKAGE_NAME
621PACKAGE_TARNAME
622PACKAGE_VERSION
623PACKAGE_STRING
624PACKAGE_BUGREPORT
625exec_prefix
626prefix
627program_transform_name
628bindir
629sbindir
630libexecdir
631datarootdir
632datadir
633sysconfdir
634sharedstatedir
635localstatedir
636includedir
637oldincludedir
638docdir
639infodir
640htmldir
641dvidir
642pdfdir
643psdir
644libdir
645localedir
646mandir
647DEFS
648ECHO_C
649ECHO_N
650ECHO_T
651LIBS
652build_alias
653host_alias
654target_alias
9d037226 655MAINTAINER_MODE
fc6ffb29
AJ
656build
657build_cpu
658build_vendor
659build_os
660host
661host_cpu
662host_vendor
663host_os
664WIN16_FILES
665WIN16_INSTALL
666SET_MAKE
667CC
668CFLAGS
669LDFLAGS
670CPPFLAGS
671ac_ct_CC
672EXEEXT
673OBJEXT
674CXX
675CXXFLAGS
676ac_ct_CXX
677CPPBIN
678TOOLSDIR
679XMKMF
680CPP
681X_CFLAGS
682X_PRE_LIBS
683X_LIBS
684X_EXTRA_LIBS
4091627c 685FLEX
fc6ffb29
AJ
686BISON
687AS
688ac_ct_AS
689LD
86bd0461
FG
690ac_ct_LD
691NM
692ac_ct_NM
fc6ffb29 693AR
86bd0461 694ac_ct_AR
0c694d71 695ARFLAGS
fc6ffb29
AJ
696RANLIB
697STRIP
698WINDRES
699LN_S
700LN
701GREP
702EGREP
703LDCONFIG
704INSTALL_PROGRAM
705INSTALL_SCRIPT
706INSTALL_DATA
707LINT
708LINTFLAGS
709FONTFORGE
710PKG_CONFIG
dc4a475f
AJ
711RSVG
712ICOTOOL
fc6ffb29
AJ
713PRELINK
714LIBPTHREAD
715XLIB
fc6ffb29 716OPENGL_LIBS
a3097628
AJ
717DLLEXT
718DLLFLAGS
719LDSHARED
720LDDLLFLAGS
721LIBEXT
722IMPLIBEXT
723LDRPATH_INSTALL
724LDRPATH_LOCAL
725LDD
726DLLTOOL
727DLLWRAP
728MINGWAR
312a1db3 729SECURITYLIB
a3097628
AJ
730COREFOUNDATIONLIB
731IOKITLIB
732LDEXECFLAGS
733DISKARBITRATIONLIB
734COREAUDIO
735CARBONLIB
736CROSSTEST
737CROSSCC
738CROSSWINDRES
fc6ffb29
AJ
739NASLIBS
740XML2LIBS
741XML2INCL
742XSLTLIBS
743XSLTINCL
744HALINCL
874c9ef6 745GNUTLSINCL
fc6ffb29 746sane_devel
fc6ffb29
AJ
747SANEINCL
748gphoto2_devel
749gphoto2port_devel
750GPHOTO2LIBS
751GPHOTO2INCL
fc6ffb29
AJ
752RESOLVLIBS
753LCMSLIBS
24a55f38 754ft_devel
fc6ffb29
AJ
755FREETYPELIBS
756FREETYPEINCL
fc6ffb29 757ESDCONFIG
fc6ffb29 758ESDINCL
e9b1a406 759ESDLIBS
fc6ffb29
AJ
760ALSALIBS
761AUDIOIOLIBS
289ea338 762CUPSINCL
5c076730 763FONTCONFIGINCL
fc6ffb29
AJ
764EXTRACFLAGS
765BUILTINFLAG
fc6ffb29
AJ
766LDPATH
767CRTLIBS
768SOCKETLIBS
769MAIN_BINARY
770EXTRA_BINARIES
e533e972 771LIBDL
1089260f 772LIBPOLL
bcba2705 773LDAPLIBS
32ab895e 774DEPENDENCIES
a360e934
AJ
775ALL_MAKERULES
776ALL_MAKEFILES
777ALL_MAKEFILE_DEPENDS
6de0af1e 778ALL_TOP_DIRS
49163da1
AJ
779ALL_DLL_DIRS
780ALL_IMPLIB_DIRS
781ALL_TEST_DIRS
4051eaf7
AJ
782ALL_PROGRAM_DIRS
783ALL_PROGRAM_INSTALL_DIRS
784ALL_PROGRAM_BIN_INSTALL_DIRS
67828b60 785ALL_WINETEST_DEPENDS
fc6ffb29
AJ
786LIBOBJS
787LTLIBOBJS'
788ac_subst_files='MAKE_RULES
789MAKE_DLL_RULES
790MAKE_IMPLIB_RULES
791MAKE_TEST_RULES
fc6ffb29
AJ
792MAKE_PROG_RULES'
793 ac_precious_vars='build_alias
794host_alias
795target_alias
796CC
797CFLAGS
798LDFLAGS
dc9f3843 799LIBS
fc6ffb29
AJ
800CPPFLAGS
801CXX
802CXXFLAGS
803CCC
804XMKMF
805CPP'
806
daa2886c 807
e2991ea7 808# Initialize some variables set by options.
f5818d2f
AJ
809ac_init_help=
810ac_init_version=false
e2991ea7
AJ
811# The variables have the same names as the options, with
812# dashes changed to underlines.
f5818d2f 813cache_file=/dev/null
e2991ea7 814exec_prefix=NONE
e2991ea7 815no_create=
e2991ea7
AJ
816no_recursion=
817prefix=NONE
818program_prefix=NONE
819program_suffix=NONE
820program_transform_name=s,x,x,
821silent=
822site=
823srcdir=
e2991ea7
AJ
824verbose=
825x_includes=NONE
826x_libraries=NONE
f5818d2f
AJ
827
828# Installation directory options.
829# These are left unexpanded so users can "make install exec_prefix=/foo"
830# and all the variables that are supposed to be based on exec_prefix
831# by default will actually change.
832# Use braces instead of parens because sh, perl, etc. also accept them.
fc6ffb29 833# (The list follows the same order as the GNU Coding Standards.)
d7d4fdf8
AJ
834bindir='${exec_prefix}/bin'
835sbindir='${exec_prefix}/sbin'
836libexecdir='${exec_prefix}/libexec'
fc6ffb29
AJ
837datarootdir='${prefix}/share'
838datadir='${datarootdir}'
d7d4fdf8
AJ
839sysconfdir='${prefix}/etc'
840sharedstatedir='${prefix}/com'
841localstatedir='${prefix}/var'
d7d4fdf8
AJ
842includedir='${prefix}/include'
843oldincludedir='/usr/include'
fc6ffb29
AJ
844docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
845infodir='${datarootdir}/info'
846htmldir='${docdir}'
847dvidir='${docdir}'
848pdfdir='${docdir}'
849psdir='${docdir}'
850libdir='${exec_prefix}/lib'
851localedir='${datarootdir}/locale'
852mandir='${datarootdir}/man'
e2991ea7 853
e2991ea7 854ac_prev=
fc6ffb29 855ac_dashdash=
e2991ea7
AJ
856for ac_option
857do
e2991ea7
AJ
858 # If the previous option needs an argument, assign it.
859 if test -n "$ac_prev"; then
fc6ffb29 860 eval $ac_prev=\$ac_option
e2991ea7
AJ
861 ac_prev=
862 continue
863 fi
864
fc6ffb29
AJ
865 case $ac_option in
866 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
867 *) ac_optarg=yes ;;
868 esac
e2991ea7
AJ
869
870 # Accept the important Cygnus configure options, so we can diagnose typos.
871
fc6ffb29
AJ
872 case $ac_dashdash$ac_option in
873 --)
874 ac_dashdash=yes ;;
e2991ea7 875
d7d4fdf8
AJ
876 -bindir | --bindir | --bindi | --bind | --bin | --bi)
877 ac_prev=bindir ;;
878 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
f5818d2f 879 bindir=$ac_optarg ;;
d7d4fdf8
AJ
880
881 -build | --build | --buil | --bui | --bu)
f5818d2f 882 ac_prev=build_alias ;;
d7d4fdf8 883 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
f5818d2f 884 build_alias=$ac_optarg ;;
e2991ea7
AJ
885
886 -cache-file | --cache-file | --cache-fil | --cache-fi \
887 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
888 ac_prev=cache_file ;;
889 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
890 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
f5818d2f
AJ
891 cache_file=$ac_optarg ;;
892
893 --config-cache | -C)
894 cache_file=config.cache ;;
e2991ea7 895
fc6ffb29 896 -datadir | --datadir | --datadi | --datad)
d7d4fdf8 897 ac_prev=datadir ;;
fc6ffb29 898 -datadir=* | --datadir=* | --datadi=* | --datad=*)
f5818d2f 899 datadir=$ac_optarg ;;
d7d4fdf8 900
fc6ffb29
AJ
901 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
902 | --dataroo | --dataro | --datar)
903 ac_prev=datarootdir ;;
904 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
905 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
906 datarootdir=$ac_optarg ;;
907
e2991ea7 908 -disable-* | --disable-*)
f5818d2f 909 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
e2991ea7 910 # Reject names that are not valid shell variable names.
dc9f3843 911 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
f5818d2f
AJ
912 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
913 { (exit 1); exit 1; }; }
dc9f3843 914 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
fc6ffb29
AJ
915 eval enable_$ac_feature=no ;;
916
917 -docdir | --docdir | --docdi | --doc | --do)
918 ac_prev=docdir ;;
919 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
920 docdir=$ac_optarg ;;
921
922 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
923 ac_prev=dvidir ;;
924 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
925 dvidir=$ac_optarg ;;
e2991ea7
AJ
926
927 -enable-* | --enable-*)
f5818d2f 928 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
e2991ea7 929 # Reject names that are not valid shell variable names.
dc9f3843 930 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
f5818d2f
AJ
931 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
932 { (exit 1); exit 1; }; }
dc9f3843 933 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
fc6ffb29 934 eval enable_$ac_feature=\$ac_optarg ;;
e2991ea7
AJ
935
936 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
937 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
938 | --exec | --exe | --ex)
939 ac_prev=exec_prefix ;;
940 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
941 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
942 | --exec=* | --exe=* | --ex=*)
f5818d2f 943 exec_prefix=$ac_optarg ;;
e2991ea7
AJ
944
945 -gas | --gas | --ga | --g)
946 # Obsolete; use --with-gas.
947 with_gas=yes ;;
948
f5818d2f
AJ
949 -help | --help | --hel | --he | -h)
950 ac_init_help=long ;;
951 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
952 ac_init_help=recursive ;;
953 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
954 ac_init_help=short ;;
e2991ea7
AJ
955
956 -host | --host | --hos | --ho)
f5818d2f 957 ac_prev=host_alias ;;
e2991ea7 958 -host=* | --host=* | --hos=* | --ho=*)
f5818d2f 959 host_alias=$ac_optarg ;;
e2991ea7 960
fc6ffb29
AJ
961 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
962 ac_prev=htmldir ;;
963 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
964 | --ht=*)
965 htmldir=$ac_optarg ;;
966
d7d4fdf8
AJ
967 -includedir | --includedir | --includedi | --included | --include \
968 | --includ | --inclu | --incl | --inc)
969 ac_prev=includedir ;;
970 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
971 | --includ=* | --inclu=* | --incl=* | --inc=*)
f5818d2f 972 includedir=$ac_optarg ;;
d7d4fdf8
AJ
973
974 -infodir | --infodir | --infodi | --infod | --info | --inf)
975 ac_prev=infodir ;;
976 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
f5818d2f 977 infodir=$ac_optarg ;;
d7d4fdf8
AJ
978
979 -libdir | --libdir | --libdi | --libd)
980 ac_prev=libdir ;;
981 -libdir=* | --libdir=* | --libdi=* | --libd=*)
f5818d2f 982 libdir=$ac_optarg ;;
d7d4fdf8
AJ
983
984 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
985 | --libexe | --libex | --libe)
986 ac_prev=libexecdir ;;
987 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
988 | --libexe=* | --libex=* | --libe=*)
f5818d2f 989 libexecdir=$ac_optarg ;;
d7d4fdf8 990
fc6ffb29
AJ
991 -localedir | --localedir | --localedi | --localed | --locale)
992 ac_prev=localedir ;;
993 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
994 localedir=$ac_optarg ;;
995
d7d4fdf8 996 -localstatedir | --localstatedir | --localstatedi | --localstated \
fc6ffb29 997 | --localstate | --localstat | --localsta | --localst | --locals)
d7d4fdf8
AJ
998 ac_prev=localstatedir ;;
999 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
fc6ffb29 1000 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
f5818d2f 1001 localstatedir=$ac_optarg ;;
d7d4fdf8
AJ
1002
1003 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1004 ac_prev=mandir ;;
1005 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
f5818d2f 1006 mandir=$ac_optarg ;;
d7d4fdf8 1007
e2991ea7
AJ
1008 -nfp | --nfp | --nf)
1009 # Obsolete; use --without-fp.
1010 with_fp=no ;;
1011
1012 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
daa2886c 1013 | --no-cr | --no-c | -n)
e2991ea7
AJ
1014 no_create=yes ;;
1015
1016 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1017 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1018 no_recursion=yes ;;
1019
d7d4fdf8
AJ
1020 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1021 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1022 | --oldin | --oldi | --old | --ol | --o)
1023 ac_prev=oldincludedir ;;
1024 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1025 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1026 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
f5818d2f 1027 oldincludedir=$ac_optarg ;;
d7d4fdf8 1028
e2991ea7
AJ
1029 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1030 ac_prev=prefix ;;
1031 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
f5818d2f 1032 prefix=$ac_optarg ;;
e2991ea7
AJ
1033
1034 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1035 | --program-pre | --program-pr | --program-p)
1036 ac_prev=program_prefix ;;
1037 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1038 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
f5818d2f 1039 program_prefix=$ac_optarg ;;
e2991ea7
AJ
1040
1041 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1042 | --program-suf | --program-su | --program-s)
1043 ac_prev=program_suffix ;;
1044 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1045 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
f5818d2f 1046 program_suffix=$ac_optarg ;;
e2991ea7
AJ
1047
1048 -program-transform-name | --program-transform-name \
1049 | --program-transform-nam | --program-transform-na \
1050 | --program-transform-n | --program-transform- \
1051 | --program-transform | --program-transfor \
1052 | --program-transfo | --program-transf \
1053 | --program-trans | --program-tran \
1054 | --progr-tra | --program-tr | --program-t)
1055 ac_prev=program_transform_name ;;
1056 -program-transform-name=* | --program-transform-name=* \
1057 | --program-transform-nam=* | --program-transform-na=* \
1058 | --program-transform-n=* | --program-transform-=* \
1059 | --program-transform=* | --program-transfor=* \
1060 | --program-transfo=* | --program-transf=* \
1061 | --program-trans=* | --program-tran=* \
1062 | --progr-tra=* | --program-tr=* | --program-t=*)
f5818d2f 1063 program_transform_name=$ac_optarg ;;
e2991ea7 1064
fc6ffb29
AJ
1065 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1066 ac_prev=pdfdir ;;
1067 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1068 pdfdir=$ac_optarg ;;
1069
1070 -psdir | --psdir | --psdi | --psd | --ps)
1071 ac_prev=psdir ;;
1072 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1073 psdir=$ac_optarg ;;
1074
e2991ea7
AJ
1075 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1076 | -silent | --silent | --silen | --sile | --sil)
1077 silent=yes ;;
1078
d7d4fdf8
AJ
1079 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1080 ac_prev=sbindir ;;
1081 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1082 | --sbi=* | --sb=*)
f5818d2f 1083 sbindir=$ac_optarg ;;
d7d4fdf8
AJ
1084
1085 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1086 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1087 | --sharedst | --shareds | --shared | --share | --shar \
1088 | --sha | --sh)
1089 ac_prev=sharedstatedir ;;
1090 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1091 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1092 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1093 | --sha=* | --sh=*)
f5818d2f 1094 sharedstatedir=$ac_optarg ;;
d7d4fdf8 1095
e2991ea7
AJ
1096 -site | --site | --sit)
1097 ac_prev=site ;;
1098 -site=* | --site=* | --sit=*)
f5818d2f 1099 site=$ac_optarg ;;
e2991ea7
AJ
1100
1101 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1102 ac_prev=srcdir ;;
1103 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
f5818d2f 1104 srcdir=$ac_optarg ;;
e2991ea7 1105
d7d4fdf8
AJ
1106 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1107 | --syscon | --sysco | --sysc | --sys | --sy)
1108 ac_prev=sysconfdir ;;
1109 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1110 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
f5818d2f 1111 sysconfdir=$ac_optarg ;;
d7d4fdf8 1112
e2991ea7 1113 -target | --target | --targe | --targ | --tar | --ta | --t)
f5818d2f 1114 ac_prev=target_alias ;;
e2991ea7 1115 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
f5818d2f 1116 target_alias=$ac_optarg ;;
e2991ea7
AJ
1117
1118 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1119 verbose=yes ;;
1120
f5818d2f
AJ
1121 -version | --version | --versio | --versi | --vers | -V)
1122 ac_init_version=: ;;
e2991ea7
AJ
1123
1124 -with-* | --with-*)
f5818d2f 1125 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
e2991ea7 1126 # Reject names that are not valid shell variable names.
dc9f3843 1127 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
f5818d2f
AJ
1128 { echo "$as_me: error: invalid package name: $ac_package" >&2
1129 { (exit 1); exit 1; }; }
dc9f3843 1130 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
fc6ffb29 1131 eval with_$ac_package=\$ac_optarg ;;
e2991ea7
AJ
1132
1133 -without-* | --without-*)
f5818d2f 1134 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
e2991ea7 1135 # Reject names that are not valid shell variable names.
dc9f3843 1136 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
f5818d2f
AJ
1137 { echo "$as_me: error: invalid package name: $ac_package" >&2
1138 { (exit 1); exit 1; }; }
dc9f3843 1139 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
fc6ffb29 1140 eval with_$ac_package=no ;;
e2991ea7
AJ
1141
1142 --x)
1143 # Obsolete; use --with-x.
1144 with_x=yes ;;
1145
1146 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1147 | --x-incl | --x-inc | --x-in | --x-i)
1148 ac_prev=x_includes ;;
1149 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1150 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
f5818d2f 1151 x_includes=$ac_optarg ;;
e2991ea7
AJ
1152
1153 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1154 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1155 ac_prev=x_libraries ;;
1156 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1157 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
f5818d2f 1158 x_libraries=$ac_optarg ;;
e2991ea7 1159
f5818d2f
AJ
1160 -*) { echo "$as_me: error: unrecognized option: $ac_option
1161Try \`$0 --help' for more information." >&2
1162 { (exit 1); exit 1; }; }
e2991ea7
AJ
1163 ;;
1164
f5818d2f
AJ
1165 *=*)
1166 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1167 # Reject names that are not valid shell variable names.
1168 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1169 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1170 { (exit 1); exit 1; }; }
fc6ffb29 1171 eval $ac_envvar=\$ac_optarg
f5818d2f
AJ
1172 export $ac_envvar ;;
1173
d7d4fdf8 1174 *)
f5818d2f
AJ
1175 # FIXME: should be removed in autoconf 3.0.
1176 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1177 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1178 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1179 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
e2991ea7
AJ
1180 ;;
1181
1182 esac
1183done
1184
1185if test -n "$ac_prev"; then
f5818d2f
AJ
1186 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1187 { echo "$as_me: error: missing argument to $ac_option" >&2
1188 { (exit 1); exit 1; }; }
e2991ea7 1189fi
e2991ea7 1190
fc6ffb29
AJ
1191# Be sure to have absolute directory names.
1192for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1193 datadir sysconfdir sharedstatedir localstatedir includedir \
1194 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1195 libdir localedir mandir
e2991ea7 1196do
fc6ffb29 1197 eval ac_val=\$$ac_var
f5818d2f 1198 case $ac_val in
fc6ffb29
AJ
1199 [\\/$]* | ?:[\\/]* ) continue;;
1200 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
e2991ea7 1201 esac
fc6ffb29
AJ
1202 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1203 { (exit 1); exit 1; }; }
e2991ea7
AJ
1204done
1205
f5818d2f
AJ
1206# There might be people who depend on the old broken behavior: `$host'
1207# used to hold the argument of --host etc.
daa2886c 1208# FIXME: To remove some day.
f5818d2f
AJ
1209build=$build_alias
1210host=$host_alias
1211target=$target_alias
1212
daa2886c 1213# FIXME: To remove some day.
f5818d2f
AJ
1214if test "x$host_alias" != x; then
1215 if test "x$build_alias" = x; then
1216 cross_compiling=maybe
1217 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1218 If a cross compiler is detected then cross compile mode will be used." >&2
1219 elif test "x$build_alias" != "x$host_alias"; then
1220 cross_compiling=yes
1221 fi
1222fi
e2991ea7 1223
f5818d2f
AJ
1224ac_tool_prefix=
1225test -n "$host_alias" && ac_tool_prefix=$host_alias-
e2991ea7 1226
f5818d2f 1227test "$silent" = yes && exec 6>/dev/null
e2991ea7 1228
daa2886c 1229
fc6ffb29
AJ
1230ac_pwd=`pwd` && test -n "$ac_pwd" &&
1231ac_ls_di=`ls -di .` &&
1232ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1233 { echo "$as_me: error: Working directory cannot be determined" >&2
1234 { (exit 1); exit 1; }; }
1235test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1236 { echo "$as_me: error: pwd does not report name of working directory" >&2
1237 { (exit 1); exit 1; }; }
1238
1239
e2991ea7
AJ
1240# Find the source files, if location was not specified.
1241if test -z "$srcdir"; then
1242 ac_srcdir_defaulted=yes
fc6ffb29
AJ
1243 # Try the directory containing this script, then the parent directory.
1244 ac_confdir=`$as_dirname -- "$0" ||
daa2886c 1245$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
875927f6
AJ
1246 X"$0" : 'X\(//\)[^/]' \| \
1247 X"$0" : 'X\(//\)$' \| \
fc6ffb29 1248 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
daa2886c 1249echo X"$0" |
fc6ffb29
AJ
1250 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1251 s//\1/
1252 q
1253 }
1254 /^X\(\/\/\)[^/].*/{
1255 s//\1/
1256 q
1257 }
1258 /^X\(\/\/\)$/{
1259 s//\1/
1260 q
1261 }
1262 /^X\(\/\).*/{
1263 s//\1/
1264 q
1265 }
1266 s/.*/./; q'`
e2991ea7 1267 srcdir=$ac_confdir
fc6ffb29 1268 if test ! -r "$srcdir/$ac_unique_file"; then
e2991ea7
AJ
1269 srcdir=..
1270 fi
1271else
1272 ac_srcdir_defaulted=no
1273fi
fc6ffb29
AJ
1274if test ! -r "$srcdir/$ac_unique_file"; then
1275 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1276 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
f5818d2f 1277 { (exit 1); exit 1; }; }
e2991ea7 1278fi
fc6ffb29
AJ
1279ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1280ac_abs_confdir=`(
1281 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
11af04e3 1282 { (exit 1); exit 1; }; }
fc6ffb29
AJ
1283 pwd)`
1284# When building in place, set srcdir=.
1285if test "$ac_abs_confdir" = "$ac_pwd"; then
1286 srcdir=.
1287fi
1288# Remove unnecessary trailing slashes from srcdir.
1289# Double slashes in file names in object file debugging info
1290# mess up M-x gdb in Emacs.
1291case $srcdir in
1292*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1293esac
1294for ac_var in $ac_precious_vars; do
1295 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1296 eval ac_env_${ac_var}_value=\$${ac_var}
1297 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1298 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1299done
f5818d2f
AJ
1300
1301#
1302# Report the --help message.
1303#
1304if test "$ac_init_help" = "long"; then
1305 # Omit some internal or obsolete options to make the list less imposing.
1306 # This message is too long to be a string in the A/UX 3.1 sh.
daa2886c 1307 cat <<_ACEOF
d381c7cb 1308\`configure' configures Wine 1.1.5 to adapt to many kinds of systems.
f5818d2f
AJ
1309
1310Usage: $0 [OPTION]... [VAR=VALUE]...
1311
1312To assign environment variables (e.g., CC, CFLAGS...), specify them as
1313VAR=VALUE. See below for descriptions of some of the useful variables.
1314
1315Defaults for the options are specified in brackets.
1316
1317Configuration:
1318 -h, --help display this help and exit
1319 --help=short display options specific to this package
1320 --help=recursive display the short help of all the included packages
1321 -V, --version display version information and exit
1322 -q, --quiet, --silent do not print \`checking...' messages
1323 --cache-file=FILE cache test results in FILE [disabled]
1324 -C, --config-cache alias for \`--cache-file=config.cache'
1325 -n, --no-create do not create output files
1326 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1327
f5818d2f
AJ
1328Installation directories:
1329 --prefix=PREFIX install architecture-independent files in PREFIX
875927f6 1330 [$ac_default_prefix]
f5818d2f 1331 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
875927f6 1332 [PREFIX]
f5818d2f
AJ
1333
1334By default, \`make install' will install all the files in
1335\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1336an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1337for instance \`--prefix=\$HOME'.
1338
1339For better control, use the options below.
1340
1341Fine tuning of the installation directories:
1342 --bindir=DIR user executables [EPREFIX/bin]
1343 --sbindir=DIR system admin executables [EPREFIX/sbin]
1344 --libexecdir=DIR program executables [EPREFIX/libexec]
f5818d2f
AJ
1345 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1346 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1347 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1348 --libdir=DIR object code libraries [EPREFIX/lib]
1349 --includedir=DIR C header files [PREFIX/include]
1350 --oldincludedir=DIR C header files for non-gcc [/usr/include]
fc6ffb29
AJ
1351 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1352 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1353 --infodir=DIR info documentation [DATAROOTDIR/info]
1354 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1355 --mandir=DIR man documentation [DATAROOTDIR/man]
1356 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1357 --htmldir=DIR html documentation [DOCDIR]
1358 --dvidir=DIR dvi documentation [DOCDIR]
1359 --pdfdir=DIR pdf documentation [DOCDIR]
1360 --psdir=DIR ps documentation [DOCDIR]
daa2886c 1361_ACEOF
f5818d2f 1362
daa2886c 1363 cat <<\_ACEOF
f5818d2f
AJ
1364
1365X features:
1366 --x-includes=DIR X include files are in DIR
1367 --x-libraries=DIR X library files are in DIR
1368
1369System types:
1370 --build=BUILD configure for building on BUILD [guessed]
daa2886c 1371 --host=HOST cross-compile to build programs to run on HOST [BUILD]
daa2886c 1372_ACEOF
f5818d2f
AJ
1373fi
1374
1375if test -n "$ac_init_help"; then
1376 case $ac_init_help in
d381c7cb 1377 short | recursive ) echo "Configuration of Wine 1.1.5:";;
f5818d2f 1378 esac
daa2886c 1379 cat <<\_ACEOF
f5818d2f
AJ
1380
1381Optional Features:
1382 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1383 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
53fa0d54 1384 --disable-win16 do not include Win16 support
2aa8e871
AJ
1385 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1386 binaries)
9d037226
AJ
1387 --enable-maintainer-mode
1388 enable maintainer-specific build rules
f5818d2f
AJ
1389
1390Optional Packages:
1391 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1392 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
a41f0f1b
AJ
1393 --without-alsa do not use the Alsa sound support
1394 --without-audioio do not use the AudioIO sound support
1395 --without-capi do not use CAPI (ISDN support)
1396 --without-cms do not use CMS (color management support)
1397 --without-coreaudio do not use the CoreAudio sound support
1398 --without-cups do not use CUPS
1399 --without-curses do not use (n)curses
1400 --without-esd do not use the EsounD sound support
1401 --without-fontconfig do not use fontconfig
a20c0e12 1402 --without-freetype do not use the FreeType library
a41f0f1b 1403 --without-gphoto do not use gphoto (Digital Camera support)
ad798735 1404 --without-glu do not use the GLU library
874c9ef6 1405 --without-gnutls do not use GnuTLS (schannel support)
a41f0f1b
AJ
1406 --without-hal do not use HAL (dynamic device support)
1407 --without-jack do not use the Jack sound support
1408 --without-jpeg do not use JPEG
1409 --without-ldap do not use LDAP
1410 --without-nas do not use the NAS sound support
53fa0d54 1411 --without-opengl do not use OpenGL
a41f0f1b
AJ
1412 --without-openssl do not use OpenSSL
1413 --without-oss do not use the OSS sound support
1414 --without-png do not use PNG
1415 --without-sane do not use SANE (scanner support)
1416 --without-xcomposite do not use the Xcomposite extension
1417 --without-xcursor do not use the Xcursor extension
1418 --without-xinerama do not use Xinerama (multi-monitor support)
1419 --without-xinput do not use the Xinput extension
1420 --without-xml do not use XML
1421 --without-xrandr do not use Xrandr (resolution changes)
1422 --without-xrender do not use the Xrender extension
1423 --without-xshape do not use the Xshape extension
1424 --without-xshm do not use XShm (shared memory extension)
1425 --without-xslt do not use XSLT
a49beb4c 1426 --without-xxf86vm do not use XFree video mode extension
a41f0f1b 1427 --with-wine-tools=DIR use Wine tools from directory DIR
f5818d2f
AJ
1428 --with-x use the X Window System
1429
1430Some influential environment variables:
53fa0d54
EP
1431 CC C compiler command
1432 CFLAGS C compiler flags
1433 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1434 nonstandard directory <lib dir>
dc9f3843 1435 LIBS libraries to pass to the linker, e.g. -l<library>
fc6ffb29
AJ
1436 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1437 you have headers in a nonstandard directory <include dir>
f41c2b21
DP
1438 CXX C++ compiler command
1439 CXXFLAGS C++ compiler flags
fc6ffb29 1440 XMKMF Path to xmkmf, Makefile generator for X Window System
53fa0d54 1441 CPP C preprocessor
f5818d2f
AJ
1442
1443Use these variables to override the choices made by `configure' or to help
1444it to find libraries and programs with nonstandard names/locations.
1445
875927f6 1446Report bugs to <wine-devel@winehq.org>.
daa2886c 1447_ACEOF
fc6ffb29 1448ac_status=$?
f5818d2f
AJ
1449fi
1450
1451if test "$ac_init_help" = "recursive"; then
1452 # If there are subdirs, report their specific --help.
daa2886c 1453 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
0ebeb530 1454 test -d "$ac_dir" || continue
daa2886c
AJ
1455 ac_builddir=.
1456
fc6ffb29
AJ
1457case "$ac_dir" in
1458.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1459*)
daa2886c 1460 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
fc6ffb29
AJ
1461 # A ".." for each directory in $ac_dir_suffix.
1462 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1463 case $ac_top_builddir_sub in
1464 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1465 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1466 esac ;;
1467esac
1468ac_abs_top_builddir=$ac_pwd
1469ac_abs_builddir=$ac_pwd$ac_dir_suffix
1470# for backward compatibility:
1471ac_top_builddir=$ac_top_build_prefix
f5818d2f 1472
daa2886c 1473case $srcdir in
fc6ffb29 1474 .) # We are building in place.
daa2886c 1475 ac_srcdir=.
fc6ffb29
AJ
1476 ac_top_srcdir=$ac_top_builddir_sub
1477 ac_abs_top_srcdir=$ac_pwd ;;
1478 [\\/]* | ?:[\\/]* ) # Absolute name.
daa2886c 1479 ac_srcdir=$srcdir$ac_dir_suffix;
fc6ffb29
AJ
1480 ac_top_srcdir=$srcdir
1481 ac_abs_top_srcdir=$srcdir ;;
1482 *) # Relative name.
1483 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1484 ac_top_srcdir=$ac_top_build_prefix$srcdir
1485 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
875927f6 1486esac
fc6ffb29 1487ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
daa2886c 1488
fc6ffb29
AJ
1489 cd "$ac_dir" || { ac_status=$?; continue; }
1490 # Check for guested configure.
0ebeb530 1491 if test -f "$ac_srcdir/configure.gnu"; then
fc6ffb29 1492 echo &&
0ebeb530
JW
1493 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1494 elif test -f "$ac_srcdir/configure"; then
fc6ffb29 1495 echo &&
0ebeb530 1496 $SHELL "$ac_srcdir/configure" --help=recursive
f5818d2f 1497 else
daa2886c 1498 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
fc6ffb29
AJ
1499 fi || ac_status=$?
1500 cd "$ac_pwd" || { ac_status=$?; break; }
f5818d2f
AJ
1501 done
1502fi
e2991ea7 1503
fc6ffb29 1504test -n "$ac_init_help" && exit $ac_status
f5818d2f 1505if $ac_init_version; then
daa2886c 1506 cat <<\_ACEOF
d381c7cb 1507Wine configure 1.1.5
dc9f3843 1508generated by GNU Autoconf 2.61
f5818d2f 1509
fc6ffb29
AJ
1510Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
15112002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
f5818d2f
AJ
1512This configure script is free software; the Free Software Foundation
1513gives unlimited permission to copy, distribute and modify it.
daa2886c 1514_ACEOF
fc6ffb29 1515 exit
f5818d2f 1516fi
fc6ffb29 1517cat >config.log <<_ACEOF
f5818d2f
AJ
1518This file contains any messages produced by compilers while
1519running configure, to aid debugging if configure makes a mistake.
1520
d381c7cb 1521It was created by Wine $as_me 1.1.5, which was
dc9f3843 1522generated by GNU Autoconf 2.61. Invocation command line was
f5818d2f
AJ
1523
1524 $ $0 $@
1525
daa2886c 1526_ACEOF
fc6ffb29 1527exec 5>>config.log
f5818d2f
AJ
1528{
1529cat <<_ASUNAME
daa2886c
AJ
1530## --------- ##
1531## Platform. ##
1532## --------- ##
f5818d2f
AJ
1533
1534hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1535uname -m = `(uname -m) 2>/dev/null || echo unknown`
1536uname -r = `(uname -r) 2>/dev/null || echo unknown`
1537uname -s = `(uname -s) 2>/dev/null || echo unknown`
1538uname -v = `(uname -v) 2>/dev/null || echo unknown`
1539
1540/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1541/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1542
1543/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1544/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1545/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
fc6ffb29 1546/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
f5818d2f
AJ
1547/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1548/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1549/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1550
f5818d2f 1551_ASUNAME
daa2886c
AJ
1552
1553as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1554for as_dir in $PATH
1555do
1556 IFS=$as_save_IFS
1557 test -z "$as_dir" && as_dir=.
1558 echo "PATH: $as_dir"
1559done
fc6ffb29 1560IFS=$as_save_IFS
daa2886c 1561
f5818d2f
AJ
1562} >&5
1563
daa2886c
AJ
1564cat >&5 <<_ACEOF
1565
1566
1567## ----------- ##
1568## Core tests. ##
1569## ----------- ##
1570
1571_ACEOF
f5818d2f 1572
f5818d2f
AJ
1573
1574# Keep a trace of the command line.
1575# Strip out --no-create and --no-recursion so they do not pile up.
e24bcc77 1576# Strip out --silent because we don't want to record it for future runs.
f5818d2f 1577# Also quote any args containing shell meta-characters.
e24bcc77 1578# Make two passes to allow for proper duplicate-argument suppression.
f5818d2f 1579ac_configure_args=
e24bcc77
AJ
1580ac_configure_args0=
1581ac_configure_args1=
e24bcc77
AJ
1582ac_must_keep_next=false
1583for ac_pass in 1 2
f5818d2f 1584do
e24bcc77
AJ
1585 for ac_arg
1586 do
1587 case $ac_arg in
1588 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1589 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1590 | -silent | --silent | --silen | --sile | --sil)
1591 continue ;;
fc6ffb29 1592 *\'*)
e24bcc77
AJ
1593 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1594 esac
1595 case $ac_pass in
1596 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1597 2)
1598 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1599 if test $ac_must_keep_next = true; then
875927f6 1600 ac_must_keep_next=false # Got value, back to normal.
e24bcc77 1601 else
875927f6
AJ
1602 case $ac_arg in
1603 *=* | --config-cache | -C | -disable-* | --disable-* \
1604 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1605 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1606 | -with-* | --with-* | -without-* | --without-* | --x)
1607 case "$ac_configure_args0 " in
1608 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1609 esac
1610 ;;
1611 -* ) ac_must_keep_next=true ;;
1612 esac
e24bcc77 1613 fi
0ebeb530 1614 ac_configure_args="$ac_configure_args '$ac_arg'"
e24bcc77
AJ
1615 ;;
1616 esac
1617 done
f5818d2f 1618done
e24bcc77
AJ
1619$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1620$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
f5818d2f
AJ
1621
1622# When interrupted or exit'd, cleanup temporary files, and complete
1623# config.log. We remove comments because anyway the quotes in there
1624# would cause problems or look ugly.
fc6ffb29
AJ
1625# WARNING: Use '\'' to represent an apostrophe within the trap.
1626# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
f5818d2f
AJ
1627trap 'exit_status=$?
1628 # Save into config.log some information that might help in debugging.
daa2886c
AJ
1629 {
1630 echo
11af04e3 1631
daa2886c
AJ
1632 cat <<\_ASBOX
1633## ---------------- ##
1634## Cache variables. ##
1635## ---------------- ##
1636_ASBOX
1637 echo
1638 # The following way of writing the cache mishandles newlines in values,
fc6ffb29
AJ
1639(
1640 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1641 eval ac_val=\$$ac_var
1642 case $ac_val in #(
1643 *${as_nl}*)
1644 case $ac_var in #(
1645 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1646echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1647 esac
1648 case $ac_var in #(
1649 _ | IFS | as_nl) ;; #(
1650 *) $as_unset $ac_var ;;
1651 esac ;;
1652 esac
1653 done
f5818d2f 1654 (set) 2>&1 |
fc6ffb29
AJ
1655 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1656 *${as_nl}ac_space=\ *)
f5818d2f 1657 sed -n \
fc6ffb29
AJ
1658 "s/'\''/'\''\\\\'\'''\''/g;
1659 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1660 ;; #(
f5818d2f 1661 *)
fc6ffb29 1662 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
f5818d2f 1663 ;;
fc6ffb29
AJ
1664 esac |
1665 sort
1666)
daa2886c 1667 echo
11af04e3
AJ
1668
1669 cat <<\_ASBOX
1670## ----------------- ##
1671## Output variables. ##
1672## ----------------- ##
1673_ASBOX
1674 echo
1675 for ac_var in $ac_subst_vars
1676 do
fc6ffb29 1677 eval ac_val=\$$ac_var
0ebeb530
JW
1678 case $ac_val in
1679 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1680 esac
fc6ffb29 1681 echo "$ac_var='\''$ac_val'\''"
11af04e3
AJ
1682 done | sort
1683 echo
1684
1685 if test -n "$ac_subst_files"; then
1686 cat <<\_ASBOX
fc6ffb29
AJ
1687## ------------------- ##
1688## File substitutions. ##
1689## ------------------- ##
11af04e3
AJ
1690_ASBOX
1691 echo
1692 for ac_var in $ac_subst_files
1693 do
fc6ffb29 1694 eval ac_val=\$$ac_var
0ebeb530
JW
1695 case $ac_val in
1696 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1697 esac
fc6ffb29 1698 echo "$ac_var='\''$ac_val'\''"
11af04e3
AJ
1699 done | sort
1700 echo
1701 fi
1702
daa2886c
AJ
1703 if test -s confdefs.h; then
1704 cat <<\_ASBOX
1705## ----------- ##
1706## confdefs.h. ##
1707## ----------- ##
1708_ASBOX
1709 echo
fc6ffb29 1710 cat confdefs.h
daa2886c
AJ
1711 echo
1712 fi
1713 test "$ac_signal" != 0 &&
1714 echo "$as_me: caught signal $ac_signal"
1715 echo "$as_me: exit $exit_status"
1716 } >&5
fc6ffb29
AJ
1717 rm -f core *.core core.conftest.* &&
1718 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
f5818d2f 1719 exit $exit_status
fc6ffb29 1720' 0
f5818d2f
AJ
1721for ac_signal in 1 2 13 15; do
1722 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1723done
1724ac_signal=0
1725
1726# confdefs.h avoids OS command line length limits that DEFS can exceed.
fc6ffb29 1727rm -f -r conftest* confdefs.h
f5818d2f 1728
daa2886c
AJ
1729# Predefined preprocessor variables.
1730
1731cat >>confdefs.h <<_ACEOF
1732#define PACKAGE_NAME "$PACKAGE_NAME"
1733_ACEOF
1734
1735
1736cat >>confdefs.h <<_ACEOF
1737#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1738_ACEOF
1739
1740
1741cat >>confdefs.h <<_ACEOF
1742#define PACKAGE_VERSION "$PACKAGE_VERSION"
1743_ACEOF
1744
1745
1746cat >>confdefs.h <<_ACEOF
1747#define PACKAGE_STRING "$PACKAGE_STRING"
1748_ACEOF
1749
1750
1751cat >>confdefs.h <<_ACEOF
1752#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1753_ACEOF
1754
1755
f5818d2f 1756# Let the site file select an alternate cache file if it wants to.
e2991ea7 1757# Prefer explicitly selected file to automatically selected ones.
fc6ffb29
AJ
1758if test -n "$CONFIG_SITE"; then
1759 set x "$CONFIG_SITE"
1760elif test "x$prefix" != xNONE; then
1761 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1762else
1763 set x "$ac_default_prefix/share/config.site" \
1764 "$ac_default_prefix/etc/config.site"
e2991ea7 1765fi
fc6ffb29
AJ
1766shift
1767for ac_site_file
1768do
e2991ea7 1769 if test -r "$ac_site_file"; then
daa2886c 1770 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
f5818d2f 1771echo "$as_me: loading site script $ac_site_file" >&6;}
daa2886c 1772 sed 's/^/| /' "$ac_site_file" >&5
e2991ea7
AJ
1773 . "$ac_site_file"
1774 fi
1775done
1776
1777if test -r "$cache_file"; then
f5818d2f
AJ
1778 # Some versions of bash will fail to source /dev/null (special
1779 # files actually), so we avoid doing that.
1780 if test -f "$cache_file"; then
daa2886c 1781 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
f5818d2f
AJ
1782echo "$as_me: loading cache $cache_file" >&6;}
1783 case $cache_file in
0ebeb530
JW
1784 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1785 *) . "./$cache_file";;
f5818d2f
AJ
1786 esac
1787 fi
e2991ea7 1788else
daa2886c 1789 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
f5818d2f
AJ
1790echo "$as_me: creating cache $cache_file" >&6;}
1791 >$cache_file
1792fi
1793
1794# Check that the precious variables saved in the cache have kept the same
1795# value.
1796ac_cache_corrupted=false
fc6ffb29 1797for ac_var in $ac_precious_vars; do
f5818d2f
AJ
1798 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1799 eval ac_new_set=\$ac_env_${ac_var}_set
fc6ffb29
AJ
1800 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1801 eval ac_new_val=\$ac_env_${ac_var}_value
f5818d2f
AJ
1802 case $ac_old_set,$ac_new_set in
1803 set,)
daa2886c 1804 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
f5818d2f
AJ
1805echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1806 ac_cache_corrupted=: ;;
1807 ,set)
daa2886c 1808 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
f5818d2f
AJ
1809echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1810 ac_cache_corrupted=: ;;
1811 ,);;
1812 *)
1813 if test "x$ac_old_val" != "x$ac_new_val"; then
875927f6 1814 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
f5818d2f 1815echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
875927f6 1816 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
f5818d2f 1817echo "$as_me: former value: $ac_old_val" >&2;}
875927f6 1818 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
f5818d2f 1819echo "$as_me: current value: $ac_new_val" >&2;}
875927f6 1820 ac_cache_corrupted=:
f5818d2f
AJ
1821 fi;;
1822 esac
daa2886c 1823 # Pass precious variables to config.status.
f5818d2f
AJ
1824 if test "$ac_new_set" = set; then
1825 case $ac_new_val in
fc6ffb29 1826 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
daa2886c
AJ
1827 *) ac_arg=$ac_var=$ac_new_val ;;
1828 esac
1829 case " $ac_configure_args " in
1830 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1831 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
f5818d2f
AJ
1832 esac
1833 fi
1834done
1835if $ac_cache_corrupted; then
daa2886c 1836 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
f5818d2f 1837echo "$as_me: error: changes in the environment can compromise the build" >&2;}
daa2886c 1838 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
f5818d2f
AJ
1839echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1840 { (exit 1); exit 1; }; }
e2991ea7
AJ
1841fi
1842
daa2886c
AJ
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
fc6ffb29
AJ
1867ac_ext=c
1868ac_cpp='$CPP $CPPFLAGS'
1869ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1870ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1871ac_compiler_gnu=$ac_cv_c_compiler_gnu
daa2886c 1872
e2991ea7 1873
11af04e3 1874
fc6ffb29 1875ac_config_headers="$ac_config_headers include/config.h"
18f92e76 1876
d7d4fdf8 1877ac_aux_dir=
0ebeb530
JW
1878for ac_dir in tools "$srcdir"/tools; do
1879 if test -f "$ac_dir/install-sh"; then
d7d4fdf8
AJ
1880 ac_aux_dir=$ac_dir
1881 ac_install_sh="$ac_aux_dir/install-sh -c"
1882 break
0ebeb530 1883 elif test -f "$ac_dir/install.sh"; then
d7d4fdf8
AJ
1884 ac_aux_dir=$ac_dir
1885 ac_install_sh="$ac_aux_dir/install.sh -c"
1886 break
0ebeb530 1887 elif test -f "$ac_dir/shtool"; then
f5818d2f
AJ
1888 ac_aux_dir=$ac_dir
1889 ac_install_sh="$ac_aux_dir/shtool install -c"
1890 break
d7d4fdf8
AJ
1891 fi
1892done
1893if test -z "$ac_aux_dir"; then
0ebeb530
JW
1894 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1895echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
f5818d2f 1896 { (exit 1); exit 1; }; }
d7d4fdf8 1897fi
0ebeb530
JW
1898
1899# These three variables are undocumented and unsupported,
1900# and are intended to be withdrawn in a future Autoconf release.
1901# They can cause serious problems if a builder's source tree is in a directory
1902# whose full name contains unusual characters.
1903ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1904ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1905ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1906
ff8331ea 1907
daa2886c
AJ
1908
1909
fc6ffb29 1910# Check whether --enable-win16 was given.
c728efc3 1911if test "${enable_win16+set}" = set; then
fc6ffb29
AJ
1912 enableval=$enable_win16;
1913fi
c728efc3 1914
fc6ffb29 1915# Check whether --enable-win64 was given.
2aa8e871 1916if test "${enable_win64+set}" = set; then
fc6ffb29
AJ
1917 enableval=$enable_win64;
1918fi
2aa8e871 1919
9d037226
AJ
1920# Check whether --enable-maintainer-mode was given.
1921if test "${enable_maintainer_mode+set}" = set; then
1922 enableval=$enable_maintainer_mode;
1923else
1924 MAINTAINER_MODE=\#
1925
1926fi
1927
b8074991
AJ
1928
1929
a41f0f1b
AJ
1930# Check whether --with-alsa was given.
1931if test "${with_alsa+set}" = set; then
1932 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
1933fi
1934
1935
1936# Check whether --with-audioio was given.
1937if test "${with_audioio+set}" = set; then
1938 withval=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h=no; fi
1939fi
1940
1941
1942# Check whether --with-capi was given.
1943if test "${with_capi+set}" = set; then
1944 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
1945fi
1946
1947
1948# Check whether --with-cms was given.
1949if test "${with_cms+set}" = set; then
1950 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
1951fi
1952
1953
1954# Check whether --with-coreaudio was given.
1955if test "${with_coreaudio+set}" = set; then
1956 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
1957fi
1958
1959
1960# Check whether --with-cups was given.
1961if test "${with_cups+set}" = set; then
289ea338 1962 withval=$with_cups;
a41f0f1b
AJ
1963fi
1964
1965
1966# Check whether --with-curses was given.
1967if test "${with_curses+set}" = set; then
1968 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
1969fi
1970
1971
1972# Check whether --with-esd was given.
1973if test "${with_esd+set}" = set; then
1974 withval=$with_esd;
1975fi
1976
1977
1978# Check whether --with-fontconfig was given.
1979if test "${with_fontconfig+set}" = set; then
1980 withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi
1981fi
1982
1983
a20c0e12
AJ
1984# Check whether --with-freetype was given.
1985if test "${with_freetype+set}" = set; then
1986 withval=$with_freetype;
1987fi
1988
1989
a41f0f1b
AJ
1990# Check whether --with-gphoto was given.
1991if test "${with_gphoto+set}" = set; then
1992 withval=$with_gphoto;
1993fi
1994
1995
ad798735
AJ
1996# Check whether --with-glu was given.
1997if test "${with_glu+set}" = set; then
1998 withval=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h=no; fi
1999fi
2000
2001
874c9ef6
HV
2002# Check whether --with-gnutls was given.
2003if test "${with_gnutls+set}" = set; then
2004 withval=$with_gnutls;
2005fi
2006
2007
a41f0f1b
AJ
2008# Check whether --with-hal was given.
2009if test "${with_hal+set}" = set; then
2010 withval=$with_hal;
2011fi
2012
2013
2014# Check whether --with-jack was given.
2015if test "${with_jack+set}" = set; then
2016 withval=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h=no; fi
2017fi
2018
2019
2020# Check whether --with-jpeg was given.
2021if test "${with_jpeg+set}" = set; then
2022 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
2023fi
2024
2025
2026# Check whether --with-ldap was given.
2027if test "${with_ldap+set}" = set; then
2028 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
2029fi
2030
2031
2032# Check whether --with-nas was given.
2033if test "${with_nas+set}" = set; then
2034 withval=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h=no; fi
2035fi
2036
2037
fc6ffb29 2038# Check whether --with-opengl was given.
b8074991 2039if test "${with_opengl+set}" = set; then
fc6ffb29
AJ
2040 withval=$with_opengl;
2041fi
f90efa9c
AJ
2042
2043
a41f0f1b
AJ
2044# Check whether --with-openssl was given.
2045if test "${with_openssl+set}" = set; then
2046 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2047fi
2048
2049
2050# Check whether --with-oss was given.
2051if test "${with_oss+set}" = set; then
2052 withval=$with_oss; if test "x$withval" = "xno"; then ac_cv_header_soundcard_h=no; ac_cv_header_sys_soundcard_h=no; ac_cv_header_machine_soundcard_h=no; fi
2053fi
2054
2055
2056# Check whether --with-png was given.
2057if test "${with_png+set}" = set; then
2058 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2059fi
2060
2061
2062# Check whether --with-sane was given.
2063if test "${with_sane+set}" = set; then
2064 withval=$with_sane;
2065fi
2066
2067
2068# Check whether --with-xcomposite was given.
2069if test "${with_xcomposite+set}" = set; then
2070 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2071fi
2072
2073
2074# Check whether --with-xcursor was given.
2075if test "${with_xcursor+set}" = set; then
2076 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2077fi
2078
2079
2080# Check whether --with-xinerama was given.
2081if test "${with_xinerama+set}" = set; then
2082 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2083fi
2084
2085
2086# Check whether --with-xinput was given.
2087if test "${with_xinput+set}" = set; then
2088 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2089fi
2090
2091
2092# Check whether --with-xml was given.
2093if test "${with_xml+set}" = set; then
2094 withval=$with_xml;
2095fi
2096
2097
2098# Check whether --with-xrandr was given.
2099if test "${with_xrandr+set}" = set; then
2100 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2101fi
2102
2103
2104# Check whether --with-xrender was given.
2105if test "${with_xrender+set}" = set; then
2106 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2107fi
2108
2109
2110# Check whether --with-xshape was given.
2111if test "${with_xshape+set}" = set; then
2112 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2113fi
2114
2115
2116# Check whether --with-xshm was given.
2117if test "${with_xshm+set}" = set; then
2118 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2119fi
2120
2121
2122# Check whether --with-xslt was given.
2123if test "${with_xslt+set}" = set; then
2124 withval=$with_xslt;
2125fi
2126
2127
a49beb4c
FG
2128# Check whether --with-xxf86vm was given.
2129if test "${with_xxf86vm+set}" = set; then
2130 withval=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; fi
a41f0f1b
AJ
2131fi
2132
2133
2134
fc6ffb29 2135# Check whether --with-wine-tools was given.
fc01b729 2136if test "${with_wine_tools+set}" = set; then
fc6ffb29
AJ
2137 withval=$with_wine_tools;
2138fi
fc01b729 2139
fc01b729 2140
f5818d2f 2141# Make sure we can run config.sub.
0ebeb530
JW
2142$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2143 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2144echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
f5818d2f
AJ
2145 { (exit 1); exit 1; }; }
2146
fc6ffb29
AJ
2147{ echo "$as_me:$LINENO: checking build system type" >&5
2148echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
f5818d2f
AJ
2149if test "${ac_cv_build+set}" = set; then
2150 echo $ECHO_N "(cached) $ECHO_C" >&6
2151else
fc6ffb29
AJ
2152 ac_build_alias=$build_alias
2153test "x$ac_build_alias" = x &&
0ebeb530 2154 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
fc6ffb29 2155test "x$ac_build_alias" = x &&
daa2886c 2156 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
f5818d2f
AJ
2157echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2158 { (exit 1); exit 1; }; }
0ebeb530
JW
2159ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2160 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2161echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
f5818d2f
AJ
2162 { (exit 1); exit 1; }; }
2163
2164fi
fc6ffb29
AJ
2165{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2166echo "${ECHO_T}$ac_cv_build" >&6; }
2167case $ac_cv_build in
2168*-*-*) ;;
2169*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2170echo "$as_me: error: invalid value of canonical build" >&2;}
2171 { (exit 1); exit 1; }; };;
2172esac
f5818d2f 2173build=$ac_cv_build
fc6ffb29
AJ
2174ac_save_IFS=$IFS; IFS='-'
2175set x $ac_cv_build
2176shift
2177build_cpu=$1
2178build_vendor=$2
2179shift; shift
2180# Remember, the first character of IFS is used to create $*,
2181# except with old shells:
2182build_os=$*
2183IFS=$ac_save_IFS
2184case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2185
2186
2187{ echo "$as_me:$LINENO: checking host system type" >&5
2188echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
f5818d2f
AJ
2189if test "${ac_cv_host+set}" = set; then
2190 echo $ECHO_N "(cached) $ECHO_C" >&6
2191else
fc6ffb29
AJ
2192 if test "x$host_alias" = x; then
2193 ac_cv_host=$ac_cv_build
2194else
0ebeb530
JW
2195 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2196 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2197echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
f5818d2f 2198 { (exit 1); exit 1; }; }
fc6ffb29 2199fi
f5818d2f
AJ
2200
2201fi
fc6ffb29
AJ
2202{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2203echo "${ECHO_T}$ac_cv_host" >&6; }
2204case $ac_cv_host in
2205*-*-*) ;;
2206*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2207echo "$as_me: error: invalid value of canonical host" >&2;}
2208 { (exit 1); exit 1; }; };;
2209esac
f5818d2f 2210host=$ac_cv_host
fc6ffb29
AJ
2211ac_save_IFS=$IFS; IFS='-'
2212set x $ac_cv_host
2213shift
2214host_cpu=$1
2215host_vendor=$2
2216shift; shift
2217# Remember, the first character of IFS is used to create $*,
2218# except with old shells:
2219host_os=$*
2220IFS=$ac_save_IFS
2221case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
f5818d2f 2222
daa2886c 2223
2aa8e871
AJ
2224case $host in
2225 x86_64*linux*)
2226 if test "x$enable_win64" != "xyes"
2227 then
2228 test -n "$CC" || CC="gcc -m32"
e06016fa 2229 test -n "$CXX"|| CXX="g++ -m32"
2aa8e871
AJ
2230 test -n "$LD" || LD="ld -m elf_i386"
2231 test -n "$AS" || AS="as --32"
bbcf9864 2232 host_cpu="i386"
2aa8e871
AJ
2233 fi
2234 ;;
2235esac
2236
71440f35
AJ
2237case $host_cpu in
2238 *i[3456789]86*)
2239 if test "x$enable_win16" != "xno"
2240 then
2241 enable_win16="yes"
2242 fi
2243 ;;
2244esac
2245
2246WIN16_FILES="\$(WIN16_FILES)"
2247
2248WIN16_INSTALL="\$(WIN16_INSTALL)"
2249
2250if test "x$enable_win16" != "xyes"
2251then
2252 WIN16_FILES=""
2253 WIN16_INSTALL=""
2254fi
2255
73b724e7
AJ
2256case "$srcdir" in
2257 .) ;;
2258 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2259 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2260You need to run 'make distclean' in the source tree first." >&5
2261echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2262You need to run 'make distclean' in the source tree first." >&2;}
2263 { (exit 1); exit 1; }; }
2264 fi ;;
2265esac
2266
71440f35 2267
fc6ffb29
AJ
2268{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2269echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
0ebeb530 2270set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
fc6ffb29 2271if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
f5818d2f
AJ
2272 echo $ECHO_N "(cached) $ECHO_C" >&6
2273else
daa2886c 2274 cat >conftest.make <<\_ACEOF
fc6ffb29 2275SHELL = /bin/sh
e2991ea7 2276all:
0ebeb530 2277 @echo '@@@%%%=$(MAKE)=@@@%%%'
daa2886c 2278_ACEOF
e2991ea7 2279# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
0ebeb530
JW
2280case `${MAKE-make} -f conftest.make 2>/dev/null` in
2281 *@@@%%%=?*=@@@%%%*)
2282 eval ac_cv_prog_make_${ac_make}_set=yes;;
2283 *)
2284 eval ac_cv_prog_make_${ac_make}_set=no;;
2285esac
f5818d2f 2286rm -f conftest.make
e2991ea7 2287fi
0ebeb530 2288if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
fc6ffb29
AJ
2289 { echo "$as_me:$LINENO: result: yes" >&5
2290echo "${ECHO_T}yes" >&6; }
e2991ea7
AJ
2291 SET_MAKE=
2292else
fc6ffb29
AJ
2293 { echo "$as_me:$LINENO: result: no" >&5
2294echo "${ECHO_T}no" >&6; }
e2991ea7
AJ
2295 SET_MAKE="MAKE=${MAKE-make}"
2296fi
2297
f5818d2f
AJ
2298ac_ext=c
2299ac_cpp='$CPP $CPPFLAGS'
2300ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2301ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2302ac_compiler_gnu=$ac_cv_c_compiler_gnu
2303if test -n "$ac_tool_prefix"; then
2304 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2305set dummy ${ac_tool_prefix}gcc; ac_word=$2
fc6ffb29
AJ
2306{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2307echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
f5818d2f
AJ
2308if test "${ac_cv_prog_CC+set}" = set; then
2309 echo $ECHO_N "(cached) $ECHO_C" >&6
2310else
2311 if test -n "$CC"; then
2312 ac_cv_prog_CC="$CC" # Let the user override the test.
2313else
daa2886c
AJ
2314as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2315for as_dir in $PATH
2316do
2317 IFS=$as_save_IFS
2318 test -z "$as_dir" && as_dir=.
2319 for ac_exec_ext in '' $ac_executable_extensions; do
dc9f3843 2320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
daa2886c
AJ
2321 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2323 break 2
2324 fi
2325done
f5818d2f 2326done
fc6ffb29 2327IFS=$as_save_IFS
f5818d2f
AJ
2328
2329fi
2330fi
2331CC=$ac_cv_prog_CC
2332if test -n "$CC"; then
fc6ffb29
AJ
2333 { echo "$as_me:$LINENO: result: $CC" >&5
2334echo "${ECHO_T}$CC" >&6; }
f5818d2f 2335else
fc6ffb29
AJ
2336 { echo "$as_me:$LINENO: result: no" >&5
2337echo "${ECHO_T}no" >&6; }
f5818d2f
AJ
2338fi
2339
fc6ffb29 2340
f5818d2f
AJ
2341fi
2342if test -z "$ac_cv_prog_CC"; then
2343 ac_ct_CC=$CC
2344 # Extract the first word of "gcc", so it can be a program name with args.
e2991ea7 2345set dummy gcc; ac_word=$2
fc6ffb29
AJ
2346{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2347echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
f5818d2f
AJ
2348if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2349 echo $ECHO_N "(cached) $ECHO_C" >&6
2350else
2351 if test -n "$ac_ct_CC"; then
2352 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2353else
daa2886c
AJ
2354as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2355for as_dir in $PATH
2356do
2357 IFS=$as_save_IFS
2358 test -z "$as_dir" && as_dir=.
2359 for ac_exec_ext in '' $ac_executable_extensions; do
dc9f3843 2360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
daa2886c
AJ
2361 ac_cv_prog_ac_ct_CC="gcc"
2362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2363 break 2
2364 fi
2365done
f5818d2f 2366done
fc6ffb29 2367IFS=$as_save_IFS
f5818d2f
AJ
2368
2369fi
2370fi
2371ac_ct_CC=$ac_cv_prog_ac_ct_CC
2372if test -n "$ac_ct_CC"; then
fc6ffb29
AJ
2373 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2374echo "${ECHO_T}$ac_ct_CC" >&6; }
f5818d2f 2375else
fc6ffb29
AJ
2376 { echo "$as_me:$LINENO: result: no" >&5
2377echo "${ECHO_T}no" >&6; }
f5818d2f
AJ
2378fi
2379
fc6ffb29
AJ
2380 if test "x$ac_ct_CC" = x; then
2381 CC=""
2382 else
2383 case $cross_compiling:$ac_tool_warned in
2384yes:)
2385{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2386whose name does not start with the host triplet. If you think this
2387configuration is useful to you, please write to autoconf@gnu.org." >&5
2388echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2389whose name does not start with the host triplet. If you think this
2390configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2391ac_tool_warned=yes ;;
2392esac
2393 CC=$ac_ct_CC
2394 fi
f5818d2f
AJ
2395else
2396 CC="$ac_cv_prog_CC"
2397fi
2398
2399if test -z "$CC"; then
fc6ffb29
AJ
2400 if test -n "$ac_tool_prefix"; then
2401 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
f5818d2f 2402set dummy ${ac_tool_prefix}cc; ac_word=$2
fc6ffb29
AJ
2403{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2404echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
f5818d2f
AJ
2405if test "${ac_cv_prog_CC+set}" = set; then
2406 echo $ECHO_N "(cached) $ECHO_C" >&6
e2991ea7
AJ
2407else
2408 if test -n "$CC"; then
2409 ac_cv_prog_CC="$CC" # Let the user override the test.
2410else
daa2886c
AJ
2411as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2412for as_dir in $PATH
2413do
2414 IFS=$as_save_IFS
2415 test -z "$as_dir" && as_dir=.
2416 for ac_exec_ext in '' $ac_executable_extensions; do
dc9f3843 2417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
daa2886c
AJ
2418 ac_cv_prog_CC="${ac_tool_prefix}cc"
2419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2420 break 2
2421 fi
2422done
f5818d2f 2423done
fc6ffb29 2424IFS=$as_save_IFS
f5818d2f 2425
e2991ea7
AJ
2426fi
2427fi
f5818d2f 2428CC=$ac_cv_prog_CC
e2991ea7 2429if test -n "$CC"; then
fc6ffb29
AJ
2430 { echo "$as_me:$LINENO: result: $CC" >&5
2431echo "${ECHO_T}$CC" >&6; }
f5818d2f 2432else
fc6ffb29
AJ
2433 { echo "$as_me:$LINENO: result: no" >&5
2434echo "${ECHO_T}no" >&6; }
f5818d2f
AJ
2435fi
2436
e2991ea7 2437
fc6ffb29 2438 fi
f5818d2f 2439fi
b817f4fb
AJ
2440if test -z "$CC"; then
2441 # Extract the first word of "cc", so it can be a program name with args.
2442set dummy cc; ac_word=$2
fc6ffb29
AJ
2443{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2444echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
f5818d2f
AJ
2445if test "${ac_cv_prog_CC+set}" = set; then
2446 echo $ECHO_N "(cached) $ECHO_C" >&6
b817f4fb
AJ
2447else
2448 if test -n "$CC"; then
2449 ac_cv_prog_CC="$CC" # Let the user override the test.
2450else
b817f4fb 2451 ac_prog_rejected=no
daa2886c
AJ
2452as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2453for as_dir in $PATH
2454do
2455 IFS=$as_save_IFS
2456 test -z "$as_dir" && as_dir=.
2457 for ac_exec_ext in '' $ac_executable_extensions; do
dc9f3843 2458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
daa2886c
AJ
2459 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2460 ac_prog_rejected=yes
2461 continue
2462 fi
2463 ac_cv_prog_CC="cc"
2464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2465 break 2
2466 fi
2467done
f5818d2f 2468done
fc6ffb29 2469IFS=$as_save_IFS
f5818d2f 2470
b817f4fb
AJ
2471if test $ac_prog_rejected = yes; then
2472 # We found a bogon in the path, so make sure we never use it.
2473 set dummy $ac_cv_prog_CC
2474 shift
f5818d2f 2475 if test $# != 0; then
b817f4fb
AJ
2476 # We chose a different compiler from the bogus one.
2477 # However, it has the same basename, so the bogon will be chosen
2478 # first if we set CC to just the basename; use the full file name.
2479 shift
11af04e3 2480 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
b817f4fb
AJ
2481 fi
2482fi
2483fi
2484fi
f5818d2f 2485CC=$ac_cv_prog_CC
b817f4fb 2486if test -n "$CC"; then
fc6ffb29
AJ
2487 { echo "$as_me:$LINENO: result: $CC" >&5
2488echo "${ECHO_T}$CC" >&6; }
b817f4fb 2489else
fc6ffb29
AJ
2490 { echo "$as_me:$LINENO: result: no" >&5
2491echo "${ECHO_T}no" >&6; }
b817f4fb
AJ
2492fi
2493
fc6ffb29 2494
f5818d2f
AJ
2495fi
2496if test -z "$CC"; then
2497 if test -n "$ac_tool_prefix"; then
fc6ffb29 2498 for ac_prog in cl.exe
f5818d2f
AJ
2499 do
2500 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2501set dummy $ac_tool_prefix$ac_prog; ac_word=$2
fc6ffb29
AJ
2502{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2503echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
f5818d2f
AJ
2504if test "${ac_cv_prog_CC+set}" = set; then
2505 echo $ECHO_N "(cached) $ECHO_C" >&6
2506else
2507 if test -n "$CC"; then
18ad24a7
EP
2508 ac_cv_prog_CC="$CC" # Let the user override the test.
2509else
daa2886c
AJ
2510as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2511for as_dir in $PATH
2512do
2513 IFS=$as_save_IFS
2514 test -z "$as_dir" && as_dir=.
2515 for ac_exec_ext in '' $ac_executable_extensions; do
dc9f3843 2516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
daa2886c
AJ
2517 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2518 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2519 break 2
2520 fi
2521done
f5818d2f 2522done
fc6ffb29 2523IFS=$as_save_IFS
f5818d2f 2524
18ad24a7
EP
2525fi
2526fi
f5818d2f 2527CC=$ac_cv_prog_CC
18ad24a7 2528if test -n "$CC"; then
fc6ffb29
AJ
2529 { echo "$as_me:$LINENO: result: $CC" >&5
2530echo "${ECHO_T}$CC" >&6; }
18ad24a7 2531else
fc6ffb29
AJ
2532 { echo "$as_me:$LINENO: result: no" >&5
2533echo "${ECHO_T}no" >&6; }
b817f4fb 2534fi
e2991ea7 2535
fc6ffb29 2536
f5818d2f
AJ
2537 test -n "$CC" && break
2538 done
2539fi
2540if test -z "$CC"; then
2541 ac_ct_CC=$CC
fc6ffb29 2542 for ac_prog in cl.exe
f5818d2f
AJ
2543do
2544 # Extract the first word of "$ac_prog", so it can be a program name with args.
2545set dummy $ac_prog; ac_word=$2
fc6ffb29
AJ
2546{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2547echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
f5818d2f
AJ
2548if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2549 echo $ECHO_N "(cached) $ECHO_C" >&6
2550else
2551 if test -n "$ac_ct_CC"; then
2552 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2553else
daa2886c
AJ
2554as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2555for as_dir in $PATH
2556do
2557 IFS=$as_save_IFS
2558 test -z "$as_dir" && as_dir=.
2559 for ac_exec_ext in '' $ac_executable_extensions; do
dc9f3843 2560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
daa2886c
AJ
2561 ac_cv_prog_ac_ct_CC="$ac_prog"
2562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2563 break 2
2564 fi
2565done
f5818d2f 2566done
fc6ffb29 2567IFS=$as_save_IFS
da0cfb36 2568
f5818d2f
AJ
2569fi
2570fi
2571ac_ct_CC=$ac_cv_prog_ac_ct_CC
2572if test -n "$ac_ct_CC"; then
fc6ffb29
AJ
2573 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2574echo "${ECHO_T}$ac_ct_CC" >&6; }
f5818d2f 2575else
fc6ffb29
AJ
2576 { echo "$as_me:$LINENO: result: no" >&5
2577echo "${ECHO_T}no" >&6; }
f5818d2f 2578fi
da0cfb36 2579
fc6ffb29 2580
f5818d2f
AJ
2581 test -n "$ac_ct_CC" && break
2582done
18ad24a7 2583
fc6ffb29
AJ
2584 if test "x$ac_ct_CC" = x; then
2585 CC=""
2586 else
2587 case $cross_compiling:$ac_tool_warned in
2588yes:)
2589{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2590whose name does not start with the host triplet. If you think this
2591configuration is useful to you, please write to autoconf@gnu.org." >&5
2592echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2593whose name does not start with the host triplet. If you think this
2594configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2595ac_tool_warned=yes ;;
2596esac
2597 CC=$ac_ct_CC
2598 fi
f5818d2f
AJ
2599fi
2600
2601fi
2602
daa2886c 2603
e24bcc77
AJ
2604test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2605See \`config.log' for more details." >&5
2606echo "$as_me: error: no acceptable C compiler found in \$PATH
2607See \`config.log' for more details." >&2;}
f5818d2f
AJ
2608 { (exit 1); exit 1; }; }
2609
2610# Provide some information about the compiler.
fc6ffb29 2611echo "$as_me:$LINENO: checking for C compiler version" >&5
f5818d2f 2612ac_compiler=`set X $ac_compile; echo $2`
0ebeb530
JW
2613{ (ac_try="$ac_compiler --version >&5"
2614case "(($ac_try" in
2615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2616 *) ac_try_echo=$ac_try;;
2617esac
2618eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2619 (eval "$ac_compiler --version >&5") 2>&5
f5818d2f 2620 ac_status=$?
daa2886c 2621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
f5818d2f 2622 (exit $ac_status); }
0ebeb530
JW
2623{ (ac_try="$ac_compiler -v >&5"
2624case "(($ac_try" in
2625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2626 *) ac_try_echo=$ac_try;;
2627esac
2628eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2629 (eval "$ac_compiler -v >&5") 2>&5
f5818d2f 2630 ac_status=$?
daa2886c 2631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
f5818d2f 2632 (exit $ac_status); }
0ebeb530
JW
2633{ (ac_try="$ac_compiler -V >&5"
2634case "(($ac_try" in
2635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2636 *) ac_try_echo=$ac_try;;
2637esac
2638eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2639 (eval "$ac_compiler -V >&5") 2>&5
f5818d2f 2640 ac_status=$?
daa2886c 2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
f5818d2f
AJ
2642 (exit $ac_status); }
2643
2644cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
2645/* confdefs.h. */
2646_ACEOF
2647cat confdefs.h >>conftest.$ac_ext
2648cat >>conftest.$ac_ext <<_ACEOF
2649/* end confdefs.h. */
18ad24a7 2650
f5818d2f
AJ
2651int
2652main ()
2653{
2654
2655 ;
2656 return 0;
2657}
2658_ACEOF
2659ac_clean_files_save=$ac_clean_files
0ebeb530 2660ac_clean_files="$ac_clean_files a.out a.exe b.out"
f5818d2f
AJ
2661# Try to create an executable without -o first, disregard a.out.
2662# It will help us diagnose broken compilers, and finding out an intuition
2663# of exeext.
fc6ffb29
AJ
2664{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2665echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
f5818d2f 2666ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
0ebeb530
JW
2667#
2668# List of possible output files, starting from the most likely.
2669# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2670# only as a last resort. b.out is created by i960 compilers.
2671ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2672#
2673# The IRIX 6 linker writes into existing files which may not be
2674# executable, retaining their permissions. Remove them first so a
2675# subsequent execution test works.
2676ac_rmfiles=
2677for ac_file in $ac_files
2678do
2679 case $ac_file in
2680 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2681 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2682 esac
2683done
2684rm -f $ac_rmfiles
fc6ffb29 2685
0ebeb530
JW
2686if { (ac_try="$ac_link_default"
2687case "(($ac_try" in
2688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2689 *) ac_try_echo=$ac_try;;
2690esac
2691eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2692 (eval "$ac_link_default") 2>&5
f5818d2f 2693 ac_status=$?
daa2886c 2694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
f5818d2f 2695 (exit $ac_status); }; then
0ebeb530
JW
2696 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2697# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2698# in a Makefile. We should not override ac_cv_exeext if it was cached,
2699# so that the user can short-circuit this test for compilers unknown to
2700# Autoconf.
78bd1948 2701for ac_file in $ac_files ''
e24bcc77 2702do
11af04e3 2703 test -f "$ac_file" || continue
f5818d2f 2704 case $ac_file in
0ebeb530
JW
2705 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2706 ;;
2707 [ab].out )
2708 # We found the default executable, but exeext='' is most
2709 # certainly right.
2710 break;;
2711 *.* )
2712 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2713 then :; else
2714 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2715 fi
2716 # We set ac_cv_exeext here because the later test for it is not
2717 # safe: cross compilers may not add the suffix if given an `-o'
2718 # argument, so we may need to know it at that point already.
2719 # Even if this section looks crufty: it has the advantage of
2720 # actually working.
2721 break;;
2722 * )
2723 break;;
f5818d2f
AJ
2724 esac
2725done
0ebeb530 2726test "$ac_cv_exeext" = no && ac_cv_exeext=
fc6ffb29 2727
f5818d2f 2728else
78bd1948
AJ
2729 ac_file=''
2730fi
2731
2732{ echo "$as_me:$LINENO: result: $ac_file" >&5
2733echo "${ECHO_T}$ac_file" >&6; }
2734if test -z "$ac_file"; then
f5818d2f 2735 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
2736sed 's/^/| /' conftest.$ac_ext >&5
2737
11af04e3 2738{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
e24bcc77 2739See \`config.log' for more details." >&5
11af04e3 2740echo "$as_me: error: C compiler cannot create executables
e24bcc77 2741See \`config.log' for more details." >&2;}
f5818d2f
AJ
2742 { (exit 77); exit 77; }; }
2743fi
2744
0ebeb530 2745ac_exeext=$ac_cv_exeext
0ebeb530 2746
fc6ffb29 2747# Check that the compiler produces executables we can run. If not, either
f5818d2f 2748# the compiler is broken, or we cross compile.
fc6ffb29
AJ
2749{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2750echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
f5818d2f
AJ
2751# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2752# If not cross compiling, check that we can run a simple program.
2753if test "$cross_compiling" != yes; then
2754 if { ac_try='./$ac_file'
0ebeb530
JW
2755 { (case "(($ac_try" in
2756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2757 *) ac_try_echo=$ac_try;;
2758esac
2759eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2760 (eval "$ac_try") 2>&5
f5818d2f 2761 ac_status=$?
daa2886c 2762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
f5818d2f
AJ
2763 (exit $ac_status); }; }; then
2764 cross_compiling=no
7e6ae4ba 2765 else
f5818d2f
AJ
2766 if test "$cross_compiling" = maybe; then
2767 cross_compiling=yes
2768 else
daa2886c 2769 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
e24bcc77
AJ
2770If you meant to cross compile, use \`--host'.
2771See \`config.log' for more details." >&5
f5818d2f 2772echo "$as_me: error: cannot run C compiled programs.
e24bcc77
AJ
2773If you meant to cross compile, use \`--host'.
2774See \`config.log' for more details." >&2;}
f5818d2f
AJ
2775 { (exit 1); exit 1; }; }
2776 fi
7e6ae4ba 2777 fi
f5818d2f 2778fi
fc6ffb29
AJ
2779{ echo "$as_me:$LINENO: result: yes" >&5
2780echo "${ECHO_T}yes" >&6; }
f5818d2f 2781
0ebeb530
JW
2782rm -f a.out a.exe conftest$ac_cv_exeext b.out
2783ac_clean_files=$ac_clean_files_save
2784# Check that the compiler produces executables we can run. If not, either
2785# the compiler is broken, or we cross compile.
fc6ffb29
AJ
2786{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2787echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2788{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2789echo "${ECHO_T}$cross_compiling" >&6; }
2790
2791{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2792echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
0ebeb530
JW
2793if { (ac_try="$ac_link"
2794case "(($ac_try" in
2795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2796 *) ac_try_echo=$ac_try;;
2797esac
2798eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2799 (eval "$ac_link") 2>&5
f5818d2f 2800 ac_status=$?
daa2886c 2801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
f5818d2f 2802 (exit $ac_status); }; then
0ebeb530
JW
2803 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2804# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2805# work properly (i.e., refer to `conftest.exe'), while it won't with
2806# `rm'.
2807for ac_file in conftest.exe conftest conftest.*; do
2808 test -f "$ac_file" || continue
2809 case $ac_file in
2810 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2811 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2812 break;;
2813 * ) break;;
2814 esac
2815done
da0cfb36 2816else
e24bcc77
AJ
2817 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2818See \`config.log' for more details." >&5
2819echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2820See \`config.log' for more details." >&2;}
f5818d2f 2821 { (exit 1); exit 1; }; }
da0cfb36 2822fi
da0cfb36 2823
0ebeb530 2824rm -f conftest$ac_cv_exeext
fc6ffb29
AJ
2825{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2826echo "${ECHO_T}$ac_cv_exeext" >&6; }
0ebeb530
JW
2827
2828rm -f conftest.$ac_ext
f5818d2f
AJ
2829EXEEXT=$ac_cv_exeext
2830ac_exeext=$EXEEXT
fc6ffb29
AJ
2831{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2832echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
f5818d2f
AJ
2833if test "${ac_cv_objext+set}" = set; then
2834 echo $ECHO_N "(cached) $ECHO_C" >&6
e2991ea7 2835else
0ebeb530
JW
2836 cat >conftest.$ac_ext <<_ACEOF
2837/* confdefs.h. */
2838_ACEOF
2839cat confdefs.h >>conftest.$ac_ext
2840cat >>conftest.$ac_ext <<_ACEOF
2841/* end confdefs.h. */
2842
2843int
2844main ()
2845{
2846
2847 ;
2848 return 0;
2849}
2850_ACEOF
2851rm -f conftest.o conftest.obj
2852if { (ac_try="$ac_compile"
2853case "(($ac_try" in
2854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2855 *) ac_try_echo=$ac_try;;
2856esac
2857eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2858 (eval "$ac_compile") 2>&5
f5818d2f 2859 ac_status=$?
daa2886c 2860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
f5818d2f 2861 (exit $ac_status); }; then
fc6ffb29
AJ
2862 for ac_file in conftest.o conftest.obj conftest.*; do
2863 test -f "$ac_file" || continue;
f5818d2f 2864 case $ac_file in
fc6ffb29 2865 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
f5818d2f
AJ
2866 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2867 break;;
2868 esac
2869done
18ad24a7 2870else
f5818d2f 2871 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
2872sed 's/^/| /' conftest.$ac_ext >&5
2873
2874{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2875See \`config.log' for more details." >&5
2876echo "$as_me: error: cannot compute suffix of object files: cannot compile
2877See \`config.log' for more details." >&2;}
f5818d2f 2878 { (exit 1); exit 1; }; }
18ad24a7
EP
2879fi
2880
0ebeb530 2881rm -f conftest.$ac_cv_objext conftest.$ac_ext
f5818d2f 2882fi
fc6ffb29
AJ
2883{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2884echo "${ECHO_T}$ac_cv_objext" >&6; }
f5818d2f
AJ
2885OBJEXT=$ac_cv_objext
2886ac_objext=$OBJEXT
fc6ffb29
AJ
2887{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2888echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
f5818d2f
AJ
2889if test "${ac_cv_c_compiler_gnu+set}" = set; then
2890 echo $ECHO_N "(cached) $ECHO_C" >&6
e2991ea7 2891else
f5818d2f 2892 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
2893/* confdefs.h. */
2894_ACEOF
2895cat confdefs.h >>conftest.$ac_ext
2896cat >>conftest.$ac_ext <<_ACEOF
2897/* end confdefs.h. */
f5818d2f
AJ
2898
2899int
2900main ()
2901{
2902#ifndef __GNUC__
2903 choke me
2904#endif
2905
2906 ;
2907 return 0;
2908}
2909_ACEOF
2910rm -f conftest.$ac_objext
0ebeb530
JW
2911if { (ac_try="$ac_compile"
2912case "(($ac_try" in
2913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2914 *) ac_try_echo=$ac_try;;
2915esac
2916eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2917 (eval "$ac_compile") 2>conftest.er1
f5818d2f 2918 ac_status=$?
875927f6
AJ
2919 grep -v '^ *+' conftest.er1 >conftest.err
2920 rm -f conftest.er1
2921 cat conftest.err >&5
daa2886c 2922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
2923 (exit $ac_status); } && {
2924 test -z "$ac_c_werror_flag" ||
2925 test ! -s conftest.err
2926 } && test -s conftest.$ac_objext; then
f5818d2f
AJ
2927 ac_compiler_gnu=yes
2928else
2929 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
2930sed 's/^/| /' conftest.$ac_ext >&5
2931
fc6ffb29 2932 ac_compiler_gnu=no
f5818d2f 2933fi
fc6ffb29 2934
0ebeb530 2935rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
f5818d2f
AJ
2936ac_cv_c_compiler_gnu=$ac_compiler_gnu
2937
2938fi
fc6ffb29
AJ
2939{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2940echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
f5818d2f
AJ
2941GCC=`test $ac_compiler_gnu = yes && echo yes`
2942ac_test_CFLAGS=${CFLAGS+set}
2943ac_save_CFLAGS=$CFLAGS
fc6ffb29
AJ
2944{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2945echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
f5818d2f
AJ
2946if test "${ac_cv_prog_cc_g+set}" = set; then
2947 echo $ECHO_N "(cached) $ECHO_C" >&6
2948else
fc6ffb29
AJ
2949 ac_save_c_werror_flag=$ac_c_werror_flag
2950 ac_c_werror_flag=yes
2951 ac_cv_prog_cc_g=no
2952 CFLAGS="-g"
2953 cat >conftest.$ac_ext <<_ACEOF
2954/* confdefs.h. */
2955_ACEOF
2956cat confdefs.h >>conftest.$ac_ext
2957cat >>conftest.$ac_ext <<_ACEOF
2958/* end confdefs.h. */
2959
2960int
2961main ()
2962{
2963
2964 ;
2965 return 0;
2966}
2967_ACEOF
2968rm -f conftest.$ac_objext
0ebeb530
JW
2969if { (ac_try="$ac_compile"
2970case "(($ac_try" in
2971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2972 *) ac_try_echo=$ac_try;;
2973esac
2974eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2975 (eval "$ac_compile") 2>conftest.er1
fc6ffb29
AJ
2976 ac_status=$?
2977 grep -v '^ *+' conftest.er1 >conftest.err
2978 rm -f conftest.er1
2979 cat conftest.err >&5
2980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
2981 (exit $ac_status); } && {
2982 test -z "$ac_c_werror_flag" ||
2983 test ! -s conftest.err
2984 } && test -s conftest.$ac_objext; then
fc6ffb29
AJ
2985 ac_cv_prog_cc_g=yes
2986else
2987 echo "$as_me: failed program was:" >&5
2988sed 's/^/| /' conftest.$ac_ext >&5
2989
2990 CFLAGS=""
2991 cat >conftest.$ac_ext <<_ACEOF
2992/* confdefs.h. */
2993_ACEOF
2994cat confdefs.h >>conftest.$ac_ext
2995cat >>conftest.$ac_ext <<_ACEOF
2996/* end confdefs.h. */
2997
2998int
2999main ()
3000{
3001
3002 ;
3003 return 0;
3004}
3005_ACEOF
3006rm -f conftest.$ac_objext
0ebeb530
JW
3007if { (ac_try="$ac_compile"
3008case "(($ac_try" in
3009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3010 *) ac_try_echo=$ac_try;;
3011esac
3012eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3013 (eval "$ac_compile") 2>conftest.er1
fc6ffb29
AJ
3014 ac_status=$?
3015 grep -v '^ *+' conftest.er1 >conftest.err
3016 rm -f conftest.er1
3017 cat conftest.err >&5
3018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
3019 (exit $ac_status); } && {
3020 test -z "$ac_c_werror_flag" ||
3021 test ! -s conftest.err
3022 } && test -s conftest.$ac_objext; then
fc6ffb29
AJ
3023 :
3024else
3025 echo "$as_me: failed program was:" >&5
3026sed 's/^/| /' conftest.$ac_ext >&5
3027
3028 ac_c_werror_flag=$ac_save_c_werror_flag
3029 CFLAGS="-g"
3030 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
3031/* confdefs.h. */
3032_ACEOF
3033cat confdefs.h >>conftest.$ac_ext
3034cat >>conftest.$ac_ext <<_ACEOF
3035/* end confdefs.h. */
f5818d2f
AJ
3036
3037int
3038main ()
3039{
3040
3041 ;
3042 return 0;
3043}
3044_ACEOF
3045rm -f conftest.$ac_objext
0ebeb530
JW
3046if { (ac_try="$ac_compile"
3047case "(($ac_try" in
3048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3049 *) ac_try_echo=$ac_try;;
3050esac
3051eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3052 (eval "$ac_compile") 2>conftest.er1
f5818d2f 3053 ac_status=$?
875927f6
AJ
3054 grep -v '^ *+' conftest.er1 >conftest.err
3055 rm -f conftest.er1
3056 cat conftest.err >&5
daa2886c 3057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
3058 (exit $ac_status); } && {
3059 test -z "$ac_c_werror_flag" ||
3060 test ! -s conftest.err
3061 } && test -s conftest.$ac_objext; then
7e6ae4ba 3062 ac_cv_prog_cc_g=yes
e2991ea7 3063else
f5818d2f 3064 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
3065sed 's/^/| /' conftest.$ac_ext >&5
3066
fc6ffb29
AJ
3067
3068fi
3069
0ebeb530 3070rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fc6ffb29
AJ
3071fi
3072
0ebeb530 3073rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
e2991ea7 3074fi
fc6ffb29 3075
0ebeb530 3076rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fc6ffb29 3077 ac_c_werror_flag=$ac_save_c_werror_flag
e2991ea7 3078fi
fc6ffb29
AJ
3079{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3080echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18ad24a7 3081if test "$ac_test_CFLAGS" = set; then
f5818d2f 3082 CFLAGS=$ac_save_CFLAGS
18ad24a7
EP
3083elif test $ac_cv_prog_cc_g = yes; then
3084 if test "$GCC" = yes; then
da0cfb36
AJ
3085 CFLAGS="-g -O2"
3086 else
18ad24a7 3087 CFLAGS="-g"
e2991ea7
AJ
3088 fi
3089else
18ad24a7
EP
3090 if test "$GCC" = yes; then
3091 CFLAGS="-O2"
3092 else
3093 CFLAGS=
3094 fi
e2991ea7 3095fi
fc6ffb29
AJ
3096{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3097echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3098if test "${ac_cv_prog_cc_c89+set}" = set; then
11af04e3
AJ
3099 echo $ECHO_N "(cached) $ECHO_C" >&6
3100else
fc6ffb29 3101 ac_cv_prog_cc_c89=no
11af04e3
AJ
3102ac_save_CC=$CC
3103cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
3104/* confdefs.h. */
3105_ACEOF
3106cat confdefs.h >>conftest.$ac_ext
3107cat >>conftest.$ac_ext <<_ACEOF
3108/* end confdefs.h. */
11af04e3
AJ
3109#include <stdarg.h>
3110#include <stdio.h>
3111#include <sys/types.h>
3112#include <sys/stat.h>
3113/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3114struct buf { int x; };
3115FILE * (*rcsopen) (struct buf *, struct stat *, int);
3116static char *e (p, i)
3117 char **p;
3118 int i;
3119{
3120 return p[i];
3121}
3122static char *f (char * (*g) (char **, int), char **p, ...)
3123{
3124 char *s;
3125 va_list v;
3126 va_start (v,p);
3127 s = g (p, va_arg (v,int));
3128 va_end (v);
3129 return s;
3130}
875927f6
AJ
3131
3132/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3133 function prototypes and stuff, but not '\xHH' hex character constants.
3134 These don't provoke an error unfortunately, instead are silently treated
fc6ffb29 3135 as 'x'. The following induces an error, until -std is added to get
875927f6
AJ
3136 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3137 array size at least. It's necessary to write '\x00'==0 to get something
fc6ffb29 3138 that's true only with -std. */
875927f6
AJ
3139int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3140
f5f37a85
AJ
3141/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3142 inside strings and character constants. */
3143#define FOO(x) 'x'
3144int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3145
11af04e3
AJ
3146int test (int i, double x);
3147struct s1 {int (*f) (int a);};
3148struct s2 {int (*f) (double a);};
3149int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3150int argc;
3151char **argv;
3152int
3153main ()
3154{
3155return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3156 ;
3157 return 0;
3158}
3159_ACEOF
fc6ffb29
AJ
3160for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3161 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11af04e3
AJ
3162do
3163 CC="$ac_save_CC $ac_arg"
3164 rm -f conftest.$ac_objext
0ebeb530
JW
3165if { (ac_try="$ac_compile"
3166case "(($ac_try" in
3167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3168 *) ac_try_echo=$ac_try;;
3169esac
3170eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3171 (eval "$ac_compile") 2>conftest.er1
11af04e3 3172 ac_status=$?
875927f6
AJ
3173 grep -v '^ *+' conftest.er1 >conftest.err
3174 rm -f conftest.er1
3175 cat conftest.err >&5
11af04e3 3176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
3177 (exit $ac_status); } && {
3178 test -z "$ac_c_werror_flag" ||
3179 test ! -s conftest.err
3180 } && test -s conftest.$ac_objext; then
fc6ffb29 3181 ac_cv_prog_cc_c89=$ac_arg
11af04e3
AJ
3182else
3183 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
3184sed 's/^/| /' conftest.$ac_ext >&5
3185
fc6ffb29 3186
11af04e3 3187fi
fc6ffb29 3188
0ebeb530 3189rm -f core conftest.err conftest.$ac_objext
fc6ffb29 3190 test "x$ac_cv_prog_cc_c89" != "xno" && break
11af04e3 3191done
fc6ffb29 3192rm -f conftest.$ac_ext
11af04e3
AJ
3193CC=$ac_save_CC
3194
3195fi
fc6ffb29
AJ
3196# AC_CACHE_VAL
3197case "x$ac_cv_prog_cc_c89" in
3198 x)
3199 { echo "$as_me:$LINENO: result: none needed" >&5
3200echo "${ECHO_T}none needed" >&6; } ;;
3201 xno)
3202 { echo "$as_me:$LINENO: result: unsupported" >&5
3203echo "${ECHO_T}unsupported" >&6; } ;;
11af04e3 3204 *)
fc6ffb29
AJ
3205 CC="$CC $ac_cv_prog_cc_c89"
3206 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3207echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
11af04e3
AJ
3208esac
3209
e24bcc77 3210
f5818d2f
AJ
3211ac_ext=c
3212ac_cpp='$CPP $CPPFLAGS'
3213ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3214ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3215ac_compiler_gnu=$ac_cv_c_compiler_gnu
e2991ea7 3216
fc6ffb29 3217ac_ext=cpp
f41c2b21
DP
3218ac_cpp='$CXXCPP $CPPFLAGS'
3219ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3220ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3221ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
fc6ffb29
AJ
3222if test -z "$CXX"; then
3223 if test -n "$CCC"; then
3224 CXX=$CCC
3225 else
3226 if test -n "$ac_tool_prefix"; then
3227 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
f41c2b21
DP
3228 do
3229 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3230set dummy $ac_tool_prefix$ac_prog; ac_word=$2
fc6ffb29
AJ
3231{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3232echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
f41c2b21
DP
3233if test "${ac_cv_prog_CXX+set}" = set; then
3234 echo $ECHO_N "(cached) $ECHO_C" >&6
3235else
3236 if test -n "$CXX"; then
3237 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3238else
3239as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3240for as_dir in $PATH
3241do
3242 IFS=$as_save_IFS
3243 test -z "$as_dir" && as_dir=.
3244 for ac_exec_ext in '' $ac_executable_extensions; do
dc9f3843 3245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
f41c2b21
DP
3246 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3248 break 2
3249 fi
3250done
3251done
fc6ffb29 3252IFS=$as_save_IFS
f41c2b21
DP
3253
3254fi
3255fi
3256CXX=$ac_cv_prog_CXX
3257if test -n "$CXX"; then
fc6ffb29
AJ
3258 { echo "$as_me:$LINENO: result: $CXX" >&5
3259echo "${ECHO_T}$CXX" >&6; }
f41c2b21 3260else
fc6ffb29
AJ
3261 { echo "$as_me:$LINENO: result: no" >&5
3262echo "${ECHO_T}no" >&6; }
f41c2b21
DP
3263fi
3264
fc6ffb29 3265
f41c2b21
DP
3266 test -n "$CXX" && break
3267 done
3268fi
3269if test -z "$CXX"; then
3270 ac_ct_CXX=$CXX
fc6ffb29 3271 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
f41c2b21
DP
3272do
3273 # Extract the first word of "$ac_prog", so it can be a program name with args.
3274set dummy $ac_prog; ac_word=$2
fc6ffb29
AJ
3275{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3276echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
f41c2b21
DP
3277if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3278 echo $ECHO_N "(cached) $ECHO_C" >&6
3279else
3280 if test -n "$ac_ct_CXX"; then
3281 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3282else
3283as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3284for as_dir in $PATH
3285do
3286 IFS=$as_save_IFS
3287 test -z "$as_dir" && as_dir=.
3288 for ac_exec_ext in '' $ac_executable_extensions; do
dc9f3843 3289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
f41c2b21
DP
3290 ac_cv_prog_ac_ct_CXX="$ac_prog"
3291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3292 break 2
3293 fi
3294done
3295done
fc6ffb29 3296IFS=$as_save_IFS
f41c2b21
DP
3297
3298fi
3299fi
3300ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3301if test -n "$ac_ct_CXX"; then
fc6ffb29
AJ
3302 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3303echo "${ECHO_T}$ac_ct_CXX" >&6; }
f41c2b21 3304else
fc6ffb29
AJ
3305 { echo "$as_me:$LINENO: result: no" >&5
3306echo "${ECHO_T}no" >&6; }
f41c2b21
DP
3307fi
3308
fc6ffb29 3309
f41c2b21
DP
3310 test -n "$ac_ct_CXX" && break
3311done
f41c2b21 3312
fc6ffb29
AJ
3313 if test "x$ac_ct_CXX" = x; then
3314 CXX="g++"
3315 else
3316 case $cross_compiling:$ac_tool_warned in
3317yes:)
3318{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3319whose name does not start with the host triplet. If you think this
3320configuration is useful to you, please write to autoconf@gnu.org." >&5
3321echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3322whose name does not start with the host triplet. If you think this
3323configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3324ac_tool_warned=yes ;;
3325esac
3326 CXX=$ac_ct_CXX
3327 fi
f41c2b21
DP
3328fi
3329
fc6ffb29
AJ
3330 fi
3331fi
f41c2b21 3332# Provide some information about the compiler.
fc6ffb29 3333echo "$as_me:$LINENO: checking for C++ compiler version" >&5
f41c2b21 3334ac_compiler=`set X $ac_compile; echo $2`
0ebeb530
JW
3335{ (ac_try="$ac_compiler --version >&5"
3336case "(($ac_try" in
3337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3338 *) ac_try_echo=$ac_try;;
3339esac
3340eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3341 (eval "$ac_compiler --version >&5") 2>&5
f41c2b21
DP
3342 ac_status=$?
3343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3344 (exit $ac_status); }
0ebeb530
JW
3345{ (ac_try="$ac_compiler -v >&5"
3346case "(($ac_try" in
3347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3348 *) ac_try_echo=$ac_try;;
3349esac
3350eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3351 (eval "$ac_compiler -v >&5") 2>&5
f41c2b21
DP
3352 ac_status=$?
3353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3354 (exit $ac_status); }
0ebeb530
JW
3355{ (ac_try="$ac_compiler -V >&5"
3356case "(($ac_try" in
3357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3358 *) ac_try_echo=$ac_try;;
3359esac
3360eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3361 (eval "$ac_compiler -V >&5") 2>&5
f41c2b21
DP
3362 ac_status=$?
3363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3364 (exit $ac_status); }
3365
fc6ffb29
AJ
3366{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3367echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
f41c2b21
DP
3368if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3369 echo $ECHO_N "(cached) $ECHO_C" >&6
3370else
3371 cat >conftest.$ac_ext <<_ACEOF
3372/* confdefs.h. */
3373_ACEOF
3374cat confdefs.h >>conftest.$ac_ext
3375cat >>conftest.$ac_ext <<_ACEOF
3376/* end confdefs.h. */
3377
3378int
3379main ()
3380{
3381#ifndef __GNUC__
3382 choke me
3383#endif
3384
3385 ;
3386 return 0;
3387}
3388_ACEOF
3389rm -f conftest.$ac_objext
0ebeb530
JW
3390if { (ac_try="$ac_compile"
3391case "(($ac_try" in
3392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3393 *) ac_try_echo=$ac_try;;
3394esac
3395eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3396 (eval "$ac_compile") 2>conftest.er1
f41c2b21
DP
3397 ac_status=$?
3398 grep -v '^ *+' conftest.er1 >conftest.err
3399 rm -f conftest.er1
3400 cat conftest.err >&5
3401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
3402 (exit $ac_status); } && {
3403 test -z "$ac_cxx_werror_flag" ||
3404 test ! -s conftest.err
3405 } && test -s conftest.$ac_objext; then
f41c2b21
DP
3406 ac_compiler_gnu=yes
3407else
3408 echo "$as_me: failed program was:" >&5
3409sed 's/^/| /' conftest.$ac_ext >&5
3410
fc6ffb29 3411 ac_compiler_gnu=no
f41c2b21 3412fi
fc6ffb29 3413
0ebeb530 3414rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
f41c2b21
DP
3415ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3416
3417fi
fc6ffb29
AJ
3418{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3419echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
f41c2b21
DP
3420GXX=`test $ac_compiler_gnu = yes && echo yes`
3421ac_test_CXXFLAGS=${CXXFLAGS+set}
3422ac_save_CXXFLAGS=$CXXFLAGS
fc6ffb29
AJ
3423{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3424echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
f41c2b21
DP
3425if test "${ac_cv_prog_cxx_g+set}" = set; then
3426 echo $ECHO_N "(cached) $ECHO_C" >&6
3427else
fc6ffb29
AJ
3428 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3429 ac_cxx_werror_flag=yes
3430 ac_cv_prog_cxx_g=no
3431 CXXFLAGS="-g"
3432 cat >conftest.$ac_ext <<_ACEOF
f41c2b21
DP
3433/* confdefs.h. */
3434_ACEOF
3435cat confdefs.h >>conftest.$ac_ext
3436cat >>conftest.$ac_ext <<_ACEOF
3437/* end confdefs.h. */
3438
3439int
3440main ()
3441{
3442
3443 ;
3444 return 0;
3445}
3446_ACEOF
3447rm -f conftest.$ac_objext
0ebeb530
JW
3448if { (ac_try="$ac_compile"
3449case "(($ac_try" in
3450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3451 *) ac_try_echo=$ac_try;;
3452esac
3453eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3454 (eval "$ac_compile") 2>conftest.er1
f41c2b21
DP
3455 ac_status=$?
3456 grep -v '^ *+' conftest.er1 >conftest.err
3457 rm -f conftest.er1
3458 cat conftest.err >&5
3459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
3460 (exit $ac_status); } && {
3461 test -z "$ac_cxx_werror_flag" ||
3462 test ! -s conftest.err
3463 } && test -s conftest.$ac_objext; then
f41c2b21
DP
3464 ac_cv_prog_cxx_g=yes
3465else
3466 echo "$as_me: failed program was:" >&5
3467sed 's/^/| /' conftest.$ac_ext >&5
3468
fc6ffb29
AJ
3469 CXXFLAGS=""
3470 cat >conftest.$ac_ext <<_ACEOF
f41c2b21
DP
3471/* confdefs.h. */
3472_ACEOF
3473cat confdefs.h >>conftest.$ac_ext
3474cat >>conftest.$ac_ext <<_ACEOF
3475/* end confdefs.h. */
fc6ffb29 3476
f41c2b21
DP
3477int
3478main ()
3479{
fc6ffb29 3480
f41c2b21
DP
3481 ;
3482 return 0;
3483}
3484_ACEOF
3485rm -f conftest.$ac_objext
0ebeb530
JW
3486if { (ac_try="$ac_compile"
3487case "(($ac_try" in
3488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3489 *) ac_try_echo=$ac_try;;
3490esac
3491eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3492 (eval "$ac_compile") 2>conftest.er1
f41c2b21
DP
3493 ac_status=$?
3494 grep -v '^ *+' conftest.er1 >conftest.err
3495 rm -f conftest.er1
3496 cat conftest.err >&5
3497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
3498 (exit $ac_status); } && {
3499 test -z "$ac_cxx_werror_flag" ||
3500 test ! -s conftest.err
3501 } && test -s conftest.$ac_objext; then
f41c2b21
DP
3502 :
3503else
3504 echo "$as_me: failed program was:" >&5
3505sed 's/^/| /' conftest.$ac_ext >&5
3506
fc6ffb29
AJ
3507 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3508 CXXFLAGS="-g"
3509 cat >conftest.$ac_ext <<_ACEOF
f41c2b21
DP
3510/* confdefs.h. */
3511_ACEOF
3512cat confdefs.h >>conftest.$ac_ext
3513cat >>conftest.$ac_ext <<_ACEOF
3514/* end confdefs.h. */
fc6ffb29 3515
f41c2b21
DP
3516int
3517main ()
3518{
fc6ffb29 3519
f41c2b21
DP
3520 ;
3521 return 0;
3522}
3523_ACEOF
3524rm -f conftest.$ac_objext
0ebeb530
JW
3525if { (ac_try="$ac_compile"
3526case "(($ac_try" in
3527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3528 *) ac_try_echo=$ac_try;;
3529esac
3530eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3531 (eval "$ac_compile") 2>conftest.er1
f41c2b21
DP
3532 ac_status=$?
3533 grep -v '^ *+' conftest.er1 >conftest.err
3534 rm -f conftest.er1
3535 cat conftest.err >&5
3536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
3537 (exit $ac_status); } && {
3538 test -z "$ac_cxx_werror_flag" ||
3539 test ! -s conftest.err
3540 } && test -s conftest.$ac_objext; then
fc6ffb29 3541 ac_cv_prog_cxx_g=yes
f41c2b21
DP
3542else
3543 echo "$as_me: failed program was:" >&5
3544sed 's/^/| /' conftest.$ac_ext >&5
3545
fc6ffb29 3546
f41c2b21 3547fi
fc6ffb29 3548
0ebeb530 3549rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fc6ffb29
AJ
3550fi
3551
0ebeb530 3552rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
f41c2b21
DP
3553fi
3554
0ebeb530 3555rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fc6ffb29
AJ
3556 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3557fi
3558{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3559echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3560if test "$ac_test_CXXFLAGS" = set; then
3561 CXXFLAGS=$ac_save_CXXFLAGS
3562elif test $ac_cv_prog_cxx_g = yes; then
3563 if test "$GXX" = yes; then
3564 CXXFLAGS="-g -O2"
3565 else
3566 CXXFLAGS="-g"
3567 fi
3568else
3569 if test "$GXX" = yes; then
3570 CXXFLAGS="-O2"
3571 else
3572 CXXFLAGS=
3573 fi
3574fi
f41c2b21
DP
3575ac_ext=c
3576ac_cpp='$CPP $CPPFLAGS'
3577ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3578ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3579ac_compiler_gnu=$ac_cv_c_compiler_gnu
3580
3e61ef7d
AJ
3581if test -n "$ac_tool_prefix"; then
3582 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3583set dummy ${ac_tool_prefix}cpp; ac_word=$2
fc6ffb29
AJ
3584{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3585echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
a631ef63 3586if test "${ac_cv_prog_CPPBIN+set}" = set; then
f41c2b21
DP
3587 echo $ECHO_N "(cached) $ECHO_C" >&6
3588else
a631ef63
AJ
3589 if test -n "$CPPBIN"; then
3590 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
f41c2b21
DP
3591else
3592as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3593for as_dir in $PATH
3594do
3595 IFS=$as_save_IFS
3596 test -z "$as_dir" && as_dir=.
3597 for ac_exec_ext in '' $ac_executable_extensions; do
dc9f3843 3598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
a631ef63 3599 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
f41c2b21
DP
3600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3601 break 2
3602 fi
3603done
3604done
fc6ffb29 3605IFS=$as_save_IFS
f41c2b21
DP
3606
3607fi
3608fi
a631ef63
AJ
3609CPPBIN=$ac_cv_prog_CPPBIN
3610if test -n "$CPPBIN"; then
fc6ffb29
AJ
3611 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3612echo "${ECHO_T}$CPPBIN" >&6; }
f41c2b21 3613else
fc6ffb29
AJ
3614 { echo "$as_me:$LINENO: result: no" >&5
3615echo "${ECHO_T}no" >&6; }
f41c2b21
DP
3616fi
3617
fc6ffb29 3618
3e61ef7d 3619fi
a631ef63
AJ
3620if test -z "$ac_cv_prog_CPPBIN"; then
3621 ac_ct_CPPBIN=$CPPBIN
3e61ef7d
AJ
3622 # Extract the first word of "cpp", so it can be a program name with args.
3623set dummy cpp; ac_word=$2
fc6ffb29
AJ
3624{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3625echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
a631ef63 3626if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3e61ef7d
AJ
3627 echo $ECHO_N "(cached) $ECHO_C" >&6
3628else
a631ef63
AJ
3629 if test -n "$ac_ct_CPPBIN"; then
3630 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3e61ef7d
AJ
3631else
3632as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3633for as_dir in $PATH
3634do
3635 IFS=$as_save_IFS
3636 test -z "$as_dir" && as_dir=.
3637 for ac_exec_ext in '' $ac_executable_extensions; do
dc9f3843 3638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
a631ef63 3639 ac_cv_prog_ac_ct_CPPBIN="cpp"
3e61ef7d
AJ
3640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3641 break 2
3642 fi
3643done
3644done
fc6ffb29 3645IFS=$as_save_IFS
3e61ef7d 3646
3e61ef7d
AJ
3647fi
3648fi
a631ef63
AJ
3649ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3650if test -n "$ac_ct_CPPBIN"; then
fc6ffb29
AJ
3651 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3652echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3e61ef7d 3653else
fc6ffb29
AJ
3654 { echo "$as_me:$LINENO: result: no" >&5
3655echo "${ECHO_T}no" >&6; }
3e61ef7d
AJ
3656fi
3657
fc6ffb29
AJ
3658 if test "x$ac_ct_CPPBIN" = x; then
3659 CPPBIN="cpp"
3660 else
3661 case $cross_compiling:$ac_tool_warned in
3662yes:)
3663{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3664whose name does not start with the host triplet. If you think this
3665configuration is useful to you, please write to autoconf@gnu.org." >&5
3666echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3667whose name does not start with the host triplet. If you think this
3668configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3669ac_tool_warned=yes ;;
3670esac
3671 CPPBIN=$ac_ct_CPPBIN
3672 fi
3e61ef7d 3673else
a631ef63 3674 CPPBIN="$ac_cv_prog_CPPBIN"
3e61ef7d
AJ
3675fi
3676
f41c2b21 3677
fc6ffb29
AJ
3678{ echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3679echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
f41c2b21
DP
3680if test "${wine_cv_toolsdir+set}" = set; then
3681 echo $ECHO_N "(cached) $ECHO_C" >&6
3682else
3683 if test -z "$with_wine_tools"; then
3684 if test "$cross_compiling" = "yes"; then
3685 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3686echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3687 { (exit 1); exit 1; }; }
3688 else
3689 wine_cv_toolsdir="\$(TOPOBJDIR)"
3690 fi
3691 elif test -d "$with_wine_tools/tools/winebuild"; then
3692 case $with_wine_tools in
3693 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3694 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3695 esac
3696 else
3697 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3698echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3699 { (exit 1); exit 1; }; }
3700 fi
3701fi
fc6ffb29
AJ
3702{ echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3703echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
f41c2b21
DP
3704TOOLSDIR=$wine_cv_toolsdir
3705
3706
3707
f5818d2f
AJ
3708ac_ext=c
3709ac_cpp='$CPP $CPPFLAGS'
3710ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3711ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3712ac_compiler_gnu=$ac_cv_c_compiler_gnu
fc6ffb29
AJ
3713{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3714echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
e2991ea7
AJ
3715# On Suns, sometimes $CPP names a directory.
3716if test -n "$CPP" && test -d "$CPP"; then
3717 CPP=
3718fi
3719if test -z "$CPP"; then
f5818d2f
AJ
3720 if test "${ac_cv_prog_CPP+set}" = set; then
3721 echo $ECHO_N "(cached) $ECHO_C" >&6
3722else
3723 # Double quotes because CPP needs to be expanded
3724 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3725 do
3726 ac_preproc_ok=false
3727for ac_c_preproc_warn_flag in '' yes
3728do
3729 # Use a header file that comes with gcc, so configuring glibc
3730 # with a fresh cross-compiler works.
e24bcc77
AJ
3731 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3732 # <limits.h> exists even on freestanding compilers.
e2991ea7 3733 # On the NeXT, cc -E runs the code through the compiler's parser,
f5818d2f
AJ
3734 # not just through cpp. "Syntax error" is here to catch this case.
3735 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
3736/* confdefs.h. */
3737_ACEOF
3738cat confdefs.h >>conftest.$ac_ext
3739cat >>conftest.$ac_ext <<_ACEOF
3740/* end confdefs.h. */
3741#ifdef __STDC__
3742# include <limits.h>
3743#else
3744# include <assert.h>
3745#endif
875927f6 3746 Syntax error
f5818d2f 3747_ACEOF
0ebeb530
JW
3748if { (ac_try="$ac_cpp conftest.$ac_ext"
3749case "(($ac_try" in
3750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3751 *) ac_try_echo=$ac_try;;
3752esac
3753eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3754 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
f5818d2f 3755 ac_status=$?
11af04e3 3756 grep -v '^ *+' conftest.er1 >conftest.err
f5818d2f
AJ
3757 rm -f conftest.er1
3758 cat conftest.err >&5
daa2886c 3759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
3760 (exit $ac_status); } >/dev/null && {
3761 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3762 test ! -s conftest.err
3763 }; then
e2991ea7
AJ
3764 :
3765else
f5818d2f 3766 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
3767sed 's/^/| /' conftest.$ac_ext >&5
3768
f5818d2f
AJ
3769 # Broken: fails on valid input.
3770continue
3771fi
fc6ffb29 3772
f5818d2f
AJ
3773rm -f conftest.err conftest.$ac_ext
3774
fc6ffb29 3775 # OK, works on sane cases. Now check whether nonexistent headers
f5818d2f
AJ
3776 # can be detected and how.
3777 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
3778/* confdefs.h. */
3779_ACEOF
3780cat confdefs.h >>conftest.$ac_ext
3781cat >>conftest.$ac_ext <<_ACEOF
3782/* end confdefs.h. */
f5818d2f
AJ
3783#include <ac_nonexistent.h>
3784_ACEOF
0ebeb530
JW
3785if { (ac_try="$ac_cpp conftest.$ac_ext"
3786case "(($ac_try" in
3787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3788 *) ac_try_echo=$ac_try;;
3789esac
3790eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3791 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
f5818d2f 3792 ac_status=$?
11af04e3 3793 grep -v '^ *+' conftest.er1 >conftest.err
f5818d2f
AJ
3794 rm -f conftest.er1
3795 cat conftest.err >&5
daa2886c 3796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
3797 (exit $ac_status); } >/dev/null && {
3798 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3799 test ! -s conftest.err
3800 }; then
f5818d2f
AJ
3801 # Broken: success on invalid input.
3802continue
18ad24a7 3803else
f5818d2f 3804 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
3805sed 's/^/| /' conftest.$ac_ext >&5
3806
f5818d2f
AJ
3807 # Passes both tests.
3808ac_preproc_ok=:
3809break
3810fi
fc6ffb29 3811
f5818d2f
AJ
3812rm -f conftest.err conftest.$ac_ext
3813
3814done
3815# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3816rm -f conftest.err conftest.$ac_ext
3817if $ac_preproc_ok; then
3818 break
3819fi
3820
3821 done
3822 ac_cv_prog_CPP=$CPP
3823
3824fi
3825 CPP=$ac_cv_prog_CPP
3826else
3827 ac_cv_prog_CPP=$CPP
3828fi
fc6ffb29
AJ
3829{ echo "$as_me:$LINENO: result: $CPP" >&5
3830echo "${ECHO_T}$CPP" >&6; }
f5818d2f
AJ
3831ac_preproc_ok=false
3832for ac_c_preproc_warn_flag in '' yes
3833do
3834 # Use a header file that comes with gcc, so configuring glibc
3835 # with a fresh cross-compiler works.
e24bcc77
AJ
3836 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3837 # <limits.h> exists even on freestanding compilers.
f5818d2f
AJ
3838 # On the NeXT, cc -E runs the code through the compiler's parser,
3839 # not just through cpp. "Syntax error" is here to catch this case.
3840 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
3841/* confdefs.h. */
3842_ACEOF
3843cat confdefs.h >>conftest.$ac_ext
3844cat >>conftest.$ac_ext <<_ACEOF
3845/* end confdefs.h. */
3846#ifdef __STDC__
3847# include <limits.h>
3848#else
3849# include <assert.h>
3850#endif
875927f6 3851 Syntax error
f5818d2f 3852_ACEOF
0ebeb530
JW
3853if { (ac_try="$ac_cpp conftest.$ac_ext"
3854case "(($ac_try" in
3855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3856 *) ac_try_echo=$ac_try;;
3857esac
3858eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3859 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
f5818d2f 3860 ac_status=$?
11af04e3 3861 grep -v '^ *+' conftest.er1 >conftest.err
f5818d2f
AJ
3862 rm -f conftest.er1
3863 cat conftest.err >&5
daa2886c 3864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
3865 (exit $ac_status); } >/dev/null && {
3866 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3867 test ! -s conftest.err
3868 }; then
e2991ea7
AJ
3869 :
3870else
f5818d2f 3871 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
3872sed 's/^/| /' conftest.$ac_ext >&5
3873
f5818d2f
AJ
3874 # Broken: fails on valid input.
3875continue
e2991ea7 3876fi
fc6ffb29 3877
f5818d2f
AJ
3878rm -f conftest.err conftest.$ac_ext
3879
fc6ffb29 3880 # OK, works on sane cases. Now check whether nonexistent headers
f5818d2f
AJ
3881 # can be detected and how.
3882 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
3883/* confdefs.h. */
3884_ACEOF
3885cat confdefs.h >>conftest.$ac_ext
3886cat >>conftest.$ac_ext <<_ACEOF
3887/* end confdefs.h. */
f5818d2f
AJ
3888#include <ac_nonexistent.h>
3889_ACEOF
0ebeb530
JW
3890if { (ac_try="$ac_cpp conftest.$ac_ext"
3891case "(($ac_try" in
3892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3893 *) ac_try_echo=$ac_try;;
3894esac
3895eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3896 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
f5818d2f 3897 ac_status=$?
11af04e3 3898 grep -v '^ *+' conftest.er1 >conftest.err
f5818d2f
AJ
3899 rm -f conftest.er1
3900 cat conftest.err >&5
daa2886c 3901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
3902 (exit $ac_status); } >/dev/null && {
3903 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3904 test ! -s conftest.err
3905 }; then
f5818d2f
AJ
3906 # Broken: success on invalid input.
3907continue
3908else
3909 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
3910sed 's/^/| /' conftest.$ac_ext >&5
3911
f5818d2f
AJ
3912 # Passes both tests.
3913ac_preproc_ok=:
3914break
e2991ea7 3915fi
fc6ffb29 3916
f5818d2f
AJ
3917rm -f conftest.err conftest.$ac_ext
3918
3919done
3920# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3921rm -f conftest.err conftest.$ac_ext
3922if $ac_preproc_ok; then
3923 :
e2991ea7 3924else
e24bcc77
AJ
3925 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3926See \`config.log' for more details." >&5
3927echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3928See \`config.log' for more details." >&2;}
f5818d2f 3929 { (exit 1); exit 1; }; }
e2991ea7 3930fi
e2991ea7 3931
f5818d2f
AJ
3932ac_ext=c
3933ac_cpp='$CPP $CPPFLAGS'
3934ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3935ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3936ac_compiler_gnu=$ac_cv_c_compiler_gnu
3937
daa2886c 3938
0ebeb530 3939{ echo "$as_me:$LINENO: checking for X" >&5
fc6ffb29 3940echo $ECHO_N "checking for X... $ECHO_C" >&6; }
e2991ea7 3941
daa2886c 3942
fc6ffb29 3943# Check whether --with-x was given.
d7d4fdf8 3944if test "${with_x+set}" = set; then
fc6ffb29
AJ
3945 withval=$with_x;
3946fi
e2991ea7 3947
b817f4fb 3948# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
e2991ea7 3949if test "x$with_x" = xno; then
b817f4fb
AJ
3950 # The user explicitly disabled X.
3951 have_x=disabled
e2991ea7 3952else
0ebeb530
JW
3953 case $x_includes,$x_libraries in #(
3954 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3955echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3956 { (exit 1); exit 1; }; };; #(
3957 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
f5818d2f 3958 echo $ECHO_N "(cached) $ECHO_C" >&6
e2991ea7
AJ
3959else
3960 # One or both of the vars are not set, and there is no cached value.
f5818d2f 3961ac_x_includes=no ac_x_libraries=no
fc6ffb29 3962rm -f -r conftest.dir
f5818d2f
AJ
3963if mkdir conftest.dir; then
3964 cd conftest.dir
daa2886c 3965 cat >Imakefile <<'_ACEOF'
0ebeb530
JW
3966incroot:
3967 @echo incroot='${INCROOT}'
3968usrlibdir:
3969 @echo usrlibdir='${USRLIBDIR}'
3970libdir:
3971 @echo libdir='${LIBDIR}'
daa2886c 3972_ACEOF
fc6ffb29 3973 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
e2991ea7 3974 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
0ebeb530
JW
3975 for ac_var in incroot usrlibdir libdir; do
3976 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3977 done
e2991ea7
AJ
3978 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3979 for ac_extension in a so sl; do
0ebeb530
JW
3980 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3981 test -f "$ac_im_libdir/libX11.$ac_extension"; then
875927f6 3982 ac_im_usrlibdir=$ac_im_libdir; break
e2991ea7
AJ
3983 fi
3984 done
da0cfb36
AJ
3985 # Screen out bogus values from the imake configuration. They are
3986 # bogus both because they are the default anyway, and because
3987 # using them would break gcc on systems where it needs fixed includes.
f5818d2f 3988 case $ac_im_incroot in
fc6ffb29 3989 /usr/include) ac_x_includes= ;;
f5818d2f 3990 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
e2991ea7 3991 esac
f5818d2f 3992 case $ac_im_usrlibdir in
e2991ea7 3993 /usr/lib | /lib) ;;
f5818d2f 3994 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
e2991ea7
AJ
3995 esac
3996 fi
3997 cd ..
fc6ffb29 3998 rm -f -r conftest.dir
e2991ea7
AJ
3999fi
4000
f5818d2f
AJ
4001# Standard set of common directories for X headers.
4002# Check X11 before X11Rn because it is often a symlink to the current release.
4003ac_x_header_dirs='
4004/usr/X11/include
4005/usr/X11R6/include
4006/usr/X11R5/include
4007/usr/X11R4/include
4008
4009/usr/include/X11
4010/usr/include/X11R6
4011/usr/include/X11R5
4012/usr/include/X11R4
4013
4014/usr/local/X11/include
4015/usr/local/X11R6/include
4016/usr/local/X11R5/include
4017/usr/local/X11R4/include
4018
4019/usr/local/include/X11
4020/usr/local/include/X11R6
4021/usr/local/include/X11R5
4022/usr/local/include/X11R4
4023
4024/usr/X386/include
4025/usr/x386/include
4026/usr/XFree86/include/X11
4027
4028/usr/include
4029/usr/local/include
4030/usr/unsupported/include
4031/usr/athena/include
4032/usr/local/x11r5/include
4033/usr/lpp/Xamples/include
4034
4035/usr/openwin/include
4036/usr/openwin/share/include'
4037
4038if test "$ac_x_includes" = no; then
fc6ffb29 4039 # Guess where to find include files, by looking for Xlib.h.
b817f4fb 4040 # First, try using that file with no special directory specified.
f5818d2f 4041 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
4042/* confdefs.h. */
4043_ACEOF
4044cat confdefs.h >>conftest.$ac_ext
4045cat >>conftest.$ac_ext <<_ACEOF
4046/* end confdefs.h. */
0ebeb530 4047#include <X11/Xlib.h>
f5818d2f 4048_ACEOF
0ebeb530
JW
4049if { (ac_try="$ac_cpp conftest.$ac_ext"
4050case "(($ac_try" in
4051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4052 *) ac_try_echo=$ac_try;;
4053esac
4054eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4055 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
f5818d2f 4056 ac_status=$?
11af04e3 4057 grep -v '^ *+' conftest.er1 >conftest.err
f5818d2f
AJ
4058 rm -f conftest.er1
4059 cat conftest.err >&5
daa2886c 4060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
4061 (exit $ac_status); } >/dev/null && {
4062 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4063 test ! -s conftest.err
4064 }; then
b817f4fb
AJ
4065 # We can compile using X headers with no special include directory.
4066ac_x_includes=
e2991ea7 4067else
f5818d2f 4068 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
4069sed 's/^/| /' conftest.$ac_ext >&5
4070
f5818d2f 4071 for ac_dir in $ac_x_header_dirs; do
d7d3169d 4072 if test -r "$ac_dir/X11/Xlib.h"; then
f5818d2f
AJ
4073 ac_x_includes=$ac_dir
4074 break
4075 fi
4076done
e2991ea7 4077fi
fc6ffb29 4078
f5818d2f
AJ
4079rm -f conftest.err conftest.$ac_ext
4080fi # $ac_x_includes = no
b817f4fb 4081
f5818d2f 4082if test "$ac_x_libraries" = no; then
b817f4fb 4083 # Check for the libraries.
b817f4fb
AJ
4084 # See if we find them without any special options.
4085 # Don't add to $LIBS permanently.
f5818d2f 4086 ac_save_LIBS=$LIBS
d01063e1 4087 LIBS="-lX11 $LIBS"
f5818d2f 4088 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
4089/* confdefs.h. */
4090_ACEOF
4091cat confdefs.h >>conftest.$ac_ext
4092cat >>conftest.$ac_ext <<_ACEOF
4093/* end confdefs.h. */
d7d3169d 4094#include <X11/Xlib.h>
f5818d2f
AJ
4095int
4096main ()
4097{
d7d3169d 4098XrmInitialize ()
f5818d2f
AJ
4099 ;
4100 return 0;
4101}
4102_ACEOF
4103rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
4104if { (ac_try="$ac_link"
4105case "(($ac_try" in
4106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4107 *) ac_try_echo=$ac_try;;
4108esac
4109eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4110 (eval "$ac_link") 2>conftest.er1
f5818d2f 4111 ac_status=$?
875927f6
AJ
4112 grep -v '^ *+' conftest.er1 >conftest.err
4113 rm -f conftest.er1
4114 cat conftest.err >&5
daa2886c 4115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
4116 (exit $ac_status); } && {
4117 test -z "$ac_c_werror_flag" ||
4118 test ! -s conftest.err
4119 } && test -s conftest$ac_exeext &&
4120 $as_test_x conftest$ac_exeext; then
f5818d2f 4121 LIBS=$ac_save_LIBS
b817f4fb
AJ
4122# We can link X programs with no special library path.
4123ac_x_libraries=
e2991ea7 4124else
f5818d2f 4125 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
4126sed 's/^/| /' conftest.$ac_ext >&5
4127
fc6ffb29 4128 LIBS=$ac_save_LIBS
f5818d2f 4129for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
e2991ea7 4130do
f5818d2f 4131 # Don't even attempt the hair of trying to link an X program!
e2991ea7 4132 for ac_extension in a so sl; do
d01063e1 4133 if test -r "$ac_dir/libX11.$ac_extension"; then
b817f4fb 4134 ac_x_libraries=$ac_dir
e2991ea7
AJ
4135 break 2
4136 fi
4137 done
4138done
4139fi
fc6ffb29 4140
f0ca586f 4141rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 4142 conftest$ac_exeext conftest.$ac_ext
f5818d2f 4143fi # $ac_x_libraries = no
b817f4fb 4144
0ebeb530
JW
4145case $ac_x_includes,$ac_x_libraries in #(
4146 no,* | *,no | *\'*)
4147 # Didn't find X, or a directory has "'" in its name.
4148 ac_cv_have_x="have_x=no";; #(
4149 *)
4150 # Record where we found X for the cache.
4151 ac_cv_have_x="have_x=yes\
4152 ac_x_includes='$ac_x_includes'\
4153 ac_x_libraries='$ac_x_libraries'"
4154esac
e2991ea7 4155fi
0ebeb530
JW
4156;; #(
4157 *) have_x=yes;;
4158 esac
b817f4fb 4159 eval "$ac_cv_have_x"
e2991ea7
AJ
4160fi # $with_x != no
4161
b817f4fb 4162if test "$have_x" != yes; then
fc6ffb29
AJ
4163 { echo "$as_me:$LINENO: result: $have_x" >&5
4164echo "${ECHO_T}$have_x" >&6; }
b817f4fb 4165 no_x=yes
e2991ea7 4166else
b817f4fb 4167 # If each of the values was on the command line, it overrides each guess.
e2991ea7
AJ
4168 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4169 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
b817f4fb 4170 # Update the cache value to reflect the command line values.
0ebeb530
JW
4171 ac_cv_have_x="have_x=yes\
4172 ac_x_includes='$x_includes'\
4173 ac_x_libraries='$x_libraries'"
4174 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4175echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
e2991ea7
AJ
4176fi
4177
b817f4fb 4178if test "$no_x" = yes; then
ff8331ea 4179 # Not all programs may use this symbol, but it does not hurt to define it.
f5818d2f 4180
daa2886c 4181cat >>confdefs.h <<\_ACEOF
da0cfb36 4182#define X_DISPLAY_MISSING 1
daa2886c 4183_ACEOF
da0cfb36
AJ
4184
4185 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
ff8331ea
AJ
4186else
4187 if test -n "$x_includes"; then
4188 X_CFLAGS="$X_CFLAGS -I$x_includes"
4189 fi
4190
ff8331ea
AJ
4191 # It would also be nice to do this for all -L options, not just this one.
4192 if test -n "$x_libraries"; then
4193 X_LIBS="$X_LIBS -L$x_libraries"
da0cfb36
AJ
4194 # For Solaris; some versions of Sun CC require a space after -R and
4195 # others require no space. Words are not sufficient . . . .
c8278926 4196 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
fc6ffb29 4197echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
c8278926
AJ
4198 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4199 ac_xsave_c_werror_flag=$ac_c_werror_flag
4200 ac_c_werror_flag=yes
4201 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
4202/* confdefs.h. */
4203_ACEOF
4204cat confdefs.h >>conftest.$ac_ext
4205cat >>conftest.$ac_ext <<_ACEOF
4206/* end confdefs.h. */
ff8331ea 4207
f5818d2f
AJ
4208int
4209main ()
4210{
da0cfb36 4211
f5818d2f
AJ
4212 ;
4213 return 0;
4214}
4215_ACEOF
4216rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
4217if { (ac_try="$ac_link"
4218case "(($ac_try" in
4219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4220 *) ac_try_echo=$ac_try;;
4221esac
4222eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4223 (eval "$ac_link") 2>conftest.er1
f5818d2f 4224 ac_status=$?
875927f6
AJ
4225 grep -v '^ *+' conftest.er1 >conftest.err
4226 rm -f conftest.er1
4227 cat conftest.err >&5
daa2886c 4228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
4229 (exit $ac_status); } && {
4230 test -z "$ac_c_werror_flag" ||
4231 test ! -s conftest.err
4232 } && test -s conftest$ac_exeext &&
4233 $as_test_x conftest$ac_exeext; then
c8278926
AJ
4234 { echo "$as_me:$LINENO: result: no" >&5
4235echo "${ECHO_T}no" >&6; }
4236 X_LIBS="$X_LIBS -R$x_libraries"
ff8331ea 4237else
f5818d2f 4238 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
4239sed 's/^/| /' conftest.$ac_ext >&5
4240
da0cfb36 4241 LIBS="$ac_xsave_LIBS -R $x_libraries"
c8278926 4242 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
4243/* confdefs.h. */
4244_ACEOF
4245cat confdefs.h >>conftest.$ac_ext
4246cat >>conftest.$ac_ext <<_ACEOF
4247/* end confdefs.h. */
da0cfb36 4248
f5818d2f
AJ
4249int
4250main ()
4251{
da0cfb36 4252
f5818d2f
AJ
4253 ;
4254 return 0;
4255}
4256_ACEOF
4257rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
4258if { (ac_try="$ac_link"
4259case "(($ac_try" in
4260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4261 *) ac_try_echo=$ac_try;;
4262esac
4263eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4264 (eval "$ac_link") 2>conftest.er1
f5818d2f 4265 ac_status=$?
875927f6
AJ
4266 grep -v '^ *+' conftest.er1 >conftest.err
4267 rm -f conftest.er1
4268 cat conftest.err >&5
daa2886c 4269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
4270 (exit $ac_status); } && {
4271 test -z "$ac_c_werror_flag" ||
4272 test ! -s conftest.err
4273 } && test -s conftest$ac_exeext &&
4274 $as_test_x conftest$ac_exeext; then
c8278926
AJ
4275 { echo "$as_me:$LINENO: result: yes" >&5
4276echo "${ECHO_T}yes" >&6; }
4277 X_LIBS="$X_LIBS -R $x_libraries"
ff8331ea 4278else
f5818d2f 4279 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
4280sed 's/^/| /' conftest.$ac_ext >&5
4281
c8278926
AJ
4282 { echo "$as_me:$LINENO: result: neither works" >&5
4283echo "${ECHO_T}neither works" >&6; }
ff8331ea 4284fi
fc6ffb29 4285
f0ca586f 4286rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 4287 conftest$ac_exeext conftest.$ac_ext
c8278926
AJ
4288fi
4289
f0ca586f 4290rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
c8278926
AJ
4291 conftest$ac_exeext conftest.$ac_ext
4292 ac_c_werror_flag=$ac_xsave_c_werror_flag
4293 LIBS=$ac_xsave_LIBS
da0cfb36 4294 fi
ff8331ea
AJ
4295
4296 # Check for system-dependent libraries X programs must link with.
da0cfb36
AJ
4297 # Do this before checking for the system-independent R6 libraries
4298 # (-lICE), since we may need -lsocket or whatever for X linking.
ff8331ea
AJ
4299
4300 if test "$ISC" = yes; then
4301 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4302 else
f5818d2f
AJ
4303 # Martyn Johnson says this is needed for Ultrix, if the X
4304 # libraries were built with DECnet support. And Karl Berry says
ff8331ea 4305 # the Alpha needs dnet_stub (dnet does not exist).
f5818d2f
AJ
4306 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4307 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
4308/* confdefs.h. */
4309_ACEOF
4310cat confdefs.h >>conftest.$ac_ext
4311cat >>conftest.$ac_ext <<_ACEOF
4312/* end confdefs.h. */
f5818d2f 4313
fc6ffb29
AJ
4314/* Override any GCC internal prototype to avoid an error.
4315 Use char because int might match the return type of a GCC
4316 builtin and then its argument prototype would still apply. */
f5818d2f
AJ
4317#ifdef __cplusplus
4318extern "C"
4319#endif
f5818d2f
AJ
4320char XOpenDisplay ();
4321int
4322main ()
4323{
fc6ffb29 4324return XOpenDisplay ();
f5818d2f
AJ
4325 ;
4326 return 0;
4327}
4328_ACEOF
4329rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
4330if { (ac_try="$ac_link"
4331case "(($ac_try" in
4332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4333 *) ac_try_echo=$ac_try;;
4334esac
4335eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4336 (eval "$ac_link") 2>conftest.er1
f5818d2f 4337 ac_status=$?
875927f6
AJ
4338 grep -v '^ *+' conftest.er1 >conftest.err
4339 rm -f conftest.er1
4340 cat conftest.err >&5
daa2886c 4341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
4342 (exit $ac_status); } && {
4343 test -z "$ac_c_werror_flag" ||
4344 test ! -s conftest.err
4345 } && test -s conftest$ac_exeext &&
4346 $as_test_x conftest$ac_exeext; then
f5818d2f 4347 :
ff8331ea 4348else
f5818d2f 4349 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
4350sed 's/^/| /' conftest.$ac_ext >&5
4351
fc6ffb29
AJ
4352 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4353echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
f5818d2f
AJ
4354if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4355 echo $ECHO_N "(cached) $ECHO_C" >&6
4356else
4357 ac_check_lib_save_LIBS=$LIBS
4358LIBS="-ldnet $LIBS"
4359cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
4360/* confdefs.h. */
4361_ACEOF
4362cat confdefs.h >>conftest.$ac_ext
4363cat >>conftest.$ac_ext <<_ACEOF
4364/* end confdefs.h. */
ff8331ea 4365
fc6ffb29
AJ
4366/* Override any GCC internal prototype to avoid an error.
4367 Use char because int might match the return type of a GCC
4368 builtin and then its argument prototype would still apply. */
f5818d2f
AJ
4369#ifdef __cplusplus
4370extern "C"
4371#endif
f5818d2f
AJ
4372char dnet_ntoa ();
4373int
4374main ()
4375{
fc6ffb29 4376return dnet_ntoa ();
f5818d2f
AJ
4377 ;
4378 return 0;
4379}
4380_ACEOF
4381rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
4382if { (ac_try="$ac_link"
4383case "(($ac_try" in
4384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4385 *) ac_try_echo=$ac_try;;
4386esac
4387eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4388 (eval "$ac_link") 2>conftest.er1
f5818d2f 4389 ac_status=$?
875927f6
AJ
4390 grep -v '^ *+' conftest.er1 >conftest.err
4391 rm -f conftest.er1
4392 cat conftest.err >&5
daa2886c 4393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
4394 (exit $ac_status); } && {
4395 test -z "$ac_c_werror_flag" ||
4396 test ! -s conftest.err
4397 } && test -s conftest$ac_exeext &&
4398 $as_test_x conftest$ac_exeext; then
f5818d2f
AJ
4399 ac_cv_lib_dnet_dnet_ntoa=yes
4400else
4401 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
4402sed 's/^/| /' conftest.$ac_ext >&5
4403
fc6ffb29 4404 ac_cv_lib_dnet_dnet_ntoa=no
f5818d2f 4405fi
fc6ffb29 4406
f0ca586f 4407rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 4408 conftest$ac_exeext conftest.$ac_ext
f5818d2f
AJ
4409LIBS=$ac_check_lib_save_LIBS
4410fi
fc6ffb29
AJ
4411{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4412echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
f5818d2f 4413if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
ff8331ea 4414 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
ff8331ea
AJ
4415fi
4416
59730ae1 4417 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
fc6ffb29
AJ
4418 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4419echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
f5818d2f
AJ
4420if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4421 echo $ECHO_N "(cached) $ECHO_C" >&6
ff8331ea 4422else
f5818d2f 4423 ac_check_lib_save_LIBS=$LIBS
ff8331ea 4424LIBS="-ldnet_stub $LIBS"
f5818d2f 4425cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
4426/* confdefs.h. */
4427_ACEOF
4428cat confdefs.h >>conftest.$ac_ext
4429cat >>conftest.$ac_ext <<_ACEOF
4430/* end confdefs.h. */
f5818d2f 4431
fc6ffb29
AJ
4432/* Override any GCC internal prototype to avoid an error.
4433 Use char because int might match the return type of a GCC
4434 builtin and then its argument prototype would still apply. */
f5818d2f
AJ
4435#ifdef __cplusplus
4436extern "C"
4437#endif
f5818d2f
AJ
4438char dnet_ntoa ();
4439int
4440main ()
4441{
fc6ffb29 4442return dnet_ntoa ();
f5818d2f
AJ
4443 ;
4444 return 0;
4445}
4446_ACEOF
4447rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
4448if { (ac_try="$ac_link"
4449case "(($ac_try" in
4450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4451 *) ac_try_echo=$ac_try;;
4452esac
4453eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4454 (eval "$ac_link") 2>conftest.er1
f5818d2f 4455 ac_status=$?
875927f6
AJ
4456 grep -v '^ *+' conftest.er1 >conftest.err
4457 rm -f conftest.er1
4458 cat conftest.err >&5
daa2886c 4459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
4460 (exit $ac_status); } && {
4461 test -z "$ac_c_werror_flag" ||
4462 test ! -s conftest.err
4463 } && test -s conftest$ac_exeext &&
4464 $as_test_x conftest$ac_exeext; then
f5818d2f
AJ
4465 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4466else
4467 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
4468sed 's/^/| /' conftest.$ac_ext >&5
4469
fc6ffb29 4470 ac_cv_lib_dnet_stub_dnet_ntoa=no
f5818d2f 4471fi
fc6ffb29 4472
f0ca586f 4473rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 4474 conftest$ac_exeext conftest.$ac_ext
f5818d2f
AJ
4475LIBS=$ac_check_lib_save_LIBS
4476fi
fc6ffb29
AJ
4477{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4478echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
f5818d2f 4479if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
ff8331ea 4480 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
ff8331ea
AJ
4481fi
4482
4483 fi
f5818d2f 4484fi
fc6ffb29 4485
f0ca586f 4486rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 4487 conftest$ac_exeext conftest.$ac_ext
f5818d2f 4488 LIBS="$ac_xsave_LIBS"
ff8331ea
AJ
4489
4490 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4491 # to get the SysV transport functions.
f5818d2f 4492 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
da0cfb36
AJ
4493 # needs -lnsl.
4494 # The nsl library prevents programs from opening the X display
f5818d2f
AJ
4495 # on Irix 5.2, according to T.E. Dickey.
4496 # The functions gethostbyname, getservbyname, and inet_addr are
4497 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
fc6ffb29
AJ
4498 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4499echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
f5818d2f
AJ
4500if test "${ac_cv_func_gethostbyname+set}" = set; then
4501 echo $ECHO_N "(cached) $ECHO_C" >&6
4502else
4503 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
4504/* confdefs.h. */
4505_ACEOF
4506cat confdefs.h >>conftest.$ac_ext
4507cat >>conftest.$ac_ext <<_ACEOF
4508/* end confdefs.h. */
875927f6
AJ
4509/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4511#define gethostbyname innocuous_gethostbyname
4512
da0cfb36 4513/* System header to define __stub macros and hopefully few prototypes,
e24bcc77
AJ
4514 which can conflict with char gethostbyname (); below.
4515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4516 <limits.h> exists even on freestanding compilers. */
875927f6 4517
e24bcc77
AJ
4518#ifdef __STDC__
4519# include <limits.h>
4520#else
4521# include <assert.h>
4522#endif
875927f6
AJ
4523
4524#undef gethostbyname
4525
fc6ffb29
AJ
4526/* Override any GCC internal prototype to avoid an error.
4527 Use char because int might match the return type of a GCC
4528 builtin and then its argument prototype would still apply. */
f5818d2f
AJ
4529#ifdef __cplusplus
4530extern "C"
4531#endif
f5818d2f 4532char gethostbyname ();
da0cfb36
AJ
4533/* The GNU C library defines this for functions which it implements
4534 to always fail with ENOSYS. Some functions are actually named
4535 something starting with __ and the normal name is an alias. */
fc6ffb29 4536#if defined __stub_gethostbyname || defined __stub___gethostbyname
da0cfb36 4537choke me
da0cfb36
AJ
4538#endif
4539
e24bcc77
AJ
4540int
4541main ()
4542{
fc6ffb29 4543return gethostbyname ();
f5818d2f
AJ
4544 ;
4545 return 0;
4546}
4547_ACEOF
4548rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
4549if { (ac_try="$ac_link"
4550case "(($ac_try" in
4551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4552 *) ac_try_echo=$ac_try;;
4553esac
4554eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4555 (eval "$ac_link") 2>conftest.er1
f5818d2f 4556 ac_status=$?
875927f6
AJ
4557 grep -v '^ *+' conftest.er1 >conftest.err
4558 rm -f conftest.er1
4559 cat conftest.err >&5
daa2886c 4560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
4561 (exit $ac_status); } && {
4562 test -z "$ac_c_werror_flag" ||
4563 test ! -s conftest.err
4564 } && test -s conftest$ac_exeext &&
4565 $as_test_x conftest$ac_exeext; then
f5818d2f
AJ
4566 ac_cv_func_gethostbyname=yes
4567else
4568 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
4569sed 's/^/| /' conftest.$ac_ext >&5
4570
fc6ffb29 4571 ac_cv_func_gethostbyname=no
f5818d2f 4572fi
fc6ffb29 4573
f0ca586f 4574rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 4575 conftest$ac_exeext conftest.$ac_ext
f5818d2f 4576fi
fc6ffb29
AJ
4577{ echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4578echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
da0cfb36
AJ
4579
4580 if test $ac_cv_func_gethostbyname = no; then
fc6ffb29
AJ
4581 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4582echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
f5818d2f
AJ
4583if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4584 echo $ECHO_N "(cached) $ECHO_C" >&6
ff8331ea 4585else
f5818d2f 4586 ac_check_lib_save_LIBS=$LIBS
ff8331ea 4587LIBS="-lnsl $LIBS"
f5818d2f 4588cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
4589/* confdefs.h. */
4590_ACEOF
4591cat confdefs.h >>conftest.$ac_ext
4592cat >>conftest.$ac_ext <<_ACEOF
4593/* end confdefs.h. */
f5818d2f 4594
fc6ffb29
AJ
4595/* Override any GCC internal prototype to avoid an error.
4596 Use char because int might match the return type of a GCC
4597 builtin and then its argument prototype would still apply. */
f5818d2f
AJ
4598#ifdef __cplusplus
4599extern "C"
4600#endif
f5818d2f
AJ
4601char gethostbyname ();
4602int
4603main ()
4604{
fc6ffb29 4605return gethostbyname ();
f5818d2f
AJ
4606 ;
4607 return 0;
4608}
4609_ACEOF
4610rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
4611if { (ac_try="$ac_link"
4612case "(($ac_try" in
4613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4614 *) ac_try_echo=$ac_try;;
4615esac
4616eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4617 (eval "$ac_link") 2>conftest.er1
f5818d2f 4618 ac_status=$?
875927f6
AJ
4619 grep -v '^ *+' conftest.er1 >conftest.err
4620 rm -f conftest.er1
4621 cat conftest.err >&5
daa2886c 4622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
4623 (exit $ac_status); } && {
4624 test -z "$ac_c_werror_flag" ||
4625 test ! -s conftest.err
4626 } && test -s conftest$ac_exeext &&
4627 $as_test_x conftest$ac_exeext; then
f5818d2f
AJ
4628 ac_cv_lib_nsl_gethostbyname=yes
4629else
4630 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
4631sed 's/^/| /' conftest.$ac_ext >&5
4632
fc6ffb29 4633 ac_cv_lib_nsl_gethostbyname=no
f5818d2f 4634fi
fc6ffb29 4635
f0ca586f 4636rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 4637 conftest$ac_exeext conftest.$ac_ext
f5818d2f
AJ
4638LIBS=$ac_check_lib_save_LIBS
4639fi
fc6ffb29
AJ
4640{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4641echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
f5818d2f
AJ
4642if test $ac_cv_lib_nsl_gethostbyname = yes; then
4643 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4644fi
ff8331ea 4645
f5818d2f 4646 if test $ac_cv_lib_nsl_gethostbyname = no; then
fc6ffb29
AJ
4647 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4648echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
f5818d2f
AJ
4649if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4650 echo $ECHO_N "(cached) $ECHO_C" >&6
ff8331ea 4651else
f5818d2f
AJ
4652 ac_check_lib_save_LIBS=$LIBS
4653LIBS="-lbsd $LIBS"
4654cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
4655/* confdefs.h. */
4656_ACEOF
4657cat confdefs.h >>conftest.$ac_ext
4658cat >>conftest.$ac_ext <<_ACEOF
4659/* end confdefs.h. */
ff8331ea 4660
fc6ffb29
AJ
4661/* Override any GCC internal prototype to avoid an error.
4662 Use char because int might match the return type of a GCC
4663 builtin and then its argument prototype would still apply. */
f5818d2f
AJ
4664#ifdef __cplusplus
4665extern "C"
4666#endif
f5818d2f
AJ
4667char gethostbyname ();
4668int
4669main ()
4670{
fc6ffb29 4671return gethostbyname ();
f5818d2f
AJ
4672 ;
4673 return 0;
4674}
4675_ACEOF
4676rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
4677if { (ac_try="$ac_link"
4678case "(($ac_try" in
4679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4680 *) ac_try_echo=$ac_try;;
4681esac
4682eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4683 (eval "$ac_link") 2>conftest.er1
f5818d2f 4684 ac_status=$?
875927f6
AJ
4685 grep -v '^ *+' conftest.er1 >conftest.err
4686 rm -f conftest.er1
4687 cat conftest.err >&5
daa2886c 4688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
4689 (exit $ac_status); } && {
4690 test -z "$ac_c_werror_flag" ||
4691 test ! -s conftest.err
4692 } && test -s conftest$ac_exeext &&
4693 $as_test_x conftest$ac_exeext; then
f5818d2f
AJ
4694 ac_cv_lib_bsd_gethostbyname=yes
4695else
4696 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
4697sed 's/^/| /' conftest.$ac_ext >&5
4698
fc6ffb29 4699 ac_cv_lib_bsd_gethostbyname=no
f5818d2f 4700fi
fc6ffb29 4701
f0ca586f 4702rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 4703 conftest$ac_exeext conftest.$ac_ext
f5818d2f
AJ
4704LIBS=$ac_check_lib_save_LIBS
4705fi
fc6ffb29
AJ
4706{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4707echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
f5818d2f
AJ
4708if test $ac_cv_lib_bsd_gethostbyname = yes; then
4709 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
ff8331ea
AJ
4710fi
4711
f5818d2f 4712 fi
da0cfb36 4713 fi
ff8331ea
AJ
4714
4715 # lieder@skyler.mavd.honeywell.com says without -lsocket,
da0cfb36
AJ
4716 # socket/setsockopt and other routines are undefined under SCO ODT
4717 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
f5818d2f 4718 # on later versions), says Simon Leinen: it contains gethostby*
11af04e3 4719 # variants that don't use the name server (or something). -lsocket
f5818d2f
AJ
4720 # must be given before -lnsl if both are needed. We assume that
4721 # if connect needs -lnsl, so does gethostbyname.
fc6ffb29
AJ
4722 { echo "$as_me:$LINENO: checking for connect" >&5
4723echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
f5818d2f
AJ
4724if test "${ac_cv_func_connect+set}" = set; then
4725 echo $ECHO_N "(cached) $ECHO_C" >&6
4726else
4727 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
4728/* confdefs.h. */
4729_ACEOF
4730cat confdefs.h >>conftest.$ac_ext
4731cat >>conftest.$ac_ext <<_ACEOF
4732/* end confdefs.h. */
875927f6
AJ
4733/* Define connect to an innocuous variant, in case <limits.h> declares connect.
4734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4735#define connect innocuous_connect
4736
da0cfb36 4737/* System header to define __stub macros and hopefully few prototypes,
e24bcc77
AJ
4738 which can conflict with char connect (); below.
4739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4740 <limits.h> exists even on freestanding compilers. */
875927f6 4741
e24bcc77
AJ
4742#ifdef __STDC__
4743# include <limits.h>
4744#else
4745# include <assert.h>
4746#endif
875927f6
AJ
4747
4748#undef connect
4749
fc6ffb29
AJ
4750/* Override any GCC internal prototype to avoid an error.
4751 Use char because int might match the return type of a GCC
4752 builtin and then its argument prototype would still apply. */
f5818d2f
AJ
4753#ifdef __cplusplus
4754extern "C"
4755#endif
f5818d2f 4756char connect ();
da0cfb36
AJ
4757/* The GNU C library defines this for functions which it implements
4758 to always fail with ENOSYS. Some functions are actually named
4759 something starting with __ and the normal name is an alias. */
fc6ffb29 4760#if defined __stub_connect || defined __stub___connect
da0cfb36 4761choke me
da0cfb36
AJ
4762#endif
4763
e24bcc77
AJ
4764int
4765main ()
4766{
fc6ffb29 4767return connect ();
f5818d2f
AJ
4768 ;
4769 return 0;
4770}
4771_ACEOF
4772rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
4773if { (ac_try="$ac_link"
4774case "(($ac_try" in
4775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4776 *) ac_try_echo=$ac_try;;
4777esac
4778eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4779 (eval "$ac_link") 2>conftest.er1
f5818d2f 4780 ac_status=$?
875927f6
AJ
4781 grep -v '^ *+' conftest.er1 >conftest.err
4782 rm -f conftest.er1
4783 cat conftest.err >&5
daa2886c 4784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
4785 (exit $ac_status); } && {
4786 test -z "$ac_c_werror_flag" ||
4787 test ! -s conftest.err
4788 } && test -s conftest$ac_exeext &&
4789 $as_test_x conftest$ac_exeext; then
f5818d2f
AJ
4790 ac_cv_func_connect=yes
4791else
4792 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
4793sed 's/^/| /' conftest.$ac_ext >&5
4794
fc6ffb29 4795 ac_cv_func_connect=no
f5818d2f 4796fi
fc6ffb29 4797
f0ca586f 4798rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 4799 conftest$ac_exeext conftest.$ac_ext
f5818d2f 4800fi
fc6ffb29
AJ
4801{ echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4802echo "${ECHO_T}$ac_cv_func_connect" >&6; }
da0cfb36
AJ
4803
4804 if test $ac_cv_func_connect = no; then
fc6ffb29
AJ
4805 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4806echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
f5818d2f
AJ
4807if test "${ac_cv_lib_socket_connect+set}" = set; then
4808 echo $ECHO_N "(cached) $ECHO_C" >&6
ff8331ea 4809else
f5818d2f 4810 ac_check_lib_save_LIBS=$LIBS
da0cfb36 4811LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
f5818d2f 4812cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
4813/* confdefs.h. */
4814_ACEOF
4815cat confdefs.h >>conftest.$ac_ext
4816cat >>conftest.$ac_ext <<_ACEOF
4817/* end confdefs.h. */
f5818d2f 4818
fc6ffb29
AJ
4819/* Override any GCC internal prototype to avoid an error.
4820 Use char because int might match the return type of a GCC
4821 builtin and then its argument prototype would still apply. */
f5818d2f
AJ
4822#ifdef __cplusplus
4823extern "C"
4824#endif
f5818d2f
AJ
4825char connect ();
4826int
4827main ()
4828{
fc6ffb29 4829return connect ();
f5818d2f
AJ
4830 ;
4831 return 0;
4832}
4833_ACEOF
4834rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
4835if { (ac_try="$ac_link"
4836case "(($ac_try" in
4837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4838 *) ac_try_echo=$ac_try;;
4839esac
4840eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4841 (eval "$ac_link") 2>conftest.er1
f5818d2f 4842 ac_status=$?
875927f6
AJ
4843 grep -v '^ *+' conftest.er1 >conftest.err
4844 rm -f conftest.er1
4845 cat conftest.err >&5
daa2886c 4846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
4847 (exit $ac_status); } && {
4848 test -z "$ac_c_werror_flag" ||
4849 test ! -s conftest.err
4850 } && test -s conftest$ac_exeext &&
4851 $as_test_x conftest$ac_exeext; then
f5818d2f
AJ
4852 ac_cv_lib_socket_connect=yes
4853else
4854 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
4855sed 's/^/| /' conftest.$ac_ext >&5
4856
fc6ffb29 4857 ac_cv_lib_socket_connect=no
f5818d2f 4858fi
fc6ffb29 4859
f0ca586f 4860rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 4861 conftest$ac_exeext conftest.$ac_ext
f5818d2f
AJ
4862LIBS=$ac_check_lib_save_LIBS
4863fi
fc6ffb29
AJ
4864{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4865echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
f5818d2f 4866if test $ac_cv_lib_socket_connect = yes; then
da0cfb36 4867 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
ff8331ea
AJ
4868fi
4869
da0cfb36
AJ
4870 fi
4871
f5818d2f 4872 # Guillermo Gomez says -lposix is necessary on A/UX.
fc6ffb29
AJ
4873 { echo "$as_me:$LINENO: checking for remove" >&5
4874echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
f5818d2f
AJ
4875if test "${ac_cv_func_remove+set}" = set; then
4876 echo $ECHO_N "(cached) $ECHO_C" >&6
da0cfb36 4877else
f5818d2f 4878 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
4879/* confdefs.h. */
4880_ACEOF
4881cat confdefs.h >>conftest.$ac_ext
4882cat >>conftest.$ac_ext <<_ACEOF
4883/* end confdefs.h. */
875927f6
AJ
4884/* Define remove to an innocuous variant, in case <limits.h> declares remove.
4885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4886#define remove innocuous_remove
4887
da0cfb36 4888/* System header to define __stub macros and hopefully few prototypes,
e24bcc77
AJ
4889 which can conflict with char remove (); below.
4890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4891 <limits.h> exists even on freestanding compilers. */
875927f6 4892
e24bcc77
AJ
4893#ifdef __STDC__
4894# include <limits.h>
4895#else
4896# include <assert.h>
4897#endif
875927f6
AJ
4898
4899#undef remove
4900
fc6ffb29
AJ
4901/* Override any GCC internal prototype to avoid an error.
4902 Use char because int might match the return type of a GCC
4903 builtin and then its argument prototype would still apply. */
f5818d2f
AJ
4904#ifdef __cplusplus
4905extern "C"
4906#endif
f5818d2f 4907char remove ();
da0cfb36
AJ
4908/* The GNU C library defines this for functions which it implements
4909 to always fail with ENOSYS. Some functions are actually named
4910 something starting with __ and the normal name is an alias. */
fc6ffb29 4911#if defined __stub_remove || defined __stub___remove
da0cfb36 4912choke me
da0cfb36
AJ
4913#endif
4914
e24bcc77
AJ
4915int
4916main ()
4917{
fc6ffb29 4918return remove ();
f5818d2f
AJ
4919 ;
4920 return 0;
4921}
4922_ACEOF
4923rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
4924if { (ac_try="$ac_link"
4925case "(($ac_try" in
4926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4927 *) ac_try_echo=$ac_try;;
4928esac
4929eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4930 (eval "$ac_link") 2>conftest.er1
f5818d2f 4931 ac_status=$?
875927f6
AJ
4932 grep -v '^ *+' conftest.er1 >conftest.err
4933 rm -f conftest.er1
4934 cat conftest.err >&5
daa2886c 4935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
4936 (exit $ac_status); } && {
4937 test -z "$ac_c_werror_flag" ||
4938 test ! -s conftest.err
4939 } && test -s conftest$ac_exeext &&
4940 $as_test_x conftest$ac_exeext; then
f5818d2f
AJ
4941 ac_cv_func_remove=yes
4942else
4943 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
4944sed 's/^/| /' conftest.$ac_ext >&5
4945
fc6ffb29 4946 ac_cv_func_remove=no
f5818d2f 4947fi
fc6ffb29 4948
f0ca586f 4949rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 4950 conftest$ac_exeext conftest.$ac_ext
f5818d2f 4951fi
fc6ffb29
AJ
4952{ echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4953echo "${ECHO_T}$ac_cv_func_remove" >&6; }
da0cfb36
AJ
4954
4955 if test $ac_cv_func_remove = no; then
fc6ffb29
AJ
4956 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4957echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
f5818d2f
AJ
4958if test "${ac_cv_lib_posix_remove+set}" = set; then
4959 echo $ECHO_N "(cached) $ECHO_C" >&6
e2bfa4c7 4960else
f5818d2f 4961 ac_check_lib_save_LIBS=$LIBS
da0cfb36 4962LIBS="-lposix $LIBS"
f5818d2f 4963cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
4964/* confdefs.h. */
4965_ACEOF
4966cat confdefs.h >>conftest.$ac_ext
4967cat >>conftest.$ac_ext <<_ACEOF
4968/* end confdefs.h. */
f5818d2f 4969
fc6ffb29
AJ
4970/* Override any GCC internal prototype to avoid an error.
4971 Use char because int might match the return type of a GCC
4972 builtin and then its argument prototype would still apply. */
f5818d2f
AJ
4973#ifdef __cplusplus
4974extern "C"
4975#endif
f5818d2f
AJ
4976char remove ();
4977int
4978main ()
4979{
fc6ffb29 4980return remove ();
f5818d2f
AJ
4981 ;
4982 return 0;
4983}
4984_ACEOF
4985rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
4986if { (ac_try="$ac_link"
4987case "(($ac_try" in
4988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4989 *) ac_try_echo=$ac_try;;
4990esac
4991eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4992 (eval "$ac_link") 2>conftest.er1
f5818d2f 4993 ac_status=$?
875927f6
AJ
4994 grep -v '^ *+' conftest.er1 >conftest.err
4995 rm -f conftest.er1
4996 cat conftest.err >&5
daa2886c 4997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
4998 (exit $ac_status); } && {
4999 test -z "$ac_c_werror_flag" ||
5000 test ! -s conftest.err
5001 } && test -s conftest$ac_exeext &&
5002 $as_test_x conftest$ac_exeext; then
f5818d2f
AJ
5003 ac_cv_lib_posix_remove=yes
5004else
5005 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
5006sed 's/^/| /' conftest.$ac_ext >&5
5007
fc6ffb29 5008 ac_cv_lib_posix_remove=no
f5818d2f 5009fi
fc6ffb29 5010
f0ca586f 5011rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 5012 conftest$ac_exeext conftest.$ac_ext
f5818d2f
AJ
5013LIBS=$ac_check_lib_save_LIBS
5014fi
fc6ffb29
AJ
5015{ echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5016echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
f5818d2f 5017if test $ac_cv_lib_posix_remove = yes; then
da0cfb36 5018 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
da0cfb36
AJ
5019fi
5020
5021 fi
5022
5023 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
fc6ffb29
AJ
5024 { echo "$as_me:$LINENO: checking for shmat" >&5
5025echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
f5818d2f
AJ
5026if test "${ac_cv_func_shmat+set}" = set; then
5027 echo $ECHO_N "(cached) $ECHO_C" >&6
da0cfb36 5028else
f5818d2f 5029 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
5030/* confdefs.h. */
5031_ACEOF
5032cat confdefs.h >>conftest.$ac_ext
5033cat >>conftest.$ac_ext <<_ACEOF
5034/* end confdefs.h. */
875927f6
AJ
5035/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5036 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5037#define shmat innocuous_shmat
5038
da0cfb36 5039/* System header to define __stub macros and hopefully few prototypes,
e24bcc77
AJ
5040 which can conflict with char shmat (); below.
5041 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5042 <limits.h> exists even on freestanding compilers. */
875927f6 5043
e24bcc77
AJ
5044#ifdef __STDC__
5045# include <limits.h>
5046#else
5047# include <assert.h>
5048#endif
875927f6
AJ
5049
5050#undef shmat
5051
fc6ffb29
AJ
5052/* Override any GCC internal prototype to avoid an error.
5053 Use char because int might match the return type of a GCC
5054 builtin and then its argument prototype would still apply. */
f5818d2f
AJ
5055#ifdef __cplusplus
5056extern "C"
5057#endif
f5818d2f 5058char shmat ();
da0cfb36
AJ
5059/* The GNU C library defines this for functions which it implements
5060 to always fail with ENOSYS. Some functions are actually named
5061 something starting with __ and the normal name is an alias. */
fc6ffb29 5062#if defined __stub_shmat || defined __stub___shmat
da0cfb36 5063choke me
da0cfb36
AJ
5064#endif
5065
e24bcc77
AJ
5066int
5067main ()
5068{
fc6ffb29 5069return shmat ();
f5818d2f
AJ
5070 ;
5071 return 0;
5072}
5073_ACEOF
5074rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
5075if { (ac_try="$ac_link"
5076case "(($ac_try" in
5077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5078 *) ac_try_echo=$ac_try;;
5079esac
5080eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5081 (eval "$ac_link") 2>conftest.er1
f5818d2f 5082 ac_status=$?
875927f6
AJ
5083 grep -v '^ *+' conftest.er1 >conftest.err
5084 rm -f conftest.er1
5085 cat conftest.err >&5
daa2886c 5086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
5087 (exit $ac_status); } && {
5088 test -z "$ac_c_werror_flag" ||
5089 test ! -s conftest.err
5090 } && test -s conftest$ac_exeext &&
5091 $as_test_x conftest$ac_exeext; then
f5818d2f
AJ
5092 ac_cv_func_shmat=yes
5093else
5094 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
5095sed 's/^/| /' conftest.$ac_ext >&5
5096
fc6ffb29 5097 ac_cv_func_shmat=no
f5818d2f 5098fi
fc6ffb29 5099
f0ca586f 5100rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 5101 conftest$ac_exeext conftest.$ac_ext
f5818d2f 5102fi
fc6ffb29
AJ
5103{ echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5104echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
da0cfb36
AJ
5105
5106 if test $ac_cv_func_shmat = no; then
fc6ffb29
AJ
5107 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5108echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
f5818d2f
AJ
5109if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5110 echo $ECHO_N "(cached) $ECHO_C" >&6
da0cfb36 5111else
f5818d2f 5112 ac_check_lib_save_LIBS=$LIBS
da0cfb36 5113LIBS="-lipc $LIBS"
f5818d2f 5114cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
5115/* confdefs.h. */
5116_ACEOF
5117cat confdefs.h >>conftest.$ac_ext
5118cat >>conftest.$ac_ext <<_ACEOF
5119/* end confdefs.h. */
f5818d2f 5120
fc6ffb29
AJ
5121/* Override any GCC internal prototype to avoid an error.
5122 Use char because int might match the return type of a GCC
5123 builtin and then its argument prototype would still apply. */
f5818d2f
AJ
5124#ifdef __cplusplus
5125extern "C"
5126#endif
f5818d2f
AJ
5127char shmat ();
5128int
5129main ()
5130{
fc6ffb29 5131return shmat ();
f5818d2f
AJ
5132 ;
5133 return 0;
5134}
5135_ACEOF
5136rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
5137if { (ac_try="$ac_link"
5138case "(($ac_try" in
5139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5140 *) ac_try_echo=$ac_try;;
5141esac
5142eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5143 (eval "$ac_link") 2>conftest.er1
f5818d2f 5144 ac_status=$?
875927f6
AJ
5145 grep -v '^ *+' conftest.er1 >conftest.err
5146 rm -f conftest.er1
5147 cat conftest.err >&5
daa2886c 5148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
5149 (exit $ac_status); } && {
5150 test -z "$ac_c_werror_flag" ||
5151 test ! -s conftest.err
5152 } && test -s conftest$ac_exeext &&
5153 $as_test_x conftest$ac_exeext; then
f5818d2f
AJ
5154 ac_cv_lib_ipc_shmat=yes
5155else
5156 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
5157sed 's/^/| /' conftest.$ac_ext >&5
5158
fc6ffb29 5159 ac_cv_lib_ipc_shmat=no
f5818d2f 5160fi
fc6ffb29 5161
f0ca586f 5162rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 5163 conftest$ac_exeext conftest.$ac_ext
f5818d2f
AJ
5164LIBS=$ac_check_lib_save_LIBS
5165fi
fc6ffb29
AJ
5166{ echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5167echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
f5818d2f 5168if test $ac_cv_lib_ipc_shmat = yes; then
da0cfb36 5169 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
e2bfa4c7
AJ
5170fi
5171
ff8331ea
AJ
5172 fi
5173 fi
da0cfb36
AJ
5174
5175 # Check for libraries that X11R6 Xt/Xaw programs need.
f5818d2f 5176 ac_save_LDFLAGS=$LDFLAGS
da0cfb36
AJ
5177 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5178 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5179 # check for ICE first), but we must link in the order -lSM -lICE or
5180 # we get undefined symbols. So assume we have SM if we have ICE.
5181 # These have to be linked with before -lX11, unlike the other
5182 # libraries we check for below, so use a different variable.
f5818d2f 5183 # John Interrante, Karl Berry
fc6ffb29
AJ
5184 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5185echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
f5818d2f
AJ
5186if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5187 echo $ECHO_N "(cached) $ECHO_C" >&6
5188else
5189 ac_check_lib_save_LIBS=$LIBS
18ad24a7 5190LIBS="-lICE $X_EXTRA_LIBS $LIBS"
f5818d2f 5191cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
5192/* confdefs.h. */
5193_ACEOF
5194cat confdefs.h >>conftest.$ac_ext
5195cat >>conftest.$ac_ext <<_ACEOF
5196/* end confdefs.h. */
f5818d2f 5197
fc6ffb29
AJ
5198/* Override any GCC internal prototype to avoid an error.
5199 Use char because int might match the return type of a GCC
5200 builtin and then its argument prototype would still apply. */
f5818d2f
AJ
5201#ifdef __cplusplus
5202extern "C"
5203#endif
f5818d2f
AJ
5204char IceConnectionNumber ();
5205int
5206main ()
5207{
fc6ffb29 5208return IceConnectionNumber ();
f5818d2f
AJ
5209 ;
5210 return 0;
5211}
5212_ACEOF
5213rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
5214if { (ac_try="$ac_link"
5215case "(($ac_try" in
5216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5217 *) ac_try_echo=$ac_try;;
5218esac
5219eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5220 (eval "$ac_link") 2>conftest.er1
f5818d2f 5221 ac_status=$?
875927f6
AJ
5222 grep -v '^ *+' conftest.er1 >conftest.err
5223 rm -f conftest.er1
5224 cat conftest.err >&5
daa2886c 5225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
5226 (exit $ac_status); } && {
5227 test -z "$ac_c_werror_flag" ||
5228 test ! -s conftest.err
5229 } && test -s conftest$ac_exeext &&
5230 $as_test_x conftest$ac_exeext; then
f5818d2f
AJ
5231 ac_cv_lib_ICE_IceConnectionNumber=yes
5232else
5233 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
5234sed 's/^/| /' conftest.$ac_ext >&5
5235
fc6ffb29 5236 ac_cv_lib_ICE_IceConnectionNumber=no
f5818d2f 5237fi
fc6ffb29 5238
f0ca586f 5239rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 5240 conftest$ac_exeext conftest.$ac_ext
f5818d2f
AJ
5241LIBS=$ac_check_lib_save_LIBS
5242fi
fc6ffb29
AJ
5243{ echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5244echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
f5818d2f 5245if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
da0cfb36 5246 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
da0cfb36
AJ
5247fi
5248
f5818d2f 5249 LDFLAGS=$ac_save_LDFLAGS
da0cfb36 5250
ff8331ea
AJ
5251fi
5252
e2991ea7 5253
4091627c 5254for ac_prog in flex
5c5a6217 5255do
f5818d2f 5256 # Extract the first word of "$ac_prog", so it can be a program name with args.
5c5a6217 5257set dummy $ac_prog; ac_word=$2
fc6ffb29
AJ
5258{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5259echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4091627c 5260if test "${ac_cv_prog_FLEX+set}" = set; then
f5818d2f 5261 echo $ECHO_N "(cached) $ECHO_C" >&6
5c5a6217 5262else
4091627c
AJ
5263 if test -n "$FLEX"; then
5264 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5c5a6217 5265else
daa2886c
AJ
5266as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5267for as_dir in $PATH
5268do
5269 IFS=$as_save_IFS
5270 test -z "$as_dir" && as_dir=.
5271 for ac_exec_ext in '' $ac_executable_extensions; do
dc9f3843 5272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4091627c 5273 ac_cv_prog_FLEX="$ac_prog"
daa2886c
AJ
5274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5275 break 2
5276 fi
5277done
f5818d2f 5278done
fc6ffb29 5279IFS=$as_save_IFS
f5818d2f 5280
5c5a6217
MM
5281fi
5282fi
4091627c
AJ
5283FLEX=$ac_cv_prog_FLEX
5284if test -n "$FLEX"; then
5285 { echo "$as_me:$LINENO: result: $FLEX" >&5
5286echo "${ECHO_T}$FLEX" >&6; }
5c5a6217 5287else
fc6ffb29
AJ
5288 { echo "$as_me:$LINENO: result: no" >&5
5289echo "${ECHO_T}no" >&6; }
5c5a6217
MM
5290fi
5291
fc6ffb29 5292
4091627c 5293 test -n "$FLEX" && break
5c5a6217 5294done
4091627c 5295test -n "$FLEX" || FLEX="none"
5c5a6217 5296
4091627c 5297if test "$FLEX" = "none"
5c5a6217 5298then
4091627c
AJ
5299 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5300echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
f5818d2f 5301 { (exit 1); exit 1; }; }
5c5a6217 5302fi
c068f670
MM
5303
5304for ac_prog in bison
b53bb419 5305do
f5818d2f 5306 # Extract the first word of "$ac_prog", so it can be a program name with args.
b53bb419 5307set dummy $ac_prog; ac_word=$2
fc6ffb29
AJ
5308{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5309echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
c068f670 5310if test "${ac_cv_prog_BISON+set}" = set; then
f5818d2f 5311 echo $ECHO_N "(cached) $ECHO_C" >&6
b53bb419 5312else
c068f670
MM
5313 if test -n "$BISON"; then
5314 ac_cv_prog_BISON="$BISON" # Let the user override the test.
b53bb419 5315else
daa2886c
AJ
5316as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5317for as_dir in $PATH
5318do
5319 IFS=$as_save_IFS
5320 test -z "$as_dir" && as_dir=.
5321 for ac_exec_ext in '' $ac_executable_extensions; do
dc9f3843 5322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
c068f670 5323 ac_cv_prog_BISON="$ac_prog"
daa2886c
AJ
5324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5325 break 2
5326 fi
5327done
f5818d2f 5328done
fc6ffb29 5329IFS=$as_save_IFS
f5818d2f 5330
b53bb419
MM
5331fi
5332fi
c068f670
MM
5333BISON=$ac_cv_prog_BISON
5334if test -n "$BISON"; then
fc6ffb29
AJ
5335 { echo "$as_me:$LINENO: result: $BISON" >&5
5336echo "${ECHO_T}$BISON" >&6; }
b53bb419 5337else
fc6ffb29
AJ
5338 { echo "$as_me:$LINENO: result: no" >&5
5339echo "${ECHO_T}no" >&6; }
b53bb419
MM
5340fi
5341
fc6ffb29 5342
c068f670 5343 test -n "$BISON" && break
b53bb419 5344done
c068f670 5345test -n "$BISON" || BISON="none"
b53bb419 5346
c068f670 5347if test "$BISON" = "none"
b53bb419 5348then
c068f670
MM
5349 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5350echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
f5818d2f
AJ
5351 { (exit 1); exit 1; }; }
5352fi
fc01b729 5353
1d4db787 5354if test -n "$ac_tool_prefix"; then
c80c290e
AJ
5355 for ac_prog in gas as
5356 do
5357 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5358set dummy $ac_tool_prefix$ac_prog; ac_word=$2
fc6ffb29
AJ
5359{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5360echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1d4db787
MM
5361if test "${ac_cv_prog_AS+set}" = set; then
5362 echo $ECHO_N "(cached) $ECHO_C" >&6
5363else
5364 if test -n "$AS"; then
5365 ac_cv_prog_AS="$AS" # Let the user override the test.
5366else
5367as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5368for as_dir in $PATH
5369do
5370 IFS=$as_save_IFS
5371 test -z "$as_dir" && as_dir=.
5372 for ac_exec_ext in '' $ac_executable_extensions; do
dc9f3843 5373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
c80c290e 5374 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
1d4db787
MM
5375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5376 break 2
5377 fi
5378done
5379done
fc6ffb29 5380IFS=$as_save_IFS
1d4db787
MM
5381
5382fi
5383fi
5384AS=$ac_cv_prog_AS
5385if test -n "$AS"; then
fc6ffb29
AJ
5386 { echo "$as_me:$LINENO: result: $AS" >&5
5387echo "${ECHO_T}$AS" >&6; }
1d4db787 5388else
fc6ffb29
AJ
5389 { echo "$as_me:$LINENO: result: no" >&5
5390echo "${ECHO_T}no" >&6; }
1d4db787
MM
5391fi
5392
fc6ffb29 5393
c80c290e
AJ
5394 test -n "$AS" && break
5395 done
1d4db787 5396fi
c80c290e 5397if test -z "$AS"; then
1d4db787 5398 ac_ct_AS=$AS
c80c290e
AJ
5399 for ac_prog in gas as
5400do
5401 # Extract the first word of "$ac_prog", so it can be a program name with args.
5402set dummy $ac_prog; ac_word=$2
fc6ffb29
AJ
5403{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5404echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1d4db787
MM
5405if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5406 echo $ECHO_N "(cached) $ECHO_C" >&6
5407else
5408 if test -n "$ac_ct_AS"; then
5409 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5410else
5411as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5412for as_dir in $PATH
5413do
5414 IFS=$as_save_IFS
5415 test -z "$as_dir" && as_dir=.
5416 for ac_exec_ext in '' $ac_executable_extensions; do
dc9f3843 5417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
c80c290e 5418 ac_cv_prog_ac_ct_AS="$ac_prog"
1d4db787
MM
5419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5420 break 2
5421 fi
5422done
5423done
fc6ffb29 5424IFS=$as_save_IFS
1d4db787 5425
1d4db787
MM
5426fi
5427fi
5428ac_ct_AS=$ac_cv_prog_ac_ct_AS
5429if test -n "$ac_ct_AS"; then
fc6ffb29
AJ
5430 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5431echo "${ECHO_T}$ac_ct_AS" >&6; }
1d4db787 5432else
fc6ffb29
AJ
5433 { echo "$as_me:$LINENO: result: no" >&5
5434echo "${ECHO_T}no" >&6; }
1d4db787
MM
5435fi
5436
fc6ffb29 5437
c80c290e
AJ
5438 test -n "$ac_ct_AS" && break
5439done
c80c290e 5440
fc6ffb29
AJ
5441 if test "x$ac_ct_AS" = x; then
5442 AS="as"
5443 else
5444 case $cross_compiling:$ac_tool_warned in
5445yes:)
5446{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5447whose name does not start with the host triplet. If you think this
5448configuration is useful to you, please write to autoconf@gnu.org." >&5
5449echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5450whose name does not start with the host triplet. If you think this
5451configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5452ac_tool_warned=yes ;;
5453esac
5454 AS=$ac_ct_AS
5455 fi
1d4db787
MM
5456fi
5457
eb5f89c5 5458if test -n "$ac_tool_prefix"; then
86bd0461
FG
5459 for ac_prog in ld gld
5460 do
5461 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5462set dummy $ac_tool_prefix$ac_prog; ac_word=$2
fc6ffb29
AJ
5463{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5464echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
eb5f89c5
AJ
5465if test "${ac_cv_prog_LD+set}" = set; then
5466 echo $ECHO_N "(cached) $ECHO_C" >&6
5467else
5468 if test -n "$LD"; then
5469 ac_cv_prog_LD="$LD" # Let the user override the test.
5470else
5471as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5472for as_dir in $PATH
5473do
5474 IFS=$as_save_IFS
5475 test -z "$as_dir" && as_dir=.
5476 for ac_exec_ext in '' $ac_executable_extensions; do
dc9f3843 5477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
86bd0461 5478 ac_cv_prog_LD="$ac_tool_prefix$ac_prog"
eb5f89c5
AJ
5479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5480 break 2
5481 fi
5482done
5483done
fc6ffb29 5484IFS=$as_save_IFS
eb5f89c5
AJ
5485
5486fi
5487fi
5488LD=$ac_cv_prog_LD
5489if test -n "$LD"; then
fc6ffb29
AJ
5490 { echo "$as_me:$LINENO: result: $LD" >&5
5491echo "${ECHO_T}$LD" >&6; }
eb5f89c5 5492else
fc6ffb29
AJ
5493 { echo "$as_me:$LINENO: result: no" >&5
5494echo "${ECHO_T}no" >&6; }
eb5f89c5
AJ
5495fi
5496
fc6ffb29 5497
86bd0461
FG
5498 test -n "$LD" && break
5499 done
eb5f89c5 5500fi
86bd0461 5501if test -z "$LD"; then
eb5f89c5 5502 ac_ct_LD=$LD
86bd0461
FG
5503 for ac_prog in ld gld
5504do
5505 # Extract the first word of "$ac_prog", so it can be a program name with args.
5506set dummy $ac_prog; ac_word=$2
fc6ffb29
AJ
5507{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5508echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
eb5f89c5
AJ
5509if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5510 echo $ECHO_N "(cached) $ECHO_C" >&6
5511else
5512 if test -n "$ac_ct_LD"; then
5513 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5514else
5515as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5516for as_dir in $PATH
5517do
5518 IFS=$as_save_IFS
5519 test -z "$as_dir" && as_dir=.
5520 for ac_exec_ext in '' $ac_executable_extensions; do
dc9f3843 5521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
86bd0461 5522 ac_cv_prog_ac_ct_LD="$ac_prog"
eb5f89c5
AJ
5523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5524 break 2
5525 fi
5526done
5527done
fc6ffb29 5528IFS=$as_save_IFS
eb5f89c5 5529
eb5f89c5
AJ
5530fi
5531fi
5532ac_ct_LD=$ac_cv_prog_ac_ct_LD
5533if test -n "$ac_ct_LD"; then
fc6ffb29
AJ
5534 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5535echo "${ECHO_T}$ac_ct_LD" >&6; }
eb5f89c5 5536else
fc6ffb29
AJ
5537 { echo "$as_me:$LINENO: result: no" >&5
5538echo "${ECHO_T}no" >&6; }
eb5f89c5
AJ
5539fi
5540
86bd0461
FG
5541
5542 test -n "$ac_ct_LD" && break
5543done
5544
fc6ffb29
AJ
5545 if test "x$ac_ct_LD" = x; then
5546 LD="ld"
5547 else
5548 case $cross_compiling:$ac_tool_warned in
5549yes:)
5550{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5551whose name does not start with the host triplet. If you think this
5552configuration is useful to you, please write to autoconf@gnu.org." >&5
5553echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5554whose name does not start with the host triplet. If you think this
5555configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5556ac_tool_warned=yes ;;
5557esac
5558 LD=$ac_ct_LD
5559 fi
86bd0461
FG
5560fi
5561
5562if test -n "$ac_tool_prefix"; then
5563 for ac_prog in nm gnm
5564 do
5565 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5566set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5567{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5568echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5569if test "${ac_cv_prog_NM+set}" = set; then
5570 echo $ECHO_N "(cached) $ECHO_C" >&6
5571else
5572 if test -n "$NM"; then
5573 ac_cv_prog_NM="$NM" # Let the user override the test.
5574else
5575as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5576for as_dir in $PATH
5577do
5578 IFS=$as_save_IFS
5579 test -z "$as_dir" && as_dir=.
5580 for ac_exec_ext in '' $ac_executable_extensions; do
5581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5582 ac_cv_prog_NM="$ac_tool_prefix$ac_prog"
5583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5584 break 2
5585 fi
5586done
5587done
5588IFS=$as_save_IFS
5589
5590fi
5591fi
5592NM=$ac_cv_prog_NM
5593if test -n "$NM"; then
5594 { echo "$as_me:$LINENO: result: $NM" >&5
5595echo "${ECHO_T}$NM" >&6; }
eb5f89c5 5596else
86bd0461
FG
5597 { echo "$as_me:$LINENO: result: no" >&5
5598echo "${ECHO_T}no" >&6; }
5599fi
5600
5601
5602 test -n "$NM" && break
5603 done
5604fi
5605if test -z "$NM"; then
5606 ac_ct_NM=$NM
5607 for ac_prog in nm gnm
5608do
5609 # Extract the first word of "$ac_prog", so it can be a program name with args.
5610set dummy $ac_prog; ac_word=$2
5611{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5612echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5613if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
5614 echo $ECHO_N "(cached) $ECHO_C" >&6
5615else
5616 if test -n "$ac_ct_NM"; then
5617 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
5618else
5619as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5620for as_dir in $PATH
5621do
5622 IFS=$as_save_IFS
5623 test -z "$as_dir" && as_dir=.
5624 for ac_exec_ext in '' $ac_executable_extensions; do
5625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5626 ac_cv_prog_ac_ct_NM="$ac_prog"
5627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5628 break 2
5629 fi
5630done
5631done
5632IFS=$as_save_IFS
5633
5634fi
5635fi
5636ac_ct_NM=$ac_cv_prog_ac_ct_NM
5637if test -n "$ac_ct_NM"; then
5638 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
5639echo "${ECHO_T}$ac_ct_NM" >&6; }
5640else
5641 { echo "$as_me:$LINENO: result: no" >&5
5642echo "${ECHO_T}no" >&6; }
5643fi
5644
5645
5646 test -n "$ac_ct_NM" && break
5647done
5648
5649 if test "x$ac_ct_NM" = x; then
5650 NM="nm"
5651 else
5652 case $cross_compiling:$ac_tool_warned in
5653yes:)
5654{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5655whose name does not start with the host triplet. If you think this
5656configuration is useful to you, please write to autoconf@gnu.org." >&5
5657echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5658whose name does not start with the host triplet. If you think this
5659configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5660ac_tool_warned=yes ;;
5661esac
5662 NM=$ac_ct_NM
5663 fi
eb5f89c5
AJ
5664fi
5665
fc01b729 5666if test -n "$ac_tool_prefix"; then
86bd0461
FG
5667 for ac_prog in ar gar
5668 do
5669 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5670set dummy $ac_tool_prefix$ac_prog; ac_word=$2
fc6ffb29
AJ
5671{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5672echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
fc01b729
AJ
5673if test "${ac_cv_prog_AR+set}" = set; then
5674 echo $ECHO_N "(cached) $ECHO_C" >&6
5675else
5676 if test -n "$AR"; then
5677 ac_cv_prog_AR="$AR" # Let the user override the test.
5678else
5679as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5680for as_dir in $PATH
5681do
5682 IFS=$as_save_IFS
5683 test -z "$as_dir" && as_dir=.
5684 for ac_exec_ext in '' $ac_executable_extensions; do
dc9f3843 5685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
86bd0461 5686 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
fc01b729
AJ
5687 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5688 break 2
5689 fi
5690done
5691done
fc6ffb29 5692IFS=$as_save_IFS
fc01b729
AJ
5693
5694fi
5695fi
5696AR=$ac_cv_prog_AR
5697if test -n "$AR"; then
fc6ffb29
AJ
5698 { echo "$as_me:$LINENO: result: $AR" >&5
5699echo "${ECHO_T}$AR" >&6; }
fc01b729 5700else
fc6ffb29
AJ
5701 { echo "$as_me:$LINENO: result: no" >&5
5702echo "${ECHO_T}no" >&6; }
fc01b729
AJ
5703fi
5704
fc6ffb29 5705
86bd0461
FG
5706 test -n "$AR" && break
5707 done
fc01b729 5708fi
86bd0461 5709if test -z "$AR"; then
fc01b729 5710 ac_ct_AR=$AR
86bd0461
FG
5711 for ac_prog in ar gar
5712do
5713 # Extract the first word of "$ac_prog", so it can be a program name with args.
5714set dummy $ac_prog; ac_word=$2
fc6ffb29
AJ
5715{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5716echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
fc01b729
AJ
5717if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5718 echo $ECHO_N "(cached) $ECHO_C" >&6
5719else
5720 if test -n "$ac_ct_AR"; then
5721 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5722else
5723as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5724for as_dir in $PATH
5725do
5726 IFS=$as_save_IFS
5727 test -z "$as_dir" && as_dir=.
5728 for ac_exec_ext in '' $ac_executable_extensions; do
dc9f3843 5729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
86bd0461 5730 ac_cv_prog_ac_ct_AR="$ac_prog"
fc01b729
AJ
5731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5732 break 2
5733 fi
5734done
5735done
fc6ffb29 5736IFS=$as_save_IFS
fc01b729 5737
fc01b729
AJ
5738fi
5739fi
5740ac_ct_AR=$ac_cv_prog_ac_ct_AR
5741if test -n "$ac_ct_AR"; then
fc6ffb29
AJ
5742 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5743echo "${ECHO_T}$ac_ct_AR" >&6; }
fc01b729 5744else
fc6ffb29
AJ
5745 { echo "$as_me:$LINENO: result: no" >&5
5746echo "${ECHO_T}no" >&6; }
fc01b729
AJ
5747fi
5748
86bd0461
FG
5749
5750 test -n "$ac_ct_AR" && break
5751done
5752
fc6ffb29
AJ
5753 if test "x$ac_ct_AR" = x; then
5754 AR="ar"
5755 else
5756 case $cross_compiling:$ac_tool_warned in
5757yes:)
5758{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5759whose name does not start with the host triplet. If you think this
5760configuration is useful to you, please write to autoconf@gnu.org." >&5
5761echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5762whose name does not start with the host triplet. If you think this
5763configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5764ac_tool_warned=yes ;;
5765esac
5766 AR=$ac_ct_AR
5767 fi
fc01b729
AJ
5768fi
5769
0c694d71
RS
5770ARFLAGS=rc
5771
f5818d2f
AJ
5772if test -n "$ac_tool_prefix"; then
5773 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5774set dummy ${ac_tool_prefix}ranlib; ac_word=$2
fc6ffb29
AJ
5775{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5776echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
f5818d2f
AJ
5777if test "${ac_cv_prog_RANLIB+set}" = set; then
5778 echo $ECHO_N "(cached) $ECHO_C" >&6
ff8331ea
AJ
5779else
5780 if test -n "$RANLIB"; then
5781 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5782else
daa2886c
AJ
5783as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5784for as_dir in $PATH
5785do
5786 IFS=$as_save_IFS
5787 test -z "$as_dir" && as_dir=.
5788 for ac_exec_ext in '' $ac_executable_extensions; do
dc9f3843 5789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
daa2886c
AJ
5790 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5792 break 2
5793 fi
5794done
f5818d2f 5795done
fc6ffb29 5796IFS=$as_save_IFS
f5818d2f 5797
e2991ea7 5798fi
e2991ea7 5799fi
f5818d2f 5800RANLIB=$ac_cv_prog_RANLIB
ff8331ea 5801if test -n "$RANLIB"; then
fc6ffb29
AJ
5802 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5803echo "${ECHO_T}$RANLIB" >&6; }
f5818d2f 5804else
fc6ffb29
AJ
5805 { echo "$as_me:$LINENO: result: no" >&5
5806echo "${ECHO_T}no" >&6; }
f5818d2f
AJ
5807fi
5808
fc6ffb29 5809
f5818d2f
AJ
5810fi
5811if test -z "$ac_cv_prog_RANLIB"; then
5812 ac_ct_RANLIB=$RANLIB
5813 # Extract the first word of "ranlib", so it can be a program name with args.
5814set dummy ranlib; ac_word=$2
fc6ffb29
AJ
5815{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5816echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
f5818d2f
AJ
5817if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5818 echo $ECHO_N "(cached) $ECHO_C" >&6
5819else
5820 if test -n "$ac_ct_RANLIB"; then
5821 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5822else
daa2886c
AJ
5823as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5824for as_dir in $PATH
5825do
5826 IFS=$as_save_IFS
5827 test -z "$as_dir" && as_dir=.
5828 for ac_exec_ext in '' $ac_executable_extensions; do
dc9f3843 5829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
daa2886c
AJ
5830 ac_cv_prog_ac_ct_RANLIB="ranlib"
5831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5832 break 2
5833 fi
5834done
f5818d2f 5835done
fc6ffb29 5836IFS=$as_save_IFS
f5818d2f 5837
f5818d2f
AJ
5838fi
5839fi
5840ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5841if test -n "$ac_ct_RANLIB"; then
fc6ffb29
AJ
5842 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5843echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
f5818d2f 5844else
fc6ffb29
AJ
5845 { echo "$as_me:$LINENO: result: no" >&5
5846echo "${ECHO_T}no" >&6; }
f5818d2f
AJ
5847fi
5848
fc6ffb29
AJ
5849 if test "x$ac_ct_RANLIB" = x; then
5850 RANLIB=":"
5851 else
5852 case $cross_compiling:$ac_tool_warned in
5853yes:)
5854{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5855whose name does not start with the host triplet. If you think this
5856configuration is useful to you, please write to autoconf@gnu.org." >&5
5857echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5858whose name does not start with the host triplet. If you think this
5859configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5860ac_tool_warned=yes ;;
5861esac
5862 RANLIB=$ac_ct_RANLIB
5863 fi
ff8331ea 5864else
f5818d2f 5865 RANLIB="$ac_cv_prog_RANLIB"
ff8331ea 5866fi
e2991ea7 5867
fc01b729
AJ
5868if test -n "$ac_tool_prefix"; then
5869 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5870set dummy ${ac_tool_prefix}strip; ac_word=$2
fc6ffb29
AJ
5871{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5872echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
fc01b729
AJ
5873if test "${ac_cv_prog_STRIP+set}" = set; then
5874 echo $ECHO_N "(cached) $ECHO_C" >&6
5875else
5876 if test -n "$STRIP"; then
5877 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5878else
5879as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5880for as_dir in $PATH
5881do
5882 IFS=$as_save_IFS
5883 test -z "$as_dir" && as_dir=.
5884 for ac_exec_ext in '' $ac_executable_extensions; do
dc9f3843 5885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
fc01b729
AJ
5886 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5888 break 2
5889 fi
5890done
5891done
fc6ffb29 5892IFS=$as_save_IFS
fc01b729
AJ
5893
5894fi
5895fi
5896STRIP=$ac_cv_prog_STRIP
5897if test -n "$STRIP"; then
fc6ffb29
AJ
5898 { echo "$as_me:$LINENO: result: $STRIP" >&5
5899echo "${ECHO_T}$STRIP" >&6; }
fc01b729 5900else
fc6ffb29
AJ
5901 { echo "$as_me:$LINENO: result: no" >&5
5902echo "${ECHO_T}no" >&6; }
fc01b729
AJ
5903fi
5904
fc6ffb29 5905
fc01b729
AJ
5906fi
5907if test -z "$ac_cv_prog_STRIP"; then
5908 ac_ct_STRIP=$STRIP
5909 # Extract the first word of "strip", so it can be a program name with args.
5910set dummy strip; ac_word=$2
fc6ffb29
AJ
5911{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5912echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
fc01b729
AJ
5913if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5914 echo $ECHO_N "(cached) $ECHO_C" >&6
5915else
5916 if test -n "$ac_ct_STRIP"; then
5917 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5918else
5919as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5920for as_dir in $PATH
5921do
5922 IFS=$as_save_IFS
5923 test -z "$as_dir" && as_dir=.
5924 for ac_exec_ext in '' $ac_executable_extensions; do
dc9f3843 5925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
fc01b729
AJ
5926 ac_cv_prog_ac_ct_STRIP="strip"
5927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5928 break 2
5929 fi
5930done
5931done
fc6ffb29 5932IFS=$as_save_IFS
fc01b729 5933
fc01b729
AJ
5934fi
5935fi
5936ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5937if test -n "$ac_ct_STRIP"; then
fc6ffb29
AJ
5938 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5939echo "${ECHO_T}$ac_ct_STRIP" >&6; }
fc01b729 5940else
fc6ffb29
AJ
5941 { echo "$as_me:$LINENO: result: no" >&5
5942echo "${ECHO_T}no" >&6; }
fc01b729
AJ
5943fi
5944
fc6ffb29
AJ
5945 if test "x$ac_ct_STRIP" = x; then
5946 STRIP="strip"
5947 else
5948 case $cross_compiling:$ac_tool_warned in
5949yes:)
5950{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5951whose name does not start with the host triplet. If you think this
5952configuration is useful to you, please write to autoconf@gnu.org." >&5
5953echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5954whose name does not start with the host triplet. If you think this
5955configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5956ac_tool_warned=yes ;;
5957esac
5958 STRIP=$ac_ct_STRIP
5959 fi
fc01b729
AJ
5960else
5961 STRIP="$ac_cv_prog_STRIP"
5962fi
5963
5964if test -n "$ac_tool_prefix"; then
5965 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5966set dummy ${ac_tool_prefix}windres; ac_word=$2
fc6ffb29
AJ
5967{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5968echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
fc01b729
AJ
5969if test "${ac_cv_prog_WINDRES+set}" = set; then
5970 echo $ECHO_N "(cached) $ECHO_C" >&6
5971else
5972 if test -n "$WINDRES"; then
5973 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5974else
5975as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5976for as_dir in $PATH
5977do
5978 IFS=$as_save_IFS
5979 test -z "$as_dir" && as_dir=.
5980 for ac_exec_ext in '' $ac_executable_extensions; do
dc9f3843 5981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
fc01b729
AJ
5982 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5984 break 2
5985 fi
5986done
5987done
fc6ffb29 5988IFS=$as_save_IFS
fc01b729
AJ
5989
5990fi
5991fi
5992WINDRES=$ac_cv_prog_WINDRES
5993if test -n "$WINDRES"; then
fc6ffb29
AJ
5994 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5995echo "${ECHO_T}$WINDRES" >&6; }
fc01b729 5996else
fc6ffb29
AJ
5997 { echo "$as_me:$LINENO: result: no" >&5
5998echo "${ECHO_T}no" >&6; }
fc01b729
AJ
5999fi
6000
fc6ffb29 6001
fc01b729
AJ
6002fi
6003if test -z "$ac_cv_prog_WINDRES"; then
6004 ac_ct_WINDRES=$WINDRES
6005 # Extract the first word of "windres", so it can be a program name with args.
6006set dummy windres; ac_word=$2
fc6ffb29
AJ
6007{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6008echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
fc01b729
AJ
6009if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
6010 echo $ECHO_N "(cached) $ECHO_C" >&6
6011else
6012 if test -n "$ac_ct_WINDRES"; then
6013 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
6014else
6015as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6016for as_dir in $PATH
6017do
6018 IFS=$as_save_IFS
6019 test -z "$as_dir" && as_dir=.
6020 for ac_exec_ext in '' $ac_executable_extensions; do
dc9f3843 6021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
fc01b729
AJ
6022 ac_cv_prog_ac_ct_WINDRES="windres"
6023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6024 break 2
6025 fi
6026done
6027done
fc6ffb29 6028IFS=$as_save_IFS
fc01b729 6029
fc01b729
AJ
6030fi
6031fi
6032ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
6033if test -n "$ac_ct_WINDRES"; then
fc6ffb29
AJ
6034 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
6035echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
fc01b729 6036else
fc6ffb29
AJ
6037 { echo "$as_me:$LINENO: result: no" >&5
6038echo "${ECHO_T}no" >&6; }
fc01b729
AJ
6039fi
6040
fc6ffb29
AJ
6041 if test "x$ac_ct_WINDRES" = x; then
6042 WINDRES="false"
6043 else
6044 case $cross_compiling:$ac_tool_warned in
6045yes:)
6046{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6047whose name does not start with the host triplet. If you think this
6048configuration is useful to you, please write to autoconf@gnu.org." >&5
6049echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6050whose name does not start with the host triplet. If you think this
6051configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6052ac_tool_warned=yes ;;
6053esac
6054 WINDRES=$ac_ct_WINDRES
6055 fi
fc01b729
AJ
6056else
6057 WINDRES="$ac_cv_prog_WINDRES"
6058fi
6059
fc6ffb29
AJ
6060{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
6061echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
f5818d2f
AJ
6062LN_S=$as_ln_s
6063if test "$LN_S" = "ln -s"; then
fc6ffb29
AJ
6064 { echo "$as_me:$LINENO: result: yes" >&5
6065echo "${ECHO_T}yes" >&6; }
641ee76a 6066else
fc6ffb29
AJ
6067 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6068echo "${ECHO_T}no, using $LN_S" >&6; }
641ee76a
AJ
6069fi
6070
fc6ffb29
AJ
6071{ echo "$as_me:$LINENO: checking whether ln works" >&5
6072echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
df234a9f
AJ
6073rm -f conf$$ conf$$.file
6074echo >conf$$.file
6075if ln conf$$.file conf$$ 2>/dev/null; then
6076 LN=ln
6077
fc6ffb29
AJ
6078 { echo "$as_me:$LINENO: result: yes" >&5
6079echo "${ECHO_T}yes" >&6; }
df234a9f
AJ
6080else
6081 LN="cp -p"
6082
fc6ffb29
AJ
6083 { echo "$as_me:$LINENO: result: no, using $LN" >&5
6084echo "${ECHO_T}no, using $LN" >&6; }
df234a9f
AJ
6085fi
6086rm -f conf$$ conf$$.file
fc6ffb29
AJ
6087{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6088echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6089if test "${ac_cv_path_GREP+set}" = set; then
6090 echo $ECHO_N "(cached) $ECHO_C" >&6
6091else
6092 # Extract the first word of "grep ggrep" to use in msg output
6093if test -z "$GREP"; then
6094set dummy grep ggrep; ac_prog_name=$2
6095if test "${ac_cv_path_GREP+set}" = set; then
6096 echo $ECHO_N "(cached) $ECHO_C" >&6
6097else
6098 ac_path_GREP_found=false
6099# Loop through the user's path and test for each of PROGNAME-LIST
6100as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6101for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6102do
6103 IFS=$as_save_IFS
6104 test -z "$as_dir" && as_dir=.
6105 for ac_prog in grep ggrep; do
6106 for ac_exec_ext in '' $ac_executable_extensions; do
6107 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
dc9f3843 6108 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
fc6ffb29
AJ
6109 # Check for GNU ac_path_GREP and select it if it is found.
6110 # Check for GNU $ac_path_GREP
6111case `"$ac_path_GREP" --version 2>&1` in
6112*GNU*)
6113 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6114*)
6115 ac_count=0
6116 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6117 while :
6118 do
6119 cat "conftest.in" "conftest.in" >"conftest.tmp"
6120 mv "conftest.tmp" "conftest.in"
6121 cp "conftest.in" "conftest.nl"
6122 echo 'GREP' >> "conftest.nl"
6123 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6124 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6125 ac_count=`expr $ac_count + 1`
6126 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6127 # Best one so far, save it but keep looking for a better one
6128 ac_cv_path_GREP="$ac_path_GREP"
6129 ac_path_GREP_max=$ac_count
6130 fi
6131 # 10*(2^10) chars as input seems more than enough
6132 test $ac_count -gt 10 && break
6133 done
0ebeb530 6134 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
fc6ffb29
AJ
6135esac
6136
6137
6138 $ac_path_GREP_found && break 3
6139 done
6140done
6141
6142done
6143IFS=$as_save_IFS
6144
6145
6146fi
6147
6148GREP="$ac_cv_path_GREP"
6149if test -z "$GREP"; then
6150 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6151echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6152 { (exit 1); exit 1; }; }
6153fi
6154
6155else
6156 ac_cv_path_GREP=$GREP
6157fi
6158
6159
6160fi
6161{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6162echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6163 GREP="$ac_cv_path_GREP"
6164
6165
6166{ echo "$as_me:$LINENO: checking for egrep" >&5
6167echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6168if test "${ac_cv_path_EGREP+set}" = set; then
6169 echo $ECHO_N "(cached) $ECHO_C" >&6
6170else
6171 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6172 then ac_cv_path_EGREP="$GREP -E"
6173 else
6174 # Extract the first word of "egrep" to use in msg output
6175if test -z "$EGREP"; then
6176set dummy egrep; ac_prog_name=$2
6177if test "${ac_cv_path_EGREP+set}" = set; then
c626491b
AJ
6178 echo $ECHO_N "(cached) $ECHO_C" >&6
6179else
fc6ffb29
AJ
6180 ac_path_EGREP_found=false
6181# Loop through the user's path and test for each of PROGNAME-LIST
6182as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6183for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6184do
6185 IFS=$as_save_IFS
6186 test -z "$as_dir" && as_dir=.
6187 for ac_prog in egrep; do
6188 for ac_exec_ext in '' $ac_executable_extensions; do
6189 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
dc9f3843 6190 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
fc6ffb29
AJ
6191 # Check for GNU ac_path_EGREP and select it if it is found.
6192 # Check for GNU $ac_path_EGREP
6193case `"$ac_path_EGREP" --version 2>&1` in
6194*GNU*)
6195 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6196*)
6197 ac_count=0
6198 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6199 while :
6200 do
6201 cat "conftest.in" "conftest.in" >"conftest.tmp"
6202 mv "conftest.tmp" "conftest.in"
6203 cp "conftest.in" "conftest.nl"
6204 echo 'EGREP' >> "conftest.nl"
6205 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6206 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6207 ac_count=`expr $ac_count + 1`
6208 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6209 # Best one so far, save it but keep looking for a better one
6210 ac_cv_path_EGREP="$ac_path_EGREP"
6211 ac_path_EGREP_max=$ac_count
c626491b 6212 fi
fc6ffb29
AJ
6213 # 10*(2^10) chars as input seems more than enough
6214 test $ac_count -gt 10 && break
6215 done
0ebeb530 6216 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
fc6ffb29
AJ
6217esac
6218
6219
6220 $ac_path_EGREP_found && break 3
6221 done
6222done
6223
6224done
6225IFS=$as_save_IFS
6226
6227
6228fi
6229
6230EGREP="$ac_cv_path_EGREP"
6231if test -z "$EGREP"; then
6232 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6233echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6234 { (exit 1); exit 1; }; }
6235fi
6236
6237else
6238 ac_cv_path_EGREP=$EGREP
6239fi
6240
6241
6242 fi
c626491b 6243fi
fc6ffb29
AJ
6244{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6245echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6246 EGREP="$ac_cv_path_EGREP"
c626491b
AJ
6247
6248
ffe6b767
JJ
6249# Extract the first word of "ldconfig", so it can be a program name with args.
6250set dummy ldconfig; ac_word=$2
fc6ffb29
AJ
6251{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6252echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
f5818d2f
AJ
6253if test "${ac_cv_path_LDCONFIG+set}" = set; then
6254 echo $ECHO_N "(cached) $ECHO_C" >&6
ffe6b767 6255else
f5818d2f
AJ
6256 case $LDCONFIG in
6257 [\\/]* | ?:[\\/]*)
ffe6b767
JJ
6258 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6259 ;;
6260 *)
daa2886c 6261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
91372b39 6262for as_dir in /sbin /usr/sbin $PATH
daa2886c
AJ
6263do
6264 IFS=$as_save_IFS
6265 test -z "$as_dir" && as_dir=.
6266 for ac_exec_ext in '' $ac_executable_extensions; do
dc9f3843 6267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
daa2886c
AJ
6268 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6270 break 2
6271 fi
6272done
f5818d2f 6273done
fc6ffb29 6274IFS=$as_save_IFS
f5818d2f 6275
318f4cef 6276 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
ffe6b767
JJ
6277 ;;
6278esac
6279fi
f5818d2f 6280LDCONFIG=$ac_cv_path_LDCONFIG
f5818d2f 6281if test -n "$LDCONFIG"; then
fc6ffb29
AJ
6282 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6283echo "${ECHO_T}$LDCONFIG" >&6; }
d48ca948 6284else
fc6ffb29
AJ
6285 { echo "$as_me:$LINENO: result: no" >&5
6286echo "${ECHO_T}no" >&6; }
d48ca948
HT
6287fi
6288
fc6ffb29 6289
e24bcc77
AJ
6290# Find a good install program. We prefer a C program (faster),
6291# so one script is as good as another. But avoid the broken or
6292# incompatible versions:
6293# SysV /etc/install, /usr/sbin/install
6294# SunOS /usr/etc/install
6295# IRIX /sbin/install
6296# AIX /bin/install
6297# AmigaOS /C/install, which installs bootblocks on floppy discs
6298# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6299# AFS /usr/afsws/bin/install, which mishandles nonexistent args
6300# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
875927f6 6301# OS/2's system install, which has a completely different semantic
e24bcc77 6302# ./install, which can be erroneously created by make from ./install.sh.
fc6ffb29
AJ
6303{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6304echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
e24bcc77
AJ
6305if test -z "$INSTALL"; then
6306if test "${ac_cv_path_install+set}" = set; then
6307 echo $ECHO_N "(cached) $ECHO_C" >&6
6308else
6309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6310for as_dir in $PATH
6311do
6312 IFS=$as_save_IFS
6313 test -z "$as_dir" && as_dir=.
6314 # Account for people who put trailing slashes in PATH elements.
6315case $as_dir/ in
6316 ./ | .// | /cC/* | \
6317 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
875927f6 6318 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
e24bcc77
AJ
6319 /usr/ucb/* ) ;;
6320 *)
6321 # OSF1 and SCO ODT 3.0 have their own names for install.
6322 # Don't use installbsd from OSF since it installs stuff as root
6323 # by default.
6324 for ac_prog in ginstall scoinst install; do
6325 for ac_exec_ext in '' $ac_executable_extensions; do
dc9f3843 6326 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
875927f6
AJ
6327 if test $ac_prog = install &&
6328 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6329 # AIX install. It has an incompatible calling convention.
6330 :
6331 elif test $ac_prog = install &&
6332 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6333 # program-specific install script used by HP pwplus--don't use.
6334 :
6335 else
6336 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6337 break 3
6338 fi
6339 fi
e24bcc77
AJ
6340 done
6341 done
6342 ;;
6343esac
6344done
fc6ffb29 6345IFS=$as_save_IFS
e24bcc77
AJ
6346
6347
6348fi
6349 if test "${ac_cv_path_install+set}" = set; then
6350 INSTALL=$ac_cv_path_install
6351 else
fc6ffb29
AJ
6352 # As a last resort, use the slow shell script. Don't cache a
6353 # value for INSTALL within a source directory, because that will
e24bcc77 6354 # break other packages using the cache if that directory is
fc6ffb29 6355 # removed, or if the value is a relative name.
e24bcc77
AJ
6356 INSTALL=$ac_install_sh
6357 fi
6358fi
fc6ffb29
AJ
6359{ echo "$as_me:$LINENO: result: $INSTALL" >&5
6360echo "${ECHO_T}$INSTALL" >&6; }
e24bcc77
AJ
6361
6362# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6363# It thinks the first close brace ends the variable substitution.
6364test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6365
6366test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6367
6368test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6369
6370case "$INSTALL" in
8418d8f3 6371 [\\/$]* | ?:[\\/]* ) ;;
e24bcc77
AJ
6372 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6373esac
daa2886c 6374
a9be64e2
PS
6375for ac_prog in lclint lint
6376do
f5818d2f 6377 # Extract the first word of "$ac_prog", so it can be a program name with args.
a9be64e2 6378set dummy $ac_prog; ac_word=$2
fc6ffb29
AJ
6379{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6380echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
f5818d2f
AJ
6381if test "${ac_cv_prog_LINT+set}" = set; then
6382 echo $ECHO_N "(cached) $ECHO_C" >&6
a9be64e2
PS
6383else
6384 if test -n "$LINT"; then
6385 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6386else
daa2886c
AJ
6387as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6388for as_dir in $PATH
6389do
6390 IFS=$as_save_IFS
6391 test -z "$as_dir" && as_dir=.
6392 for ac_exec_ext in '' $ac_executable_extensions; do
dc9f3843 6393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
daa2886c
AJ
6394 ac_cv_prog_LINT="$ac_prog"
6395 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6396 break 2
6397 fi
6398done
f5818d2f 6399done
fc6ffb29 6400IFS=$as_save_IFS
f5818d2f 6401
a9be64e2
PS
6402fi
6403fi
f5818d2f 6404LINT=$ac_cv_prog_LINT
a9be64e2 6405if test -n "$LINT"; then
fc6ffb29
AJ
6406 { echo "$as_me:$LINENO: result: $LINT" >&5
6407echo "${ECHO_T}$LINT" >&6; }
a9be64e2 6408else
fc6ffb29
AJ
6409 { echo "$as_me:$LINENO: result: no" >&5
6410echo "${ECHO_T}no" >&6; }
a9be64e2
PS
6411fi
6412
fc6ffb29 6413
f5818d2f 6414 test -n "$LINT" && break
a9be64e2
PS
6415done
6416
6417if test "$LINT" = "lint"
6418then
6419 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6420 fi
6421
daa2886c
AJ
6422
6423
00acb5f7
HD
6424for ac_prog in fontforge
6425do
6426 # Extract the first word of "$ac_prog", so it can be a program name with args.
6427set dummy $ac_prog; ac_word=$2
fc6ffb29
AJ
6428{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6429echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
00acb5f7
HD
6430if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6431 echo $ECHO_N "(cached) $ECHO_C" >&6
6432else
6433 if test -n "$FONTFORGE"; then
6434 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6435else
6436as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6437for as_dir in $PATH
6438do
6439 IFS=$as_save_IFS
6440 test -z "$as_dir" && as_dir=.
6441 for ac_exec_ext in '' $ac_executable_extensions; do
dc9f3843 6442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
00acb5f7
HD
6443 ac_cv_prog_FONTFORGE="$ac_prog"
6444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6445 break 2
6446 fi
6447done
6448done
fc6ffb29 6449IFS=$as_save_IFS
00acb5f7
HD
6450
6451fi
6452fi
6453FONTFORGE=$ac_cv_prog_FONTFORGE
6454if test -n "$FONTFORGE"; then
fc6ffb29
AJ
6455 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6456echo "${ECHO_T}$FONTFORGE" >&6; }
00acb5f7 6457else
fc6ffb29
AJ
6458 { echo "$as_me:$LINENO: result: no" >&5
6459echo "${ECHO_T}no" >&6; }
00acb5f7
HD
6460fi
6461
fc6ffb29 6462
00acb5f7
HD
6463 test -n "$FONTFORGE" && break
6464done
6465test -n "$FONTFORGE" || FONTFORGE="false"
b817a3c5 6466
90c75bdd
MM
6467for ac_prog in pkg-config
6468do
6469 # Extract the first word of "$ac_prog", so it can be a program name with args.
6470set dummy $ac_prog; ac_word=$2
fc6ffb29
AJ
6471{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6472echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
90c75bdd
MM
6473if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6474 echo $ECHO_N "(cached) $ECHO_C" >&6
6475else
6476 if test -n "$PKG_CONFIG"; then
6477 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6478else
6479as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6480for as_dir in $PATH
6481do
6482 IFS=$as_save_IFS
6483 test -z "$as_dir" && as_dir=.
6484 for ac_exec_ext in '' $ac_executable_extensions; do
dc9f3843 6485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
90c75bdd
MM
6486 ac_cv_prog_PKG_CONFIG="$ac_prog"
6487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6488 break 2
6489 fi
6490done
6491done
fc6ffb29 6492IFS=$as_save_IFS
90c75bdd
MM
6493
6494fi
6495fi
6496PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6497if test -n "$PKG_CONFIG"; then
fc6ffb29
AJ
6498 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6499echo "${ECHO_T}$PKG_CONFIG" >&6; }
90c75bdd 6500else
fc6ffb29
AJ
6501 { echo "$as_me:$LINENO: result: no" >&5
6502echo "${ECHO_T}no" >&6; }
90c75bdd
MM
6503fi
6504
fc6ffb29 6505
90c75bdd
MM
6506 test -n "$PKG_CONFIG" && break
6507done
6508test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6509
dc4a475f
AJ
6510for ac_prog in rsvg
6511do
6512 # Extract the first word of "$ac_prog", so it can be a program name with args.
6513set dummy $ac_prog; ac_word=$2
6514{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6515echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6516if test "${ac_cv_prog_RSVG+set}" = set; then
6517 echo $ECHO_N "(cached) $ECHO_C" >&6
6518else
6519 if test -n "$RSVG"; then
6520 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6521else
6522as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6523for as_dir in $PATH
6524do
6525 IFS=$as_save_IFS
6526 test -z "$as_dir" && as_dir=.
6527 for ac_exec_ext in '' $ac_executable_extensions; do
6528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6529 ac_cv_prog_RSVG="$ac_prog"
6530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6531 break 2
6532 fi
6533done
6534done
6535IFS=$as_save_IFS
6536
6537fi
6538fi
6539RSVG=$ac_cv_prog_RSVG
6540if test -n "$RSVG"; then
6541 { echo "$as_me:$LINENO: result: $RSVG" >&5
6542echo "${ECHO_T}$RSVG" >&6; }
6543else
6544 { echo "$as_me:$LINENO: result: no" >&5
6545echo "${ECHO_T}no" >&6; }
6546fi
6547
6548
6549 test -n "$RSVG" && break
6550done
6551test -n "$RSVG" || RSVG="false"
6552
6553for ac_prog in icotool
6554do
6555 # Extract the first word of "$ac_prog", so it can be a program name with args.
6556set dummy $ac_prog; ac_word=$2
6557{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6558echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6559if test "${ac_cv_prog_ICOTOOL+set}" = set; then
6560 echo $ECHO_N "(cached) $ECHO_C" >&6
6561else
6562 if test -n "$ICOTOOL"; then
6563 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6564else
6565as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6566for as_dir in $PATH
6567do
6568 IFS=$as_save_IFS
6569 test -z "$as_dir" && as_dir=.
6570 for ac_exec_ext in '' $ac_executable_extensions; do
6571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6572 ac_cv_prog_ICOTOOL="$ac_prog"
6573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6574 break 2
6575 fi
6576done
6577done
6578IFS=$as_save_IFS
6579
6580fi
6581fi
6582ICOTOOL=$ac_cv_prog_ICOTOOL
6583if test -n "$ICOTOOL"; then
6584 { echo "$as_me:$LINENO: result: $ICOTOOL" >&5
6585echo "${ECHO_T}$ICOTOOL" >&6; }
6586else
6587 { echo "$as_me:$LINENO: result: no" >&5
6588echo "${ECHO_T}no" >&6; }
6589fi
6590
6591
6592 test -n "$ICOTOOL" && break
6593done
6594test -n "$ICOTOOL" || ICOTOOL="false"
6595
6596
6597if test "${enable_maintainer_mode+set}" = set
6598then
8ad6049a 6599 if test "$FONTFORGE" = "false"; then wine_warnings="$wine_warnings|fontforge is missing, fonts can't be rebuilt."; fi
dc4a475f
AJ
6600 if test "$RSVG" = "false"; then wine_warnings="$wine_warnings|rsvg is missing, icons can't be rebuilt."; fi
6601 if test "$ICOTOOL" = "false"; then wine_warnings="$wine_warnings|icotool is missing, icons can't be rebuilt."; fi
6602fi
b817a3c5 6603
adbb0988
AJ
6604case $host_cpu in
6605 *i[3456789]86*)
3d08f5d9
AJ
6606 # Extract the first word of "prelink", so it can be a program name with args.
6607set dummy prelink; ac_word=$2
fc6ffb29
AJ
6608{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6609echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3d08f5d9 6610if test "${ac_cv_path_PRELINK+set}" = set; then
adbb0988
AJ
6611 echo $ECHO_N "(cached) $ECHO_C" >&6
6612else
3d08f5d9
AJ
6613 case $PRELINK in
6614 [\\/]* | ?:[\\/]*)
6615 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6616 ;;
6617 *)
6618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
adbb0988
AJ
6619for as_dir in /sbin /usr/sbin $PATH
6620do
6621 IFS=$as_save_IFS
6622 test -z "$as_dir" && as_dir=.
6623 for ac_exec_ext in '' $ac_executable_extensions; do
dc9f3843 6624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3d08f5d9 6625 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
adbb0988
AJ
6626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6627 break 2
6628 fi
6629done
6630done
fc6ffb29 6631IFS=$as_save_IFS
adbb0988 6632
3d08f5d9
AJ
6633 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6634 ;;
6635esac
adbb0988 6636fi
3d08f5d9 6637PRELINK=$ac_cv_path_PRELINK
adbb0988 6638if test -n "$PRELINK"; then
fc6ffb29
AJ
6639 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6640echo "${ECHO_T}$PRELINK" >&6; }
adbb0988 6641else
fc6ffb29
AJ
6642 { echo "$as_me:$LINENO: result: no" >&5
6643echo "${ECHO_T}no" >&6; }
adbb0988
AJ
6644fi
6645
fc6ffb29 6646
adbb0988
AJ
6647 ;;
6648esac
6649
daa2886c
AJ
6650
6651
fc6ffb29
AJ
6652{ echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6653echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
f5818d2f
AJ
6654if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6655 echo $ECHO_N "(cached) $ECHO_C" >&6
902da699 6656else
f5818d2f 6657 ac_check_lib_save_LIBS=$LIBS
902da699 6658LIBS="-li386 $LIBS"
f5818d2f 6659cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
6660/* confdefs.h. */
6661_ACEOF
6662cat confdefs.h >>conftest.$ac_ext
6663cat >>conftest.$ac_ext <<_ACEOF
6664/* end confdefs.h. */
f5818d2f 6665
fc6ffb29
AJ
6666/* Override any GCC internal prototype to avoid an error.
6667 Use char because int might match the return type of a GCC
6668 builtin and then its argument prototype would still apply. */
f5818d2f
AJ
6669#ifdef __cplusplus
6670extern "C"
6671#endif
f5818d2f
AJ
6672char i386_set_ldt ();
6673int
6674main ()
6675{
fc6ffb29 6676return i386_set_ldt ();
f5818d2f
AJ
6677 ;
6678 return 0;
6679}
6680_ACEOF
6681rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
6682if { (ac_try="$ac_link"
6683case "(($ac_try" in
6684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6685 *) ac_try_echo=$ac_try;;
6686esac
6687eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6688 (eval "$ac_link") 2>conftest.er1
f5818d2f 6689 ac_status=$?
875927f6
AJ
6690 grep -v '^ *+' conftest.er1 >conftest.err
6691 rm -f conftest.er1
6692 cat conftest.err >&5
daa2886c 6693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
6694 (exit $ac_status); } && {
6695 test -z "$ac_c_werror_flag" ||
6696 test ! -s conftest.err
6697 } && test -s conftest$ac_exeext &&
6698 $as_test_x conftest$ac_exeext; then
f5818d2f
AJ
6699 ac_cv_lib_i386_i386_set_ldt=yes
6700else
6701 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
6702sed 's/^/| /' conftest.$ac_ext >&5
6703
fc6ffb29 6704 ac_cv_lib_i386_i386_set_ldt=no
f5818d2f 6705fi
fc6ffb29 6706
f0ca586f 6707rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 6708 conftest$ac_exeext conftest.$ac_ext
f5818d2f
AJ
6709LIBS=$ac_check_lib_save_LIBS
6710fi
fc6ffb29
AJ
6711{ echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6712echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
f5818d2f 6713if test $ac_cv_lib_i386_i386_set_ldt = yes; then
daa2886c 6714 cat >>confdefs.h <<_ACEOF
f5818d2f 6715#define HAVE_LIBI386 1
daa2886c 6716_ACEOF
02e90087
AJ
6717
6718 LIBS="-li386 $LIBS"
6719
02e90087
AJ
6720fi
6721
daa2886c 6722
fc6ffb29
AJ
6723{ echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6724echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
f5818d2f
AJ
6725if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6726 echo $ECHO_N "(cached) $ECHO_C" >&6
ecc7669d 6727else
f5818d2f 6728 ac_check_lib_save_LIBS=$LIBS
ecc7669d 6729LIBS="-lossaudio $LIBS"
f5818d2f 6730cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
6731/* confdefs.h. */
6732_ACEOF
6733cat confdefs.h >>conftest.$ac_ext
6734cat >>conftest.$ac_ext <<_ACEOF
6735/* end confdefs.h. */
f5818d2f 6736
fc6ffb29
AJ
6737/* Override any GCC internal prototype to avoid an error.
6738 Use char because int might match the return type of a GCC
6739 builtin and then its argument prototype would still apply. */
f5818d2f
AJ
6740#ifdef __cplusplus
6741extern "C"
6742#endif
f5818d2f
AJ
6743char _oss_ioctl ();
6744int
6745main ()
6746{
fc6ffb29 6747return _oss_ioctl ();
f5818d2f
AJ
6748 ;
6749 return 0;
6750}
6751_ACEOF
6752rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
6753if { (ac_try="$ac_link"
6754case "(($ac_try" in
6755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6756 *) ac_try_echo=$ac_try;;
6757esac
6758eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6759 (eval "$ac_link") 2>conftest.er1
f5818d2f 6760 ac_status=$?
875927f6
AJ
6761 grep -v '^ *+' conftest.er1 >conftest.err
6762 rm -f conftest.er1
6763 cat conftest.err >&5
daa2886c 6764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
6765 (exit $ac_status); } && {
6766 test -z "$ac_c_werror_flag" ||
6767 test ! -s conftest.err
6768 } && test -s conftest$ac_exeext &&
6769 $as_test_x conftest$ac_exeext; then
f5818d2f
AJ
6770 ac_cv_lib_ossaudio__oss_ioctl=yes
6771else
6772 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
6773sed 's/^/| /' conftest.$ac_ext >&5
6774
fc6ffb29 6775 ac_cv_lib_ossaudio__oss_ioctl=no
f5818d2f 6776fi
fc6ffb29 6777
f0ca586f 6778rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 6779 conftest$ac_exeext conftest.$ac_ext
f5818d2f
AJ
6780LIBS=$ac_check_lib_save_LIBS
6781fi
fc6ffb29
AJ
6782{ echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6783echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
f5818d2f 6784if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
daa2886c 6785 cat >>confdefs.h <<_ACEOF
f5818d2f 6786#define HAVE_LIBOSSAUDIO 1
daa2886c 6787_ACEOF
ecc7669d
TV
6788
6789 LIBS="-lossaudio $LIBS"
6790
ecc7669d
TV
6791fi
6792
e533e972
AJ
6793{ echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6794echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6795if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
f5818d2f
AJ
6796 echo $ECHO_N "(cached) $ECHO_C" >&6
6797else
6798 ac_check_lib_save_LIBS=$LIBS
e533e972 6799LIBS="-lpthread $LIBS"
f5818d2f 6800cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
6801/* confdefs.h. */
6802_ACEOF
6803cat confdefs.h >>conftest.$ac_ext
6804cat >>conftest.$ac_ext <<_ACEOF
6805/* end confdefs.h. */
f5818d2f 6806
fc6ffb29
AJ
6807/* Override any GCC internal prototype to avoid an error.
6808 Use char because int might match the return type of a GCC
6809 builtin and then its argument prototype would still apply. */
f5818d2f
AJ
6810#ifdef __cplusplus
6811extern "C"
6812#endif
e533e972 6813char pthread_create ();
f5818d2f
AJ
6814int
6815main ()
6816{
e533e972 6817return pthread_create ();
f5818d2f
AJ
6818 ;
6819 return 0;
6820}
6821_ACEOF
6822rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
6823if { (ac_try="$ac_link"
6824case "(($ac_try" in
6825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6826 *) ac_try_echo=$ac_try;;
6827esac
6828eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6829 (eval "$ac_link") 2>conftest.er1
f5818d2f 6830 ac_status=$?
875927f6
AJ
6831 grep -v '^ *+' conftest.er1 >conftest.err
6832 rm -f conftest.er1
6833 cat conftest.err >&5
daa2886c 6834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
6835 (exit $ac_status); } && {
6836 test -z "$ac_c_werror_flag" ||
6837 test ! -s conftest.err
6838 } && test -s conftest$ac_exeext &&
6839 $as_test_x conftest$ac_exeext; then
e533e972 6840 ac_cv_lib_pthread_pthread_create=yes
f5818d2f
AJ
6841else
6842 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
6843sed 's/^/| /' conftest.$ac_ext >&5
6844
e533e972 6845 ac_cv_lib_pthread_pthread_create=no
f5818d2f 6846fi
fc6ffb29 6847
f0ca586f 6848rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 6849 conftest$ac_exeext conftest.$ac_ext
f5818d2f
AJ
6850LIBS=$ac_check_lib_save_LIBS
6851fi
e533e972
AJ
6852{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6853echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6854if test $ac_cv_lib_pthread_pthread_create = yes; then
6855 LIBPTHREAD="-lpthread"
2e8e2334 6856
ea584724
PS
6857fi
6858
f070fda2 6859
e533e972
AJ
6860XLIB=""
6861
e533e972
AJ
6862OPENGL_LIBS=""
6863
6864
6865
6866{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6867echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6868if test "${ac_cv_header_stdc+set}" = set; then
f5818d2f
AJ
6869 echo $ECHO_N "(cached) $ECHO_C" >&6
6870else
6871 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
6872/* confdefs.h. */
6873_ACEOF
6874cat confdefs.h >>conftest.$ac_ext
6875cat >>conftest.$ac_ext <<_ACEOF
6876/* end confdefs.h. */
e533e972
AJ
6877#include <stdlib.h>
6878#include <stdarg.h>
6879#include <string.h>
6880#include <float.h>
715a55e7 6881
e24bcc77
AJ
6882int
6883main ()
6884{
e533e972 6885
f5818d2f
AJ
6886 ;
6887 return 0;
6888}
6889_ACEOF
e533e972
AJ
6890rm -f conftest.$ac_objext
6891if { (ac_try="$ac_compile"
0ebeb530
JW
6892case "(($ac_try" in
6893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6894 *) ac_try_echo=$ac_try;;
6895esac
6896eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
e533e972 6897 (eval "$ac_compile") 2>conftest.er1
f5818d2f 6898 ac_status=$?
875927f6
AJ
6899 grep -v '^ *+' conftest.er1 >conftest.err
6900 rm -f conftest.er1
6901 cat conftest.err >&5
daa2886c 6902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
6903 (exit $ac_status); } && {
6904 test -z "$ac_c_werror_flag" ||
6905 test ! -s conftest.err
6906 } && test -s conftest.$ac_objext; then
e533e972 6907 ac_cv_header_stdc=yes
f5818d2f
AJ
6908else
6909 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
6910sed 's/^/| /' conftest.$ac_ext >&5
6911
e533e972 6912 ac_cv_header_stdc=no
f5818d2f 6913fi
fc6ffb29 6914
e533e972
AJ
6915rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6916
6917if test $ac_cv_header_stdc = yes; then
6918 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6919 cat >conftest.$ac_ext <<_ACEOF
6920/* confdefs.h. */
6921_ACEOF
6922cat confdefs.h >>conftest.$ac_ext
6923cat >>conftest.$ac_ext <<_ACEOF
6924/* end confdefs.h. */
6925#include <string.h>
6926
6927_ACEOF
6928if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6929 $EGREP "memchr" >/dev/null 2>&1; then
6930 :
6931else
6932 ac_cv_header_stdc=no
f5818d2f 6933fi
e533e972
AJ
6934rm -f conftest*
6935
6936fi
6937
6938if test $ac_cv_header_stdc = yes; then
6939 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6940 cat >conftest.$ac_ext <<_ACEOF
6941/* confdefs.h. */
daa2886c 6942_ACEOF
e533e972
AJ
6943cat confdefs.h >>conftest.$ac_ext
6944cat >>conftest.$ac_ext <<_ACEOF
6945/* end confdefs.h. */
6946#include <stdlib.h>
f5818d2f 6947
e533e972
AJ
6948_ACEOF
6949if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6950 $EGREP "free" >/dev/null 2>&1; then
6951 :
f5818d2f 6952else
e533e972
AJ
6953 ac_cv_header_stdc=no
6954fi
6955rm -f conftest*
f5818d2f 6956
e533e972
AJ
6957fi
6958
6959if test $ac_cv_header_stdc = yes; then
6960 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6961 if test "$cross_compiling" = yes; then
6962 :
f5818d2f 6963else
e533e972 6964 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
6965/* confdefs.h. */
6966_ACEOF
6967cat confdefs.h >>conftest.$ac_ext
6968cat >>conftest.$ac_ext <<_ACEOF
6969/* end confdefs.h. */
e533e972
AJ
6970#include <ctype.h>
6971#include <stdlib.h>
6972#if ((' ' & 0x0FF) == 0x020)
6973# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6974# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6975#else
6976# define ISLOWER(c) \
6977 (('a' <= (c) && (c) <= 'i') \
6978 || ('j' <= (c) && (c) <= 'r') \
6979 || ('s' <= (c) && (c) <= 'z'))
6980# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
f5818d2f 6981#endif
e533e972
AJ
6982
6983#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
f5818d2f
AJ
6984int
6985main ()
6986{
e533e972
AJ
6987 int i;
6988 for (i = 0; i < 256; i++)
6989 if (XOR (islower (i), ISLOWER (i))
6990 || toupper (i) != TOUPPER (i))
6991 return 2;
f5818d2f
AJ
6992 return 0;
6993}
6994_ACEOF
e533e972 6995rm -f conftest$ac_exeext
0ebeb530
JW
6996if { (ac_try="$ac_link"
6997case "(($ac_try" in
6998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6999 *) ac_try_echo=$ac_try;;
7000esac
7001eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
e533e972 7002 (eval "$ac_link") 2>&5
f5818d2f 7003 ac_status=$?
daa2886c 7004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
e533e972 7005 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
0ebeb530
JW
7006 { (case "(($ac_try" in
7007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7008 *) ac_try_echo=$ac_try;;
7009esac
7010eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7011 (eval "$ac_try") 2>&5
f5818d2f 7012 ac_status=$?
daa2886c 7013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
f5818d2f 7014 (exit $ac_status); }; }; then
e533e972 7015 :
f5818d2f 7016else
e533e972
AJ
7017 echo "$as_me: program exited with status $ac_status" >&5
7018echo "$as_me: failed program was:" >&5
e24bcc77
AJ
7019sed 's/^/| /' conftest.$ac_ext >&5
7020
e533e972
AJ
7021( exit $ac_status )
7022ac_cv_header_stdc=no
f5818d2f 7023fi
e533e972 7024rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
f5818d2f 7025fi
715a55e7 7026
715a55e7 7027
715a55e7 7028fi
ea584724 7029fi
e533e972
AJ
7030{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7031echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7032if test $ac_cv_header_stdc = yes; then
daa2886c 7033
e533e972
AJ
7034cat >>confdefs.h <<\_ACEOF
7035#define STDC_HEADERS 1
e24bcc77 7036_ACEOF
875927f6 7037
e533e972 7038fi
875927f6 7039
e533e972 7040# On IRIX 5.3, sys/types and inttypes.h are conflicting.
875927f6 7041
875927f6 7042
c555274d 7043
e24bcc77 7044
fc6ffb29 7045
c555274d 7046
c555274d 7047
e533e972
AJ
7048
7049
7050for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7051 inttypes.h stdint.h unistd.h
7052do
7053as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7054{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7055echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7056if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
f5818d2f 7057 echo $ECHO_N "(cached) $ECHO_C" >&6
d30dfd24 7058else
e533e972 7059 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
7060/* confdefs.h. */
7061_ACEOF
7062cat confdefs.h >>conftest.$ac_ext
7063cat >>conftest.$ac_ext <<_ACEOF
7064/* end confdefs.h. */
e533e972 7065$ac_includes_default
f5818d2f 7066
e533e972 7067#include <$ac_header>
f5818d2f 7068_ACEOF
e533e972
AJ
7069rm -f conftest.$ac_objext
7070if { (ac_try="$ac_compile"
0ebeb530
JW
7071case "(($ac_try" in
7072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7073 *) ac_try_echo=$ac_try;;
7074esac
7075eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
e533e972 7076 (eval "$ac_compile") 2>conftest.er1
f5818d2f 7077 ac_status=$?
875927f6
AJ
7078 grep -v '^ *+' conftest.er1 >conftest.err
7079 rm -f conftest.er1
7080 cat conftest.err >&5
daa2886c 7081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
7082 (exit $ac_status); } && {
7083 test -z "$ac_c_werror_flag" ||
7084 test ! -s conftest.err
7085 } && test -s conftest.$ac_objext; then
e533e972 7086 eval "$as_ac_Header=yes"
3b943bca
FG
7087else
7088 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
7089sed 's/^/| /' conftest.$ac_ext >&5
7090
e533e972 7091 eval "$as_ac_Header=no"
3b943bca 7092fi
fc6ffb29 7093
e533e972 7094rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3b943bca 7095fi
e533e972
AJ
7096ac_res=`eval echo '${'$as_ac_Header'}'`
7097 { echo "$as_me:$LINENO: result: $ac_res" >&5
7098echo "${ECHO_T}$ac_res" >&6; }
7099if test `eval echo '${'$as_ac_Header'}'` = yes; then
daa2886c 7100 cat >>confdefs.h <<_ACEOF
e533e972 7101#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
728bedcf
MM
7102_ACEOF
7103
728bedcf
MM
7104fi
7105
7106done
7107
7108
daa2886c 7109
7ff12568
RK
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7ff12568
RK
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
73482144
AJ
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7ff12568 7198
a2bbacb0 7199
57279184 7200
64c07786
EM
7201
7202
888eaae7 7203
ea524def
HL
7204
7205
0f6c0394 7206
ebe0484d 7207
1e5153cf 7208
0cd0626d 7209
144a5353
EM
7210
7211
9603ee07 7212
08884514 7213
66f45a5b 7214
150b5dca 7215
6d4eab9a 7216
0a2c94e8 7217
7ff12568
RK
7218
7219
7220for ac_header in \
144a5353 7221 AudioUnit/AudioUnit.h \
08884514 7222 Carbon/Carbon.h \
144a5353 7223 CoreAudio/CoreAudio.h \
66f45a5b 7224 DiskArbitration/DiskArbitration.h \
0f6c0394 7225 IOKit/IOKitLib.h \
020b0ef6 7226 alias.h \
73482144 7227 alsa/asoundlib.h \
7ff12568
RK
7228 arpa/inet.h \
7229 arpa/nameser.h \
888eaae7 7230 asm/types.h \
73482144 7231 capi20.h \
73482144 7232 curses.h \
7ff12568 7233 direct.h \
73482144 7234 dlfcn.h \
7ff12568
RK
7235 elf.h \
7236 float.h \
7237 fontconfig/fontconfig.h \
7238 getopt.h \
7ff12568
RK
7239 ieeefp.h \
7240 io.h \
7241 jack/jack.h \
7242 jpeglib.h \
ea524def 7243 lber.h \
7ff12568 7244 lcms.h \
73482144 7245 lcms/lcms.h \
ea524def 7246 ldap.h \
73482144 7247 libaudioio.h \
7ff12568
RK
7248 link.h \
7249 linux/cdrom.h \
7250 linux/compiler.h \
7251 linux/hdreg.h \
7252 linux/input.h \
7253 linux/ioctl.h \
7254 linux/joystick.h \
7255 linux/major.h \
7256 linux/param.h \
7257 linux/serial.h \
7258 linux/ucdrom.h \
150b5dca 7259 mach/mach.h \
64c07786 7260 mach/machine.h \
7ff12568 7261 machine/cpu.h \
64c07786 7262 machine/limits.h \
73482144 7263 machine/soundcard.h \
7ff12568 7264 mntent.h \
73482144 7265 ncurses.h \
7ff12568
RK
7266 netdb.h \
7267 netinet/in.h \
7268 netinet/in_systm.h \
7269 netinet/tcp.h \
7270 netinet/tcp_fsm.h \
1e5153cf 7271 openssl/err.h \
7ff12568 7272 openssl/ssl.h \
00302152 7273 png.h \
57279184 7274 poll.h \
7ff12568
RK
7275 process.h \
7276 pthread.h \
7ff12568
RK
7277 pwd.h \
7278 regex.h \
7279 sched.h \
7ff12568
RK
7280 scsi/scsi.h \
7281 scsi/scsi_ioctl.h \
73482144
AJ
7282 scsi/sg.h \
7283 soundcard.h \
7ff12568
RK
7284 stdint.h \
7285 strings.h \
73482144 7286 sys/asoundlib.h \
7ff12568
RK
7287 sys/cdio.h \
7288 sys/elf32.h \
7ff12568 7289 sys/epoll.h \
73482144 7290 sys/errno.h \
c8278926 7291 sys/event.h \
7ff12568 7292 sys/exec_elf.h \
7ff12568 7293 sys/filio.h \
7ff12568
RK
7294 sys/ioctl.h \
7295 sys/ipc.h \
ebe0484d 7296 sys/limits.h \
7ff12568
RK
7297 sys/link.h \
7298 sys/lwp.h \
7299 sys/mman.h \
7300 sys/modem.h \
7301 sys/msg.h \
0844b702 7302 sys/mtio.h \
7ff12568
RK
7303 sys/param.h \
7304 sys/poll.h \
9603ee07 7305 sys/prctl.h \
7ff12568
RK
7306 sys/ptrace.h \
7307 sys/reg.h \
0cd0626d 7308 sys/resource.h \
7ff12568
RK
7309 sys/scsiio.h \
7310 sys/shm.h \
7311 sys/signal.h \
7312 sys/socket.h \
2569635c 7313 sys/socketvar.h \
7ff12568 7314 sys/sockio.h \
73482144 7315 sys/soundcard.h \
7ff12568
RK
7316 sys/statvfs.h \
7317 sys/strtio.h \
7318 sys/syscall.h \
7319 sys/sysctl.h \
7320 sys/time.h \
7321 sys/times.h \
7322 sys/uio.h \
7323 sys/un.h \
7ff12568
RK
7324 sys/vm86.h \
7325 sys/wait.h \
7326 syscall.h \
7327 termios.h \
7328 unistd.h \
7329 utime.h \
0a2c94e8
JR
7330 valgrind/memcheck.h \
7331 valgrind/valgrind.h
7ff12568 7332
24110288 7333do
f5818d2f 7334as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
fc6ffb29
AJ
7335if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7336 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7337echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7338if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
f5818d2f 7339 echo $ECHO_N "(cached) $ECHO_C" >&6
daa2886c 7340fi
fc6ffb29
AJ
7341ac_res=`eval echo '${'$as_ac_Header'}'`
7342 { echo "$as_me:$LINENO: result: $ac_res" >&5
7343echo "${ECHO_T}$ac_res" >&6; }
f5818d2f 7344else
daa2886c 7345 # Is the header compilable?
fc6ffb29
AJ
7346{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
7347echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
daa2886c 7348cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
7349/* confdefs.h. */
7350_ACEOF
7351cat confdefs.h >>conftest.$ac_ext
7352cat >>conftest.$ac_ext <<_ACEOF
7353/* end confdefs.h. */
daa2886c 7354$ac_includes_default
f5818d2f
AJ
7355#include <$ac_header>
7356_ACEOF
daa2886c 7357rm -f conftest.$ac_objext
0ebeb530
JW
7358if { (ac_try="$ac_compile"
7359case "(($ac_try" in
7360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7361 *) ac_try_echo=$ac_try;;
7362esac
7363eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7364 (eval "$ac_compile") 2>conftest.er1
daa2886c 7365 ac_status=$?
875927f6
AJ
7366 grep -v '^ *+' conftest.er1 >conftest.err
7367 rm -f conftest.er1
7368 cat conftest.err >&5
daa2886c 7369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
7370 (exit $ac_status); } && {
7371 test -z "$ac_c_werror_flag" ||
7372 test ! -s conftest.err
7373 } && test -s conftest.$ac_objext; then
daa2886c
AJ
7374 ac_header_compiler=yes
7375else
7376 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
7377sed 's/^/| /' conftest.$ac_ext >&5
7378
fc6ffb29 7379 ac_header_compiler=no
daa2886c 7380fi
fc6ffb29 7381
0ebeb530 7382rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fc6ffb29
AJ
7383{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7384echo "${ECHO_T}$ac_header_compiler" >&6; }
daa2886c
AJ
7385
7386# Is the header present?
fc6ffb29
AJ
7387{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
7388echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
daa2886c 7389cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
7390/* confdefs.h. */
7391_ACEOF
7392cat confdefs.h >>conftest.$ac_ext
7393cat >>conftest.$ac_ext <<_ACEOF
7394/* end confdefs.h. */
daa2886c
AJ
7395#include <$ac_header>
7396_ACEOF
0ebeb530
JW
7397if { (ac_try="$ac_cpp conftest.$ac_ext"
7398case "(($ac_try" in
7399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7400 *) ac_try_echo=$ac_try;;
7401esac
7402eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7403 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
f5818d2f 7404 ac_status=$?
11af04e3 7405 grep -v '^ *+' conftest.er1 >conftest.err
f5818d2f
AJ
7406 rm -f conftest.er1
7407 cat conftest.err >&5
daa2886c 7408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
7409 (exit $ac_status); } >/dev/null && {
7410 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7411 test ! -s conftest.err
7412 }; then
daa2886c 7413 ac_header_preproc=yes
f5818d2f
AJ
7414else
7415 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
7416sed 's/^/| /' conftest.$ac_ext >&5
7417
daa2886c 7418 ac_header_preproc=no
24110288 7419fi
fc6ffb29 7420
f5818d2f 7421rm -f conftest.err conftest.$ac_ext
fc6ffb29
AJ
7422{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7423echo "${ECHO_T}$ac_header_preproc" >&6; }
daa2886c
AJ
7424
7425# So? What about this header?
875927f6
AJ
7426case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7427 yes:no: )
daa2886c
AJ
7428 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7429echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
875927f6
AJ
7430 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7431echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7432 ac_header_preproc=yes
e24bcc77 7433 ;;
875927f6 7434 no:yes:* )
daa2886c
AJ
7435 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7436echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
875927f6
AJ
7437 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7438echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7439 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7440echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7441 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7442echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
daa2886c 7443 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
e24bcc77 7444echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
875927f6
AJ
7445 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7446echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
fc6ffb29 7447 ( cat <<\_ASBOX
e24bcc77 7448## ------------------------------------ ##
875927f6 7449## Report this to wine-devel@winehq.org ##
e24bcc77
AJ
7450## ------------------------------------ ##
7451_ASBOX
fc6ffb29 7452 ) | sed "s/^/$as_me: WARNING: /" >&2
e24bcc77 7453 ;;
daa2886c 7454esac
fc6ffb29
AJ
7455{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7456echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7457if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
daa2886c
AJ
7458 echo $ECHO_N "(cached) $ECHO_C" >&6
7459else
875927f6 7460 eval "$as_ac_Header=\$ac_header_preproc"
24110288 7461fi
fc6ffb29
AJ
7462ac_res=`eval echo '${'$as_ac_Header'}'`
7463 { echo "$as_me:$LINENO: result: $ac_res" >&5
7464echo "${ECHO_T}$ac_res" >&6; }
daa2886c
AJ
7465
7466fi
f5818d2f 7467if test `eval echo '${'$as_ac_Header'}'` = yes; then
daa2886c 7468 cat >>confdefs.h <<_ACEOF
f5818d2f 7469#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
daa2886c
AJ
7470_ACEOF
7471
7ff12568 7472fi
f5818d2f 7473
7ff12568 7474done
255b486c 7475
fc6ffb29
AJ
7476{ echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7477echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7ff12568 7478if test "${ac_cv_header_stat_broken+set}" = set; then
f5818d2f
AJ
7479 echo $ECHO_N "(cached) $ECHO_C" >&6
7480else
044b5c41 7481 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
7482/* confdefs.h. */
7483_ACEOF
7484cat confdefs.h >>conftest.$ac_ext
7485cat >>conftest.$ac_ext <<_ACEOF
7486/* end confdefs.h. */
7ff12568
RK
7487#include <sys/types.h>
7488#include <sys/stat.h>
044b5c41 7489
fc6ffb29 7490#if defined S_ISBLK && defined S_IFDIR
f0ca586f 7491extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7ff12568 7492#endif
255b486c 7493
fc6ffb29 7494#if defined S_ISBLK && defined S_IFCHR
f0ca586f 7495extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7ff12568 7496#endif
255b486c 7497
fc6ffb29 7498#if defined S_ISLNK && defined S_IFREG
f0ca586f 7499extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7ff12568 7500#endif
f5818d2f 7501
fc6ffb29 7502#if defined S_ISSOCK && defined S_IFREG
f0ca586f 7503extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
f5818d2f 7504#endif
7ff12568 7505
f5818d2f 7506_ACEOF
f0ca586f
PK
7507rm -f conftest.$ac_objext
7508if { (ac_try="$ac_compile"
7509case "(($ac_try" in
7510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7511 *) ac_try_echo=$ac_try;;
7512esac
7513eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7514 (eval "$ac_compile") 2>conftest.er1
7515 ac_status=$?
7516 grep -v '^ *+' conftest.er1 >conftest.err
7517 rm -f conftest.er1
7518 cat conftest.err >&5
7519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
7520 (exit $ac_status); } && {
7521 test -z "$ac_c_werror_flag" ||
7522 test ! -s conftest.err
7523 } && test -s conftest.$ac_objext; then
7ff12568 7524 ac_cv_header_stat_broken=no
f0ca586f
PK
7525else
7526 echo "$as_me: failed program was:" >&5
7527sed 's/^/| /' conftest.$ac_ext >&5
7528
7529 ac_cv_header_stat_broken=yes
f5818d2f 7530fi
7ff12568 7531
f0ca586f 7532rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
f5818d2f 7533fi
fc6ffb29
AJ
7534{ echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7535echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7ff12568 7536if test $ac_cv_header_stat_broken = yes; then
f5818d2f 7537
daa2886c 7538cat >>confdefs.h <<\_ACEOF
7ff12568 7539#define STAT_MACROS_BROKEN 1
daa2886c 7540_ACEOF
c90fb25c 7541
c90fb25c
OK
7542fi
7543
daa2886c 7544
7ff12568 7545
2d6d4e96
HL
7546
7547
7548
7549
7550for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
b079add3
AJ
7551do
7552as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
fc6ffb29
AJ
7553{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7554echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7555if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
b079add3
AJ
7556 echo $ECHO_N "(cached) $ECHO_C" >&6
7557else
7558 cat >conftest.$ac_ext <<_ACEOF
7559/* confdefs.h. */
7560_ACEOF
7561cat confdefs.h >>conftest.$ac_ext
7562cat >>conftest.$ac_ext <<_ACEOF
7563/* end confdefs.h. */
2d6d4e96 7564#include <sys/types.h>
9e67edfc 7565 #ifdef HAVE_SYS_PARAM_H
2d6d4e96
HL
7566 # include <sys/param.h>
7567 #endif
b079add3
AJ
7568
7569#include <$ac_header>
7570_ACEOF
7571rm -f conftest.$ac_objext
0ebeb530
JW
7572if { (ac_try="$ac_compile"
7573case "(($ac_try" in
7574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7575 *) ac_try_echo=$ac_try;;
7576esac
7577eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7578 (eval "$ac_compile") 2>conftest.er1
b079add3
AJ
7579 ac_status=$?
7580 grep -v '^ *+' conftest.er1 >conftest.err
7581 rm -f conftest.er1
7582 cat conftest.err >&5
7583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
7584 (exit $ac_status); } && {
7585 test -z "$ac_c_werror_flag" ||
7586 test ! -s conftest.err
7587 } && test -s conftest.$ac_objext; then
b079add3
AJ
7588 eval "$as_ac_Header=yes"
7589else
7590 echo "$as_me: failed program was:" >&5
7591sed 's/^/| /' conftest.$ac_ext >&5
7592
fc6ffb29 7593 eval "$as_ac_Header=no"
b079add3 7594fi
fc6ffb29 7595
0ebeb530 7596rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
b079add3 7597fi
fc6ffb29
AJ
7598ac_res=`eval echo '${'$as_ac_Header'}'`
7599 { echo "$as_me:$LINENO: result: $ac_res" >&5
7600echo "${ECHO_T}$ac_res" >&6; }
b079add3
AJ
7601if test `eval echo '${'$as_ac_Header'}'` = yes; then
7602 cat >>confdefs.h <<_ACEOF
7603#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7604_ACEOF
7605
7606fi
7607
7608done
7609
7610
7611
7ff12568
RK
7612
7613
7614
7615
7616
2569635c
MA
7617
7618
dfb308a6
AJ
7619
7620
7621
7622
7623for ac_header in \
7624 netinet/ip.h \
7625 net/if.h \
7626 net/if_arp.h \
7627 net/if_dl.h \
7628 net/if_types.h \
7629 net/route.h \
7630 netinet/if_ether.h \
7631 netinet/in_pcb.h \
7632 netinet/ip_icmp.h \
7633 netinet/ip_var.h \
7634 netinet/udp.h \
7635 netipx/ipx.h \
7636
2569635c
MA
7637do
7638as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7639{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7640echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7641if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7642 echo $ECHO_N "(cached) $ECHO_C" >&6
7643else
7644 cat >conftest.$ac_ext <<_ACEOF
7645/* confdefs.h. */
7646_ACEOF
7647cat confdefs.h >>conftest.$ac_ext
7648cat >>conftest.$ac_ext <<_ACEOF
7649/* end confdefs.h. */
7650#include <sys/types.h>
9e67edfc 7651 #ifdef HAVE_SYS_SOCKET_H
2569635c
MA
7652 # include <sys/socket.h>
7653 #endif
9e67edfc 7654 #ifdef HAVE_SYS_SOCKETVAR_H
a609fee4
KT
7655 # include <sys/socketvar.h>
7656 #endif
9e67edfc 7657 #ifdef HAVE_NETINET_IN_H
ffd78b15
KT
7658 # include <netinet/in.h>
7659 #endif
dfb308a6
AJ
7660 #ifdef HAVE_NETINET_IP_H
7661 # include <netinet/ip.h>
7662 #endif
2569635c
MA
7663
7664#include <$ac_header>
7665_ACEOF
7666rm -f conftest.$ac_objext
7667if { (ac_try="$ac_compile"
7668case "(($ac_try" in
7669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7670 *) ac_try_echo=$ac_try;;
7671esac
7672eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7673 (eval "$ac_compile") 2>conftest.er1
7674 ac_status=$?
7675 grep -v '^ *+' conftest.er1 >conftest.err
7676 rm -f conftest.er1
7677 cat conftest.err >&5
7678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7679 (exit $ac_status); } && {
7680 test -z "$ac_c_werror_flag" ||
7681 test ! -s conftest.err
7682 } && test -s conftest.$ac_objext; then
7683 eval "$as_ac_Header=yes"
7684else
7685 echo "$as_me: failed program was:" >&5
7686sed 's/^/| /' conftest.$ac_ext >&5
7687
7688 eval "$as_ac_Header=no"
7689fi
7690
7691rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7692fi
7693ac_res=`eval echo '${'$as_ac_Header'}'`
7694 { echo "$as_me:$LINENO: result: $ac_res" >&5
7695echo "${ECHO_T}$ac_res" >&6; }
7696if test `eval echo '${'$as_ac_Header'}'` = yes; then
7697 cat >>confdefs.h <<_ACEOF
7698#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7699_ACEOF
7700
7701fi
7702
7703done
7704
2569635c
MA
7705
7706
6d4eab9a 7707
020b0ef6 7708
beea4d30
ED
7709
7710for ac_header in netinet/tcp_var.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_timer.h
7ff12568
RK
7711do
7712as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
fc6ffb29
AJ
7713{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7714echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7715if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7ff12568
RK
7716 echo $ECHO_N "(cached) $ECHO_C" >&6
7717else
7718 cat >conftest.$ac_ext <<_ACEOF
7719/* confdefs.h. */
7720_ACEOF
7721cat confdefs.h >>conftest.$ac_ext
7722cat >>conftest.$ac_ext <<_ACEOF
7723/* end confdefs.h. */
2d6d4e96 7724#include <sys/types.h>
020b0ef6
ED
7725 #ifdef HAVE_ALIAS_H
7726 # include <alias.h>
7727 #endif
9e67edfc 7728 #ifdef HAVE_SYS_SOCKET_H
2d6d4e96
HL
7729 # include <sys/socket.h>
7730 #endif
9e67edfc 7731 #ifdef HAVE_SYS_SOCKETVAR_H
2569635c
MA
7732 # include <sys/socketvar.h>
7733 #endif
9e67edfc 7734 #ifdef HAVE_NETINET_IN_H
2569635c
MA
7735 # include <netinet/in.h>
7736 #endif
dfb308a6
AJ
7737 #ifdef HAVE_NETINET_IP_H
7738 # include <netinet/ip.h>
7739 #endif
6d4eab9a
ED
7740 #ifdef HAVE_NETINET_IP_VAR_H
7741 # include <netinet/ip_var.h>
7742 #endif
020b0ef6
ED
7743 #ifdef HAVE_NETINET_IP_ICMP_H
7744 # include <netinet/ip_icmp.h>
7745 #endif
6d4eab9a
ED
7746 #ifdef HAVE_NETINET_UDP_H
7747 # include <netinet/udp.h>
7748 #endif
2569635c
MA
7749 #ifdef HAVE_NETINET_TCP_H
7750 # include <netinet/tcp.h>
7751 #endif
7ff12568
RK
7752
7753#include <$ac_header>
7754_ACEOF
7755rm -f conftest.$ac_objext
0ebeb530
JW
7756if { (ac_try="$ac_compile"
7757case "(($ac_try" in
7758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7759 *) ac_try_echo=$ac_try;;
7760esac
7761eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7762 (eval "$ac_compile") 2>conftest.er1
7ff12568
RK
7763 ac_status=$?
7764 grep -v '^ *+' conftest.er1 >conftest.err
7765 rm -f conftest.er1
7766 cat conftest.err >&5
7767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
7768 (exit $ac_status); } && {
7769 test -z "$ac_c_werror_flag" ||
7770 test ! -s conftest.err
7771 } && test -s conftest.$ac_objext; then
7ff12568
RK
7772 eval "$as_ac_Header=yes"
7773else
7774 echo "$as_me: failed program was:" >&5
7775sed 's/^/| /' conftest.$ac_ext >&5
7776
fc6ffb29 7777 eval "$as_ac_Header=no"
7ff12568 7778fi
fc6ffb29 7779
0ebeb530 7780rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7ff12568 7781fi
fc6ffb29
AJ
7782ac_res=`eval echo '${'$as_ac_Header'}'`
7783 { echo "$as_me:$LINENO: result: $ac_res" >&5
7784echo "${ECHO_T}$ac_res" >&6; }
7ff12568
RK
7785if test `eval echo '${'$as_ac_Header'}'` = yes; then
7786 cat >>confdefs.h <<_ACEOF
7787#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
daa2886c 7788_ACEOF
5b6879c5 7789
5b6879c5
FJ
7790fi
7791
7ff12568 7792done
daa2886c 7793
7ff12568 7794
2d6d4e96 7795
faf05dfd
FG
7796for ac_header in linux/ipx.h
7797do
7798as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7799{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7800echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7801if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7802 echo $ECHO_N "(cached) $ECHO_C" >&6
7803else
7804 cat >conftest.$ac_ext <<_ACEOF
7805/* confdefs.h. */
7806_ACEOF
7807cat confdefs.h >>conftest.$ac_ext
7808cat >>conftest.$ac_ext <<_ACEOF
7809/* end confdefs.h. */
7810#include <sys/types.h>
7811 #ifdef HAVE_ASM_TYPES_H
7812 # include <asm/types.h>
7813 #endif
9e67edfc 7814 #ifdef HAVE_SYS_SOCKET_H
faf05dfd
FG
7815 # include <sys/socket.h>
7816 #endif
7817
7818#include <$ac_header>
7819_ACEOF
7820rm -f conftest.$ac_objext
7821if { (ac_try="$ac_compile"
7822case "(($ac_try" in
7823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7824 *) ac_try_echo=$ac_try;;
7825esac
7826eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7827 (eval "$ac_compile") 2>conftest.er1
7828 ac_status=$?
7829 grep -v '^ *+' conftest.er1 >conftest.err
7830 rm -f conftest.er1
7831 cat conftest.err >&5
7832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
7833 (exit $ac_status); } && {
7834 test -z "$ac_c_werror_flag" ||
7835 test ! -s conftest.err
7836 } && test -s conftest.$ac_objext; then
faf05dfd
FG
7837 eval "$as_ac_Header=yes"
7838else
7839 echo "$as_me: failed program was:" >&5
7840sed 's/^/| /' conftest.$ac_ext >&5
7841
7842 eval "$as_ac_Header=no"
7843fi
7844
7845rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7846fi
7847ac_res=`eval echo '${'$as_ac_Header'}'`
7848 { echo "$as_me:$LINENO: result: $ac_res" >&5
7849echo "${ECHO_T}$ac_res" >&6; }
7850if test `eval echo '${'$as_ac_Header'}'` = yes; then
7851 cat >>confdefs.h <<_ACEOF
7852#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7853_ACEOF
7854
7855fi
7856
7857done
7858
7859
7860
2d6d4e96
HL
7861for ac_header in resolv.h
7862do
7863as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
fc6ffb29
AJ
7864{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7865echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7866if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
f5818d2f 7867 echo $ECHO_N "(cached) $ECHO_C" >&6
d94475bd 7868else
2d6d4e96 7869 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
7870/* confdefs.h. */
7871_ACEOF
7872cat confdefs.h >>conftest.$ac_ext
7873cat >>conftest.$ac_ext <<_ACEOF
7874/* end confdefs.h. */
2d6d4e96 7875#include <sys/types.h>
9e67edfc 7876 #ifdef HAVE_SYS_SOCKET_H
2d6d4e96
HL
7877 # include <sys/socket.h>
7878 #endif
9e67edfc 7879 #ifdef HAVE_NETINET_IN_H
2d6d4e96
HL
7880 # include <netinet/in.h>
7881 #endif
9e67edfc 7882 #ifdef HAVE_ARPA_NAMESER_H
2d6d4e96
HL
7883 # include <arpa/nameser.h>
7884 #endif
f5818d2f 7885
2d6d4e96 7886#include <$ac_header>
f5818d2f 7887_ACEOF
2d6d4e96 7888rm -f conftest.$ac_objext
0ebeb530
JW
7889if { (ac_try="$ac_compile"
7890case "(($ac_try" in
7891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7892 *) ac_try_echo=$ac_try;;
7893esac
7894eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7895 (eval "$ac_compile") 2>conftest.er1
f5818d2f 7896 ac_status=$?
875927f6
AJ
7897 grep -v '^ *+' conftest.er1 >conftest.err
7898 rm -f conftest.er1
7899 cat conftest.err >&5
daa2886c 7900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
7901 (exit $ac_status); } && {
7902 test -z "$ac_c_werror_flag" ||
7903 test ! -s conftest.err
7904 } && test -s conftest.$ac_objext; then
2d6d4e96 7905 eval "$as_ac_Header=yes"
f5818d2f
AJ
7906else
7907 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
7908sed 's/^/| /' conftest.$ac_ext >&5
7909
fc6ffb29 7910 eval "$as_ac_Header=no"
f5818d2f 7911fi
fc6ffb29 7912
0ebeb530 7913rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
f5818d2f 7914fi
fc6ffb29
AJ
7915ac_res=`eval echo '${'$as_ac_Header'}'`
7916 { echo "$as_me:$LINENO: result: $ac_res" >&5
7917echo "${ECHO_T}$ac_res" >&6; }
2d6d4e96
HL
7918if test `eval echo '${'$as_ac_Header'}'` = yes; then
7919 cat >>confdefs.h <<_ACEOF
7920#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
daa2886c 7921_ACEOF
10ad97c8 7922
7ff12568 7923fi
f5818d2f 7924
2d6d4e96 7925done
7ff12568 7926
2d6d4e96
HL
7927
7928
7929for ac_header in ucontext.h
7930do
7931as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
fc6ffb29
AJ
7932{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7933echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7934if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
f5818d2f 7935 echo $ECHO_N "(cached) $ECHO_C" >&6
02e90087 7936else
2d6d4e96 7937 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
7938/* confdefs.h. */
7939_ACEOF
7940cat confdefs.h >>conftest.$ac_ext
7941cat >>conftest.$ac_ext <<_ACEOF
7942/* end confdefs.h. */
2d6d4e96 7943#include <signal.h>
f5818d2f 7944
60833da9
TC
7945#include <$ac_header>
7946_ACEOF
7947rm -f conftest.$ac_objext
7948if { (ac_try="$ac_compile"
7949case "(($ac_try" in
7950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7951 *) ac_try_echo=$ac_try;;
7952esac
7953eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7954 (eval "$ac_compile") 2>conftest.er1
7955 ac_status=$?
7956 grep -v '^ *+' conftest.er1 >conftest.err
7957 rm -f conftest.er1
7958 cat conftest.err >&5
7959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7960 (exit $ac_status); } && {
7961 test -z "$ac_c_werror_flag" ||
7962 test ! -s conftest.err
7963 } && test -s conftest.$ac_objext; then
7964 eval "$as_ac_Header=yes"
7965else
7966 echo "$as_me: failed program was:" >&5
7967sed 's/^/| /' conftest.$ac_ext >&5
7968
7969 eval "$as_ac_Header=no"
7970fi
7971
7972rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7973fi
7974ac_res=`eval echo '${'$as_ac_Header'}'`
7975 { echo "$as_me:$LINENO: result: $ac_res" >&5
7976echo "${ECHO_T}$ac_res" >&6; }
7977if test `eval echo '${'$as_ac_Header'}'` = yes; then
7978 cat >>confdefs.h <<_ACEOF
7979#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7980_ACEOF
7981
7982fi
7983
7984done
7985
7986
7987
7988for ac_header in sys/thr.h
7989do
7990as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7991{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7992echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7993if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7994 echo $ECHO_N "(cached) $ECHO_C" >&6
7995else
7996 cat >conftest.$ac_ext <<_ACEOF
7997/* confdefs.h. */
7998_ACEOF
7999cat confdefs.h >>conftest.$ac_ext
8000cat >>conftest.$ac_ext <<_ACEOF
8001/* end confdefs.h. */
8002#include <sys/types.h>
9e67edfc 8003#ifdef HAVE_UCONTEXT_H
60833da9
TC
8004#include <ucontext.h>
8005#endif
8006
4ff90b47
GP
8007#include <$ac_header>
8008_ACEOF
8009rm -f conftest.$ac_objext
8010if { (ac_try="$ac_compile"
8011case "(($ac_try" in
8012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8013 *) ac_try_echo=$ac_try;;
8014esac
8015eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8016 (eval "$ac_compile") 2>conftest.er1
8017 ac_status=$?
8018 grep -v '^ *+' conftest.er1 >conftest.err
8019 rm -f conftest.er1
8020 cat conftest.err >&5
8021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
8022 (exit $ac_status); } && {
8023 test -z "$ac_c_werror_flag" ||
8024 test ! -s conftest.err
8025 } && test -s conftest.$ac_objext; then
4ff90b47
GP
8026 eval "$as_ac_Header=yes"
8027else
8028 echo "$as_me: failed program was:" >&5
8029sed 's/^/| /' conftest.$ac_ext >&5
8030
8031 eval "$as_ac_Header=no"
8032fi
8033
8034rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8035fi
8036ac_res=`eval echo '${'$as_ac_Header'}'`
8037 { echo "$as_me:$LINENO: result: $ac_res" >&5
8038echo "${ECHO_T}$ac_res" >&6; }
8039if test `eval echo '${'$as_ac_Header'}'` = yes; then
8040 cat >>confdefs.h <<_ACEOF
8041#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8042_ACEOF
8043
8044fi
8045
8046done
8047
8048
8049
8050for ac_header in pthread_np.h
8051do
8052as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8053{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8054echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8055if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8056 echo $ECHO_N "(cached) $ECHO_C" >&6
8057else
8058 cat >conftest.$ac_ext <<_ACEOF
8059/* confdefs.h. */
8060_ACEOF
8061cat confdefs.h >>conftest.$ac_ext
8062cat >>conftest.$ac_ext <<_ACEOF
8063/* end confdefs.h. */
8064#ifdef HAVE_PTHREAD_H
8065#include <pthread.h>
8066#endif
8067
2d6d4e96 8068#include <$ac_header>
f5818d2f 8069_ACEOF
2d6d4e96 8070rm -f conftest.$ac_objext
0ebeb530
JW
8071if { (ac_try="$ac_compile"
8072case "(($ac_try" in
8073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8074 *) ac_try_echo=$ac_try;;
8075esac
8076eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8077 (eval "$ac_compile") 2>conftest.er1
f5818d2f 8078 ac_status=$?
875927f6
AJ
8079 grep -v '^ *+' conftest.er1 >conftest.err
8080 rm -f conftest.er1
8081 cat conftest.err >&5
daa2886c 8082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
8083 (exit $ac_status); } && {
8084 test -z "$ac_c_werror_flag" ||
8085 test ! -s conftest.err
8086 } && test -s conftest.$ac_objext; then
2d6d4e96 8087 eval "$as_ac_Header=yes"
f5818d2f
AJ
8088else
8089 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
8090sed 's/^/| /' conftest.$ac_ext >&5
8091
fc6ffb29 8092 eval "$as_ac_Header=no"
f5818d2f 8093fi
fc6ffb29 8094
0ebeb530 8095rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
f5818d2f 8096fi
fc6ffb29
AJ
8097ac_res=`eval echo '${'$as_ac_Header'}'`
8098 { echo "$as_me:$LINENO: result: $ac_res" >&5
8099echo "${ECHO_T}$ac_res" >&6; }
2d6d4e96
HL
8100if test `eval echo '${'$as_ac_Header'}'` = yes; then
8101 cat >>confdefs.h <<_ACEOF
8102#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
daa2886c 8103_ACEOF
10ad97c8 8104
f2b77ccb
JS
8105fi
8106
2d6d4e96 8107done
daa2886c 8108
2d6d4e96
HL
8109
8110
faf05dfd 8111for ac_header in linux/videodev.h
2d6d4e96
HL
8112do
8113as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
fc6ffb29
AJ
8114{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8115echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8116if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
f5818d2f 8117 echo $ECHO_N "(cached) $ECHO_C" >&6
399931a2 8118else
2d6d4e96 8119 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
8120/* confdefs.h. */
8121_ACEOF
8122cat confdefs.h >>conftest.$ac_ext
8123cat >>conftest.$ac_ext <<_ACEOF
8124/* end confdefs.h. */
2d6d4e96
HL
8125#ifdef HAVE_SYS_TIME_H
8126#include <sys/time.h>
f5818d2f 8127#endif
2d6d4e96
HL
8128#include <sys/types.h>
8129#ifdef HAVE_ASM_TYPES_H
8130#include <asm/types.h>
8131#endif
8132
8133#include <$ac_header>
f5818d2f 8134_ACEOF
2d6d4e96 8135rm -f conftest.$ac_objext
0ebeb530
JW
8136if { (ac_try="$ac_compile"
8137case "(($ac_try" in
8138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8139 *) ac_try_echo=$ac_try;;
8140esac
8141eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8142 (eval "$ac_compile") 2>conftest.er1
f5818d2f 8143 ac_status=$?
875927f6
AJ
8144 grep -v '^ *+' conftest.er1 >conftest.err
8145 rm -f conftest.er1
8146 cat conftest.err >&5
daa2886c 8147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
8148 (exit $ac_status); } && {
8149 test -z "$ac_c_werror_flag" ||
8150 test ! -s conftest.err
8151 } && test -s conftest.$ac_objext; then
2d6d4e96 8152 eval "$as_ac_Header=yes"
f5818d2f
AJ
8153else
8154 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
8155sed 's/^/| /' conftest.$ac_ext >&5
8156
fc6ffb29 8157 eval "$as_ac_Header=no"
f5818d2f 8158fi
fc6ffb29 8159
0ebeb530 8160rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
f5818d2f 8161fi
fc6ffb29
AJ
8162ac_res=`eval echo '${'$as_ac_Header'}'`
8163 { echo "$as_me:$LINENO: result: $ac_res" >&5
8164echo "${ECHO_T}$ac_res" >&6; }
2d6d4e96
HL
8165if test `eval echo '${'$as_ac_Header'}'` = yes; then
8166 cat >>confdefs.h <<_ACEOF
8167#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
daa2886c 8168_ACEOF
f2b77ccb 8169
399931a2
SC
8170fi
8171
2d6d4e96 8172done
daa2886c 8173
2d6d4e96
HL
8174
8175
8176for ac_header in linux/capi.h
8177do
8178as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
fc6ffb29
AJ
8179{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8180echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8181if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
2d6d4e96
HL
8182 echo $ECHO_N "(cached) $ECHO_C" >&6
8183else
8184 cat >conftest.$ac_ext <<_ACEOF
8185/* confdefs.h. */
8186_ACEOF
8f174bc6
AP
8187cat confdefs.h >>conftest.$ac_ext
8188cat >>conftest.$ac_ext <<_ACEOF
8189/* end confdefs.h. */
2d6d4e96 8190#define __user
7ff12568 8191
2d6d4e96 8192#include <$ac_header>
8f174bc6 8193_ACEOF
2d6d4e96 8194rm -f conftest.$ac_objext
0ebeb530
JW
8195if { (ac_try="$ac_compile"
8196case "(($ac_try" in
8197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8198 *) ac_try_echo=$ac_try;;
8199esac
8200eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8201 (eval "$ac_compile") 2>conftest.er1
8f174bc6 8202 ac_status=$?
875927f6
AJ
8203 grep -v '^ *+' conftest.er1 >conftest.err
8204 rm -f conftest.er1
8205 cat conftest.err >&5
8f174bc6 8206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
8207 (exit $ac_status); } && {
8208 test -z "$ac_c_werror_flag" ||
8209 test ! -s conftest.err
8210 } && test -s conftest.$ac_objext; then
2d6d4e96 8211 eval "$as_ac_Header=yes"
7ff12568
RK
8212else
8213 echo "$as_me: failed program was:" >&5
8214sed 's/^/| /' conftest.$ac_ext >&5
8215
fc6ffb29 8216 eval "$as_ac_Header=no"
7ff12568 8217fi
fc6ffb29 8218
0ebeb530 8219rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7ff12568 8220fi
fc6ffb29
AJ
8221ac_res=`eval echo '${'$as_ac_Header'}'`
8222 { echo "$as_me:$LINENO: result: $ac_res" >&5
8223echo "${ECHO_T}$ac_res" >&6; }
2d6d4e96
HL
8224if test `eval echo '${'$as_ac_Header'}'` = yes; then
8225 cat >>confdefs.h <<_ACEOF
8226#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8227_ACEOF
7ff12568 8228
2d6d4e96
HL
8229fi
8230
8231done
8232
8233
8234
a3097628 8235DLLEXT=""
2d6d4e96 8236
a3097628 8237DLLFLAGS="-D_REENTRANT"
2d6d4e96 8238
a3097628 8239LDSHARED=""
2d6d4e96 8240
a3097628 8241LDDLLFLAGS=""
2d6d4e96 8242
a3097628 8243LIBEXT="so"
2d6d4e96 8244
a3097628 8245IMPLIBEXT="def"
2d6d4e96 8246
a3097628 8247LDRPATH_INSTALL=""
7d00b050 8248
a3097628 8249LDRPATH_LOCAL=""
23e2cb1f 8250
a3097628
AJ
8251# Extract the first word of "ldd", so it can be a program name with args.
8252set dummy ldd; ac_word=$2
8253{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8254echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8255if test "${ac_cv_path_LDD+set}" = set; then
2d6d4e96
HL
8256 echo $ECHO_N "(cached) $ECHO_C" >&6
8257else
a3097628
AJ
8258 case $LDD in
8259 [\\/]* | ?:[\\/]*)
8260 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
8261 ;;
8262 *)
8263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8264as_dummy="/sbin:/usr/sbin:$PATH"
8265for as_dir in $as_dummy
8266do
8267 IFS=$as_save_IFS
8268 test -z "$as_dir" && as_dir=.
8269 for ac_exec_ext in '' $ac_executable_extensions; do
8270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8271 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
8272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8273 break 2
8274 fi
8275done
8276done
8277IFS=$as_save_IFS
7ff12568 8278
a3097628
AJ
8279 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
8280 ;;
0ebeb530 8281esac
7ff12568 8282fi
a3097628
AJ
8283LDD=$ac_cv_path_LDD
8284if test -n "$LDD"; then
8285 { echo "$as_me:$LINENO: result: $LDD" >&5
8286echo "${ECHO_T}$LDD" >&6; }
8287else
8288 { echo "$as_me:$LINENO: result: no" >&5
8289echo "${ECHO_T}no" >&6; }
2d6d4e96 8290fi
7ff12568 8291
2d6d4e96
HL
8292
8293
a3097628
AJ
8294case $host_os in
8295 cygwin*|mingw32*)
8296 if test -n "$ac_tool_prefix"; then
8297 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8298set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8299{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8300echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8301if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7ff12568
RK
8302 echo $ECHO_N "(cached) $ECHO_C" >&6
8303else
a3097628
AJ
8304 if test -n "$DLLTOOL"; then
8305 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7ff12568 8306else
a3097628
AJ
8307as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8308for as_dir in $PATH
8309do
8310 IFS=$as_save_IFS
8311 test -z "$as_dir" && as_dir=.
8312 for ac_exec_ext in '' $ac_executable_extensions; do
8313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8314 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8316 break 2
8317 fi
8318done
8319done
8320IFS=$as_save_IFS
7ff12568 8321
7ff12568 8322fi
7ff12568 8323fi
a3097628
AJ
8324DLLTOOL=$ac_cv_prog_DLLTOOL
8325if test -n "$DLLTOOL"; then
8326 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8327echo "${ECHO_T}$DLLTOOL" >&6; }
8328else
8329 { echo "$as_me:$LINENO: result: no" >&5
8330echo "${ECHO_T}no" >&6; }
7ff12568
RK
8331fi
8332
7ff12568 8333
a3097628
AJ
8334fi
8335if test -z "$ac_cv_prog_DLLTOOL"; then
8336 ac_ct_DLLTOOL=$DLLTOOL
8337 # Extract the first word of "dlltool", so it can be a program name with args.
8338set dummy dlltool; ac_word=$2
8339{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8340echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8341if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
2d6d4e96
HL
8342 echo $ECHO_N "(cached) $ECHO_C" >&6
8343else
a3097628
AJ
8344 if test -n "$ac_ct_DLLTOOL"; then
8345 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
c7c9f939 8346else
a3097628
AJ
8347as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8348for as_dir in $PATH
8349do
8350 IFS=$as_save_IFS
8351 test -z "$as_dir" && as_dir=.
8352 for ac_exec_ext in '' $ac_executable_extensions; do
8353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8354 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8356 break 2
8357 fi
8358done
8359done
8360IFS=$as_save_IFS
8f174bc6 8361
a3097628
AJ
8362fi
8363fi
8364ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8365if test -n "$ac_ct_DLLTOOL"; then
8366 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8367echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8368else
8369 { echo "$as_me:$LINENO: result: no" >&5
8370echo "${ECHO_T}no" >&6; }
8f174bc6 8371fi
fc6ffb29 8372
a3097628
AJ
8373 if test "x$ac_ct_DLLTOOL" = x; then
8374 DLLTOOL="false"
8375 else
8376 case $cross_compiling:$ac_tool_warned in
8377yes:)
8378{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8379whose name does not start with the host triplet. If you think this
8380configuration is useful to you, please write to autoconf@gnu.org." >&5
8381echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8382whose name does not start with the host triplet. If you think this
8383configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8384ac_tool_warned=yes ;;
8385esac
8386 DLLTOOL=$ac_ct_DLLTOOL
8387 fi
8388else
8389 DLLTOOL="$ac_cv_prog_DLLTOOL"
2d6d4e96 8390fi
2d6d4e96 8391
a3097628
AJ
8392 if test -n "$ac_tool_prefix"; then
8393 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8394set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
8395{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8396echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8397if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8398 echo $ECHO_N "(cached) $ECHO_C" >&6
8399else
8400 if test -n "$DLLWRAP"; then
8401 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
8402else
8403as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8404for as_dir in $PATH
8405do
8406 IFS=$as_save_IFS
8407 test -z "$as_dir" && as_dir=.
8408 for ac_exec_ext in '' $ac_executable_extensions; do
8409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8410 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
8411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8412 break 2
8413 fi
8414done
8415done
8416IFS=$as_save_IFS
2d6d4e96
HL
8417
8418fi
a3097628
AJ
8419fi
8420DLLWRAP=$ac_cv_prog_DLLWRAP
8421if test -n "$DLLWRAP"; then
8422 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8423echo "${ECHO_T}$DLLWRAP" >&6; }
8424else
8425 { echo "$as_me:$LINENO: result: no" >&5
8426echo "${ECHO_T}no" >&6; }
8427fi
2d6d4e96 8428
92ec21bd 8429
a3097628
AJ
8430fi
8431if test -z "$ac_cv_prog_DLLWRAP"; then
8432 ac_ct_DLLWRAP=$DLLWRAP
8433 # Extract the first word of "dllwrap", so it can be a program name with args.
8434set dummy dllwrap; ac_word=$2
8435{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8436echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8437if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
92ec21bd
KK
8438 echo $ECHO_N "(cached) $ECHO_C" >&6
8439else
a3097628
AJ
8440 if test -n "$ac_ct_DLLWRAP"; then
8441 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
92ec21bd 8442else
a3097628
AJ
8443as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8444for as_dir in $PATH
8445do
8446 IFS=$as_save_IFS
8447 test -z "$as_dir" && as_dir=.
8448 for ac_exec_ext in '' $ac_executable_extensions; do
8449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8450 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
8451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8452 break 2
8453 fi
8454done
8455done
8456IFS=$as_save_IFS
92ec21bd 8457
92ec21bd 8458fi
92ec21bd 8459fi
a3097628
AJ
8460ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
8461if test -n "$ac_ct_DLLWRAP"; then
8462 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8463echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8464else
8465 { echo "$as_me:$LINENO: result: no" >&5
8466echo "${ECHO_T}no" >&6; }
f5818d2f 8467fi
5c085704 8468
a3097628
AJ
8469 if test "x$ac_ct_DLLWRAP" = x; then
8470 DLLWRAP="false"
8471 else
8472 case $cross_compiling:$ac_tool_warned in
8473yes:)
8474{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8475whose name does not start with the host triplet. If you think this
8476configuration is useful to you, please write to autoconf@gnu.org." >&5
8477echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8478whose name does not start with the host triplet. If you think this
8479configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8480ac_tool_warned=yes ;;
8481esac
8482 DLLWRAP=$ac_ct_DLLWRAP
8483 fi
8484else
8485 DLLWRAP="$ac_cv_prog_DLLWRAP"
8486fi
2d6d4e96 8487
a3097628
AJ
8488 if test -n "$ac_tool_prefix"; then
8489 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8490set dummy ${ac_tool_prefix}ar; ac_word=$2
8491{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8492echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8493if test "${ac_cv_prog_MINGWAR+set}" = set; then
f5818d2f 8494 echo $ECHO_N "(cached) $ECHO_C" >&6
5ff00774 8495else
a3097628
AJ
8496 if test -n "$MINGWAR"; then
8497 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
f5818d2f 8498else
a3097628
AJ
8499as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8500for as_dir in $PATH
8501do
8502 IFS=$as_save_IFS
8503 test -z "$as_dir" && as_dir=.
8504 for ac_exec_ext in '' $ac_executable_extensions; do
8505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8506 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8508 break 2
8509 fi
8510done
8511done
8512IFS=$as_save_IFS
e24bcc77 8513
f5818d2f 8514fi
f5818d2f 8515fi
a3097628
AJ
8516MINGWAR=$ac_cv_prog_MINGWAR
8517if test -n "$MINGWAR"; then
8518 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8519echo "${ECHO_T}$MINGWAR" >&6; }
8520else
8521 { echo "$as_me:$LINENO: result: no" >&5
8522echo "${ECHO_T}no" >&6; }
8523fi
6bb6d4c2 8524
5a2da4ee 8525
2d6d4e96 8526fi
a3097628
AJ
8527if test -z "$ac_cv_prog_MINGWAR"; then
8528 ac_ct_MINGWAR=$MINGWAR
8529 # Extract the first word of "ar", so it can be a program name with args.
8530set dummy ar; ac_word=$2
8531{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8532echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8533if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8534 echo $ECHO_N "(cached) $ECHO_C" >&6
8535else
8536 if test -n "$ac_ct_MINGWAR"; then
8537 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8538else
8539as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8540for as_dir in $PATH
8541do
8542 IFS=$as_save_IFS
8543 test -z "$as_dir" && as_dir=.
8544 for ac_exec_ext in '' $ac_executable_extensions; do
8545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8546 ac_cv_prog_ac_ct_MINGWAR="ar"
8547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8548 break 2
8549 fi
8550done
8551done
8552IFS=$as_save_IFS
2d6d4e96 8553
a3097628
AJ
8554fi
8555fi
8556ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8557if test -n "$ac_ct_MINGWAR"; then
8558 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8559echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8560else
8561 { echo "$as_me:$LINENO: result: no" >&5
8562echo "${ECHO_T}no" >&6; }
8563fi
2d6d4e96 8564
a3097628
AJ
8565 if test "x$ac_ct_MINGWAR" = x; then
8566 MINGWAR="false"
8567 else
8568 case $cross_compiling:$ac_tool_warned in
8569yes:)
8570{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8571whose name does not start with the host triplet. If you think this
8572configuration is useful to you, please write to autoconf@gnu.org." >&5
8573echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8574whose name does not start with the host triplet. If you think this
8575configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8576ac_tool_warned=yes ;;
0ebeb530 8577esac
a3097628
AJ
8578 MINGWAR=$ac_ct_MINGWAR
8579 fi
8580else
8581 MINGWAR="$ac_cv_prog_MINGWAR"
8582fi
2d6d4e96 8583
a3097628
AJ
8584 if test "$DLLWRAP" = "false"; then
8585 LIBEXT="a"
8586 else
8587 LIBEXT="dll"
8588 fi
8589 IMPLIBEXT="a"
8590 WIN16_FILES=""
8591 WIN16_INSTALL=""
ec1ebfb1
AJ
8592 enable_iphlpapi=${enable_iphlpapi:-no}
8593 enable_kernel32=${enable_kernel32:-no}
8594 enable_msvcrt=${enable_msvcrt:-no}
8595 enable_ntdll=${enable_ntdll:-no}
8596 enable_ws2_32=${enable_ws2_32:-no}
8597 enable_loader=${enable_loader:-no}
8598 enable_server=${enable_server:-no}
a3097628
AJ
8599 ;;
8600 darwin*|macosx*)
8601 DLLEXT=".so"
8602 LIBEXT="dylib"
8603 DLLFLAGS="$DLLFLAGS -fPIC"
8604 LDDLLFLAGS="-bundle -multiply_defined suppress"
8605 LIBWINE_LDFLAGS="-multiply_defined suppress"
8606 LDSHARED="\$(CC) -dynamiclib"
8607 STRIP="$STRIP -x"
8608 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
312a1db3
RS
8609 SECURITYLIB="-framework Security -framework CoreFoundation"
8610
8611 COREFOUNDATIONLIB="-framework CoreFoundation"
2d6d4e96 8612
a3097628 8613 IOKITLIB="-framework IOKit -framework CoreFoundation"
e24bcc77 8614
a3097628 8615 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
fc6ffb29 8616
a3097628
AJ
8617 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8618 then
8619 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
fc6ffb29 8620
a3097628
AJ
8621 fi
8622 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8623 then
8624 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
b63ab445 8625
a3097628
AJ
8626 fi
8627 case $host_cpu in
8628 *powerpc*)
8629 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8630 esac
8631 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8632 then
8633 CARBONLIB="-framework Carbon"
8634
dbb535e4 8635 enable_winequartz_drv=${enable_winequartz_drv:-yes}
a3097628
AJ
8636 fi
8637 ;;
8638 *)
8639 DLLFLAGS="$DLLFLAGS -fPIC"
8640 DLLEXT=".so"
8641 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8642echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8643if test "${ac_cv_c_dll_gnuelf+set}" = set; then
ef799c46
JC
8644 echo $ECHO_N "(cached) $ECHO_C" >&6
8645else
a3097628
AJ
8646 ac_wine_try_cflags_saved=$CFLAGS
8647CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
ef799c46 8648cat >conftest.$ac_ext <<_ACEOF
a3097628 8649void myfunc() {}
ef799c46
JC
8650_ACEOF
8651rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
8652if { (ac_try="$ac_link"
8653case "(($ac_try" in
8654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8655 *) ac_try_echo=$ac_try;;
8656esac
8657eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8658 (eval "$ac_link") 2>conftest.er1
ef799c46 8659 ac_status=$?
875927f6
AJ
8660 grep -v '^ *+' conftest.er1 >conftest.err
8661 rm -f conftest.er1
8662 cat conftest.err >&5
ef799c46 8663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
8664 (exit $ac_status); } && {
8665 test -z "$ac_c_werror_flag" ||
8666 test ! -s conftest.err
8667 } && test -s conftest$ac_exeext &&
8668 $as_test_x conftest$ac_exeext; then
a3097628 8669 ac_cv_c_dll_gnuelf="yes"
ef799c46
JC
8670else
8671 echo "$as_me: failed program was:" >&5
8672sed 's/^/| /' conftest.$ac_ext >&5
8673
a3097628 8674 ac_cv_c_dll_gnuelf="no"
ef799c46 8675fi
fc6ffb29 8676
f0ca586f 8677rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 8678 conftest$ac_exeext conftest.$ac_ext
a3097628 8679CFLAGS=$ac_wine_try_cflags_saved
ef799c46 8680fi
a3097628
AJ
8681{ echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8682echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8683 if test "$ac_cv_c_dll_gnuelf" = "yes"
8684 then
8685 LDSHARED="\$(CC) -shared"
8686 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8687 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8688echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8689if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8690 echo $ECHO_N "(cached) $ECHO_C" >&6
8691else
8692 ac_wine_try_cflags_saved=$CFLAGS
8693CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8694cat >conftest.$ac_ext <<_ACEOF
7d00b050
AJ
8695/* confdefs.h. */
8696_ACEOF
8697cat confdefs.h >>conftest.$ac_ext
8698cat >>conftest.$ac_ext <<_ACEOF
8699/* end confdefs.h. */
a3097628 8700
7d00b050
AJ
8701int
8702main ()
8703{
a3097628 8704
7d00b050
AJ
8705 ;
8706 return 0;
8707}
8708_ACEOF
a3097628
AJ
8709rm -f conftest.$ac_objext conftest$ac_exeext
8710if { (ac_try="$ac_link"
7d00b050
AJ
8711case "(($ac_try" in
8712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8713 *) ac_try_echo=$ac_try;;
8714esac
8715eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
a3097628 8716 (eval "$ac_link") 2>conftest.er1
7d00b050
AJ
8717 ac_status=$?
8718 grep -v '^ *+' conftest.er1 >conftest.err
8719 rm -f conftest.er1
8720 cat conftest.err >&5
8721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
8722 (exit $ac_status); } && {
8723 test -z "$ac_c_werror_flag" ||
8724 test ! -s conftest.err
a3097628
AJ
8725 } && test -s conftest$ac_exeext &&
8726 $as_test_x conftest$ac_exeext; then
8727 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
7d00b050
AJ
8728else
8729 echo "$as_me: failed program was:" >&5
8730sed 's/^/| /' conftest.$ac_ext >&5
8731
a3097628 8732 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
7d00b050
AJ
8733fi
8734
a3097628
AJ
8735rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8736 conftest$ac_exeext conftest.$ac_ext
8737CFLAGS=$ac_wine_try_cflags_saved
8738fi
8739{ echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8740echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8741if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8742 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8743else
8744 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8745echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8746if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
6f670b13 8747 echo $ECHO_N "(cached) $ECHO_C" >&6
6f670b13 8748else
a3097628
AJ
8749 ac_wine_try_cflags_saved=$CFLAGS
8750CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8751cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
8752/* confdefs.h. */
8753_ACEOF
8754cat confdefs.h >>conftest.$ac_ext
8755cat >>conftest.$ac_ext <<_ACEOF
8756/* end confdefs.h. */
2d6d4e96 8757
a3097628
AJ
8758int
8759main ()
8760{
8761
8762 ;
8763 return 0;
8764}
6f670b13 8765_ACEOF
a3097628
AJ
8766rm -f conftest.$ac_objext conftest$ac_exeext
8767if { (ac_try="$ac_link"
0ebeb530
JW
8768case "(($ac_try" in
8769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8770 *) ac_try_echo=$ac_try;;
8771esac
8772eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
a3097628 8773 (eval "$ac_link") 2>conftest.er1
6f670b13 8774 ac_status=$?
875927f6
AJ
8775 grep -v '^ *+' conftest.er1 >conftest.err
8776 rm -f conftest.er1
8777 cat conftest.err >&5
6f670b13 8778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
8779 (exit $ac_status); } && {
8780 test -z "$ac_c_werror_flag" ||
8781 test ! -s conftest.err
a3097628
AJ
8782 } && test -s conftest$ac_exeext &&
8783 $as_test_x conftest$ac_exeext; then
8784 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
6f670b13
FG
8785else
8786 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
8787sed 's/^/| /' conftest.$ac_ext >&5
8788
a3097628 8789 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
6f670b13 8790fi
fc6ffb29 8791
a3097628
AJ
8792rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8793 conftest$ac_exeext conftest.$ac_ext
8794CFLAGS=$ac_wine_try_cflags_saved
8795fi
8796{ echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8797echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8798if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8799 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
6f670b13 8800fi
6f670b13 8801
2d6d4e96
HL
8802fi
8803
2d6d4e96 8804
a3097628
AJ
8805 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8806echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8807if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
6f670b13
FG
8808 echo $ECHO_N "(cached) $ECHO_C" >&6
8809else
a3097628
AJ
8810 ac_wine_try_cflags_saved=$CFLAGS
8811CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8812cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
8813/* confdefs.h. */
8814_ACEOF
8815cat confdefs.h >>conftest.$ac_ext
8816cat >>conftest.$ac_ext <<_ACEOF
8817/* end confdefs.h. */
a3097628 8818
2d6d4e96
HL
8819int
8820main ()
8821{
a3097628 8822
2d6d4e96
HL
8823 ;
8824 return 0;
8825}
6f670b13 8826_ACEOF
a3097628
AJ
8827rm -f conftest.$ac_objext conftest$ac_exeext
8828if { (ac_try="$ac_link"
0ebeb530
JW
8829case "(($ac_try" in
8830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8831 *) ac_try_echo=$ac_try;;
8832esac
8833eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
a3097628 8834 (eval "$ac_link") 2>conftest.er1
6f670b13 8835 ac_status=$?
875927f6
AJ
8836 grep -v '^ *+' conftest.er1 >conftest.err
8837 rm -f conftest.er1
8838 cat conftest.err >&5
6f670b13 8839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
8840 (exit $ac_status); } && {
8841 test -z "$ac_c_werror_flag" ||
8842 test ! -s conftest.err
a3097628
AJ
8843 } && test -s conftest$ac_exeext &&
8844 $as_test_x conftest$ac_exeext; then
8845 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
6f670b13
FG
8846else
8847 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
8848sed 's/^/| /' conftest.$ac_ext >&5
8849
a3097628 8850 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
6f670b13 8851fi
fc6ffb29 8852
a3097628
AJ
8853rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8854 conftest$ac_exeext conftest.$ac_ext
8855CFLAGS=$ac_wine_try_cflags_saved
8856fi
8857{ echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8858echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8859if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8860 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
6f670b13
FG
8861fi
8862
a3097628
AJ
8863
8864 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8865echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8866if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
6f670b13
FG
8867 echo $ECHO_N "(cached) $ECHO_C" >&6
8868else
a3097628
AJ
8869 ac_wine_try_cflags_saved=$CFLAGS
8870CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6f670b13 8871cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
8872/* confdefs.h. */
8873_ACEOF
8874cat confdefs.h >>conftest.$ac_ext
8875cat >>conftest.$ac_ext <<_ACEOF
8876/* end confdefs.h. */
6f670b13 8877
6f670b13
FG
8878int
8879main ()
8880{
a3097628 8881
6f670b13
FG
8882 ;
8883 return 0;
8884}
8885_ACEOF
8886rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
8887if { (ac_try="$ac_link"
8888case "(($ac_try" in
8889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8890 *) ac_try_echo=$ac_try;;
8891esac
8892eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8893 (eval "$ac_link") 2>conftest.er1
6f670b13 8894 ac_status=$?
875927f6
AJ
8895 grep -v '^ *+' conftest.er1 >conftest.err
8896 rm -f conftest.er1
8897 cat conftest.err >&5
6f670b13 8898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
8899 (exit $ac_status); } && {
8900 test -z "$ac_c_werror_flag" ||
8901 test ! -s conftest.err
8902 } && test -s conftest$ac_exeext &&
8903 $as_test_x conftest$ac_exeext; then
a3097628 8904 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
6f670b13
FG
8905else
8906 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
8907sed 's/^/| /' conftest.$ac_ext >&5
8908
a3097628 8909 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
6f670b13 8910fi
fc6ffb29 8911
f0ca586f 8912rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 8913 conftest$ac_exeext conftest.$ac_ext
a3097628 8914CFLAGS=$ac_wine_try_cflags_saved
6f670b13 8915fi
a3097628
AJ
8916{ echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8917echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8918if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8919 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
c84c4784
AJ
8920fi
8921
dcc2d6c2 8922
a3097628
AJ
8923 echo '{ global: *; };' >conftest.map
8924 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8925echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8926if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
dcc2d6c2 8927 echo $ECHO_N "(cached) $ECHO_C" >&6
dcc2d6c2 8928else
a3097628
AJ
8929 ac_wine_try_cflags_saved=$CFLAGS
8930CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
dcc2d6c2
MM
8931cat >conftest.$ac_ext <<_ACEOF
8932/* confdefs.h. */
8933_ACEOF
8934cat confdefs.h >>conftest.$ac_ext
8935cat >>conftest.$ac_ext <<_ACEOF
8936/* end confdefs.h. */
2d6d4e96 8937
2d6d4e96
HL
8938int
8939main ()
8940{
a3097628 8941
2d6d4e96
HL
8942 ;
8943 return 0;
8944}
8945_ACEOF
8946rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
8947if { (ac_try="$ac_link"
8948case "(($ac_try" in
8949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8950 *) ac_try_echo=$ac_try;;
8951esac
8952eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8953 (eval "$ac_link") 2>conftest.er1
2d6d4e96
HL
8954 ac_status=$?
8955 grep -v '^ *+' conftest.er1 >conftest.err
8956 rm -f conftest.er1
8957 cat conftest.err >&5
8958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
8959 (exit $ac_status); } && {
8960 test -z "$ac_c_werror_flag" ||
8961 test ! -s conftest.err
8962 } && test -s conftest$ac_exeext &&
8963 $as_test_x conftest$ac_exeext; then
a3097628 8964 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
2d6d4e96
HL
8965else
8966 echo "$as_me: failed program was:" >&5
8967sed 's/^/| /' conftest.$ac_ext >&5
8968
a3097628 8969 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
2d6d4e96 8970fi
fc6ffb29 8971
f0ca586f 8972rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2d6d4e96 8973 conftest$ac_exeext conftest.$ac_ext
a3097628 8974CFLAGS=$ac_wine_try_cflags_saved
2d6d4e96 8975fi
a3097628
AJ
8976{ echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8977echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8978if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8979 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
2d6d4e96
HL
8980fi
8981
a3097628 8982 rm -f conftest.map
2d6d4e96 8983
a3097628
AJ
8984 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8985echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8986if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
2d6d4e96 8987 echo $ECHO_N "(cached) $ECHO_C" >&6
2d6d4e96 8988else
a3097628
AJ
8989 ac_wine_try_cflags_saved=$CFLAGS
8990CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
2d6d4e96
HL
8991cat >conftest.$ac_ext <<_ACEOF
8992/* confdefs.h. */
8993_ACEOF
8994cat confdefs.h >>conftest.$ac_ext
8995cat >>conftest.$ac_ext <<_ACEOF
8996/* end confdefs.h. */
a3097628
AJ
8997
8998int
8999main ()
9000{
9001
9002 ;
9003 return 0;
9004}
2d6d4e96 9005_ACEOF
a3097628
AJ
9006rm -f conftest.$ac_objext conftest$ac_exeext
9007if { (ac_try="$ac_link"
0ebeb530
JW
9008case "(($ac_try" in
9009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9010 *) ac_try_echo=$ac_try;;
9011esac
9012eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
a3097628 9013 (eval "$ac_link") 2>conftest.er1
2d6d4e96
HL
9014 ac_status=$?
9015 grep -v '^ *+' conftest.er1 >conftest.err
9016 rm -f conftest.er1
9017 cat conftest.err >&5
9018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
9019 (exit $ac_status); } && {
9020 test -z "$ac_c_werror_flag" ||
9021 test ! -s conftest.err
a3097628
AJ
9022 } && test -s conftest$ac_exeext &&
9023 $as_test_x conftest$ac_exeext; then
9024 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
dcc2d6c2
MM
9025else
9026 echo "$as_me: failed program was:" >&5
9027sed 's/^/| /' conftest.$ac_ext >&5
9028
a3097628
AJ
9029 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9030fi
9031
9032rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9033 conftest$ac_exeext conftest.$ac_ext
9034CFLAGS=$ac_wine_try_cflags_saved
9035fi
9036{ echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9037echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9038if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
9039 LDEXECFLAGS="-Wl,--export-dynamic"
9040
dcc2d6c2 9041fi
fc6ffb29 9042
dcc2d6c2 9043
a3097628
AJ
9044 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
9045{ echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9046echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
9047if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9048 echo $ECHO_N "(cached) $ECHO_C" >&6
9049else
9050 ac_wine_try_cflags_saved=$CFLAGS
9051CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
dcc2d6c2
MM
9052cat >conftest.$ac_ext <<_ACEOF
9053/* confdefs.h. */
9054_ACEOF
9055cat confdefs.h >>conftest.$ac_ext
9056cat >>conftest.$ac_ext <<_ACEOF
9057/* end confdefs.h. */
a3097628
AJ
9058
9059int
9060main ()
9061{
9062
9063 ;
9064 return 0;
9065}
dcc2d6c2 9066_ACEOF
a3097628
AJ
9067rm -f conftest.$ac_objext conftest$ac_exeext
9068if { (ac_try="$ac_link"
0ebeb530
JW
9069case "(($ac_try" in
9070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9071 *) ac_try_echo=$ac_try;;
9072esac
9073eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
a3097628 9074 (eval "$ac_link") 2>conftest.er1
dcc2d6c2
MM
9075 ac_status=$?
9076 grep -v '^ *+' conftest.er1 >conftest.err
9077 rm -f conftest.er1
9078 cat conftest.err >&5
9079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
a3097628
AJ
9080 (exit $ac_status); } && {
9081 test -z "$ac_c_werror_flag" ||
dc9f3843 9082 test ! -s conftest.err
a3097628
AJ
9083 } && test -s conftest$ac_exeext &&
9084 $as_test_x conftest$ac_exeext; then
9085 eval "$as_ac_var=yes"
dcc2d6c2
MM
9086else
9087 echo "$as_me: failed program was:" >&5
9088sed 's/^/| /' conftest.$ac_ext >&5
9089
a3097628 9090 eval "$as_ac_var=no"
dcc2d6c2 9091fi
fc6ffb29 9092
a3097628
AJ
9093rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9094 conftest$ac_exeext conftest.$ac_ext
9095CFLAGS=$ac_wine_try_cflags_saved
dcc2d6c2 9096fi
a3097628 9097ac_res=`eval echo '${'$as_ac_var'}'`
fc6ffb29
AJ
9098 { echo "$as_me:$LINENO: result: $ac_res" >&5
9099echo "${ECHO_T}$ac_res" >&6; }
a3097628
AJ
9100if test `eval echo '${'$as_ac_var'}'` = yes; then
9101 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
9102 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
9103else
9104 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
9105{ echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9106echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
9107if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
dcc2d6c2
MM
9108 echo $ECHO_N "(cached) $ECHO_C" >&6
9109else
a3097628
AJ
9110 ac_wine_try_cflags_saved=$CFLAGS
9111CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9112cat >conftest.$ac_ext <<_ACEOF
dcc2d6c2
MM
9113/* confdefs.h. */
9114_ACEOF
9115cat confdefs.h >>conftest.$ac_ext
9116cat >>conftest.$ac_ext <<_ACEOF
9117/* end confdefs.h. */
9118
a3097628
AJ
9119int
9120main ()
9121{
9122
9123 ;
9124 return 0;
9125}
dcc2d6c2 9126_ACEOF
a3097628
AJ
9127rm -f conftest.$ac_objext conftest$ac_exeext
9128if { (ac_try="$ac_link"
0ebeb530
JW
9129case "(($ac_try" in
9130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9131 *) ac_try_echo=$ac_try;;
9132esac
9133eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
a3097628 9134 (eval "$ac_link") 2>conftest.er1
dcc2d6c2
MM
9135 ac_status=$?
9136 grep -v '^ *+' conftest.er1 >conftest.err
9137 rm -f conftest.er1
9138 cat conftest.err >&5
9139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
9140 (exit $ac_status); } && {
9141 test -z "$ac_c_werror_flag" ||
9142 test ! -s conftest.err
a3097628
AJ
9143 } && test -s conftest$ac_exeext &&
9144 $as_test_x conftest$ac_exeext; then
9145 eval "$as_ac_var=yes"
dcc2d6c2
MM
9146else
9147 echo "$as_me: failed program was:" >&5
9148sed 's/^/| /' conftest.$ac_ext >&5
9149
a3097628 9150 eval "$as_ac_var=no"
dcc2d6c2 9151fi
fc6ffb29 9152
a3097628
AJ
9153rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9154 conftest$ac_exeext conftest.$ac_ext
9155CFLAGS=$ac_wine_try_cflags_saved
dcc2d6c2 9156fi
a3097628 9157ac_res=`eval echo '${'$as_ac_var'}'`
fc6ffb29
AJ
9158 { echo "$as_me:$LINENO: result: $ac_res" >&5
9159echo "${ECHO_T}$ac_res" >&6; }
a3097628
AJ
9160if test `eval echo '${'$as_ac_var'}'` = yes; then
9161 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
9162 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
9163fi
dcc2d6c2 9164
dcc2d6c2
MM
9165fi
9166
2d6d4e96 9167
f4077ae5
TC
9168 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9169echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
9170if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
9171 echo $ECHO_N "(cached) $ECHO_C" >&6
9172else
9173 ac_wine_try_cflags_saved=$CFLAGS
9174CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9175cat >conftest.$ac_ext <<_ACEOF
9176/* confdefs.h. */
9177_ACEOF
9178cat confdefs.h >>conftest.$ac_ext
9179cat >>conftest.$ac_ext <<_ACEOF
9180/* end confdefs.h. */
9181
9182int
9183main ()
9184{
9185
9186 ;
9187 return 0;
9188}
9189_ACEOF
9190rm -f conftest.$ac_objext conftest$ac_exeext
9191if { (ac_try="$ac_link"
9192case "(($ac_try" in
9193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9194 *) ac_try_echo=$ac_try;;
9195esac
9196eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9197 (eval "$ac_link") 2>conftest.er1
9198 ac_status=$?
9199 grep -v '^ *+' conftest.er1 >conftest.err
9200 rm -f conftest.er1
9201 cat conftest.err >&5
9202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9203 (exit $ac_status); } && {
9204 test -z "$ac_c_werror_flag" ||
9205 test ! -s conftest.err
9206 } && test -s conftest$ac_exeext &&
9207 $as_test_x conftest$ac_exeext; then
9208 ac_cv_cflags__Wl___enable_new_dtags=yes
9209else
9210 echo "$as_me: failed program was:" >&5
9211sed 's/^/| /' conftest.$ac_ext >&5
9212
9213 ac_cv_cflags__Wl___enable_new_dtags=no
9214fi
9215
9216rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9217 conftest$ac_exeext conftest.$ac_ext
9218CFLAGS=$ac_wine_try_cflags_saved
9219fi
9220{ echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9221echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9222if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
9223 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9224fi
9225
9226
a3097628
AJ
9227 case $host_cpu in
9228 *i[3456789]86* | x86_64)
9229 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
9230echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
9231if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
70adb8f5
MM
9232 echo $ECHO_N "(cached) $ECHO_C" >&6
9233else
a3097628
AJ
9234 ac_wine_try_cflags_saved=$CFLAGS
9235CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
70adb8f5
MM
9236cat >conftest.$ac_ext <<_ACEOF
9237/* confdefs.h. */
9238_ACEOF
9239cat confdefs.h >>conftest.$ac_ext
9240cat >>conftest.$ac_ext <<_ACEOF
9241/* end confdefs.h. */
9242
70adb8f5
MM
9243int
9244main ()
9245{
a3097628 9246
70adb8f5
MM
9247 ;
9248 return 0;
9249}
9250_ACEOF
9251rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
9252if { (ac_try="$ac_link"
9253case "(($ac_try" in
9254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9255 *) ac_try_echo=$ac_try;;
9256esac
9257eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9258 (eval "$ac_link") 2>conftest.er1
70adb8f5
MM
9259 ac_status=$?
9260 grep -v '^ *+' conftest.er1 >conftest.err
9261 rm -f conftest.er1
9262 cat conftest.err >&5
9263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
9264 (exit $ac_status); } && {
9265 test -z "$ac_c_werror_flag" ||
9266 test ! -s conftest.err
9267 } && test -s conftest$ac_exeext &&
9268 $as_test_x conftest$ac_exeext; then
a3097628 9269 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
70adb8f5
MM
9270else
9271 echo "$as_me: failed program was:" >&5
9272sed 's/^/| /' conftest.$ac_ext >&5
9273
a3097628 9274 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
70adb8f5 9275fi
fc6ffb29 9276
f0ca586f 9277rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
70adb8f5 9278 conftest$ac_exeext conftest.$ac_ext
a3097628
AJ
9279CFLAGS=$ac_wine_try_cflags_saved
9280fi
9281{ echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
9282echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
9283if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
9284 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
70adb8f5 9285fi
70adb8f5 9286
a3097628
AJ
9287 ;;
9288 esac
70adb8f5 9289
a3097628
AJ
9290 else
9291 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9292echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
9293if test "${ac_cv_c_dll_unixware+set}" = set; then
575d8944
GP
9294 echo $ECHO_N "(cached) $ECHO_C" >&6
9295else
a3097628
AJ
9296 ac_wine_try_cflags_saved=$CFLAGS
9297CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
575d8944 9298cat >conftest.$ac_ext <<_ACEOF
a3097628 9299void myfunc() {}
575d8944 9300_ACEOF
a3097628
AJ
9301rm -f conftest.$ac_objext conftest$ac_exeext
9302if { (ac_try="$ac_link"
9303case "(($ac_try" in
9304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9305 *) ac_try_echo=$ac_try;;
9306esac
9307eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9308 (eval "$ac_link") 2>conftest.er1
9309 ac_status=$?
9310 grep -v '^ *+' conftest.er1 >conftest.err
9311 rm -f conftest.er1
9312 cat conftest.err >&5
9313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9314 (exit $ac_status); } && {
9315 test -z "$ac_c_werror_flag" ||
9316 test ! -s conftest.err
9317 } && test -s conftest$ac_exeext &&
9318 $as_test_x conftest$ac_exeext; then
9319 ac_cv_c_dll_unixware="yes"
9320else
9321 echo "$as_me: failed program was:" >&5
9322sed 's/^/| /' conftest.$ac_ext >&5
575d8944 9323
a3097628
AJ
9324 ac_cv_c_dll_unixware="no"
9325fi
9326
9327rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9328 conftest$ac_exeext conftest.$ac_ext
9329CFLAGS=$ac_wine_try_cflags_saved
9330fi
9331{ echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9332echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9333 if test "$ac_cv_c_dll_unixware" = "yes"
9334 then
9335 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9336 LDDLLFLAGS="-Wl,-G,-B,symbolic"
9337
9338 else
9339 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9340echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9341if test "${ac_cv_c_dll_hpux+set}" = set; then
9342 echo $ECHO_N "(cached) $ECHO_C" >&6
9343else
9344 ac_wine_try_cflags_saved=$CFLAGS
9345CFLAGS="$CFLAGS -shared"
9346cat >conftest.$ac_ext <<_ACEOF
9347void myfunc() {}
575d8944
GP
9348_ACEOF
9349rm -f conftest.$ac_objext conftest$ac_exeext
9350if { (ac_try="$ac_link"
9351case "(($ac_try" in
9352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9353 *) ac_try_echo=$ac_try;;
9354esac
9355eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9356 (eval "$ac_link") 2>conftest.er1
9357 ac_status=$?
9358 grep -v '^ *+' conftest.er1 >conftest.err
9359 rm -f conftest.er1
9360 cat conftest.err >&5
9361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9362 (exit $ac_status); } && {
9363 test -z "$ac_c_werror_flag" ||
9364 test ! -s conftest.err
9365 } && test -s conftest$ac_exeext &&
9366 $as_test_x conftest$ac_exeext; then
a3097628 9367 ac_cv_c_dll_hpux="yes"
575d8944
GP
9368else
9369 echo "$as_me: failed program was:" >&5
9370sed 's/^/| /' conftest.$ac_ext >&5
9371
a3097628 9372 ac_cv_c_dll_hpux="no"
575d8944
GP
9373fi
9374
9375rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9376 conftest$ac_exeext conftest.$ac_ext
a3097628 9377CFLAGS=$ac_wine_try_cflags_saved
575d8944 9378fi
a3097628
AJ
9379{ echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9380echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9381 if test "$ac_cv_c_dll_hpux" = "yes"
9382 then
9383 LIBEXT="sl"
9384 DLLEXT=".sl"
9385 LDDLLFLAGS="-shared -fPIC"
9386 LDSHARED="\$(CC) -shared"
9387 fi
9388 fi
9389 fi
9390
9391 CROSSTEST=""
9392
9393 if test "$cross_compiling" = "no"
9394 then
2876bcd0 9395 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i486-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
a3097628
AJ
9396do
9397 # Extract the first word of "$ac_prog", so it can be a program name with args.
9398set dummy $ac_prog; ac_word=$2
9399{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9400echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9401if test "${ac_cv_prog_CROSSCC+set}" = set; then
9402 echo $ECHO_N "(cached) $ECHO_C" >&6
575d8944 9403else
a3097628
AJ
9404 if test -n "$CROSSCC"; then
9405 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9406else
9407as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9408for as_dir in $PATH
9409do
9410 IFS=$as_save_IFS
9411 test -z "$as_dir" && as_dir=.
9412 for ac_exec_ext in '' $ac_executable_extensions; do
9413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9414 ac_cv_prog_CROSSCC="$ac_prog"
9415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9416 break 2
9417 fi
9418done
9419done
9420IFS=$as_save_IFS
9421
9422fi
9423fi
9424CROSSCC=$ac_cv_prog_CROSSCC
9425if test -n "$CROSSCC"; then
9426 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9427echo "${ECHO_T}$CROSSCC" >&6; }
9428else
9429 { echo "$as_me:$LINENO: result: no" >&5
9430echo "${ECHO_T}no" >&6; }
575d8944
GP
9431fi
9432
9433
a3097628
AJ
9434 test -n "$CROSSCC" && break
9435done
9436test -n "$CROSSCC" || CROSSCC="false"
9437
2876bcd0 9438 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i486-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
a3097628
AJ
9439do
9440 # Extract the first word of "$ac_prog", so it can be a program name with args.
9441set dummy $ac_prog; ac_word=$2
9442{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9443echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9444if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9445 echo $ECHO_N "(cached) $ECHO_C" >&6
9446else
9447 if test -n "$DLLTOOL"; then
9448 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9449else
9450as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9451for as_dir in $PATH
9452do
9453 IFS=$as_save_IFS
9454 test -z "$as_dir" && as_dir=.
9455 for ac_exec_ext in '' $ac_executable_extensions; do
9456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9457 ac_cv_prog_DLLTOOL="$ac_prog"
9458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9459 break 2
9460 fi
9461done
9462done
9463IFS=$as_save_IFS
9464
9465fi
9466fi
9467DLLTOOL=$ac_cv_prog_DLLTOOL
9468if test -n "$DLLTOOL"; then
9469 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9470echo "${ECHO_T}$DLLTOOL" >&6; }
9471else
9472 { echo "$as_me:$LINENO: result: no" >&5
9473echo "${ECHO_T}no" >&6; }
70adb8f5
MM
9474fi
9475
a3097628
AJ
9476
9477 test -n "$DLLTOOL" && break
9478done
9479test -n "$DLLTOOL" || DLLTOOL="false"
9480
2876bcd0 9481 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i486-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
a3097628
AJ
9482do
9483 # Extract the first word of "$ac_prog", so it can be a program name with args.
9484set dummy $ac_prog; ac_word=$2
9485{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9486echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9487if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9488 echo $ECHO_N "(cached) $ECHO_C" >&6
9489else
9490 if test -n "$CROSSWINDRES"; then
9491 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9492else
9493as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9494for as_dir in $PATH
9495do
9496 IFS=$as_save_IFS
9497 test -z "$as_dir" && as_dir=.
9498 for ac_exec_ext in '' $ac_executable_extensions; do
9499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9500 ac_cv_prog_CROSSWINDRES="$ac_prog"
9501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9502 break 2
9503 fi
9504done
9505done
9506IFS=$as_save_IFS
9507
9508fi
9509fi
9510CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9511if test -n "$CROSSWINDRES"; then
9512 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9513echo "${ECHO_T}$CROSSWINDRES" >&6; }
9514else
9515 { echo "$as_me:$LINENO: result: no" >&5
9516echo "${ECHO_T}no" >&6; }
f3719a88
MM
9517fi
9518
a3097628
AJ
9519
9520 test -n "$CROSSWINDRES" && break
f3719a88 9521done
a3097628 9522test -n "$CROSSWINDRES" || CROSSWINDRES="false"
f3719a88 9523
2876bcd0 9524 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i486-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
a3097628
AJ
9525do
9526 # Extract the first word of "$ac_prog", so it can be a program name with args.
9527set dummy $ac_prog; ac_word=$2
9528{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9529echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9530if test "${ac_cv_prog_MINGWAR+set}" = set; then
9531 echo $ECHO_N "(cached) $ECHO_C" >&6
9532else
9533 if test -n "$MINGWAR"; then
9534 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9535else
9536as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9537for as_dir in $PATH
9538do
9539 IFS=$as_save_IFS
9540 test -z "$as_dir" && as_dir=.
9541 for ac_exec_ext in '' $ac_executable_extensions; do
9542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9543 ac_cv_prog_MINGWAR="$ac_prog"
9544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9545 break 2
9546 fi
9547done
9548done
9549IFS=$as_save_IFS
2d6d4e96 9550
a3097628
AJ
9551fi
9552fi
9553MINGWAR=$ac_cv_prog_MINGWAR
9554if test -n "$MINGWAR"; then
9555 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9556echo "${ECHO_T}$MINGWAR" >&6; }
2d6d4e96 9557else
a3097628
AJ
9558 { echo "$as_me:$LINENO: result: no" >&5
9559echo "${ECHO_T}no" >&6; }
2d6d4e96 9560fi
f3719a88
MM
9561
9562
a3097628
AJ
9563 test -n "$MINGWAR" && break
9564done
9565test -n "$MINGWAR" || MINGWAR="false"
2d6d4e96 9566
a3097628
AJ
9567 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9568 fi
9569 ;;
9570esac
2d6d4e96 9571
dbb535e4
AJ
9572enable_winequartz_drv=${enable_winequartz_drv:-no}
9573
a3097628
AJ
9574if test "$LIBEXT" = "a"; then
9575 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9576It is currently not possible to build Wine without shared library
9577(.so) support to allow transparent switch between .so and .dll files.
9578If you are using Linux, you will need a newer binutils.
9579" >&5
9580echo "$as_me: error: could not find a way to build shared libraries.
9581It is currently not possible to build Wine without shared library
9582(.so) support to allow transparent switch between .so and .dll files.
9583If you are using Linux, you will need a newer binutils.
9584" >&2;}
9585 { (exit 1); exit 1; }; }
9586fi
2d6d4e96 9587
2d6d4e96 9588
a3097628 9589if test "$have_x" = "yes"
2d6d4e96 9590then
a3097628
AJ
9591 XLIB="-lXext -lX11"
9592 ac_save_CPPFLAGS="$CPPFLAGS"
9593 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
2d6d4e96 9594
a851854a
AJ
9595 { echo "$as_me:$LINENO: checking for -lX11" >&5
9596echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9597if test "${ac_cv_lib_soname_X11+set}" = set; then
9598 echo $ECHO_N "(cached) $ECHO_C" >&6
9599else
9600 ac_check_soname_save_LIBS=$LIBS
9601LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9602 cat >conftest.$ac_ext <<_ACEOF
9603/* confdefs.h. */
9604_ACEOF
9605cat confdefs.h >>conftest.$ac_ext
9606cat >>conftest.$ac_ext <<_ACEOF
9607/* end confdefs.h. */
9608
9609/* Override any GCC internal prototype to avoid an error.
9610 Use char because int might match the return type of a GCC
9611 builtin and then its argument prototype would still apply. */
9612#ifdef __cplusplus
9613extern "C"
9614#endif
9615char XCreateWindow ();
9616int
9617main ()
9618{
9619return XCreateWindow ();
9620 ;
9621 return 0;
9622}
9623_ACEOF
9624rm -f conftest.$ac_objext conftest$ac_exeext
9625if { (ac_try="$ac_link"
9626case "(($ac_try" in
9627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9628 *) ac_try_echo=$ac_try;;
9629esac
9630eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9631 (eval "$ac_link") 2>conftest.er1
9632 ac_status=$?
9633 grep -v '^ *+' conftest.er1 >conftest.err
9634 rm -f conftest.er1
9635 cat conftest.err >&5
9636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9637 (exit $ac_status); } && {
9638 test -z "$ac_c_werror_flag" ||
9639 test ! -s conftest.err
9640 } && test -s conftest$ac_exeext &&
9641 $as_test_x conftest$ac_exeext; then
9642 case "$LIBEXT" in
9643 dll) ;;
9644 dylib) ac_cv_lib_soname_X11=`otool -L conftest$ac_exeext | grep "libX11\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libX11\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9645 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9646 esac
9647else
9648 echo "$as_me: failed program was:" >&5
9649sed 's/^/| /' conftest.$ac_ext >&5
9650
9651
9652fi
9653
9654rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9655 conftest$ac_exeext conftest.$ac_ext
9656 LIBS=$ac_check_soname_save_LIBS
9657fi
9658if test "x$ac_cv_lib_soname_X11" = "x"; then
9659 { echo "$as_me:$LINENO: result: not found" >&5
9660echo "${ECHO_T}not found" >&6; }
9661
9662else
9663 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9664echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9665
9666cat >>confdefs.h <<_ACEOF
9667#define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9668_ACEOF
9669
9670
9671fi
9672
9673 { echo "$as_me:$LINENO: checking for -lXext" >&5
9674echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9675if test "${ac_cv_lib_soname_Xext+set}" = set; then
9676 echo $ECHO_N "(cached) $ECHO_C" >&6
9677else
9678 ac_check_soname_save_LIBS=$LIBS
9679LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9680 cat >conftest.$ac_ext <<_ACEOF
9681/* confdefs.h. */
9682_ACEOF
9683cat confdefs.h >>conftest.$ac_ext
9684cat >>conftest.$ac_ext <<_ACEOF
9685/* end confdefs.h. */
9686
9687/* Override any GCC internal prototype to avoid an error.
9688 Use char because int might match the return type of a GCC
9689 builtin and then its argument prototype would still apply. */
9690#ifdef __cplusplus
9691extern "C"
9692#endif
9693char XextCreateExtension ();
9694int
9695main ()
9696{
9697return XextCreateExtension ();
9698 ;
9699 return 0;
9700}
9701_ACEOF
9702rm -f conftest.$ac_objext conftest$ac_exeext
9703if { (ac_try="$ac_link"
9704case "(($ac_try" in
9705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9706 *) ac_try_echo=$ac_try;;
9707esac
9708eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9709 (eval "$ac_link") 2>conftest.er1
9710 ac_status=$?
9711 grep -v '^ *+' conftest.er1 >conftest.err
9712 rm -f conftest.er1
9713 cat conftest.err >&5
9714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9715 (exit $ac_status); } && {
9716 test -z "$ac_c_werror_flag" ||
9717 test ! -s conftest.err
9718 } && test -s conftest$ac_exeext &&
9719 $as_test_x conftest$ac_exeext; then
9720 case "$LIBEXT" in
9721 dll) ;;
9722 dylib) ac_cv_lib_soname_Xext=`otool -L conftest$ac_exeext | grep "libXext\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXext\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9723 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9724 esac
9725else
9726 echo "$as_me: failed program was:" >&5
9727sed 's/^/| /' conftest.$ac_ext >&5
9728
9729
9730fi
9731
9732rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9733 conftest$ac_exeext conftest.$ac_ext
9734 LIBS=$ac_check_soname_save_LIBS
9735fi
9736if test "x$ac_cv_lib_soname_Xext" = "x"; then
9737 { echo "$as_me:$LINENO: result: not found" >&5
9738echo "${ECHO_T}not found" >&6; }
9739
9740else
9741 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9742echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9743
9744cat >>confdefs.h <<_ACEOF
9745#define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9746_ACEOF
9747
9748
9749fi
9750
9751
a3097628
AJ
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
42584658 9763
a3097628
AJ
9764for ac_header in X11/Xlib.h \
9765 X11/XKBlib.h \
9766 X11/Xutil.h \
9767 X11/Xcursor/Xcursor.h \
9768 X11/extensions/shape.h \
9769 X11/extensions/XInput.h \
9770 X11/extensions/XShm.h \
42584658 9771 X11/extensions/Xcomposite.h \
a3097628
AJ
9772 X11/extensions/Xinerama.h \
9773 X11/extensions/Xrandr.h \
9774 X11/extensions/Xrender.h \
9775 X11/extensions/xf86vmode.h
f3719a88 9776do
a3097628
AJ
9777as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9778{ echo "$as_me:$LINENO: checking for $ac_header" >&5
fc6ffb29
AJ
9779echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9780if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
f3719a88 9781 echo $ECHO_N "(cached) $ECHO_C" >&6
f3719a88 9782else
a3097628 9783 cat >conftest.$ac_ext <<_ACEOF
f3719a88
MM
9784/* confdefs.h. */
9785_ACEOF
9786cat confdefs.h >>conftest.$ac_ext
9787cat >>conftest.$ac_ext <<_ACEOF
9788/* end confdefs.h. */
a3097628
AJ
9789#ifdef HAVE_X11_XLIB_H
9790# include <X11/Xlib.h>
9791#endif
9792#ifdef HAVE_X11_XUTIL_H
9793# include <X11/Xutil.h>
9794#endif
9795
f3719a88
MM
9796#include <$ac_header>
9797_ACEOF
9798rm -f conftest.$ac_objext
0ebeb530
JW
9799if { (ac_try="$ac_compile"
9800case "(($ac_try" in
9801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9802 *) ac_try_echo=$ac_try;;
9803esac
9804eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9805 (eval "$ac_compile") 2>conftest.er1
f3719a88
MM
9806 ac_status=$?
9807 grep -v '^ *+' conftest.er1 >conftest.err
9808 rm -f conftest.er1
9809 cat conftest.err >&5
9810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
9811 (exit $ac_status); } && {
9812 test -z "$ac_c_werror_flag" ||
9813 test ! -s conftest.err
9814 } && test -s conftest.$ac_objext; then
a3097628 9815 eval "$as_ac_Header=yes"
f3719a88
MM
9816else
9817 echo "$as_me: failed program was:" >&5
9818sed 's/^/| /' conftest.$ac_ext >&5
9819
a3097628 9820 eval "$as_ac_Header=no"
f3719a88 9821fi
fc6ffb29 9822
0ebeb530 9823rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
f3719a88 9824fi
fc6ffb29
AJ
9825ac_res=`eval echo '${'$as_ac_Header'}'`
9826 { echo "$as_me:$LINENO: result: $ac_res" >&5
9827echo "${ECHO_T}$ac_res" >&6; }
f3719a88
MM
9828if test `eval echo '${'$as_ac_Header'}'` = yes; then
9829 cat >>confdefs.h <<_ACEOF
9830#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9831_ACEOF
a3097628
AJ
9832
9833fi
9834
9835done
9836
9837
9838 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9839 then
9840 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9841echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9842if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
f3719a88
MM
9843 echo $ECHO_N "(cached) $ECHO_C" >&6
9844else
9845 ac_check_lib_save_LIBS=$LIBS
a3097628 9846LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
f3719a88
MM
9847cat >conftest.$ac_ext <<_ACEOF
9848/* confdefs.h. */
9849_ACEOF
9850cat confdefs.h >>conftest.$ac_ext
9851cat >>conftest.$ac_ext <<_ACEOF
9852/* end confdefs.h. */
9853
fc6ffb29
AJ
9854/* Override any GCC internal prototype to avoid an error.
9855 Use char because int might match the return type of a GCC
9856 builtin and then its argument prototype would still apply. */
f3719a88
MM
9857#ifdef __cplusplus
9858extern "C"
9859#endif
a3097628 9860char XkbQueryExtension ();
f3719a88
MM
9861int
9862main ()
9863{
a3097628 9864return XkbQueryExtension ();
f3719a88
MM
9865 ;
9866 return 0;
9867}
9868_ACEOF
9869rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
9870if { (ac_try="$ac_link"
9871case "(($ac_try" in
9872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9873 *) ac_try_echo=$ac_try;;
9874esac
9875eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9876 (eval "$ac_link") 2>conftest.er1
f3719a88
MM
9877 ac_status=$?
9878 grep -v '^ *+' conftest.er1 >conftest.err
9879 rm -f conftest.er1
9880 cat conftest.err >&5
9881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
9882 (exit $ac_status); } && {
9883 test -z "$ac_c_werror_flag" ||
9884 test ! -s conftest.err
9885 } && test -s conftest$ac_exeext &&
9886 $as_test_x conftest$ac_exeext; then
a3097628 9887 ac_cv_lib_X11_XkbQueryExtension=yes
f3719a88
MM
9888else
9889 echo "$as_me: failed program was:" >&5
9890sed 's/^/| /' conftest.$ac_ext >&5
9891
a3097628 9892 ac_cv_lib_X11_XkbQueryExtension=no
f3719a88 9893fi
fc6ffb29 9894
f0ca586f 9895rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
f3719a88
MM
9896 conftest$ac_exeext conftest.$ac_ext
9897LIBS=$ac_check_lib_save_LIBS
9898fi
a3097628
AJ
9899{ echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9900echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9901if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
f3719a88
MM
9902
9903cat >>confdefs.h <<\_ACEOF
a3097628 9904#define HAVE_XKB 1
f3719a88
MM
9905_ACEOF
9906
19a988a2
AJ
9907fi
9908
9909 fi
9910
9911 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9912 then
9913 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9914echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9915if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9916 echo $ECHO_N "(cached) $ECHO_C" >&6
9917else
9918 ac_check_soname_save_LIBS=$LIBS
9919LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9920 cat >conftest.$ac_ext <<_ACEOF
9921/* confdefs.h. */
9922_ACEOF
9923cat confdefs.h >>conftest.$ac_ext
9924cat >>conftest.$ac_ext <<_ACEOF
9925/* end confdefs.h. */
9926
9927/* Override any GCC internal prototype to avoid an error.
9928 Use char because int might match the return type of a GCC
9929 builtin and then its argument prototype would still apply. */
9930#ifdef __cplusplus
9931extern "C"
9932#endif
9933char XcursorImageLoadCursor ();
9934int
9935main ()
9936{
9937return XcursorImageLoadCursor ();
9938 ;
9939 return 0;
9940}
9941_ACEOF
9942rm -f conftest.$ac_objext conftest$ac_exeext
9943if { (ac_try="$ac_link"
9944case "(($ac_try" in
9945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9946 *) ac_try_echo=$ac_try;;
9947esac
9948eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9949 (eval "$ac_link") 2>conftest.er1
9950 ac_status=$?
9951 grep -v '^ *+' conftest.er1 >conftest.err
9952 rm -f conftest.er1
9953 cat conftest.err >&5
9954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9955 (exit $ac_status); } && {
9956 test -z "$ac_c_werror_flag" ||
9957 test ! -s conftest.err
9958 } && test -s conftest$ac_exeext &&
9959 $as_test_x conftest$ac_exeext; then
9960 case "$LIBEXT" in
9961 dll) ;;
9962 dylib) ac_cv_lib_soname_Xcursor=`otool -L conftest$ac_exeext | grep "libXcursor\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXcursor\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9963 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9964 esac
9965else
9966 echo "$as_me: failed program was:" >&5
9967sed 's/^/| /' conftest.$ac_ext >&5
9968
9969
9970fi
9971
9972rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9973 conftest$ac_exeext conftest.$ac_ext
9974 LIBS=$ac_check_soname_save_LIBS
9975fi
9976if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9977 { echo "$as_me:$LINENO: result: not found" >&5
9978echo "${ECHO_T}not found" >&6; }
9979
9980else
9981 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9982echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9983
9984cat >>confdefs.h <<_ACEOF
9985#define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9986_ACEOF
9987
9988
d68d4335
AJ
9989fi
9990
9991 fi
a41f0f1b
AJ
9992 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9993 case "x$with_xcursor" in
9994 x) wine_notices="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
9995 xno) ;;
9996 *) { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
9997This is an error since --with-xcursor was requested." >&5
9998echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
9999This is an error since --with-xcursor was requested." >&2;}
10000 { (exit 1); exit 1; }; } ;;
10001esac
10002fi
10003
d68d4335
AJ
10004
10005 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10006 then
10007 { echo "$as_me:$LINENO: checking for -lXi" >&5
10008echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
10009if test "${ac_cv_lib_soname_Xi+set}" = set; then
10010 echo $ECHO_N "(cached) $ECHO_C" >&6
10011else
10012 ac_check_soname_save_LIBS=$LIBS
10013LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10014 cat >conftest.$ac_ext <<_ACEOF
10015/* confdefs.h. */
10016_ACEOF
10017cat confdefs.h >>conftest.$ac_ext
10018cat >>conftest.$ac_ext <<_ACEOF
10019/* end confdefs.h. */
10020
10021/* Override any GCC internal prototype to avoid an error.
10022 Use char because int might match the return type of a GCC
10023 builtin and then its argument prototype would still apply. */
10024#ifdef __cplusplus
10025extern "C"
10026#endif
10027char XOpenDevice ();
10028int
10029main ()
10030{
10031return XOpenDevice ();
10032 ;
10033 return 0;
10034}
10035_ACEOF
10036rm -f conftest.$ac_objext conftest$ac_exeext
10037if { (ac_try="$ac_link"
10038case "(($ac_try" in
10039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10040 *) ac_try_echo=$ac_try;;
10041esac
10042eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10043 (eval "$ac_link") 2>conftest.er1
10044 ac_status=$?
10045 grep -v '^ *+' conftest.er1 >conftest.err
10046 rm -f conftest.er1
10047 cat conftest.err >&5
10048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10049 (exit $ac_status); } && {
10050 test -z "$ac_c_werror_flag" ||
10051 test ! -s conftest.err
10052 } && test -s conftest$ac_exeext &&
10053 $as_test_x conftest$ac_exeext; then
10054 case "$LIBEXT" in
10055 dll) ;;
10056 dylib) ac_cv_lib_soname_Xi=`otool -L conftest$ac_exeext | grep "libXi\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXi\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10057 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10058 esac
10059else
10060 echo "$as_me: failed program was:" >&5
10061sed 's/^/| /' conftest.$ac_ext >&5
10062
10063
10064fi
10065
10066rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10067 conftest$ac_exeext conftest.$ac_ext
10068 LIBS=$ac_check_soname_save_LIBS
10069fi
10070if test "x$ac_cv_lib_soname_Xi" = "x"; then
10071 { echo "$as_me:$LINENO: result: not found" >&5
10072echo "${ECHO_T}not found" >&6; }
10073
10074else
10075 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
10076echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
10077
10078cat >>confdefs.h <<_ACEOF
10079#define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10080_ACEOF
10081
10082
90c75bdd 10083fi
dcc2d6c2 10084
a3097628 10085 fi
a41f0f1b
AJ
10086 if test "x$ac_cv_lib_soname_Xi" = "x"; then
10087 case "x$with_xinput" in
10088 x) wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
10089 xno) ;;
10090 *) { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
10091This is an error since --with-xinput was requested." >&5
10092echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
10093This is an error since --with-xinput was requested." >&2;}
10094 { (exit 1); exit 1; }; } ;;
10095esac
10096fi
10097
a3097628
AJ
10098
10099 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10100 then
10101 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
10102echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
10103if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
daa2886c 10104 echo $ECHO_N "(cached) $ECHO_C" >&6
daa2886c 10105else
73482144 10106 ac_check_lib_save_LIBS=$LIBS
a3097628 10107LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
daa2886c 10108cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
10109/* confdefs.h. */
10110_ACEOF
10111cat confdefs.h >>conftest.$ac_ext
10112cat >>conftest.$ac_ext <<_ACEOF
10113/* end confdefs.h. */
73482144 10114
fc6ffb29
AJ
10115/* Override any GCC internal prototype to avoid an error.
10116 Use char because int might match the return type of a GCC
10117 builtin and then its argument prototype would still apply. */
73482144
AJ
10118#ifdef __cplusplus
10119extern "C"
10120#endif
a3097628 10121char XShmQueryExtension ();
73482144
AJ
10122int
10123main ()
10124{
a3097628 10125return XShmQueryExtension ();
73482144
AJ
10126 ;
10127 return 0;
10128}
daa2886c 10129_ACEOF
73482144 10130rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
10131if { (ac_try="$ac_link"
10132case "(($ac_try" in
10133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10134 *) ac_try_echo=$ac_try;;
10135esac
10136eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10137 (eval "$ac_link") 2>conftest.er1
daa2886c 10138 ac_status=$?
875927f6
AJ
10139 grep -v '^ *+' conftest.er1 >conftest.err
10140 rm -f conftest.er1
10141 cat conftest.err >&5
daa2886c 10142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
10143 (exit $ac_status); } && {
10144 test -z "$ac_c_werror_flag" ||
10145 test ! -s conftest.err
10146 } && test -s conftest$ac_exeext &&
10147 $as_test_x conftest$ac_exeext; then
a3097628 10148 ac_cv_lib_Xext_XShmQueryExtension=yes
daa2886c
AJ
10149else
10150 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
10151sed 's/^/| /' conftest.$ac_ext >&5
10152
a3097628 10153 ac_cv_lib_Xext_XShmQueryExtension=no
24110288 10154fi
fc6ffb29 10155
f0ca586f 10156rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
73482144
AJ
10157 conftest$ac_exeext conftest.$ac_ext
10158LIBS=$ac_check_lib_save_LIBS
10159fi
a3097628
AJ
10160{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10161echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10162if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
24110288 10163
73482144 10164cat >>confdefs.h <<\_ACEOF
a3097628 10165#define HAVE_LIBXXSHM 1
73482144
AJ
10166_ACEOF
10167
6a530aba
LZ
10168fi
10169
a3097628 10170 fi
f9dec94f 10171 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
a41f0f1b
AJ
10172 case "x$with_xshm" in
10173 x) wine_notices="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
10174 xno) ;;
10175 *) { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
10176This is an error since --with-xshm was requested." >&5
10177echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
10178This is an error since --with-xshm was requested." >&2;}
10179 { (exit 1); exit 1; }; } ;;
10180esac
f9dec94f
AJ
10181fi
10182
a3097628
AJ
10183
10184 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10185 then
10186 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
10187echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
10188if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
6a530aba
LZ
10189 echo $ECHO_N "(cached) $ECHO_C" >&6
10190else
10191 ac_check_lib_save_LIBS=$LIBS
a3097628 10192LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6a530aba
LZ
10193cat >conftest.$ac_ext <<_ACEOF
10194/* confdefs.h. */
10195_ACEOF
10196cat confdefs.h >>conftest.$ac_ext
10197cat >>conftest.$ac_ext <<_ACEOF
10198/* end confdefs.h. */
10199
10200/* Override any GCC internal prototype to avoid an error.
10201 Use char because int might match the return type of a GCC
10202 builtin and then its argument prototype would still apply. */
10203#ifdef __cplusplus
10204extern "C"
10205#endif
a3097628 10206char XShapeQueryExtension ();
6a530aba
LZ
10207int
10208main ()
10209{
a3097628 10210return XShapeQueryExtension ();
6a530aba
LZ
10211 ;
10212 return 0;
10213}
10214_ACEOF
10215rm -f conftest.$ac_objext conftest$ac_exeext
10216if { (ac_try="$ac_link"
10217case "(($ac_try" in
10218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10219 *) ac_try_echo=$ac_try;;
10220esac
10221eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10222 (eval "$ac_link") 2>conftest.er1
10223 ac_status=$?
10224 grep -v '^ *+' conftest.er1 >conftest.err
10225 rm -f conftest.er1
10226 cat conftest.err >&5
10227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
10228 (exit $ac_status); } && {
10229 test -z "$ac_c_werror_flag" ||
10230 test ! -s conftest.err
10231 } && test -s conftest$ac_exeext &&
10232 $as_test_x conftest$ac_exeext; then
a3097628 10233 ac_cv_lib_Xext_XShapeQueryExtension=yes
6a530aba
LZ
10234else
10235 echo "$as_me: failed program was:" >&5
10236sed 's/^/| /' conftest.$ac_ext >&5
10237
a3097628 10238 ac_cv_lib_Xext_XShapeQueryExtension=no
6a530aba
LZ
10239fi
10240
10241rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10242 conftest$ac_exeext conftest.$ac_ext
10243LIBS=$ac_check_lib_save_LIBS
10244fi
a3097628
AJ
10245{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10246echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10247if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
fc6ffb29 10248
a3097628
AJ
10249cat >>confdefs.h <<\_ACEOF
10250#define HAVE_LIBXSHAPE 1
2d6d4e96 10251_ACEOF
a3097628
AJ
10252
10253fi
10254
10255 fi
f9dec94f 10256 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
a41f0f1b
AJ
10257 case "x$with_xshape" in
10258 x) wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
10259 xno) ;;
10260 *) { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
10261This is an error since --with-xshape was requested." >&5
10262echo "$as_me: error: XShape development files not found, XShape won't be supported.
10263This is an error since --with-xshape was requested." >&2;}
10264 { (exit 1); exit 1; }; } ;;
10265esac
f9dec94f
AJ
10266fi
10267
a3097628
AJ
10268
10269 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
10270 then
a49beb4c
FG
10271 { echo "$as_me:$LINENO: checking for -lXxf86vm" >&5
10272echo $ECHO_N "checking for -lXxf86vm... $ECHO_C" >&6; }
10273if test "${ac_cv_lib_soname_Xxf86vm+set}" = set; then
2d6d4e96
HL
10274 echo $ECHO_N "(cached) $ECHO_C" >&6
10275else
a49beb4c 10276 ac_check_soname_save_LIBS=$LIBS
a3097628 10277LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
a49beb4c 10278 cat >conftest.$ac_ext <<_ACEOF
2d6d4e96
HL
10279/* confdefs.h. */
10280_ACEOF
10281cat confdefs.h >>conftest.$ac_ext
10282cat >>conftest.$ac_ext <<_ACEOF
10283/* end confdefs.h. */
10284
fc6ffb29
AJ
10285/* Override any GCC internal prototype to avoid an error.
10286 Use char because int might match the return type of a GCC
10287 builtin and then its argument prototype would still apply. */
2d6d4e96
HL
10288#ifdef __cplusplus
10289extern "C"
10290#endif
a3097628 10291char XF86VidModeQueryExtension ();
2d6d4e96
HL
10292int
10293main ()
10294{
a3097628 10295return XF86VidModeQueryExtension ();
2d6d4e96
HL
10296 ;
10297 return 0;
10298}
10299_ACEOF
10300rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
10301if { (ac_try="$ac_link"
10302case "(($ac_try" in
10303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10304 *) ac_try_echo=$ac_try;;
10305esac
10306eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10307 (eval "$ac_link") 2>conftest.er1
2d6d4e96
HL
10308 ac_status=$?
10309 grep -v '^ *+' conftest.er1 >conftest.err
10310 rm -f conftest.er1
10311 cat conftest.err >&5
10312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
10313 (exit $ac_status); } && {
10314 test -z "$ac_c_werror_flag" ||
10315 test ! -s conftest.err
10316 } && test -s conftest$ac_exeext &&
10317 $as_test_x conftest$ac_exeext; then
a49beb4c
FG
10318 case "$LIBEXT" in
10319 dll) ;;
10320 dylib) ac_cv_lib_soname_Xxf86vm=`otool -L conftest$ac_exeext | grep "libXxf86vm\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXxf86vm\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10321 *) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10322 esac
2d6d4e96
HL
10323else
10324 echo "$as_me: failed program was:" >&5
10325sed 's/^/| /' conftest.$ac_ext >&5
10326
a49beb4c 10327
2d6d4e96 10328fi
fc6ffb29 10329
f0ca586f 10330rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2d6d4e96 10331 conftest$ac_exeext conftest.$ac_ext
a49beb4c 10332 LIBS=$ac_check_soname_save_LIBS
2d6d4e96 10333fi
a49beb4c
FG
10334if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then
10335 { echo "$as_me:$LINENO: result: not found" >&5
10336echo "${ECHO_T}not found" >&6; }
2d6d4e96 10337
a49beb4c
FG
10338else
10339 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xxf86vm" >&5
10340echo "${ECHO_T}$ac_cv_lib_soname_Xxf86vm" >&6; }
10341
10342cat >>confdefs.h <<_ACEOF
10343#define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
2d6d4e96
HL
10344_ACEOF
10345
2d6d4e96 10346
00068989
AJ
10347fi
10348
a3097628 10349 fi
a49beb4c
FG
10350 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then
10351 case "x$with_xxf86vm" in
29ef0b90 10352 x) wine_notices="$wine_notices|libXxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
a41f0f1b 10353 xno) ;;
29ef0b90 10354 *) { { echo "$as_me:$LINENO: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
a49beb4c 10355This is an error since --with-xxf86vm was requested." >&5
29ef0b90 10356echo "$as_me: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
a49beb4c 10357This is an error since --with-xxf86vm was requested." >&2;}
a41f0f1b
AJ
10358 { (exit 1); exit 1; }; } ;;
10359esac
f9dec94f
AJ
10360fi
10361
00068989 10362
a851854a 10363 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x" -a "x$ac_cv_lib_soname_Xext" != "x"
a3097628 10364 then
629639ee
AJ
10365 { echo "$as_me:$LINENO: checking for -lXrender" >&5
10366echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10367if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10368 echo $ECHO_N "(cached) $ECHO_C" >&6
10369else
10370 ac_check_soname_save_LIBS=$LIBS
10371LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10372 cat >conftest.$ac_ext <<_ACEOF
00068989
AJ
10373/* confdefs.h. */
10374_ACEOF
10375cat confdefs.h >>conftest.$ac_ext
10376cat >>conftest.$ac_ext <<_ACEOF
10377/* end confdefs.h. */
629639ee
AJ
10378
10379/* Override any GCC internal prototype to avoid an error.
10380 Use char because int might match the return type of a GCC
10381 builtin and then its argument prototype would still apply. */
10382#ifdef __cplusplus
10383extern "C"
10384#endif
10385char XRenderQueryExtension ();
a3097628
AJ
10386int
10387main ()
10388{
629639ee 10389return XRenderQueryExtension ();
a3097628
AJ
10390 ;
10391 return 0;
10392}
00068989 10393_ACEOF
629639ee
AJ
10394rm -f conftest.$ac_objext conftest$ac_exeext
10395if { (ac_try="$ac_link"
0ebeb530
JW
10396case "(($ac_try" in
10397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10398 *) ac_try_echo=$ac_try;;
10399esac
10400eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
629639ee 10401 (eval "$ac_link") 2>conftest.er1
00068989
AJ
10402 ac_status=$?
10403 grep -v '^ *+' conftest.er1 >conftest.err
10404 rm -f conftest.er1
10405 cat conftest.err >&5
10406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
10407 (exit $ac_status); } && {
10408 test -z "$ac_c_werror_flag" ||
10409 test ! -s conftest.err
629639ee
AJ
10410 } && test -s conftest$ac_exeext &&
10411 $as_test_x conftest$ac_exeext; then
10412 case "$LIBEXT" in
10413 dll) ;;
10414 dylib) ac_cv_lib_soname_Xrender=`otool -L conftest$ac_exeext | grep "libXrender\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXrender\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10415 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10416 esac
10417else
10418 echo "$as_me: failed program was:" >&5
10419sed 's/^/| /' conftest.$ac_ext >&5
10420
10421
10422fi
10423
10424rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10425 conftest$ac_exeext conftest.$ac_ext
10426 LIBS=$ac_check_soname_save_LIBS
10427fi
10428if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10429 { echo "$as_me:$LINENO: result: not found" >&5
10430echo "${ECHO_T}not found" >&6; }
10431
10432else
10433 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10434echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10435
10436cat >>confdefs.h <<_ACEOF
10437#define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10438_ACEOF
10439
10440 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10441echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10442if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
af928ecb
AJ
10443 echo $ECHO_N "(cached) $ECHO_C" >&6
10444else
629639ee
AJ
10445 ac_check_lib_save_LIBS=$LIBS
10446LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10447cat >conftest.$ac_ext <<_ACEOF
af928ecb
AJ
10448/* confdefs.h. */
10449_ACEOF
10450cat confdefs.h >>conftest.$ac_ext
10451cat >>conftest.$ac_ext <<_ACEOF
10452/* end confdefs.h. */
a3097628 10453
af928ecb
AJ
10454/* Override any GCC internal prototype to avoid an error.
10455 Use char because int might match the return type of a GCC
10456 builtin and then its argument prototype would still apply. */
10457#ifdef __cplusplus
10458extern "C"
10459#endif
629639ee 10460char XRenderSetPictureTransform ();
af928ecb
AJ
10461int
10462main ()
10463{
629639ee 10464return XRenderSetPictureTransform ();
af928ecb
AJ
10465 ;
10466 return 0;
10467}
10468_ACEOF
10469rm -f conftest.$ac_objext conftest$ac_exeext
10470if { (ac_try="$ac_link"
10471case "(($ac_try" in
10472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10473 *) ac_try_echo=$ac_try;;
10474esac
10475eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10476 (eval "$ac_link") 2>conftest.er1
10477 ac_status=$?
10478 grep -v '^ *+' conftest.er1 >conftest.err
10479 rm -f conftest.er1
10480 cat conftest.err >&5
10481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10482 (exit $ac_status); } && {
10483 test -z "$ac_c_werror_flag" ||
10484 test ! -s conftest.err
10485 } && test -s conftest$ac_exeext &&
10486 $as_test_x conftest$ac_exeext; then
629639ee 10487 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
af928ecb
AJ
10488else
10489 echo "$as_me: failed program was:" >&5
10490sed 's/^/| /' conftest.$ac_ext >&5
10491
629639ee 10492 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
af928ecb
AJ
10493fi
10494
10495rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10496 conftest$ac_exeext conftest.$ac_ext
629639ee 10497LIBS=$ac_check_lib_save_LIBS
af928ecb 10498fi
629639ee
AJ
10499{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10500echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10501if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
af928ecb 10502
629639ee
AJ
10503cat >>confdefs.h <<\_ACEOF
10504#define HAVE_XRENDERSETPICTURETRANSFORM 1
a3097628
AJ
10505_ACEOF
10506
af928ecb
AJ
10507fi
10508
00068989 10509fi
fc6ffb29 10510
629639ee 10511
a3097628 10512 fi
f9dec94f 10513 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
a41f0f1b 10514 case "x$with_xrender" in
63ea6703 10515 x) wine_warnings="$wine_warnings|libxrender development files not found, XRender won't be supported." ;;
a41f0f1b
AJ
10516 xno) ;;
10517 *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10518This is an error since --with-xrender was requested." >&5
10519echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10520This is an error since --with-xrender was requested." >&2;}
10521 { (exit 1); exit 1; }; } ;;
10522esac
f9dec94f
AJ
10523fi
10524
00068989 10525
629639ee 10526 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
a3097628 10527 then
629639ee
AJ
10528 cat >conftest.$ac_ext <<_ACEOF
10529/* confdefs.h. */
10530_ACEOF
10531cat confdefs.h >>conftest.$ac_ext
10532cat >>conftest.$ac_ext <<_ACEOF
10533/* end confdefs.h. */
10534#include <X11/Xlib.h>
10535#include <X11/extensions/Xrandr.h>
10536int
10537main ()
10538{
10539static typeof(XRRSetScreenConfigAndRate) * func;
10540 ;
10541 return 0;
10542}
10543_ACEOF
10544rm -f conftest.$ac_objext
10545if { (ac_try="$ac_compile"
10546case "(($ac_try" in
10547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10548 *) ac_try_echo=$ac_try;;
10549esac
10550eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10551 (eval "$ac_compile") 2>conftest.er1
10552 ac_status=$?
10553 grep -v '^ *+' conftest.er1 >conftest.err
10554 rm -f conftest.er1
10555 cat conftest.err >&5
10556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10557 (exit $ac_status); } && {
10558 test -z "$ac_c_werror_flag" ||
10559 test ! -s conftest.err
10560 } && test -s conftest.$ac_objext; then
10561 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10562echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10563if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
a3097628
AJ
10564 echo $ECHO_N "(cached) $ECHO_C" >&6
10565else
629639ee
AJ
10566 ac_check_soname_save_LIBS=$LIBS
10567LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10568 cat >conftest.$ac_ext <<_ACEOF
00068989
AJ
10569/* confdefs.h. */
10570_ACEOF
10571cat confdefs.h >>conftest.$ac_ext
10572cat >>conftest.$ac_ext <<_ACEOF
10573/* end confdefs.h. */
a3097628
AJ
10574
10575/* Override any GCC internal prototype to avoid an error.
10576 Use char because int might match the return type of a GCC
10577 builtin and then its argument prototype would still apply. */
10578#ifdef __cplusplus
10579extern "C"
10580#endif
629639ee 10581char XRRQueryExtension ();
a3097628
AJ
10582int
10583main ()
10584{
629639ee 10585return XRRQueryExtension ();
a3097628
AJ
10586 ;
10587 return 0;
10588}
00068989 10589_ACEOF
a3097628
AJ
10590rm -f conftest.$ac_objext conftest$ac_exeext
10591if { (ac_try="$ac_link"
0ebeb530
JW
10592case "(($ac_try" in
10593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10594 *) ac_try_echo=$ac_try;;
10595esac
10596eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
a3097628 10597 (eval "$ac_link") 2>conftest.er1
00068989
AJ
10598 ac_status=$?
10599 grep -v '^ *+' conftest.er1 >conftest.err
10600 rm -f conftest.er1
10601 cat conftest.err >&5
10602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
a3097628
AJ
10603 (exit $ac_status); } && {
10604 test -z "$ac_c_werror_flag" ||
dc9f3843 10605 test ! -s conftest.err
a3097628
AJ
10606 } && test -s conftest$ac_exeext &&
10607 $as_test_x conftest$ac_exeext; then
629639ee
AJ
10608 case "$LIBEXT" in
10609 dll) ;;
10610 dylib) ac_cv_lib_soname_Xrandr=`otool -L conftest$ac_exeext | grep "libXrandr\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXrandr\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10611 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10612 esac
00068989
AJ
10613else
10614 echo "$as_me: failed program was:" >&5
10615sed 's/^/| /' conftest.$ac_ext >&5
10616
629639ee 10617
00068989 10618fi
fc6ffb29 10619
a3097628
AJ
10620rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10621 conftest$ac_exeext conftest.$ac_ext
629639ee 10622 LIBS=$ac_check_soname_save_LIBS
00068989 10623fi
629639ee
AJ
10624if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10625 { echo "$as_me:$LINENO: result: not found" >&5
10626echo "${ECHO_T}not found" >&6; }
00068989 10627
629639ee
AJ
10628else
10629 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10630echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10631
10632cat >>confdefs.h <<_ACEOF
10633#define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
00068989 10634_ACEOF
b18b9f37 10635
629639ee 10636
b18b9f37
AJ
10637fi
10638
629639ee
AJ
10639else
10640 echo "$as_me: failed program was:" >&5
10641sed 's/^/| /' conftest.$ac_ext >&5
10642
10643
10644fi
10645
10646rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
a3097628 10647 fi
f9dec94f 10648 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
a41f0f1b
AJ
10649 case "x$with_xrandr" in
10650 x) wine_notices="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10651 xno) ;;
10652 *) { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10653This is an error since --with-xrandr was requested." >&5
10654echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10655This is an error since --with-xrandr was requested." >&2;}
10656 { (exit 1); exit 1; }; } ;;
10657esac
f9dec94f
AJ
10658fi
10659
b18b9f37 10660
a3097628
AJ
10661 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10662 then
10663 cat >conftest.$ac_ext <<_ACEOF
00068989
AJ
10664/* confdefs.h. */
10665_ACEOF
10666cat confdefs.h >>conftest.$ac_ext
10667cat >>conftest.$ac_ext <<_ACEOF
10668/* end confdefs.h. */
a3097628
AJ
10669#include <X11/Xlib.h>
10670#include <X11/extensions/Xinerama.h>
00068989
AJ
10671int
10672main ()
10673{
a3097628 10674static typeof(XineramaQueryScreens) * func;
00068989
AJ
10675 ;
10676 return 0;
10677}
10678_ACEOF
a3097628
AJ
10679rm -f conftest.$ac_objext
10680if { (ac_try="$ac_compile"
0ebeb530
JW
10681case "(($ac_try" in
10682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10683 *) ac_try_echo=$ac_try;;
10684esac
10685eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
a3097628 10686 (eval "$ac_compile") 2>conftest.er1
00068989
AJ
10687 ac_status=$?
10688 grep -v '^ *+' conftest.er1 >conftest.err
10689 rm -f conftest.er1
10690 cat conftest.err >&5
10691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
10692 (exit $ac_status); } && {
10693 test -z "$ac_c_werror_flag" ||
10694 test ! -s conftest.err
a3097628 10695 } && test -s conftest.$ac_objext; then
35d2fd7a
AJ
10696 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10697echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10698if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10699 echo $ECHO_N "(cached) $ECHO_C" >&6
10700else
10701 ac_check_soname_save_LIBS=$LIBS
10702LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10703 cat >conftest.$ac_ext <<_ACEOF
10704/* confdefs.h. */
10705_ACEOF
10706cat confdefs.h >>conftest.$ac_ext
10707cat >>conftest.$ac_ext <<_ACEOF
10708/* end confdefs.h. */
a3097628 10709
35d2fd7a
AJ
10710/* Override any GCC internal prototype to avoid an error.
10711 Use char because int might match the return type of a GCC
10712 builtin and then its argument prototype would still apply. */
10713#ifdef __cplusplus
10714extern "C"
10715#endif
10716char XineramaQueryScreens ();
10717int
10718main ()
10719{
10720return XineramaQueryScreens ();
10721 ;
10722 return 0;
10723}
10724_ACEOF
10725rm -f conftest.$ac_objext conftest$ac_exeext
10726if { (ac_try="$ac_link"
10727case "(($ac_try" in
10728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10729 *) ac_try_echo=$ac_try;;
10730esac
10731eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10732 (eval "$ac_link") 2>conftest.er1
10733 ac_status=$?
10734 grep -v '^ *+' conftest.er1 >conftest.err
10735 rm -f conftest.er1
10736 cat conftest.err >&5
10737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10738 (exit $ac_status); } && {
10739 test -z "$ac_c_werror_flag" ||
10740 test ! -s conftest.err
10741 } && test -s conftest$ac_exeext &&
10742 $as_test_x conftest$ac_exeext; then
10743 case "$LIBEXT" in
10744 dll) ;;
10745 dylib) ac_cv_lib_soname_Xinerama=`otool -L conftest$ac_exeext | grep "libXinerama\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXinerama\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10746 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10747 esac
10748else
10749 echo "$as_me: failed program was:" >&5
10750sed 's/^/| /' conftest.$ac_ext >&5
10751
10752
10753fi
10754
10755rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10756 conftest$ac_exeext conftest.$ac_ext
10757 LIBS=$ac_check_soname_save_LIBS
10758fi
10759if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10760 { echo "$as_me:$LINENO: result: not found" >&5
10761echo "${ECHO_T}not found" >&6; }
10762
10763else
10764 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10765echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10766
10767cat >>confdefs.h <<_ACEOF
10768#define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
a3097628
AJ
10769_ACEOF
10770
35d2fd7a
AJ
10771
10772fi
10773
00068989
AJ
10774else
10775 echo "$as_me: failed program was:" >&5
10776sed 's/^/| /' conftest.$ac_ext >&5
10777
fc6ffb29 10778
a3097628
AJ
10779fi
10780
10781rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10782 fi
f9dec94f 10783 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
a41f0f1b
AJ
10784 case "x$with_xinerama" in
10785 x) wine_notices="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10786 xno) ;;
10787 *) { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10788This is an error since --with-xinerama was requested." >&5
10789echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10790This is an error since --with-xinerama was requested." >&2;}
10791 { (exit 1); exit 1; }; } ;;
10792esac
f9dec94f
AJ
10793fi
10794
a3097628 10795
42584658
CR
10796 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10797 then
10798 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10799echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10800if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10801 echo $ECHO_N "(cached) $ECHO_C" >&6
10802else
10803 ac_check_soname_save_LIBS=$LIBS
10804LIBS="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10805 cat >conftest.$ac_ext <<_ACEOF
10806/* confdefs.h. */
10807_ACEOF
10808cat confdefs.h >>conftest.$ac_ext
10809cat >>conftest.$ac_ext <<_ACEOF
10810/* end confdefs.h. */
10811
10812/* Override any GCC internal prototype to avoid an error.
10813 Use char because int might match the return type of a GCC
10814 builtin and then its argument prototype would still apply. */
10815#ifdef __cplusplus
10816extern "C"
10817#endif
10818char XCompositeRedirectWindow ();
10819int
10820main ()
10821{
10822return XCompositeRedirectWindow ();
10823 ;
10824 return 0;
10825}
10826_ACEOF
10827rm -f conftest.$ac_objext conftest$ac_exeext
10828if { (ac_try="$ac_link"
10829case "(($ac_try" in
10830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10831 *) ac_try_echo=$ac_try;;
10832esac
10833eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10834 (eval "$ac_link") 2>conftest.er1
10835 ac_status=$?
10836 grep -v '^ *+' conftest.er1 >conftest.err
10837 rm -f conftest.er1
10838 cat conftest.err >&5
10839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10840 (exit $ac_status); } && {
10841 test -z "$ac_c_werror_flag" ||
10842 test ! -s conftest.err
10843 } && test -s conftest$ac_exeext &&
10844 $as_test_x conftest$ac_exeext; then
10845 case "$LIBEXT" in
10846 dll) ;;
10847 dylib) ac_cv_lib_soname_Xcomposite=`otool -L conftest$ac_exeext | grep "libXcomposite\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXcomposite\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10848 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10849 esac
10850else
10851 echo "$as_me: failed program was:" >&5
10852sed 's/^/| /' conftest.$ac_ext >&5
10853
10854
10855fi
10856
10857rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10858 conftest$ac_exeext conftest.$ac_ext
10859 LIBS=$ac_check_soname_save_LIBS
10860fi
10861if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10862 { echo "$as_me:$LINENO: result: not found" >&5
10863echo "${ECHO_T}not found" >&6; }
10864
10865else
10866 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10867echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10868
10869cat >>confdefs.h <<_ACEOF
10870#define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10871_ACEOF
10872
10873
10874fi
10875
10876 fi
10877 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
a41f0f1b
AJ
10878 case "x$with_xcomposite" in
10879 x) wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10880 xno) ;;
10881 *) { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10882This is an error since --with-xcomposite was requested." >&5
10883echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10884This is an error since --with-xcomposite was requested." >&2;}
10885 { (exit 1); exit 1; }; } ;;
10886esac
42584658
CR
10887fi
10888
10889
75e40229
KK
10890 { echo "$as_me:$LINENO: checking for XICCallback.callback" >&5
10891echo $ECHO_N "checking for XICCallback.callback... $ECHO_C" >&6; }
10892if test "${ac_cv_member_XICCallback_callback+set}" = set; then
10893 echo $ECHO_N "(cached) $ECHO_C" >&6
10894else
10895 cat >conftest.$ac_ext <<_ACEOF
10896/* confdefs.h. */
10897_ACEOF
10898cat confdefs.h >>conftest.$ac_ext
10899cat >>conftest.$ac_ext <<_ACEOF
10900/* end confdefs.h. */
10901#ifdef HAVE_X11_XLIB_H
10902#include <X11/Xlib.h>
10903#endif
10904
10905int
10906main ()
10907{
10908static XICCallback ac_aggr;
10909if (ac_aggr.callback)
10910return 0;
10911 ;
10912 return 0;
10913}
10914_ACEOF
10915rm -f conftest.$ac_objext
10916if { (ac_try="$ac_compile"
10917case "(($ac_try" in
10918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10919 *) ac_try_echo=$ac_try;;
10920esac
10921eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10922 (eval "$ac_compile") 2>conftest.er1
10923 ac_status=$?
10924 grep -v '^ *+' conftest.er1 >conftest.err
10925 rm -f conftest.er1
10926 cat conftest.err >&5
10927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10928 (exit $ac_status); } && {
10929 test -z "$ac_c_werror_flag" ||
10930 test ! -s conftest.err
10931 } && test -s conftest.$ac_objext; then
10932 ac_cv_member_XICCallback_callback=yes
10933else
10934 echo "$as_me: failed program was:" >&5
10935sed 's/^/| /' conftest.$ac_ext >&5
10936
10937 cat >conftest.$ac_ext <<_ACEOF
10938/* confdefs.h. */
10939_ACEOF
10940cat confdefs.h >>conftest.$ac_ext
10941cat >>conftest.$ac_ext <<_ACEOF
10942/* end confdefs.h. */
10943#ifdef HAVE_X11_XLIB_H
10944#include <X11/Xlib.h>
10945#endif
10946
10947int
10948main ()
10949{
10950static XICCallback ac_aggr;
10951if (sizeof ac_aggr.callback)
10952return 0;
10953 ;
10954 return 0;
10955}
10956_ACEOF
10957rm -f conftest.$ac_objext
10958if { (ac_try="$ac_compile"
10959case "(($ac_try" in
10960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10961 *) ac_try_echo=$ac_try;;
10962esac
10963eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10964 (eval "$ac_compile") 2>conftest.er1
10965 ac_status=$?
10966 grep -v '^ *+' conftest.er1 >conftest.err
10967 rm -f conftest.er1
10968 cat conftest.err >&5
10969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10970 (exit $ac_status); } && {
10971 test -z "$ac_c_werror_flag" ||
10972 test ! -s conftest.err
10973 } && test -s conftest.$ac_objext; then
10974 ac_cv_member_XICCallback_callback=yes
10975else
10976 echo "$as_me: failed program was:" >&5
10977sed 's/^/| /' conftest.$ac_ext >&5
10978
10979 ac_cv_member_XICCallback_callback=no
10980fi
10981
10982rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10983fi
10984
10985rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10986fi
10987{ echo "$as_me:$LINENO: result: $ac_cv_member_XICCallback_callback" >&5
10988echo "${ECHO_T}$ac_cv_member_XICCallback_callback" >&6; }
10989if test $ac_cv_member_XICCallback_callback = yes; then
10990
10991cat >>confdefs.h <<_ACEOF
10992#define HAVE_XICCALLBACK_CALLBACK 1
10993_ACEOF
10994
10995
10996fi
10997
10998
a3097628 10999
a41f0f1b
AJ
11000 opengl_msg=""
11001 if test "x$with_opengl" != "xno"
a3097628
AJ
11002 then
11003
11004
11005
11006
11007for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
11008do
11009as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11010{ echo "$as_me:$LINENO: checking for $ac_header" >&5
11011echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11012if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
b18b9f37
AJ
11013 echo $ECHO_N "(cached) $ECHO_C" >&6
11014else
a3097628 11015 cat >conftest.$ac_ext <<_ACEOF
b18b9f37
AJ
11016/* confdefs.h. */
11017_ACEOF
11018cat confdefs.h >>conftest.$ac_ext
11019cat >>conftest.$ac_ext <<_ACEOF
11020/* end confdefs.h. */
a3097628
AJ
11021#ifdef HAVE_GL_GLX_H
11022# include <GL/glx.h>
b18b9f37 11023#endif
a3097628
AJ
11024
11025#include <$ac_header>
b18b9f37 11026_ACEOF
a3097628
AJ
11027rm -f conftest.$ac_objext
11028if { (ac_try="$ac_compile"
0ebeb530
JW
11029case "(($ac_try" in
11030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11031 *) ac_try_echo=$ac_try;;
11032esac
11033eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
a3097628 11034 (eval "$ac_compile") 2>conftest.er1
b18b9f37
AJ
11035 ac_status=$?
11036 grep -v '^ *+' conftest.er1 >conftest.err
11037 rm -f conftest.er1
11038 cat conftest.err >&5
11039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
11040 (exit $ac_status); } && {
11041 test -z "$ac_c_werror_flag" ||
11042 test ! -s conftest.err
a3097628
AJ
11043 } && test -s conftest.$ac_objext; then
11044 eval "$as_ac_Header=yes"
b18b9f37
AJ
11045else
11046 echo "$as_me: failed program was:" >&5
11047sed 's/^/| /' conftest.$ac_ext >&5
11048
a3097628 11049 eval "$as_ac_Header=no"
b18b9f37 11050fi
fc6ffb29 11051
a3097628 11052rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
b18b9f37 11053fi
a3097628
AJ
11054ac_res=`eval echo '${'$as_ac_Header'}'`
11055 { echo "$as_me:$LINENO: result: $ac_res" >&5
11056echo "${ECHO_T}$ac_res" >&6; }
11057if test `eval echo '${'$as_ac_Header'}'` = yes; then
11058 cat >>confdefs.h <<_ACEOF
11059#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
00068989
AJ
11060_ACEOF
11061
2d6d4e96
HL
11062fi
11063
a3097628 11064done
2d6d4e96 11065
a3097628
AJ
11066 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
11067 then
11068 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
11069echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
11070if test "${wine_cv_opengl_header_version_OK+set}" = set; then
2d6d4e96
HL
11071 echo $ECHO_N "(cached) $ECHO_C" >&6
11072else
a3097628 11073 cat >conftest.$ac_ext <<_ACEOF
2d6d4e96
HL
11074/* confdefs.h. */
11075_ACEOF
11076cat confdefs.h >>conftest.$ac_ext
11077cat >>conftest.$ac_ext <<_ACEOF
11078/* end confdefs.h. */
a3097628 11079#include <GL/gl.h>
2d6d4e96
HL
11080int
11081main ()
11082{
a3097628 11083GLenum test = GL_UNSIGNED_SHORT_5_6_5;
2d6d4e96
HL
11084 ;
11085 return 0;
11086}
11087_ACEOF
a3097628
AJ
11088rm -f conftest.$ac_objext
11089if { (ac_try="$ac_compile"
0ebeb530
JW
11090case "(($ac_try" in
11091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11092 *) ac_try_echo=$ac_try;;
11093esac
11094eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
a3097628 11095 (eval "$ac_compile") 2>conftest.er1
2d6d4e96
HL
11096 ac_status=$?
11097 grep -v '^ *+' conftest.er1 >conftest.err
11098 rm -f conftest.er1
11099 cat conftest.err >&5
11100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
11101 (exit $ac_status); } && {
11102 test -z "$ac_c_werror_flag" ||
11103 test ! -s conftest.err
a3097628
AJ
11104 } && test -s conftest.$ac_objext; then
11105 wine_cv_opengl_header_version_OK="yes"
2d6d4e96
HL
11106else
11107 echo "$as_me: failed program was:" >&5
11108sed 's/^/| /' conftest.$ac_ext >&5
11109
a3097628 11110 wine_cv_opengl_header_version_OK="no"
2d6d4e96 11111fi
fc6ffb29 11112
a3097628 11113rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2d6d4e96 11114fi
a3097628
AJ
11115{ echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
11116echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
2d6d4e96 11117
a3097628
AJ
11118 if test "$wine_cv_opengl_header_version_OK" = "yes"
11119 then
31353e1e
AJ
11120 { echo "$as_me:$LINENO: checking for -lGL" >&5
11121echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
11122if test "${ac_cv_lib_soname_GL+set}" = set; then
2d6d4e96
HL
11123 echo $ECHO_N "(cached) $ECHO_C" >&6
11124else
31353e1e 11125 ac_check_soname_save_LIBS=$LIBS
a3097628 11126LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
31353e1e 11127 cat >conftest.$ac_ext <<_ACEOF
2d6d4e96
HL
11128/* confdefs.h. */
11129_ACEOF
11130cat confdefs.h >>conftest.$ac_ext
11131cat >>conftest.$ac_ext <<_ACEOF
11132/* end confdefs.h. */
11133
fc6ffb29
AJ
11134/* Override any GCC internal prototype to avoid an error.
11135 Use char because int might match the return type of a GCC
11136 builtin and then its argument prototype would still apply. */
2d6d4e96
HL
11137#ifdef __cplusplus
11138extern "C"
11139#endif
a3097628 11140char glXCreateContext ();
2d6d4e96
HL
11141int
11142main ()
11143{
a3097628 11144return glXCreateContext ();
2d6d4e96
HL
11145 ;
11146 return 0;
11147}
11148_ACEOF
11149rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
11150if { (ac_try="$ac_link"
11151case "(($ac_try" in
11152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11153 *) ac_try_echo=$ac_try;;
11154esac
11155eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11156 (eval "$ac_link") 2>conftest.er1
2d6d4e96
HL
11157 ac_status=$?
11158 grep -v '^ *+' conftest.er1 >conftest.err
11159 rm -f conftest.er1
11160 cat conftest.err >&5
11161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
11162 (exit $ac_status); } && {
11163 test -z "$ac_c_werror_flag" ||
11164 test ! -s conftest.err
11165 } && test -s conftest$ac_exeext &&
11166 $as_test_x conftest$ac_exeext; then
31353e1e
AJ
11167 case "$LIBEXT" in
11168 dll) ;;
11169 dylib) ac_cv_lib_soname_GL=`otool -L conftest$ac_exeext | grep "libGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11170 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11171 esac
2d6d4e96
HL
11172else
11173 echo "$as_me: failed program was:" >&5
11174sed 's/^/| /' conftest.$ac_ext >&5
11175
31353e1e 11176
d701ee22
FG
11177fi
11178
11179rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11180 conftest$ac_exeext conftest.$ac_ext
11181 LIBS=$ac_check_soname_save_LIBS
11182fi
11183if test "x$ac_cv_lib_soname_GL" = "x"; then
11184 { echo "$as_me:$LINENO: result: not found" >&5
11185echo "${ECHO_T}not found" >&6; }
11186 { echo "$as_me:$LINENO: checking for -lGL" >&5
11187echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
11188if test "${ac_cv_lib_soname_GL+set}" = set; then
11189 echo $ECHO_N "(cached) $ECHO_C" >&6
11190else
11191 ac_check_soname_save_LIBS=$LIBS
11192LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib $LIBS"
11193 cat >conftest.$ac_ext <<_ACEOF
11194/* confdefs.h. */
11195_ACEOF
11196cat confdefs.h >>conftest.$ac_ext
11197cat >>conftest.$ac_ext <<_ACEOF
11198/* end confdefs.h. */
11199
11200/* Override any GCC internal prototype to avoid an error.
11201 Use char because int might match the return type of a GCC
11202 builtin and then its argument prototype would still apply. */
11203#ifdef __cplusplus
11204extern "C"
11205#endif
11206char glXCreateContext ();
11207int
11208main ()
11209{
11210return glXCreateContext ();
11211 ;
11212 return 0;
11213}
11214_ACEOF
11215rm -f conftest.$ac_objext conftest$ac_exeext
11216if { (ac_try="$ac_link"
11217case "(($ac_try" in
11218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11219 *) ac_try_echo=$ac_try;;
11220esac
11221eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11222 (eval "$ac_link") 2>conftest.er1
11223 ac_status=$?
11224 grep -v '^ *+' conftest.er1 >conftest.err
11225 rm -f conftest.er1
11226 cat conftest.err >&5
11227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11228 (exit $ac_status); } && {
11229 test -z "$ac_c_werror_flag" ||
11230 test ! -s conftest.err
11231 } && test -s conftest$ac_exeext &&
11232 $as_test_x conftest$ac_exeext; then
11233 case "$LIBEXT" in
11234 dll) ;;
11235 dylib) ac_cv_lib_soname_GL=`otool -L conftest$ac_exeext | grep "libGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11236 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11237 esac
11238else
11239 echo "$as_me: failed program was:" >&5
11240sed 's/^/| /' conftest.$ac_ext >&5
11241
11242
2d6d4e96 11243fi
fc6ffb29 11244
f0ca586f 11245rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2d6d4e96 11246 conftest$ac_exeext conftest.$ac_ext
31353e1e 11247 LIBS=$ac_check_soname_save_LIBS
2d6d4e96 11248fi
31353e1e
AJ
11249if test "x$ac_cv_lib_soname_GL" = "x"; then
11250 { echo "$as_me:$LINENO: result: not found" >&5
11251echo "${ECHO_T}not found" >&6; }
f9dec94f 11252 if test -f /usr/X11R6/lib/libGL.a
d701ee22 11253 then
a41f0f1b 11254 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
f9dec94f 11255This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
d701ee22 11256 else
a41f0f1b 11257 opengl_msg="No OpenGL library found on this system."
d701ee22
FG
11258 fi
11259else
11260 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11261echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11262
11263cat >>confdefs.h <<_ACEOF
11264#define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11265_ACEOF
11266
11267 OPENGL_LIBS="-Xlinker -dylib_file -Xlinker /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -lGL"
d701ee22
FG
11268
11269cat >>confdefs.h <<\_ACEOF
11270#define HAVE_OPENGL 1
11271_ACEOF
11272
11273fi
11274
31353e1e
AJ
11275else
11276 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11277echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11278
11279cat >>confdefs.h <<_ACEOF
11280#define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11281_ACEOF
11282
11283 OPENGL_LIBS="-lGL"
a3097628
AJ
11284
11285cat >>confdefs.h <<\_ACEOF
11286#define HAVE_OPENGL 1
11287_ACEOF
11288
8f1d42eb 11289fi
f5f37a85 11290
ad798735
AJ
11291 if test "$ac_cv_header_GL_glu_h" = "yes"
11292 then
11293 { echo "$as_me:$LINENO: checking for -lGLU" >&5
11294echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
11295if test "${ac_cv_lib_soname_GLU+set}" = set; then
f5f37a85
AJ
11296 echo $ECHO_N "(cached) $ECHO_C" >&6
11297else
ad798735 11298 ac_check_soname_save_LIBS=$LIBS
f9dec94f 11299LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
ad798735 11300 cat >conftest.$ac_ext <<_ACEOF
f5f37a85
AJ
11301/* confdefs.h. */
11302_ACEOF
11303cat confdefs.h >>conftest.$ac_ext
11304cat >>conftest.$ac_ext <<_ACEOF
11305/* end confdefs.h. */
f5f37a85
AJ
11306
11307/* Override any GCC internal prototype to avoid an error.
11308 Use char because int might match the return type of a GCC
11309 builtin and then its argument prototype would still apply. */
11310#ifdef __cplusplus
11311extern "C"
11312#endif
a3097628 11313char gluLookAt ();
f5f37a85
AJ
11314int
11315main ()
11316{
a3097628 11317return gluLookAt ();
f5f37a85
AJ
11318 ;
11319 return 0;
11320}
11321_ACEOF
11322rm -f conftest.$ac_objext conftest$ac_exeext
11323if { (ac_try="$ac_link"
11324case "(($ac_try" in
11325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11326 *) ac_try_echo=$ac_try;;
11327esac
11328eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11329 (eval "$ac_link") 2>conftest.er1
11330 ac_status=$?
11331 grep -v '^ *+' conftest.er1 >conftest.err
11332 rm -f conftest.er1
11333 cat conftest.err >&5
11334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
11335 (exit $ac_status); } && {
11336 test -z "$ac_c_werror_flag" ||
11337 test ! -s conftest.err
11338 } && test -s conftest$ac_exeext &&
11339 $as_test_x conftest$ac_exeext; then
ad798735
AJ
11340 case "$LIBEXT" in
11341 dll) ;;
11342 dylib) ac_cv_lib_soname_GLU=`otool -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11343 *) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11344 esac
a3097628
AJ
11345else
11346 echo "$as_me: failed program was:" >&5
11347sed 's/^/| /' conftest.$ac_ext >&5
73482144 11348
ad798735 11349
73482144 11350fi
a3097628
AJ
11351
11352rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11353 conftest$ac_exeext conftest.$ac_ext
ad798735 11354 LIBS=$ac_check_soname_save_LIBS
73482144 11355fi
ad798735
AJ
11356if test "x$ac_cv_lib_soname_GLU" = "x"; then
11357 { echo "$as_me:$LINENO: result: not found" >&5
11358echo "${ECHO_T}not found" >&6; }
a3097628 11359
ad798735
AJ
11360else
11361 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GLU" >&5
11362echo "${ECHO_T}$ac_cv_lib_soname_GLU" >&6; }
11363
11364cat >>confdefs.h <<_ACEOF
11365#define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11366_ACEOF
11367
dbb535e4 11368
ad798735
AJ
11369fi
11370
11371 fi
11372 if test "x$ac_cv_lib_soname_GLU" = "x"; then
11373 case "x$with_glu" in
11374 x) wine_notices="$wine_notices|libGLU development files not found, GLU won't be supported." ;;
11375 xno) ;;
11376 *) { { echo "$as_me:$LINENO: error: libGLU development files not found, GLU won't be supported.
11377This is an error since --with-glu was requested." >&5
11378echo "$as_me: error: libGLU development files not found, GLU won't be supported.
11379This is an error since --with-glu was requested." >&2;}
11380 { (exit 1); exit 1; }; } ;;
11381esac
73482144
AJ
11382fi
11383
f9dec94f 11384 else
a41f0f1b 11385 opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
a3097628
AJ
11386 fi
11387 else
a41f0f1b 11388 opengl_msg="OpenGL development headers not found."
a3097628
AJ
11389 fi
11390 fi
a41f0f1b
AJ
11391 if test -n "$opengl_msg"; then
11392 case "x$with_opengl" in
11393 x) wine_warnings="$wine_warnings|$opengl_msg
11394OpenGL and Direct3D won't be supported." ;;
11395 xno) ;;
11396 *) { { echo "$as_me:$LINENO: error: $opengl_msg
11397OpenGL and Direct3D won't be supported.
11398This is an error since --with-opengl was requested." >&5
11399echo "$as_me: error: $opengl_msg
11400OpenGL and Direct3D won't be supported.
11401This is an error since --with-opengl was requested." >&2;}
11402 { (exit 1); exit 1; }; } ;;
11403esac
11404fi
11405
f9dec94f 11406
dbb535e4
AJ
11407 test -n "$opengl_msg" && enable_opengl32=${enable_opengl32:-no}
11408 test "x$ac_cv_lib_soname_GLU" = "x" && enable_glu32=${enable_glu32:-no}
11409
a3097628 11410 NASLIBS=""
fc6ffb29 11411
82776020 11412
a3097628
AJ
11413for ac_header in audio/audiolib.h
11414do
11415as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11416if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11417 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11418echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11419if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
f5818d2f 11420 echo $ECHO_N "(cached) $ECHO_C" >&6
daa2886c 11421fi
a3097628
AJ
11422ac_res=`eval echo '${'$as_ac_Header'}'`
11423 { echo "$as_me:$LINENO: result: $ac_res" >&5
11424echo "${ECHO_T}$ac_res" >&6; }
f5818d2f 11425else
daa2886c 11426 # Is the header compilable?
a3097628
AJ
11427{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
11428echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
daa2886c 11429cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
11430/* confdefs.h. */
11431_ACEOF
11432cat confdefs.h >>conftest.$ac_ext
11433cat >>conftest.$ac_ext <<_ACEOF
11434/* end confdefs.h. */
daa2886c 11435$ac_includes_default
a3097628 11436#include <$ac_header>
daa2886c
AJ
11437_ACEOF
11438rm -f conftest.$ac_objext
0ebeb530
JW
11439if { (ac_try="$ac_compile"
11440case "(($ac_try" in
11441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11442 *) ac_try_echo=$ac_try;;
11443esac
11444eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11445 (eval "$ac_compile") 2>conftest.er1
daa2886c 11446 ac_status=$?
875927f6
AJ
11447 grep -v '^ *+' conftest.er1 >conftest.err
11448 rm -f conftest.er1
11449 cat conftest.err >&5
daa2886c 11450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
11451 (exit $ac_status); } && {
11452 test -z "$ac_c_werror_flag" ||
11453 test ! -s conftest.err
11454 } && test -s conftest.$ac_objext; then
daa2886c
AJ
11455 ac_header_compiler=yes
11456else
11457 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
11458sed 's/^/| /' conftest.$ac_ext >&5
11459
fc6ffb29 11460 ac_header_compiler=no
daa2886c 11461fi
fc6ffb29 11462
0ebeb530 11463rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fc6ffb29
AJ
11464{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11465echo "${ECHO_T}$ac_header_compiler" >&6; }
daa2886c
AJ
11466
11467# Is the header present?
a3097628
AJ
11468{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
11469echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
daa2886c 11470cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
11471/* confdefs.h. */
11472_ACEOF
11473cat confdefs.h >>conftest.$ac_ext
11474cat >>conftest.$ac_ext <<_ACEOF
11475/* end confdefs.h. */
a3097628 11476#include <$ac_header>
f5818d2f 11477_ACEOF
0ebeb530
JW
11478if { (ac_try="$ac_cpp conftest.$ac_ext"
11479case "(($ac_try" in
11480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11481 *) ac_try_echo=$ac_try;;
11482esac
11483eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11484 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
f5818d2f 11485 ac_status=$?
11af04e3 11486 grep -v '^ *+' conftest.er1 >conftest.err
f5818d2f
AJ
11487 rm -f conftest.er1
11488 cat conftest.err >&5
daa2886c 11489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
11490 (exit $ac_status); } >/dev/null && {
11491 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11492 test ! -s conftest.err
11493 }; then
daa2886c 11494 ac_header_preproc=yes
f5818d2f
AJ
11495else
11496 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
11497sed 's/^/| /' conftest.$ac_ext >&5
11498
daa2886c 11499 ac_header_preproc=no
24110288 11500fi
fc6ffb29 11501
f5818d2f 11502rm -f conftest.err conftest.$ac_ext
fc6ffb29
AJ
11503{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11504echo "${ECHO_T}$ac_header_preproc" >&6; }
daa2886c
AJ
11505
11506# So? What about this header?
875927f6
AJ
11507case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11508 yes:no: )
a3097628
AJ
11509 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11510echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11511 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11512echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
875927f6 11513 ac_header_preproc=yes
e24bcc77 11514 ;;
875927f6 11515 no:yes:* )
a3097628
AJ
11516 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11517echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11518 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11519echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11520 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11521echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11522 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11523echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11524 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11525echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11526 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11527echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
fc6ffb29 11528 ( cat <<\_ASBOX
e24bcc77 11529## ------------------------------------ ##
875927f6 11530## Report this to wine-devel@winehq.org ##
e24bcc77
AJ
11531## ------------------------------------ ##
11532_ASBOX
fc6ffb29 11533 ) | sed "s/^/$as_me: WARNING: /" >&2
e24bcc77 11534 ;;
daa2886c 11535esac
a3097628
AJ
11536{ echo "$as_me:$LINENO: checking for $ac_header" >&5
11537echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11538if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
daa2886c
AJ
11539 echo $ECHO_N "(cached) $ECHO_C" >&6
11540else
a3097628 11541 eval "$as_ac_Header=\$ac_header_preproc"
24110288 11542fi
a3097628
AJ
11543ac_res=`eval echo '${'$as_ac_Header'}'`
11544 { echo "$as_me:$LINENO: result: $ac_res" >&5
11545echo "${ECHO_T}$ac_res" >&6; }
daa2886c
AJ
11546
11547fi
a3097628
AJ
11548if test `eval echo '${'$as_ac_Header'}'` = yes; then
11549 cat >>confdefs.h <<_ACEOF
11550#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
daa2886c 11551_ACEOF
e884f9ca 11552
a3097628 11553for ac_header in audio/soundlib.h
40e7ef3a 11554do
a3097628
AJ
11555as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11556{ echo "$as_me:$LINENO: checking for $ac_header" >&5
11557echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11558if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40e7ef3a 11559 echo $ECHO_N "(cached) $ECHO_C" >&6
40e7ef3a 11560else
a3097628 11561 cat >conftest.$ac_ext <<_ACEOF
40e7ef3a
MM
11562/* confdefs.h. */
11563_ACEOF
11564cat confdefs.h >>conftest.$ac_ext
11565cat >>conftest.$ac_ext <<_ACEOF
11566/* end confdefs.h. */
a3097628
AJ
11567#include <audio/audiolib.h>
11568
11569#include <$ac_header>
40e7ef3a
MM
11570_ACEOF
11571rm -f conftest.$ac_objext
0ebeb530
JW
11572if { (ac_try="$ac_compile"
11573case "(($ac_try" in
11574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11575 *) ac_try_echo=$ac_try;;
11576esac
11577eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11578 (eval "$ac_compile") 2>conftest.er1
40e7ef3a
MM
11579 ac_status=$?
11580 grep -v '^ *+' conftest.er1 >conftest.err
11581 rm -f conftest.er1
11582 cat conftest.err >&5
11583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
11584 (exit $ac_status); } && {
11585 test -z "$ac_c_werror_flag" ||
11586 test ! -s conftest.err
11587 } && test -s conftest.$ac_objext; then
a3097628 11588 eval "$as_ac_Header=yes"
40e7ef3a
MM
11589else
11590 echo "$as_me: failed program was:" >&5
11591sed 's/^/| /' conftest.$ac_ext >&5
11592
a3097628 11593 eval "$as_ac_Header=no"
40e7ef3a 11594fi
fc6ffb29 11595
0ebeb530 11596rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
a3097628
AJ
11597fi
11598ac_res=`eval echo '${'$as_ac_Header'}'`
11599 { echo "$as_me:$LINENO: result: $ac_res" >&5
11600echo "${ECHO_T}$ac_res" >&6; }
11601if test `eval echo '${'$as_ac_Header'}'` = yes; then
11602 cat >>confdefs.h <<_ACEOF
11603#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11604_ACEOF
11605
11606fi
11607
11608done
40e7ef3a 11609
a3097628
AJ
11610 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11611echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11612if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11613 echo $ECHO_N "(cached) $ECHO_C" >&6
11614else
11615 ac_check_lib_save_LIBS=$LIBS
11616LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
40e7ef3a
MM
11617cat >conftest.$ac_ext <<_ACEOF
11618/* confdefs.h. */
11619_ACEOF
11620cat confdefs.h >>conftest.$ac_ext
11621cat >>conftest.$ac_ext <<_ACEOF
11622/* end confdefs.h. */
a3097628
AJ
11623
11624/* Override any GCC internal prototype to avoid an error.
11625 Use char because int might match the return type of a GCC
11626 builtin and then its argument prototype would still apply. */
11627#ifdef __cplusplus
11628extern "C"
11629#endif
11630char AuCreateFlow ();
11631int
11632main ()
11633{
11634return AuCreateFlow ();
11635 ;
11636 return 0;
11637}
40e7ef3a 11638_ACEOF
a3097628
AJ
11639rm -f conftest.$ac_objext conftest$ac_exeext
11640if { (ac_try="$ac_link"
0ebeb530
JW
11641case "(($ac_try" in
11642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11643 *) ac_try_echo=$ac_try;;
11644esac
11645eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
a3097628 11646 (eval "$ac_link") 2>conftest.er1
40e7ef3a
MM
11647 ac_status=$?
11648 grep -v '^ *+' conftest.er1 >conftest.err
11649 rm -f conftest.er1
11650 cat conftest.err >&5
11651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
a3097628
AJ
11652 (exit $ac_status); } && {
11653 test -z "$ac_c_werror_flag" ||
dc9f3843 11654 test ! -s conftest.err
a3097628
AJ
11655 } && test -s conftest$ac_exeext &&
11656 $as_test_x conftest$ac_exeext; then
11657 ac_cv_lib_audio_AuCreateFlow=yes
40e7ef3a
MM
11658else
11659 echo "$as_me: failed program was:" >&5
11660sed 's/^/| /' conftest.$ac_ext >&5
11661
a3097628 11662 ac_cv_lib_audio_AuCreateFlow=no
40e7ef3a 11663fi
fc6ffb29 11664
a3097628
AJ
11665rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11666 conftest$ac_exeext conftest.$ac_ext
11667LIBS=$ac_check_lib_save_LIBS
40e7ef3a 11668fi
a3097628
AJ
11669{ echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11670echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11671if test $ac_cv_lib_audio_AuCreateFlow = yes; then
40e7ef3a 11672
a3097628
AJ
11673cat >>confdefs.h <<\_ACEOF
11674#define HAVE_NAS 1
11675_ACEOF
11676
11677 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11678echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11679if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
40e7ef3a
MM
11680 echo $ECHO_N "(cached) $ECHO_C" >&6
11681else
11682 ac_check_lib_save_LIBS=$LIBS
a3097628 11683LIBS="-lXau $X_LIBS $LIBS"
40e7ef3a
MM
11684cat >conftest.$ac_ext <<_ACEOF
11685/* confdefs.h. */
11686_ACEOF
11687cat confdefs.h >>conftest.$ac_ext
11688cat >>conftest.$ac_ext <<_ACEOF
11689/* end confdefs.h. */
11690
fc6ffb29
AJ
11691/* Override any GCC internal prototype to avoid an error.
11692 Use char because int might match the return type of a GCC
11693 builtin and then its argument prototype would still apply. */
40e7ef3a
MM
11694#ifdef __cplusplus
11695extern "C"
11696#endif
a3097628 11697char XauGetBestAuthByAddr ();
40e7ef3a
MM
11698int
11699main ()
11700{
a3097628 11701return XauGetBestAuthByAddr ();
40e7ef3a
MM
11702 ;
11703 return 0;
11704}
11705_ACEOF
11706rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
11707if { (ac_try="$ac_link"
11708case "(($ac_try" in
11709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11710 *) ac_try_echo=$ac_try;;
11711esac
11712eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11713 (eval "$ac_link") 2>conftest.er1
40e7ef3a
MM
11714 ac_status=$?
11715 grep -v '^ *+' conftest.er1 >conftest.err
11716 rm -f conftest.er1
11717 cat conftest.err >&5
11718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
11719 (exit $ac_status); } && {
11720 test -z "$ac_c_werror_flag" ||
11721 test ! -s conftest.err
11722 } && test -s conftest$ac_exeext &&
11723 $as_test_x conftest$ac_exeext; then
a3097628 11724 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
40e7ef3a
MM
11725else
11726 echo "$as_me: failed program was:" >&5
11727sed 's/^/| /' conftest.$ac_ext >&5
11728
a3097628 11729 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
40e7ef3a 11730fi
fc6ffb29 11731
f0ca586f 11732rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40e7ef3a
MM
11733 conftest$ac_exeext conftest.$ac_ext
11734LIBS=$ac_check_lib_save_LIBS
11735fi
a3097628
AJ
11736{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11737echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11738if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11739 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11740else
11741 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11742fi
40e7ef3a 11743
40e7ef3a 11744
40e7ef3a
MM
11745fi
11746
40e7ef3a
MM
11747fi
11748
a3097628
AJ
11749done
11750
40e7ef3a 11751
40e7ef3a 11752 CPPFLAGS="$ac_save_CPPFLAGS"
a3097628
AJ
11753else
11754 XLIB=""
11755 X_CFLAGS=""
11756 X_LIBS=""
dbb535e4
AJ
11757 enable_winex11_drv=${enable_winex11_drv:-no}
11758 enable_opengl32=${enable_opengl32:-no}
11759 enable_glu32=${enable_glu32:-no}
a41f0f1b
AJ
11760fi
11761if test "x$XLIB" = "x"; then
11762 case "x$with_x" in
a41f0f1b
AJ
11763 xno) ;;
11764 *) { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
f9dec94f 11765without X support, which probably isn't what you want. You will need to install
a41f0f1b 11766development packages of Xlib/Xfree86 at the very least.
76adea11 11767Use the --without-x option if you really want this." >&5
a41f0f1b
AJ
11768echo "$as_me: error: X development files not found. Wine will be built
11769without X support, which probably isn't what you want. You will need to install
11770development packages of Xlib/Xfree86 at the very least.
76adea11 11771Use the --without-x option if you really want this." >&2;}
a41f0f1b
AJ
11772 { (exit 1); exit 1; }; } ;;
11773esac
40e7ef3a
MM
11774fi
11775
a3097628 11776
a41f0f1b 11777
a3097628
AJ
11778XML2LIBS=""
11779
11780XML2INCL=""
11781
11782XSLTLIBS=""
11783
11784XSLTINCL=""
11785
a41f0f1b 11786if test "x$with_xml" != "xno"
6b0720f5 11787then
a41f0f1b
AJ
11788 ac_save_CPPFLAGS="$CPPFLAGS"
11789 if test "$PKG_CONFIG" != "false"
11790 then
11791 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
11792 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
11793 else
11794 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
11795 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
11796 fi
11797 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
a3097628
AJ
11798
11799for ac_header in libxml/parser.h
11800do
11801as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11802if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11803 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11804echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11805if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11806 echo $ECHO_N "(cached) $ECHO_C" >&6
11807fi
11808ac_res=`eval echo '${'$as_ac_Header'}'`
11809 { echo "$as_me:$LINENO: result: $ac_res" >&5
11810echo "${ECHO_T}$ac_res" >&6; }
11811else
11812 # Is the header compilable?
11813{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
11814echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11815cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
11816/* confdefs.h. */
11817_ACEOF
11818cat confdefs.h >>conftest.$ac_ext
11819cat >>conftest.$ac_ext <<_ACEOF
11820/* end confdefs.h. */
a3097628
AJ
11821$ac_includes_default
11822#include <$ac_header>
daa2886c 11823_ACEOF
a3097628
AJ
11824rm -f conftest.$ac_objext
11825if { (ac_try="$ac_compile"
0ebeb530
JW
11826case "(($ac_try" in
11827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11828 *) ac_try_echo=$ac_try;;
11829esac
11830eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
a3097628 11831 (eval "$ac_compile") 2>conftest.er1
daa2886c 11832 ac_status=$?
a3097628
AJ
11833 grep -v '^ *+' conftest.er1 >conftest.err
11834 rm -f conftest.er1
11835 cat conftest.err >&5
daa2886c 11836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
a3097628
AJ
11837 (exit $ac_status); } && {
11838 test -z "$ac_c_werror_flag" ||
11839 test ! -s conftest.err
11840 } && test -s conftest.$ac_objext; then
11841 ac_header_compiler=yes
11842else
11843 echo "$as_me: failed program was:" >&5
11844sed 's/^/| /' conftest.$ac_ext >&5
11845
11846 ac_header_compiler=no
11847fi
11848
11849rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11850{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11851echo "${ECHO_T}$ac_header_compiler" >&6; }
11852
11853# Is the header present?
11854{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
11855echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11856cat >conftest.$ac_ext <<_ACEOF
11857/* confdefs.h. */
11858_ACEOF
11859cat confdefs.h >>conftest.$ac_ext
11860cat >>conftest.$ac_ext <<_ACEOF
11861/* end confdefs.h. */
11862#include <$ac_header>
11863_ACEOF
11864if { (ac_try="$ac_cpp conftest.$ac_ext"
11865case "(($ac_try" in
bb168aab
AJ
11866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11867 *) ac_try_echo=$ac_try;;
11868esac
11869eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
a3097628 11870 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
bb168aab 11871 ac_status=$?
a3097628
AJ
11872 grep -v '^ *+' conftest.er1 >conftest.err
11873 rm -f conftest.er1
11874 cat conftest.err >&5
bb168aab 11875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
a3097628
AJ
11876 (exit $ac_status); } >/dev/null && {
11877 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11878 test ! -s conftest.err
11879 }; then
11880 ac_header_preproc=yes
6b0720f5 11881else
a3097628 11882 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
11883sed 's/^/| /' conftest.$ac_ext >&5
11884
a3097628 11885 ac_header_preproc=no
6b0720f5 11886fi
fc6ffb29 11887
a3097628
AJ
11888rm -f conftest.err conftest.$ac_ext
11889{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11890echo "${ECHO_T}$ac_header_preproc" >&6; }
bb168aab 11891
a3097628
AJ
11892# So? What about this header?
11893case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11894 yes:no: )
11895 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11896echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11897 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11898echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11899 ac_header_preproc=yes
11900 ;;
11901 no:yes:* )
11902 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11903echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11904 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11905echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11906 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11907echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11908 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11909echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11910 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11911echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11912 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11913echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11914 ( cat <<\_ASBOX
11915## ------------------------------------ ##
11916## Report this to wine-devel@winehq.org ##
11917## ------------------------------------ ##
11918_ASBOX
11919 ) | sed "s/^/$as_me: WARNING: /" >&2
11920 ;;
11921esac
11922{ echo "$as_me:$LINENO: checking for $ac_header" >&5
11923echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11924if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11925 echo $ECHO_N "(cached) $ECHO_C" >&6
11926else
11927 eval "$as_ac_Header=\$ac_header_preproc"
6b0720f5 11928fi
a3097628
AJ
11929ac_res=`eval echo '${'$as_ac_Header'}'`
11930 { echo "$as_me:$LINENO: result: $ac_res" >&5
11931echo "${ECHO_T}$ac_res" >&6; }
daa2886c 11932
a3097628
AJ
11933fi
11934if test `eval echo '${'$as_ac_Header'}'` = yes; then
11935 cat >>confdefs.h <<_ACEOF
11936#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11937_ACEOF
11938 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11939echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11940if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
6b0720f5
SQH
11941 echo $ECHO_N "(cached) $ECHO_C" >&6
11942else
11943 ac_check_lib_save_LIBS=$LIBS
a3097628 11944LIBS="-lxml2 $ac_xml_libs $LIBS"
6b0720f5 11945cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
11946/* confdefs.h. */
11947_ACEOF
11948cat confdefs.h >>conftest.$ac_ext
11949cat >>conftest.$ac_ext <<_ACEOF
11950/* end confdefs.h. */
6b0720f5 11951
fc6ffb29
AJ
11952/* Override any GCC internal prototype to avoid an error.
11953 Use char because int might match the return type of a GCC
11954 builtin and then its argument prototype would still apply. */
6b0720f5
SQH
11955#ifdef __cplusplus
11956extern "C"
11957#endif
a3097628 11958char xmlParseMemory ();
6b0720f5
SQH
11959int
11960main ()
11961{
a3097628 11962return xmlParseMemory ();
6b0720f5
SQH
11963 ;
11964 return 0;
11965}
11966_ACEOF
11967rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
11968if { (ac_try="$ac_link"
11969case "(($ac_try" in
11970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11971 *) ac_try_echo=$ac_try;;
11972esac
11973eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11974 (eval "$ac_link") 2>conftest.er1
6b0720f5 11975 ac_status=$?
875927f6
AJ
11976 grep -v '^ *+' conftest.er1 >conftest.err
11977 rm -f conftest.er1
11978 cat conftest.err >&5
daa2886c 11979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
11980 (exit $ac_status); } && {
11981 test -z "$ac_c_werror_flag" ||
11982 test ! -s conftest.err
11983 } && test -s conftest$ac_exeext &&
11984 $as_test_x conftest$ac_exeext; then
a3097628 11985 ac_cv_lib_xml2_xmlParseMemory=yes
6b0720f5
SQH
11986else
11987 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
11988sed 's/^/| /' conftest.$ac_ext >&5
11989
a3097628 11990 ac_cv_lib_xml2_xmlParseMemory=no
6b0720f5 11991fi
fc6ffb29 11992
f0ca586f 11993rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 11994 conftest$ac_exeext conftest.$ac_ext
6b0720f5
SQH
11995LIBS=$ac_check_lib_save_LIBS
11996fi
a3097628
AJ
11997{ echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11998echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11999if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
6b0720f5 12000
daa2886c 12001cat >>confdefs.h <<\_ACEOF
a3097628 12002#define HAVE_LIBXML2 1
daa2886c 12003_ACEOF
6b0720f5 12004
a41f0f1b
AJ
12005 XML2LIBS="$ac_xml_libs"
12006 XML2INCL="$ac_xml_cflags"
6b0720f5
SQH
12007fi
12008
a41f0f1b 12009 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
a3097628
AJ
12010echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
12011if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
73482144 12012 echo $ECHO_N "(cached) $ECHO_C" >&6
4ee8290b 12013else
73482144 12014 ac_check_lib_save_LIBS=$LIBS
a3097628 12015LIBS="-lxml2 $ac_xml_libs $LIBS"
2d6d4e96
HL
12016cat >conftest.$ac_ext <<_ACEOF
12017/* confdefs.h. */
12018_ACEOF
12019cat confdefs.h >>conftest.$ac_ext
12020cat >>conftest.$ac_ext <<_ACEOF
12021/* end confdefs.h. */
12022
fc6ffb29
AJ
12023/* Override any GCC internal prototype to avoid an error.
12024 Use char because int might match the return type of a GCC
12025 builtin and then its argument prototype would still apply. */
2d6d4e96
HL
12026#ifdef __cplusplus
12027extern "C"
12028#endif
a3097628 12029char xmlReadMemory ();
2d6d4e96
HL
12030int
12031main ()
12032{
a3097628 12033return xmlReadMemory ();
2d6d4e96
HL
12034 ;
12035 return 0;
12036}
12037_ACEOF
12038rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
12039if { (ac_try="$ac_link"
12040case "(($ac_try" in
12041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12042 *) ac_try_echo=$ac_try;;
12043esac
12044eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12045 (eval "$ac_link") 2>conftest.er1
2d6d4e96
HL
12046 ac_status=$?
12047 grep -v '^ *+' conftest.er1 >conftest.err
12048 rm -f conftest.er1
12049 cat conftest.err >&5
12050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
12051 (exit $ac_status); } && {
12052 test -z "$ac_c_werror_flag" ||
12053 test ! -s conftest.err
12054 } && test -s conftest$ac_exeext &&
12055 $as_test_x conftest$ac_exeext; then
a3097628 12056 ac_cv_lib_xml2_xmlReadMemory=yes
2d6d4e96
HL
12057else
12058 echo "$as_me: failed program was:" >&5
12059sed 's/^/| /' conftest.$ac_ext >&5
12060
a3097628 12061 ac_cv_lib_xml2_xmlReadMemory=no
2d6d4e96 12062fi
fc6ffb29 12063
f0ca586f 12064rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2d6d4e96
HL
12065 conftest$ac_exeext conftest.$ac_ext
12066LIBS=$ac_check_lib_save_LIBS
12067fi
a3097628
AJ
12068{ echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12069echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12070if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
2d6d4e96
HL
12071
12072cat >>confdefs.h <<\_ACEOF
a3097628 12073#define HAVE_XMLREADMEMORY 1
2d6d4e96
HL
12074_ACEOF
12075
2d6d4e96
HL
12076fi
12077
a41f0f1b 12078 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
a3097628
AJ
12079echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
12080if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
2d6d4e96
HL
12081 echo $ECHO_N "(cached) $ECHO_C" >&6
12082else
12083 ac_check_lib_save_LIBS=$LIBS
a3097628 12084LIBS="-lxml2 $ac_xml_libs $LIBS"
4ee8290b 12085cat >conftest.$ac_ext <<_ACEOF
4ee8290b
AJ
12086/* confdefs.h. */
12087_ACEOF
12088cat confdefs.h >>conftest.$ac_ext
12089cat >>conftest.$ac_ext <<_ACEOF
12090/* end confdefs.h. */
4ee8290b 12091
fc6ffb29
AJ
12092/* Override any GCC internal prototype to avoid an error.
12093 Use char because int might match the return type of a GCC
12094 builtin and then its argument prototype would still apply. */
73482144
AJ
12095#ifdef __cplusplus
12096extern "C"
12097#endif
a3097628 12098char xmlNewDocPI ();
4ee8290b
AJ
12099int
12100main ()
12101{
a3097628 12102return xmlNewDocPI ();
4ee8290b
AJ
12103 ;
12104 return 0;
12105}
12106_ACEOF
12107rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
12108if { (ac_try="$ac_link"
12109case "(($ac_try" in
12110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12111 *) ac_try_echo=$ac_try;;
12112esac
12113eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12114 (eval "$ac_link") 2>conftest.er1
4ee8290b 12115 ac_status=$?
875927f6
AJ
12116 grep -v '^ *+' conftest.er1 >conftest.err
12117 rm -f conftest.er1
12118 cat conftest.err >&5
4ee8290b 12119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
12120 (exit $ac_status); } && {
12121 test -z "$ac_c_werror_flag" ||
12122 test ! -s conftest.err
12123 } && test -s conftest$ac_exeext &&
12124 $as_test_x conftest$ac_exeext; then
a3097628 12125 ac_cv_lib_xml2_xmlNewDocPI=yes
4ee8290b
AJ
12126else
12127 echo "$as_me: failed program was:" >&5
12128sed 's/^/| /' conftest.$ac_ext >&5
12129
a3097628 12130 ac_cv_lib_xml2_xmlNewDocPI=no
4ee8290b 12131fi
fc6ffb29 12132
f0ca586f 12133rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 12134 conftest$ac_exeext conftest.$ac_ext
73482144 12135LIBS=$ac_check_lib_save_LIBS
4ee8290b 12136fi
a3097628
AJ
12137{ echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12138echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12139if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
12140
12141cat >>confdefs.h <<\_ACEOF
12142#define HAVE_XMLNEWDOCPI 1
12143_ACEOF
12144
12145fi
12146
12147
12148fi
12149
12150done
12151
a41f0f1b
AJ
12152 CPPFLAGS="$ac_save_CPPFLAGS"
12153fi
f9dec94f 12154if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
a41f0f1b 12155 case "x$with_xml" in
63ea6703 12156 x) wine_warnings="$wine_warnings|libxml2 development files not found, XML won't be supported." ;;
a41f0f1b
AJ
12157 xno) ;;
12158 *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
12159This is an error since --with-xml was requested." >&5
12160echo "$as_me: error: libxml2 development files not found, XML won't be supported.
12161This is an error since --with-xml was requested." >&2;}
12162 { (exit 1); exit 1; }; } ;;
12163esac
f9dec94f
AJ
12164fi
12165
12166
a41f0f1b 12167if test "x$with_xslt" != "xno"
a3097628 12168then
a41f0f1b
AJ
12169 if test "$PKG_CONFIG" != "false"
12170 then
12171 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
12172 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
12173 else
12174 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
12175 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
12176 fi
9d7f7bfc 12177 ac_save_CPPFLAGS="$CPPFLAGS"
a41f0f1b 12178 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
a3097628
AJ
12179
12180
12181for ac_header in libxslt/pattern.h libxslt/transform.h
12182do
12183as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12184{ echo "$as_me:$LINENO: checking for $ac_header" >&5
12185echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12186if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
d3447022
HL
12187 echo $ECHO_N "(cached) $ECHO_C" >&6
12188else
a3097628 12189 cat >conftest.$ac_ext <<_ACEOF
d3447022
HL
12190/* confdefs.h. */
12191_ACEOF
12192cat confdefs.h >>conftest.$ac_ext
12193cat >>conftest.$ac_ext <<_ACEOF
12194/* end confdefs.h. */
a3097628
AJ
12195#ifdef HAVE_LIBXSLT_PATTERN_H
12196# include <libxslt/pattern.h>
d3447022 12197#endif
a3097628
AJ
12198
12199#include <$ac_header>
d3447022 12200_ACEOF
a3097628
AJ
12201rm -f conftest.$ac_objext
12202if { (ac_try="$ac_compile"
0ebeb530
JW
12203case "(($ac_try" in
12204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12205 *) ac_try_echo=$ac_try;;
12206esac
12207eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
a3097628 12208 (eval "$ac_compile") 2>conftest.er1
d3447022
HL
12209 ac_status=$?
12210 grep -v '^ *+' conftest.er1 >conftest.err
12211 rm -f conftest.er1
12212 cat conftest.err >&5
12213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
12214 (exit $ac_status); } && {
12215 test -z "$ac_c_werror_flag" ||
12216 test ! -s conftest.err
a3097628
AJ
12217 } && test -s conftest.$ac_objext; then
12218 eval "$as_ac_Header=yes"
d3447022
HL
12219else
12220 echo "$as_me: failed program was:" >&5
12221sed 's/^/| /' conftest.$ac_ext >&5
12222
a3097628 12223 eval "$as_ac_Header=no"
d3447022
HL
12224fi
12225
a3097628 12226rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d3447022 12227fi
a3097628
AJ
12228ac_res=`eval echo '${'$as_ac_Header'}'`
12229 { echo "$as_me:$LINENO: result: $ac_res" >&5
12230echo "${ECHO_T}$ac_res" >&6; }
12231if test `eval echo '${'$as_ac_Header'}'` = yes; then
12232 cat >>confdefs.h <<_ACEOF
12233#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12234_ACEOF
9d7f7bfc
LZ
12235
12236fi
12237
12238done
12239
12240 CPPFLAGS="$ac_save_CPPFLAGS"
12241 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12242 then
12243 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
a3097628
AJ
12244echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
12245if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
b2c62c94
HL
12246 echo $ECHO_N "(cached) $ECHO_C" >&6
12247else
a3097628
AJ
12248 ac_check_lib_save_LIBS=$LIBS
12249LIBS="-lxslt $ac_xslt_libs $LIBS"
12250cat >conftest.$ac_ext <<_ACEOF
b2c62c94
HL
12251/* confdefs.h. */
12252_ACEOF
12253cat confdefs.h >>conftest.$ac_ext
12254cat >>conftest.$ac_ext <<_ACEOF
12255/* end confdefs.h. */
b2c62c94 12256
fc6ffb29
AJ
12257/* Override any GCC internal prototype to avoid an error.
12258 Use char because int might match the return type of a GCC
12259 builtin and then its argument prototype would still apply. */
b2c62c94
HL
12260#ifdef __cplusplus
12261extern "C"
b2c62c94 12262#endif
a3097628 12263char xsltCompilePattern ();
b2c62c94
HL
12264int
12265main ()
12266{
a3097628 12267return xsltCompilePattern ();
b2c62c94
HL
12268 ;
12269 return 0;
12270}
12271_ACEOF
12272rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
12273if { (ac_try="$ac_link"
12274case "(($ac_try" in
12275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12276 *) ac_try_echo=$ac_try;;
12277esac
12278eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12279 (eval "$ac_link") 2>conftest.er1
b2c62c94
HL
12280 ac_status=$?
12281 grep -v '^ *+' conftest.er1 >conftest.err
12282 rm -f conftest.er1
12283 cat conftest.err >&5
12284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
12285 (exit $ac_status); } && {
12286 test -z "$ac_c_werror_flag" ||
12287 test ! -s conftest.err
12288 } && test -s conftest$ac_exeext &&
12289 $as_test_x conftest$ac_exeext; then
a3097628 12290 ac_cv_lib_xslt_xsltCompilePattern=yes
b2c62c94
HL
12291else
12292 echo "$as_me: failed program was:" >&5
12293sed 's/^/| /' conftest.$ac_ext >&5
12294
a3097628 12295 ac_cv_lib_xslt_xsltCompilePattern=no
b2c62c94 12296fi
fc6ffb29 12297
f0ca586f 12298rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
b2c62c94 12299 conftest$ac_exeext conftest.$ac_ext
a3097628 12300LIBS=$ac_check_lib_save_LIBS
b2c62c94 12301fi
a3097628
AJ
12302{ echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
12303echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
12304if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
12305
12306cat >>confdefs.h <<\_ACEOF
12307#define HAVE_LIBXSLT 1
b2c62c94
HL
12308_ACEOF
12309
9d7f7bfc
LZ
12310 XSLTLIBS="$ac_xslt_libs"
12311 XSLTINCL="$ac_xslt_cflags"
12312 ac_save_LIBS="$LIBS"
12313 LIBS="$LIBS $ac_xslt_libs"
b2c62c94 12314
9d7f7bfc
LZ
12315for ac_func in xsltInit
12316do
12317as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12318{ echo "$as_me:$LINENO: checking for $ac_func" >&5
12319echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12320if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12321 echo $ECHO_N "(cached) $ECHO_C" >&6
12322else
12323 cat >conftest.$ac_ext <<_ACEOF
12324/* confdefs.h. */
12325_ACEOF
12326cat confdefs.h >>conftest.$ac_ext
12327cat >>conftest.$ac_ext <<_ACEOF
12328/* end confdefs.h. */
12329/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12330 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12331#define $ac_func innocuous_$ac_func
a3097628 12332
9d7f7bfc
LZ
12333/* System header to define __stub macros and hopefully few prototypes,
12334 which can conflict with char $ac_func (); below.
12335 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12336 <limits.h> exists even on freestanding compilers. */
12337
12338#ifdef __STDC__
12339# include <limits.h>
12340#else
12341# include <assert.h>
12342#endif
12343
12344#undef $ac_func
12345
12346/* Override any GCC internal prototype to avoid an error.
12347 Use char because int might match the return type of a GCC
12348 builtin and then its argument prototype would still apply. */
12349#ifdef __cplusplus
12350extern "C"
12351#endif
12352char $ac_func ();
12353/* The GNU C library defines this for functions which it implements
12354 to always fail with ENOSYS. Some functions are actually named
12355 something starting with __ and the normal name is an alias. */
12356#if defined __stub_$ac_func || defined __stub___$ac_func
12357choke me
12358#endif
12359
12360int
12361main ()
12362{
12363return $ac_func ();
12364 ;
12365 return 0;
12366}
12367_ACEOF
12368rm -f conftest.$ac_objext conftest$ac_exeext
12369if { (ac_try="$ac_link"
12370case "(($ac_try" in
12371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12372 *) ac_try_echo=$ac_try;;
12373esac
12374eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12375 (eval "$ac_link") 2>conftest.er1
12376 ac_status=$?
12377 grep -v '^ *+' conftest.er1 >conftest.err
12378 rm -f conftest.er1
12379 cat conftest.err >&5
12380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12381 (exit $ac_status); } && {
12382 test -z "$ac_c_werror_flag" ||
12383 test ! -s conftest.err
12384 } && test -s conftest$ac_exeext &&
12385 $as_test_x conftest$ac_exeext; then
12386 eval "$as_ac_var=yes"
12387else
12388 echo "$as_me: failed program was:" >&5
12389sed 's/^/| /' conftest.$ac_ext >&5
12390
12391 eval "$as_ac_var=no"
12392fi
12393
12394rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12395 conftest$ac_exeext conftest.$ac_ext
73482144 12396fi
9d7f7bfc
LZ
12397ac_res=`eval echo '${'$as_ac_var'}'`
12398 { echo "$as_me:$LINENO: result: $ac_res" >&5
12399echo "${ECHO_T}$ac_res" >&6; }
12400if test `eval echo '${'$as_ac_var'}'` = yes; then
12401 cat >>confdefs.h <<_ACEOF
12402#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12403_ACEOF
ea524def 12404
9d7f7bfc 12405fi
a3097628 12406done
82776020 12407
9d7f7bfc
LZ
12408 LIBS="$ac_save_LIBS"
12409fi
12410
12411 fi
a41f0f1b 12412fi
f9dec94f 12413if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
a41f0f1b 12414 case "x$with_xslt" in
63ea6703 12415 x) wine_warnings="$wine_warnings|libxslt development files not found, xslt won't be supported." ;;
a41f0f1b
AJ
12416 xno) ;;
12417 *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
12418This is an error since --with-xslt was requested." >&5
12419echo "$as_me: error: libxslt development files not found, xslt won't be supported.
12420This is an error since --with-xslt was requested." >&2;}
12421 { (exit 1); exit 1; }; } ;;
12422esac
f9dec94f
AJ
12423fi
12424
82776020 12425
a3097628
AJ
12426HALINCL=""
12427
a41f0f1b 12428if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
a3097628
AJ
12429then
12430 ac_save_CPPFLAGS="$CPPFLAGS"
12431 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
12432 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
12433 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
12434
12435
12436for ac_header in dbus/dbus.h hal/libhal.h
12437do
12438as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12439if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12440 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12441echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12442if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
d9ef88cd 12443 echo $ECHO_N "(cached) $ECHO_C" >&6
a3097628
AJ
12444fi
12445ac_res=`eval echo '${'$as_ac_Header'}'`
12446 { echo "$as_me:$LINENO: result: $ac_res" >&5
12447echo "${ECHO_T}$ac_res" >&6; }
d9ef88cd 12448else
a3097628
AJ
12449 # Is the header compilable?
12450{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
12451echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12452cat >conftest.$ac_ext <<_ACEOF
12453/* confdefs.h. */
12454_ACEOF
12455cat confdefs.h >>conftest.$ac_ext
12456cat >>conftest.$ac_ext <<_ACEOF
12457/* end confdefs.h. */
12458$ac_includes_default
12459#include <$ac_header>
12460_ACEOF
12461rm -f conftest.$ac_objext
12462if { (ac_try="$ac_compile"
12463case "(($ac_try" in
12464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12465 *) ac_try_echo=$ac_try;;
12466esac
12467eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12468 (eval "$ac_compile") 2>conftest.er1
12469 ac_status=$?
12470 grep -v '^ *+' conftest.er1 >conftest.err
12471 rm -f conftest.er1
12472 cat conftest.err >&5
12473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12474 (exit $ac_status); } && {
12475 test -z "$ac_c_werror_flag" ||
12476 test ! -s conftest.err
12477 } && test -s conftest.$ac_objext; then
12478 ac_header_compiler=yes
d9ef88cd 12479else
a3097628
AJ
12480 echo "$as_me: failed program was:" >&5
12481sed 's/^/| /' conftest.$ac_ext >&5
d9ef88cd 12482
a3097628 12483 ac_header_compiler=no
d9ef88cd
MM
12484fi
12485
a3097628
AJ
12486rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12487{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12488echo "${ECHO_T}$ac_header_compiler" >&6; }
d9ef88cd 12489
a3097628
AJ
12490# Is the header present?
12491{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
12492echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12493cat >conftest.$ac_ext <<_ACEOF
12494/* confdefs.h. */
12495_ACEOF
12496cat confdefs.h >>conftest.$ac_ext
12497cat >>conftest.$ac_ext <<_ACEOF
12498/* end confdefs.h. */
12499#include <$ac_header>
12500_ACEOF
12501if { (ac_try="$ac_cpp conftest.$ac_ext"
12502case "(($ac_try" in
12503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12504 *) ac_try_echo=$ac_try;;
12505esac
12506eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12507 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12508 ac_status=$?
12509 grep -v '^ *+' conftest.er1 >conftest.err
12510 rm -f conftest.er1
12511 cat conftest.err >&5
12512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12513 (exit $ac_status); } >/dev/null && {
12514 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12515 test ! -s conftest.err
12516 }; then
12517 ac_header_preproc=yes
d9ef88cd 12518else
a3097628
AJ
12519 echo "$as_me: failed program was:" >&5
12520sed 's/^/| /' conftest.$ac_ext >&5
d9ef88cd 12521
a3097628 12522 ac_header_preproc=no
d9ef88cd 12523fi
a3097628
AJ
12524
12525rm -f conftest.err conftest.$ac_ext
12526{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12527echo "${ECHO_T}$ac_header_preproc" >&6; }
12528
12529# So? What about this header?
12530case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12531 yes:no: )
12532 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12533echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12534 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12535echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12536 ac_header_preproc=yes
12537 ;;
12538 no:yes:* )
12539 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12540echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12541 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12542echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12543 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12544echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12545 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12546echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12547 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12548echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12549 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12550echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12551 ( cat <<\_ASBOX
12552## ------------------------------------ ##
12553## Report this to wine-devel@winehq.org ##
12554## ------------------------------------ ##
12555_ASBOX
12556 ) | sed "s/^/$as_me: WARNING: /" >&2
12557 ;;
12558esac
12559{ echo "$as_me:$LINENO: checking for $ac_header" >&5
12560echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12561if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12562 echo $ECHO_N "(cached) $ECHO_C" >&6
d9ef88cd 12563else
a3097628 12564 eval "$as_ac_Header=\$ac_header_preproc"
d9ef88cd 12565fi
a3097628
AJ
12566ac_res=`eval echo '${'$as_ac_Header'}'`
12567 { echo "$as_me:$LINENO: result: $ac_res" >&5
12568echo "${ECHO_T}$ac_res" >&6; }
d9ef88cd 12569
a3097628
AJ
12570fi
12571if test `eval echo '${'$as_ac_Header'}'` = yes; then
12572 cat >>confdefs.h <<_ACEOF
12573#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12574_ACEOF
d9ef88cd 12575
d9ef88cd
MM
12576fi
12577
a3097628
AJ
12578done
12579
12580 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12581 then
c1099bb7
AJ
12582 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12583echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12584if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
ea524def
HL
12585 echo $ECHO_N "(cached) $ECHO_C" >&6
12586else
12587 ac_check_lib_save_LIBS=$LIBS
c1099bb7 12588LIBS="-ldbus-1 $ac_hal_libs $LIBS"
ea524def
HL
12589cat >conftest.$ac_ext <<_ACEOF
12590/* confdefs.h. */
12591_ACEOF
12592cat confdefs.h >>conftest.$ac_ext
12593cat >>conftest.$ac_ext <<_ACEOF
12594/* end confdefs.h. */
12595
fc6ffb29
AJ
12596/* Override any GCC internal prototype to avoid an error.
12597 Use char because int might match the return type of a GCC
12598 builtin and then its argument prototype would still apply. */
ea524def
HL
12599#ifdef __cplusplus
12600extern "C"
12601#endif
c1099bb7 12602char dbus_connection_close ();
ea524def
HL
12603int
12604main ()
12605{
c1099bb7 12606return dbus_connection_close ();
ea524def
HL
12607 ;
12608 return 0;
12609}
12610_ACEOF
12611rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
12612if { (ac_try="$ac_link"
12613case "(($ac_try" in
12614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12615 *) ac_try_echo=$ac_try;;
12616esac
12617eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12618 (eval "$ac_link") 2>conftest.er1
ea524def
HL
12619 ac_status=$?
12620 grep -v '^ *+' conftest.er1 >conftest.err
12621 rm -f conftest.er1
12622 cat conftest.err >&5
12623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
12624 (exit $ac_status); } && {
12625 test -z "$ac_c_werror_flag" ||
12626 test ! -s conftest.err
12627 } && test -s conftest$ac_exeext &&
12628 $as_test_x conftest$ac_exeext; then
c1099bb7 12629 ac_cv_lib_dbus_1_dbus_connection_close=yes
ea524def
HL
12630else
12631 echo "$as_me: failed program was:" >&5
12632sed 's/^/| /' conftest.$ac_ext >&5
12633
c1099bb7 12634 ac_cv_lib_dbus_1_dbus_connection_close=no
ea524def 12635fi
fc6ffb29 12636
f0ca586f 12637rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
ea524def
HL
12638 conftest$ac_exeext conftest.$ac_ext
12639LIBS=$ac_check_lib_save_LIBS
12640fi
c1099bb7
AJ
12641{ echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12642echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12643if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12644 { echo "$as_me:$LINENO: checking for -lhal" >&5
12645echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12646if test "${ac_cv_lib_soname_hal+set}" = set; then
f5818d2f
AJ
12647 echo $ECHO_N "(cached) $ECHO_C" >&6
12648else
c1099bb7
AJ
12649 ac_check_soname_save_LIBS=$LIBS
12650LIBS="-lhal $ac_hal_libs $LIBS"
12651 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
12652/* confdefs.h. */
12653_ACEOF
12654cat confdefs.h >>conftest.$ac_ext
12655cat >>conftest.$ac_ext <<_ACEOF
12656/* end confdefs.h. */
9c269172 12657
a3097628
AJ
12658/* Override any GCC internal prototype to avoid an error.
12659 Use char because int might match the return type of a GCC
12660 builtin and then its argument prototype would still apply. */
12661#ifdef __cplusplus
12662extern "C"
12663#endif
c1099bb7 12664char libhal_ctx_new ();
a3097628
AJ
12665int
12666main ()
12667{
c1099bb7 12668return libhal_ctx_new ();
a3097628
AJ
12669 ;
12670 return 0;
12671}
daa2886c 12672_ACEOF
a3097628
AJ
12673rm -f conftest.$ac_objext conftest$ac_exeext
12674if { (ac_try="$ac_link"
0ebeb530
JW
12675case "(($ac_try" in
12676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12677 *) ac_try_echo=$ac_try;;
12678esac
12679eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
a3097628 12680 (eval "$ac_link") 2>conftest.er1
daa2886c 12681 ac_status=$?
875927f6
AJ
12682 grep -v '^ *+' conftest.er1 >conftest.err
12683 rm -f conftest.er1
12684 cat conftest.err >&5
daa2886c 12685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
12686 (exit $ac_status); } && {
12687 test -z "$ac_c_werror_flag" ||
12688 test ! -s conftest.err
a3097628
AJ
12689 } && test -s conftest$ac_exeext &&
12690 $as_test_x conftest$ac_exeext; then
c1099bb7
AJ
12691 case "$LIBEXT" in
12692 dll) ;;
12693 dylib) ac_cv_lib_soname_hal=`otool -L conftest$ac_exeext | grep "libhal\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libhal\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12694 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12695 esac
daa2886c
AJ
12696else
12697 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
12698sed 's/^/| /' conftest.$ac_ext >&5
12699
c1099bb7 12700
daa2886c 12701fi
fc6ffb29 12702
a3097628
AJ
12703rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12704 conftest$ac_exeext conftest.$ac_ext
c1099bb7 12705 LIBS=$ac_check_soname_save_LIBS
40432fef 12706fi
c1099bb7
AJ
12707if test "x$ac_cv_lib_soname_hal" = "x"; then
12708 { echo "$as_me:$LINENO: result: not found" >&5
12709echo "${ECHO_T}not found" >&6; }
a3097628 12710
c1099bb7
AJ
12711else
12712 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12713echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12714
12715cat >>confdefs.h <<_ACEOF
12716#define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
daa2886c 12717_ACEOF
f5818d2f 12718
c1099bb7 12719 HALINCL="$ac_hal_cflags"
a3097628
AJ
12720fi
12721
40432fef 12722fi
daa2886c 12723
a3097628
AJ
12724 fi
12725 CPPFLAGS="$ac_save_CPPFLAGS"
12726fi
f9dec94f 12727if test "x$ac_cv_lib_soname_hal" = "x"; then
a41f0f1b
AJ
12728 case "x$with_hal" in
12729 x) wine_notices="$wine_notices|libhal development files not found, no dynamic device support." ;;
12730 xno) ;;
12731 *) { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12732This is an error since --with-hal was requested." >&5
12733echo "$as_me: error: libhal development files not found, no dynamic device support.
12734This is an error since --with-hal was requested." >&2;}
12735 { (exit 1); exit 1; }; } ;;
12736esac
f9dec94f
AJ
12737fi
12738
40432fef 12739
874c9ef6
HV
12740if test "x$with_gnutls" != "xno" -a "$PKG_CONFIG" != "false"
12741then
12742 ac_save_CPPFLAGS="$CPPFLAGS"
12743 ac_gnutls_libs="`$PKG_CONFIG --libs gnutls 2>/dev/null`"
12744 ac_gnutls_cflags="`$PKG_CONFIG --cflags gnutls 2>/dev/null`"
12745 CPPFLAGS="$CPPFLAGS $ac_gnutls_cflags"
12746 if test "${ac_cv_header_gnutls_gnutls_h+set}" = set; then
12747 { echo "$as_me:$LINENO: checking for gnutls/gnutls.h" >&5
12748echo $ECHO_N "checking for gnutls/gnutls.h... $ECHO_C" >&6; }
12749if test "${ac_cv_header_gnutls_gnutls_h+set}" = set; then
12750 echo $ECHO_N "(cached) $ECHO_C" >&6
12751fi
12752{ echo "$as_me:$LINENO: result: $ac_cv_header_gnutls_gnutls_h" >&5
12753echo "${ECHO_T}$ac_cv_header_gnutls_gnutls_h" >&6; }
12754else
12755 # Is the header compilable?
12756{ echo "$as_me:$LINENO: checking gnutls/gnutls.h usability" >&5
12757echo $ECHO_N "checking gnutls/gnutls.h usability... $ECHO_C" >&6; }
12758cat >conftest.$ac_ext <<_ACEOF
12759/* confdefs.h. */
12760_ACEOF
12761cat confdefs.h >>conftest.$ac_ext
12762cat >>conftest.$ac_ext <<_ACEOF
12763/* end confdefs.h. */
12764$ac_includes_default
12765#include <gnutls/gnutls.h>
12766_ACEOF
12767rm -f conftest.$ac_objext
12768if { (ac_try="$ac_compile"
12769case "(($ac_try" in
12770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12771 *) ac_try_echo=$ac_try;;
12772esac
12773eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12774 (eval "$ac_compile") 2>conftest.er1
12775 ac_status=$?
12776 grep -v '^ *+' conftest.er1 >conftest.err
12777 rm -f conftest.er1
12778 cat conftest.err >&5
12779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12780 (exit $ac_status); } && {
12781 test -z "$ac_c_werror_flag" ||
12782 test ! -s conftest.err
12783 } && test -s conftest.$ac_objext; then
12784 ac_header_compiler=yes
12785else
12786 echo "$as_me: failed program was:" >&5
12787sed 's/^/| /' conftest.$ac_ext >&5
12788
12789 ac_header_compiler=no
12790fi
12791
12792rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12793{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12794echo "${ECHO_T}$ac_header_compiler" >&6; }
12795
12796# Is the header present?
12797{ echo "$as_me:$LINENO: checking gnutls/gnutls.h presence" >&5
12798echo $ECHO_N "checking gnutls/gnutls.h presence... $ECHO_C" >&6; }
12799cat >conftest.$ac_ext <<_ACEOF
12800/* confdefs.h. */
12801_ACEOF
12802cat confdefs.h >>conftest.$ac_ext
12803cat >>conftest.$ac_ext <<_ACEOF
12804/* end confdefs.h. */
12805#include <gnutls/gnutls.h>
12806_ACEOF
12807if { (ac_try="$ac_cpp conftest.$ac_ext"
12808case "(($ac_try" in
12809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12810 *) ac_try_echo=$ac_try;;
12811esac
12812eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12813 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12814 ac_status=$?
12815 grep -v '^ *+' conftest.er1 >conftest.err
12816 rm -f conftest.er1
12817 cat conftest.err >&5
12818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12819 (exit $ac_status); } >/dev/null && {
12820 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12821 test ! -s conftest.err
12822 }; then
12823 ac_header_preproc=yes
12824else
12825 echo "$as_me: failed program was:" >&5
12826sed 's/^/| /' conftest.$ac_ext >&5
12827
12828 ac_header_preproc=no
12829fi
12830
12831rm -f conftest.err conftest.$ac_ext
12832{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12833echo "${ECHO_T}$ac_header_preproc" >&6; }
12834
12835# So? What about this header?
12836case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12837 yes:no: )
12838 { echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: accepted by the compiler, rejected by the preprocessor!" >&5
12839echo "$as_me: WARNING: gnutls/gnutls.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12840 { echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: proceeding with the compiler's result" >&5
12841echo "$as_me: WARNING: gnutls/gnutls.h: proceeding with the compiler's result" >&2;}
12842 ac_header_preproc=yes
12843 ;;
12844 no:yes:* )
12845 { echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: present but cannot be compiled" >&5
12846echo "$as_me: WARNING: gnutls/gnutls.h: present but cannot be compiled" >&2;}
12847 { echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: check for missing prerequisite headers?" >&5
12848echo "$as_me: WARNING: gnutls/gnutls.h: check for missing prerequisite headers?" >&2;}
12849 { echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: see the Autoconf documentation" >&5
12850echo "$as_me: WARNING: gnutls/gnutls.h: see the Autoconf documentation" >&2;}
12851 { echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: section \"Present But Cannot Be Compiled\"" >&5
12852echo "$as_me: WARNING: gnutls/gnutls.h: section \"Present But Cannot Be Compiled\"" >&2;}
12853 { echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: proceeding with the preprocessor's result" >&5
12854echo "$as_me: WARNING: gnutls/gnutls.h: proceeding with the preprocessor's result" >&2;}
12855 { echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: in the future, the compiler will take precedence" >&5
12856echo "$as_me: WARNING: gnutls/gnutls.h: in the future, the compiler will take precedence" >&2;}
12857 ( cat <<\_ASBOX
12858## ------------------------------------ ##
12859## Report this to wine-devel@winehq.org ##
12860## ------------------------------------ ##
12861_ASBOX
12862 ) | sed "s/^/$as_me: WARNING: /" >&2
12863 ;;
12864esac
12865{ echo "$as_me:$LINENO: checking for gnutls/gnutls.h" >&5
12866echo $ECHO_N "checking for gnutls/gnutls.h... $ECHO_C" >&6; }
12867if test "${ac_cv_header_gnutls_gnutls_h+set}" = set; then
12868 echo $ECHO_N "(cached) $ECHO_C" >&6
12869else
12870 ac_cv_header_gnutls_gnutls_h=$ac_header_preproc
12871fi
12872{ echo "$as_me:$LINENO: result: $ac_cv_header_gnutls_gnutls_h" >&5
12873echo "${ECHO_T}$ac_cv_header_gnutls_gnutls_h" >&6; }
12874
12875fi
12876if test $ac_cv_header_gnutls_gnutls_h = yes; then
12877 { echo "$as_me:$LINENO: checking for -lgnutls" >&5
12878echo $ECHO_N "checking for -lgnutls... $ECHO_C" >&6; }
12879if test "${ac_cv_lib_soname_gnutls+set}" = set; then
12880 echo $ECHO_N "(cached) $ECHO_C" >&6
12881else
12882 ac_check_soname_save_LIBS=$LIBS
12883LIBS="-lgnutls $ac_gnutls_libs $LIBS"
12884 cat >conftest.$ac_ext <<_ACEOF
12885/* confdefs.h. */
12886_ACEOF
12887cat confdefs.h >>conftest.$ac_ext
12888cat >>conftest.$ac_ext <<_ACEOF
12889/* end confdefs.h. */
12890
12891/* Override any GCC internal prototype to avoid an error.
12892 Use char because int might match the return type of a GCC
12893 builtin and then its argument prototype would still apply. */
12894#ifdef __cplusplus
12895extern "C"
12896#endif
12897char gnutls_global_init ();
12898int
12899main ()
12900{
12901return gnutls_global_init ();
12902 ;
12903 return 0;
12904}
12905_ACEOF
12906rm -f conftest.$ac_objext conftest$ac_exeext
12907if { (ac_try="$ac_link"
12908case "(($ac_try" in
12909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12910 *) ac_try_echo=$ac_try;;
12911esac
12912eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12913 (eval "$ac_link") 2>conftest.er1
12914 ac_status=$?
12915 grep -v '^ *+' conftest.er1 >conftest.err
12916 rm -f conftest.er1
12917 cat conftest.err >&5
12918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12919 (exit $ac_status); } && {
12920 test -z "$ac_c_werror_flag" ||
12921 test ! -s conftest.err
12922 } && test -s conftest$ac_exeext &&
12923 $as_test_x conftest$ac_exeext; then
12924 case "$LIBEXT" in
12925 dll) ;;
12926 dylib) ac_cv_lib_soname_gnutls=`otool -L conftest$ac_exeext | grep "libgnutls\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgnutls\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12927 *) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12928 esac
12929else
12930 echo "$as_me: failed program was:" >&5
12931sed 's/^/| /' conftest.$ac_ext >&5
12932
12933
12934fi
12935
12936rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12937 conftest$ac_exeext conftest.$ac_ext
12938 LIBS=$ac_check_soname_save_LIBS
12939fi
12940if test "x$ac_cv_lib_soname_gnutls" = "x"; then
12941 { echo "$as_me:$LINENO: result: not found" >&5
12942echo "${ECHO_T}not found" >&6; }
12943
12944else
12945 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_gnutls" >&5
12946echo "${ECHO_T}$ac_cv_lib_soname_gnutls" >&6; }
12947
12948cat >>confdefs.h <<_ACEOF
12949#define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
12950_ACEOF
12951
12952 GNUTLSINCL="$ac_gnutls_cflags"
12953
12954fi
12955
12956fi
12957
12958
12959 CPPFLAGS="$ac_save_CPPFLAGS"
12960fi
12961if test "x$ac_cv_lib_soname_gnutls" = "x"; then
12962 case "x$with_gnutls" in
12963 x) wine_notices="$wine_notices|libgnutls development files not found, no schannel support." ;;
12964 xno) ;;
12965 *) { { echo "$as_me:$LINENO: error: libgnutls development files not found, no schannel support.
12966This is an error since --with-gnutls was requested." >&5
12967echo "$as_me: error: libgnutls development files not found, no schannel support.
12968This is an error since --with-gnutls was requested." >&2;}
12969 { (exit 1); exit 1; }; } ;;
12970esac
12971fi
12972
12973
a3097628
AJ
12974CURSESLIBS=""
12975if test "$ac_cv_header_ncurses_h" = "yes"
12976then
d0783774
AJ
12977 { echo "$as_me:$LINENO: checking for -lncurses" >&5
12978echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12979if test "${ac_cv_lib_soname_ncurses+set}" = set; then
a3097628
AJ
12980 echo $ECHO_N "(cached) $ECHO_C" >&6
12981else
d0783774 12982 ac_check_soname_save_LIBS=$LIBS
a3097628 12983LIBS="-lncurses $LIBS"
d0783774 12984 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
12985/* confdefs.h. */
12986_ACEOF
12987cat confdefs.h >>conftest.$ac_ext
12988cat >>conftest.$ac_ext <<_ACEOF
12989/* end confdefs.h. */
a3097628
AJ
12990
12991/* Override any GCC internal prototype to avoid an error.
12992 Use char because int might match the return type of a GCC
12993 builtin and then its argument prototype would still apply. */
12994#ifdef __cplusplus
12995extern "C"
12996#endif
12997char waddch ();
12998int
12999main ()
13000{
13001return waddch ();
13002 ;
13003 return 0;
13004}
f5818d2f 13005_ACEOF
a3097628
AJ
13006rm -f conftest.$ac_objext conftest$ac_exeext
13007if { (ac_try="$ac_link"
0ebeb530
JW
13008case "(($ac_try" in
13009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13010 *) ac_try_echo=$ac_try;;
13011esac
13012eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
a3097628 13013 (eval "$ac_link") 2>conftest.er1
f5818d2f 13014 ac_status=$?
11af04e3 13015 grep -v '^ *+' conftest.er1 >conftest.err
f5818d2f
AJ
13016 rm -f conftest.er1
13017 cat conftest.err >&5
daa2886c 13018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
a3097628
AJ
13019 (exit $ac_status); } && {
13020 test -z "$ac_c_werror_flag" ||
dc9f3843 13021 test ! -s conftest.err
a3097628
AJ
13022 } && test -s conftest$ac_exeext &&
13023 $as_test_x conftest$ac_exeext; then
d0783774
AJ
13024 case "$LIBEXT" in
13025 dll) ;;
13026 dylib) ac_cv_lib_soname_ncurses=`otool -L conftest$ac_exeext | grep "libncurses\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13027 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13028 esac
18d7573c 13029else
f5818d2f 13030 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
13031sed 's/^/| /' conftest.$ac_ext >&5
13032
d0783774 13033
18d7573c 13034fi
fc6ffb29 13035
a3097628
AJ
13036rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13037 conftest$ac_exeext conftest.$ac_ext
d0783774 13038 LIBS=$ac_check_soname_save_LIBS
a3097628 13039fi
d0783774
AJ
13040if test "x$ac_cv_lib_soname_ncurses" = "x"; then
13041 { echo "$as_me:$LINENO: result: not found" >&5
13042echo "${ECHO_T}not found" >&6; }
13043
13044else
13045 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
13046echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
13047
13048cat >>confdefs.h <<_ACEOF
13049#define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13050_ACEOF
13051
13052 CURSESLIBS="-lncurses"
a3097628
AJ
13053fi
13054
13055elif test "$ac_cv_header_curses_h" = "yes"
13056then
d0783774
AJ
13057 { echo "$as_me:$LINENO: checking for -lcurses" >&5
13058echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
13059if test "${ac_cv_lib_soname_curses+set}" = set; then
d8a6c278
HD
13060 echo $ECHO_N "(cached) $ECHO_C" >&6
13061else
d0783774 13062 ac_check_soname_save_LIBS=$LIBS
a3097628 13063LIBS="-lcurses $LIBS"
d0783774 13064 cat >conftest.$ac_ext <<_ACEOF
d8a6c278
HD
13065/* confdefs.h. */
13066_ACEOF
13067cat confdefs.h >>conftest.$ac_ext
13068cat >>conftest.$ac_ext <<_ACEOF
13069/* end confdefs.h. */
d8a6c278 13070
a3097628
AJ
13071/* Override any GCC internal prototype to avoid an error.
13072 Use char because int might match the return type of a GCC
13073 builtin and then its argument prototype would still apply. */
13074#ifdef __cplusplus
13075extern "C"
13076#endif
13077char waddch ();
d8a6c278
HD
13078int
13079main ()
13080{
a3097628 13081return waddch ();
d8a6c278
HD
13082 ;
13083 return 0;
13084}
13085_ACEOF
a3097628
AJ
13086rm -f conftest.$ac_objext conftest$ac_exeext
13087if { (ac_try="$ac_link"
0ebeb530
JW
13088case "(($ac_try" in
13089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13090 *) ac_try_echo=$ac_try;;
13091esac
13092eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
a3097628 13093 (eval "$ac_link") 2>conftest.er1
d8a6c278
HD
13094 ac_status=$?
13095 grep -v '^ *+' conftest.er1 >conftest.err
13096 rm -f conftest.er1
13097 cat conftest.err >&5
13098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
13099 (exit $ac_status); } && {
13100 test -z "$ac_c_werror_flag" ||
13101 test ! -s conftest.err
a3097628
AJ
13102 } && test -s conftest$ac_exeext &&
13103 $as_test_x conftest$ac_exeext; then
d0783774
AJ
13104 case "$LIBEXT" in
13105 dll) ;;
13106 dylib) ac_cv_lib_soname_curses=`otool -L conftest$ac_exeext | grep "libcurses\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13107 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13108 esac
d8a6c278
HD
13109else
13110 echo "$as_me: failed program was:" >&5
13111sed 's/^/| /' conftest.$ac_ext >&5
13112
d0783774 13113
d8a6c278 13114fi
d8a6c278 13115
a3097628
AJ
13116rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13117 conftest$ac_exeext conftest.$ac_ext
d0783774 13118 LIBS=$ac_check_soname_save_LIBS
a3097628 13119fi
d0783774
AJ
13120if test "x$ac_cv_lib_soname_curses" = "x"; then
13121 { echo "$as_me:$LINENO: result: not found" >&5
13122echo "${ECHO_T}not found" >&6; }
13123
13124else
13125 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
13126echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
13127
13128cat >>confdefs.h <<_ACEOF
13129#define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13130_ACEOF
13131
13132 CURSESLIBS="-lcurses"
d8a6c278
HD
13133fi
13134
a3097628
AJ
13135fi
13136ac_save_LIBS="$LIBS"
13137LIBS="$LIBS $CURSESLIBS"
35bca77f 13138
a3097628 13139for ac_func in mousemask
35bca77f
HD
13140do
13141as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
fc6ffb29
AJ
13142{ echo "$as_me:$LINENO: checking for $ac_func" >&5
13143echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13144if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35bca77f
HD
13145 echo $ECHO_N "(cached) $ECHO_C" >&6
13146else
13147 cat >conftest.$ac_ext <<_ACEOF
13148/* confdefs.h. */
13149_ACEOF
13150cat confdefs.h >>conftest.$ac_ext
13151cat >>conftest.$ac_ext <<_ACEOF
13152/* end confdefs.h. */
13153/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13155#define $ac_func innocuous_$ac_func
13156
13157/* System header to define __stub macros and hopefully few prototypes,
13158 which can conflict with char $ac_func (); below.
13159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13160 <limits.h> exists even on freestanding compilers. */
13161
13162#ifdef __STDC__
13163# include <limits.h>
13164#else
13165# include <assert.h>
13166#endif
13167
13168#undef $ac_func
13169
fc6ffb29
AJ
13170/* Override any GCC internal prototype to avoid an error.
13171 Use char because int might match the return type of a GCC
13172 builtin and then its argument prototype would still apply. */
35bca77f
HD
13173#ifdef __cplusplus
13174extern "C"
35bca77f 13175#endif
35bca77f
HD
13176char $ac_func ();
13177/* The GNU C library defines this for functions which it implements
13178 to always fail with ENOSYS. Some functions are actually named
13179 something starting with __ and the normal name is an alias. */
fc6ffb29 13180#if defined __stub_$ac_func || defined __stub___$ac_func
35bca77f 13181choke me
35bca77f
HD
13182#endif
13183
13184int
13185main ()
13186{
fc6ffb29 13187return $ac_func ();
35bca77f
HD
13188 ;
13189 return 0;
13190}
13191_ACEOF
13192rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
13193if { (ac_try="$ac_link"
13194case "(($ac_try" in
13195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13196 *) ac_try_echo=$ac_try;;
13197esac
13198eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13199 (eval "$ac_link") 2>conftest.er1
35bca77f
HD
13200 ac_status=$?
13201 grep -v '^ *+' conftest.er1 >conftest.err
13202 rm -f conftest.er1
13203 cat conftest.err >&5
13204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
13205 (exit $ac_status); } && {
13206 test -z "$ac_c_werror_flag" ||
13207 test ! -s conftest.err
13208 } && test -s conftest$ac_exeext &&
13209 $as_test_x conftest$ac_exeext; then
35bca77f
HD
13210 eval "$as_ac_var=yes"
13211else
13212 echo "$as_me: failed program was:" >&5
13213sed 's/^/| /' conftest.$ac_ext >&5
13214
fc6ffb29 13215 eval "$as_ac_var=no"
35bca77f 13216fi
fc6ffb29 13217
f0ca586f 13218rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35bca77f
HD
13219 conftest$ac_exeext conftest.$ac_ext
13220fi
fc6ffb29
AJ
13221ac_res=`eval echo '${'$as_ac_var'}'`
13222 { echo "$as_me:$LINENO: result: $ac_res" >&5
13223echo "${ECHO_T}$ac_res" >&6; }
35bca77f
HD
13224if test `eval echo '${'$as_ac_var'}'` = yes; then
13225 cat >>confdefs.h <<_ACEOF
13226#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13227_ACEOF
13228
13229fi
13230done
13231
a3097628 13232LIBS="$ac_save_LIBS"
f9dec94f 13233if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
a41f0f1b
AJ
13234 case "x$with_curses" in
13235 x) wine_notices="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
13236 xno) ;;
13237 *) { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
13238This is an error since --with-curses was requested." >&5
13239echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
13240This is an error since --with-curses was requested." >&2;}
13241 { (exit 1); exit 1; }; } ;;
13242esac
f9dec94f
AJ
13243fi
13244
f5818d2f 13245
a3097628
AJ
13246# Extract the first word of "sane-config", so it can be a program name with args.
13247set dummy sane-config; ac_word=$2
13248{ echo "$as_me:$LINENO: checking for $ac_word" >&5
13249echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13250if test "${ac_cv_prog_sane_devel+set}" = set; then
13251 echo $ECHO_N "(cached) $ECHO_C" >&6
13252else
13253 if test -n "$sane_devel"; then
13254 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
13255else
13256as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13257for as_dir in $PATH
13258do
13259 IFS=$as_save_IFS
13260 test -z "$as_dir" && as_dir=.
13261 for ac_exec_ext in '' $ac_executable_extensions; do
13262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13263 ac_cv_prog_sane_devel="sane-config"
13264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13265 break 2
13266 fi
13267done
13268done
13269IFS=$as_save_IFS
9b1d3726 13270
a3097628
AJ
13271 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
13272fi
13273fi
13274sane_devel=$ac_cv_prog_sane_devel
13275if test -n "$sane_devel"; then
13276 { echo "$as_me:$LINENO: result: $sane_devel" >&5
13277echo "${ECHO_T}$sane_devel" >&6; }
13278else
13279 { echo "$as_me:$LINENO: result: no" >&5
13280echo "${ECHO_T}no" >&6; }
563598d4
IP
13281fi
13282
00acb5f7 13283
a41f0f1b 13284if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
a3097628 13285then
418e74b5 13286 ac_sane_incl="`$sane_devel --cflags`"
a9d7babd 13287 ac_sane_libs="`$sane_devel --ldflags`"
a3097628 13288 ac_save_CPPFLAGS="$CPPFLAGS"
418e74b5 13289 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
a3097628
AJ
13290 if test "${ac_cv_header_sane_sane_h+set}" = set; then
13291 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
13292echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
13293if test "${ac_cv_header_sane_sane_h+set}" = set; then
f5818d2f 13294 echo $ECHO_N "(cached) $ECHO_C" >&6
a3097628
AJ
13295fi
13296{ echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
13297echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
6509fa93 13298else
a3097628
AJ
13299 # Is the header compilable?
13300{ echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
13301echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
13302cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
13303/* confdefs.h. */
13304_ACEOF
13305cat confdefs.h >>conftest.$ac_ext
13306cat >>conftest.$ac_ext <<_ACEOF
13307/* end confdefs.h. */
a3097628
AJ
13308$ac_includes_default
13309#include <sane/sane.h>
f5818d2f
AJ
13310_ACEOF
13311rm -f conftest.$ac_objext
0ebeb530
JW
13312if { (ac_try="$ac_compile"
13313case "(($ac_try" in
13314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13315 *) ac_try_echo=$ac_try;;
13316esac
13317eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13318 (eval "$ac_compile") 2>conftest.er1
f5818d2f 13319 ac_status=$?
875927f6
AJ
13320 grep -v '^ *+' conftest.er1 >conftest.err
13321 rm -f conftest.er1
13322 cat conftest.err >&5
daa2886c 13323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
13324 (exit $ac_status); } && {
13325 test -z "$ac_c_werror_flag" ||
13326 test ! -s conftest.err
13327 } && test -s conftest.$ac_objext; then
a3097628 13328 ac_header_compiler=yes
6509fa93 13329else
f5818d2f 13330 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
13331sed 's/^/| /' conftest.$ac_ext >&5
13332
a3097628 13333 ac_header_compiler=no
6509fa93 13334fi
fc6ffb29 13335
0ebeb530 13336rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
a3097628
AJ
13337{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13338echo "${ECHO_T}$ac_header_compiler" >&6; }
13339
13340# Is the header present?
13341{ echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
13342echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
13343cat >conftest.$ac_ext <<_ACEOF
13344/* confdefs.h. */
13345_ACEOF
13346cat confdefs.h >>conftest.$ac_ext
13347cat >>conftest.$ac_ext <<_ACEOF
13348/* end confdefs.h. */
13349#include <sane/sane.h>
13350_ACEOF
13351if { (ac_try="$ac_cpp conftest.$ac_ext"
13352case "(($ac_try" in
13353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13354 *) ac_try_echo=$ac_try;;
13355esac
13356eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13357 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13358 ac_status=$?
13359 grep -v '^ *+' conftest.er1 >conftest.err
13360 rm -f conftest.er1
13361 cat conftest.err >&5
13362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13363 (exit $ac_status); } >/dev/null && {
13364 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13365 test ! -s conftest.err
13366 }; then
13367 ac_header_preproc=yes
13368else
13369 echo "$as_me: failed program was:" >&5
13370sed 's/^/| /' conftest.$ac_ext >&5
13371
13372 ac_header_preproc=no
f5818d2f 13373fi
a3097628
AJ
13374
13375rm -f conftest.err conftest.$ac_ext
13376{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13377echo "${ECHO_T}$ac_header_preproc" >&6; }
13378
13379# So? What about this header?
13380case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13381 yes:no: )
13382 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
13383echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13384 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
13385echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
13386 ac_header_preproc=yes
13387 ;;
13388 no:yes:* )
13389 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
13390echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
13391 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
13392echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
13393 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
13394echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
13395 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
13396echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
13397 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
13398echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
13399 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
13400echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
13401 ( cat <<\_ASBOX
13402## ------------------------------------ ##
13403## Report this to wine-devel@winehq.org ##
13404## ------------------------------------ ##
13405_ASBOX
13406 ) | sed "s/^/$as_me: WARNING: /" >&2
13407 ;;
13408esac
13409{ echo "$as_me:$LINENO: checking for sane/sane.h" >&5
13410echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
13411if test "${ac_cv_header_sane_sane_h+set}" = set; then
13412 echo $ECHO_N "(cached) $ECHO_C" >&6
13413else
13414 ac_cv_header_sane_sane_h=$ac_header_preproc
13415fi
13416{ echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
13417echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
13418
13419fi
13420if test $ac_cv_header_sane_sane_h = yes; then
418e74b5
AJ
13421 { echo "$as_me:$LINENO: checking for -lsane" >&5
13422echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
13423if test "${ac_cv_lib_soname_sane+set}" = set; then
13424 echo $ECHO_N "(cached) $ECHO_C" >&6
13425else
13426 ac_check_soname_save_LIBS=$LIBS
a9d7babd 13427LIBS="-lsane $ac_sane_libs $LIBS"
418e74b5
AJ
13428 cat >conftest.$ac_ext <<_ACEOF
13429/* confdefs.h. */
13430_ACEOF
13431cat confdefs.h >>conftest.$ac_ext
13432cat >>conftest.$ac_ext <<_ACEOF
13433/* end confdefs.h. */
f5818d2f 13434
418e74b5
AJ
13435/* Override any GCC internal prototype to avoid an error.
13436 Use char because int might match the return type of a GCC
13437 builtin and then its argument prototype would still apply. */
13438#ifdef __cplusplus
13439extern "C"
13440#endif
13441char sane_init ();
13442int
13443main ()
13444{
13445return sane_init ();
13446 ;
13447 return 0;
13448}
daa2886c 13449_ACEOF
418e74b5
AJ
13450rm -f conftest.$ac_objext conftest$ac_exeext
13451if { (ac_try="$ac_link"
13452case "(($ac_try" in
13453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13454 *) ac_try_echo=$ac_try;;
13455esac
13456eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13457 (eval "$ac_link") 2>conftest.er1
13458 ac_status=$?
13459 grep -v '^ *+' conftest.er1 >conftest.err
13460 rm -f conftest.er1
13461 cat conftest.err >&5
13462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13463 (exit $ac_status); } && {
13464 test -z "$ac_c_werror_flag" ||
13465 test ! -s conftest.err
13466 } && test -s conftest$ac_exeext &&
13467 $as_test_x conftest$ac_exeext; then
13468 case "$LIBEXT" in
13469 dll) ;;
13470 dylib) ac_cv_lib_soname_sane=`otool -L conftest$ac_exeext | grep "libsane\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libsane\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13471 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13472 esac
13473else
13474 echo "$as_me: failed program was:" >&5
13475sed 's/^/| /' conftest.$ac_ext >&5
13476
13477
13478fi
13479
13480rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13481 conftest$ac_exeext conftest.$ac_ext
13482 LIBS=$ac_check_soname_save_LIBS
13483fi
13484if test "x$ac_cv_lib_soname_sane" = "x"; then
13485 { echo "$as_me:$LINENO: result: not found" >&5
13486echo "${ECHO_T}not found" >&6; }
6509fa93 13487
a3097628 13488else
418e74b5
AJ
13489 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
13490echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
13491
13492cat >>confdefs.h <<_ACEOF
13493#define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13494_ACEOF
13495
13496 SANEINCL="$ac_sane_incl"
13497
13498fi
13499
a3097628
AJ
13500fi
13501
13502
13503 CPPFLAGS="$ac_save_CPPFLAGS"
13504fi
f9dec94f 13505if test "x$ac_cv_lib_soname_sane" = "x"; then
a41f0f1b
AJ
13506 case "x$with_sane" in
13507 x) wine_notices="$wine_notices|libsane development files not found, scanners won't be supported." ;;
13508 xno) ;;
13509 *) { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
13510This is an error since --with-sane was requested." >&5
13511echo "$as_me: error: libsane development files not found, scanners won't be supported.
13512This is an error since --with-sane was requested." >&2;}
13513 { (exit 1); exit 1; }; } ;;
13514esac
f9dec94f
AJ
13515fi
13516
a3097628
AJ
13517
13518# Extract the first word of "gphoto2-config", so it can be a program name with args.
13519set dummy gphoto2-config; ac_word=$2
13520{ echo "$as_me:$LINENO: checking for $ac_word" >&5
13521echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13522if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
13523 echo $ECHO_N "(cached) $ECHO_C" >&6
13524else
13525 if test -n "$gphoto2_devel"; then
13526 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
13527else
13528as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13529for as_dir in $PATH
13530do
13531 IFS=$as_save_IFS
13532 test -z "$as_dir" && as_dir=.
13533 for ac_exec_ext in '' $ac_executable_extensions; do
13534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13535 ac_cv_prog_gphoto2_devel="gphoto2-config"
13536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13537 break 2
13538 fi
13539done
13540done
13541IFS=$as_save_IFS
13542
13543 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
13544fi
13545fi
13546gphoto2_devel=$ac_cv_prog_gphoto2_devel
13547if test -n "$gphoto2_devel"; then
13548 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
13549echo "${ECHO_T}$gphoto2_devel" >&6; }
13550else
13551 { echo "$as_me:$LINENO: result: no" >&5
13552echo "${ECHO_T}no" >&6; }
13553fi
13554
13555
13556# Extract the first word of "gphoto2-port-config", so it can be a program name with args.
13557set dummy gphoto2-port-config; ac_word=$2
13558{ echo "$as_me:$LINENO: checking for $ac_word" >&5
13559echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13560if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
13561 echo $ECHO_N "(cached) $ECHO_C" >&6
13562else
13563 if test -n "$gphoto2port_devel"; then
13564 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
13565else
13566as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13567for as_dir in $PATH
13568do
13569 IFS=$as_save_IFS
13570 test -z "$as_dir" && as_dir=.
13571 for ac_exec_ext in '' $ac_executable_extensions; do
13572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13573 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
13574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13575 break 2
13576 fi
13577done
13578done
13579IFS=$as_save_IFS
13580
13581 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
6509fa93 13582fi
a3097628
AJ
13583fi
13584gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
13585if test -n "$gphoto2port_devel"; then
13586 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
13587echo "${ECHO_T}$gphoto2port_devel" >&6; }
5ee517ac 13588else
a3097628
AJ
13589 { echo "$as_me:$LINENO: result: no" >&5
13590echo "${ECHO_T}no" >&6; }
5ee517ac 13591fi
fc6ffb29 13592
5ee517ac 13593
a41f0f1b 13594if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
a3097628 13595then
f9dec94f
AJ
13596 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
13597 ac_gphoto2_libs=""
a3097628
AJ
13598 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
13599 do
13600 case "$i" in
13601 -L/usr/lib|-L/usr/lib64) ;;
f9dec94f 13602 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
a3097628
AJ
13603 esac
13604 done
13605 ac_save_CPPFLAGS="$CPPFLAGS"
f9dec94f 13606 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
a3097628
AJ
13607 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13608 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13609echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13610if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
5ee517ac 13611 echo $ECHO_N "(cached) $ECHO_C" >&6
a3097628
AJ
13612fi
13613{ echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13614echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
5ee517ac 13615else
a3097628
AJ
13616 # Is the header compilable?
13617{ echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
13618echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
13619cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
13620/* confdefs.h. */
13621_ACEOF
13622cat confdefs.h >>conftest.$ac_ext
13623cat >>conftest.$ac_ext <<_ACEOF
13624/* end confdefs.h. */
a3097628
AJ
13625$ac_includes_default
13626#include <gphoto2-camera.h>
5ee517ac 13627_ACEOF
a3097628
AJ
13628rm -f conftest.$ac_objext
13629if { (ac_try="$ac_compile"
0ebeb530
JW
13630case "(($ac_try" in
13631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13632 *) ac_try_echo=$ac_try;;
13633esac
13634eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
a3097628 13635 (eval "$ac_compile") 2>conftest.er1
5ee517ac 13636 ac_status=$?
875927f6
AJ
13637 grep -v '^ *+' conftest.er1 >conftest.err
13638 rm -f conftest.er1
13639 cat conftest.err >&5
5ee517ac 13640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
13641 (exit $ac_status); } && {
13642 test -z "$ac_c_werror_flag" ||
13643 test ! -s conftest.err
a3097628
AJ
13644 } && test -s conftest.$ac_objext; then
13645 ac_header_compiler=yes
5ee517ac
MM
13646else
13647 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
13648sed 's/^/| /' conftest.$ac_ext >&5
13649
a3097628 13650 ac_header_compiler=no
5ee517ac 13651fi
5ee517ac 13652
a3097628
AJ
13653rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13654{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13655echo "${ECHO_T}$ac_header_compiler" >&6; }
5ee517ac 13656
a3097628
AJ
13657# Is the header present?
13658{ echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
13659echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
13660cat >conftest.$ac_ext <<_ACEOF
b2d937d5
AJ
13661/* confdefs.h. */
13662_ACEOF
13663cat confdefs.h >>conftest.$ac_ext
13664cat >>conftest.$ac_ext <<_ACEOF
13665/* end confdefs.h. */
a3097628 13666#include <gphoto2-camera.h>
b2d937d5 13667_ACEOF
a3097628 13668if { (ac_try="$ac_cpp conftest.$ac_ext"
0ebeb530
JW
13669case "(($ac_try" in
13670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13671 *) ac_try_echo=$ac_try;;
13672esac
13673eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
a3097628 13674 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
b2d937d5 13675 ac_status=$?
875927f6
AJ
13676 grep -v '^ *+' conftest.er1 >conftest.err
13677 rm -f conftest.er1
13678 cat conftest.err >&5
b2d937d5 13679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
a3097628
AJ
13680 (exit $ac_status); } >/dev/null && {
13681 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
dc9f3843 13682 test ! -s conftest.err
a3097628
AJ
13683 }; then
13684 ac_header_preproc=yes
b2d937d5
AJ
13685else
13686 echo "$as_me: failed program was:" >&5
13687sed 's/^/| /' conftest.$ac_ext >&5
13688
a3097628 13689 ac_header_preproc=no
b2d937d5 13690fi
fc6ffb29 13691
a3097628
AJ
13692rm -f conftest.err conftest.$ac_ext
13693{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13694echo "${ECHO_T}$ac_header_preproc" >&6; }
b2d937d5 13695
a3097628
AJ
13696# So? What about this header?
13697case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13698 yes:no: )
13699 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
13700echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13701 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
13702echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
13703 ac_header_preproc=yes
13704 ;;
13705 no:yes:* )
13706 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
13707echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
13708 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
13709echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
13710 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
13711echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
13712 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
13713echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
13714 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
13715echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
13716 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
13717echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
13718 ( cat <<\_ASBOX
13719## ------------------------------------ ##
13720## Report this to wine-devel@winehq.org ##
13721## ------------------------------------ ##
13722_ASBOX
13723 ) | sed "s/^/$as_me: WARNING: /" >&2
13724 ;;
13725esac
13726{ echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13727echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13728if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13729 echo $ECHO_N "(cached) $ECHO_C" >&6
13730else
13731 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
b2d937d5 13732fi
a3097628
AJ
13733{ echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13734echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
b2d937d5
AJ
13735
13736fi
a3097628
AJ
13737if test $ac_cv_header_gphoto2_camera_h = yes; then
13738 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
13739echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
13740if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
80e34dbb
AJ
13741 echo $ECHO_N "(cached) $ECHO_C" >&6
13742else
a3097628 13743 ac_check_lib_save_LIBS=$LIBS
4bc03fe8 13744LIBS="-lgphoto2 $ac_gphoto2_libs $LIBS"
a3097628 13745cat >conftest.$ac_ext <<_ACEOF
80e34dbb
AJ
13746/* confdefs.h. */
13747_ACEOF
13748cat confdefs.h >>conftest.$ac_ext
13749cat >>conftest.$ac_ext <<_ACEOF
13750/* end confdefs.h. */
80e34dbb 13751
a3097628
AJ
13752/* Override any GCC internal prototype to avoid an error.
13753 Use char because int might match the return type of a GCC
13754 builtin and then its argument prototype would still apply. */
13755#ifdef __cplusplus
13756extern "C"
13757#endif
13758char gp_camera_new ();
80e34dbb
AJ
13759int
13760main ()
13761{
a3097628 13762return gp_camera_new ();
80e34dbb
AJ
13763 ;
13764 return 0;
13765}
13766_ACEOF
a3097628
AJ
13767rm -f conftest.$ac_objext conftest$ac_exeext
13768if { (ac_try="$ac_link"
0ebeb530
JW
13769case "(($ac_try" in
13770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13771 *) ac_try_echo=$ac_try;;
13772esac
13773eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
a3097628 13774 (eval "$ac_link") 2>conftest.er1
80e34dbb 13775 ac_status=$?
875927f6
AJ
13776 grep -v '^ *+' conftest.er1 >conftest.err
13777 rm -f conftest.er1
13778 cat conftest.err >&5
80e34dbb 13779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
13780 (exit $ac_status); } && {
13781 test -z "$ac_c_werror_flag" ||
13782 test ! -s conftest.err
a3097628
AJ
13783 } && test -s conftest$ac_exeext &&
13784 $as_test_x conftest$ac_exeext; then
13785 ac_cv_lib_gphoto2_gp_camera_new=yes
80e34dbb
AJ
13786else
13787 echo "$as_me: failed program was:" >&5
13788sed 's/^/| /' conftest.$ac_ext >&5
13789
a3097628 13790 ac_cv_lib_gphoto2_gp_camera_new=no
80e34dbb 13791fi
fc6ffb29 13792
a3097628
AJ
13793rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13794 conftest$ac_exeext conftest.$ac_ext
13795LIBS=$ac_check_lib_save_LIBS
80e34dbb 13796fi
a3097628
AJ
13797{ echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13798echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13799if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
80e34dbb 13800
a3097628
AJ
13801cat >>confdefs.h <<\_ACEOF
13802#define HAVE_GPHOTO2 1
80e34dbb
AJ
13803_ACEOF
13804
f9dec94f
AJ
13805 GPHOTO2LIBS="$ac_gphoto2_libs"
13806
13807 GPHOTO2INCL="$ac_gphoto2_incl"
13808
a3097628
AJ
13809fi
13810
a3097628
AJ
13811fi
13812
80e34dbb 13813
a3097628 13814 CPPFLAGS="$ac_save_CPPFLAGS"
80e34dbb 13815fi
f9dec94f 13816if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
a41f0f1b
AJ
13817 case "x$with_gphoto" in
13818 x) wine_notices="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13819 xno) ;;
13820 *) { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13821This is an error since --with-gphoto was requested." >&5
13822echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13823This is an error since --with-gphoto was requested." >&2;}
13824 { (exit 1); exit 1; }; } ;;
13825esac
f9dec94f
AJ
13826fi
13827
13828
a3097628 13829
a3097628 13830RESOLVLIBS=""
80e34dbb 13831
a3097628
AJ
13832if test "$ac_cv_header_resolv_h" = "yes"
13833then
13834 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13835echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13836if test "${ac_cv_lib_resolv_res_query+set}" = set; then
821ab863
AJ
13837 echo $ECHO_N "(cached) $ECHO_C" >&6
13838else
a3097628
AJ
13839 ac_check_lib_save_LIBS=$LIBS
13840LIBS="-lresolv $LIBS"
13841cat >conftest.$ac_ext <<_ACEOF
821ab863
AJ
13842/* confdefs.h. */
13843_ACEOF
13844cat confdefs.h >>conftest.$ac_ext
13845cat >>conftest.$ac_ext <<_ACEOF
13846/* end confdefs.h. */
875927f6 13847
fc6ffb29
AJ
13848/* Override any GCC internal prototype to avoid an error.
13849 Use char because int might match the return type of a GCC
13850 builtin and then its argument prototype would still apply. */
821ab863
AJ
13851#ifdef __cplusplus
13852extern "C"
821ab863 13853#endif
a3097628 13854char res_query ();
821ab863
AJ
13855int
13856main ()
13857{
a3097628 13858return res_query ();
821ab863
AJ
13859 ;
13860 return 0;
13861}
13862_ACEOF
13863rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
13864if { (ac_try="$ac_link"
13865case "(($ac_try" in
13866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13867 *) ac_try_echo=$ac_try;;
13868esac
13869eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13870 (eval "$ac_link") 2>conftest.er1
821ab863 13871 ac_status=$?
875927f6
AJ
13872 grep -v '^ *+' conftest.er1 >conftest.err
13873 rm -f conftest.er1
13874 cat conftest.err >&5
821ab863 13875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
13876 (exit $ac_status); } && {
13877 test -z "$ac_c_werror_flag" ||
13878 test ! -s conftest.err
13879 } && test -s conftest$ac_exeext &&
13880 $as_test_x conftest$ac_exeext; then
a3097628 13881 ac_cv_lib_resolv_res_query=yes
821ab863
AJ
13882else
13883 echo "$as_me: failed program was:" >&5
13884sed 's/^/| /' conftest.$ac_ext >&5
13885
a3097628 13886 ac_cv_lib_resolv_res_query=no
821ab863 13887fi
fc6ffb29 13888
f0ca586f 13889rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 13890 conftest$ac_exeext conftest.$ac_ext
a3097628 13891LIBS=$ac_check_lib_save_LIBS
821ab863 13892fi
a3097628
AJ
13893{ echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13894echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13895if test $ac_cv_lib_resolv_res_query = yes; then
13896
13897cat >>confdefs.h <<\_ACEOF
13898#define HAVE_RESOLV 1
821ab863
AJ
13899_ACEOF
13900
a3097628 13901 RESOLVLIBS="-lresolv"
821ab863 13902fi
daa2886c 13903
73482144 13904fi
2a91e3f9 13905
a3097628 13906LCMSLIBS=""
fc6ffb29 13907
a3097628 13908if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
73482144 13909then
a3097628
AJ
13910 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13911echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13912if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
2a91e3f9 13913 echo $ECHO_N "(cached) $ECHO_C" >&6
2a91e3f9 13914else
73482144 13915 ac_check_lib_save_LIBS=$LIBS
a3097628 13916LIBS="-llcms $LIBS"
2a91e3f9 13917cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
13918/* confdefs.h. */
13919_ACEOF
13920cat confdefs.h >>conftest.$ac_ext
13921cat >>conftest.$ac_ext <<_ACEOF
13922/* end confdefs.h. */
73482144 13923
fc6ffb29
AJ
13924/* Override any GCC internal prototype to avoid an error.
13925 Use char because int might match the return type of a GCC
13926 builtin and then its argument prototype would still apply. */
73482144
AJ
13927#ifdef __cplusplus
13928extern "C"
13929#endif
a3097628 13930char cmsOpenProfileFromFile ();
73482144
AJ
13931int
13932main ()
13933{
a3097628 13934return cmsOpenProfileFromFile ();
73482144
AJ
13935 ;
13936 return 0;
13937}
2a91e3f9 13938_ACEOF
73482144 13939rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
13940if { (ac_try="$ac_link"
13941case "(($ac_try" in
13942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13943 *) ac_try_echo=$ac_try;;
13944esac
13945eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13946 (eval "$ac_link") 2>conftest.er1
2a91e3f9 13947 ac_status=$?
875927f6
AJ
13948 grep -v '^ *+' conftest.er1 >conftest.err
13949 rm -f conftest.er1
13950 cat conftest.err >&5
2a91e3f9 13951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
13952 (exit $ac_status); } && {
13953 test -z "$ac_c_werror_flag" ||
13954 test ! -s conftest.err
13955 } && test -s conftest$ac_exeext &&
13956 $as_test_x conftest$ac_exeext; then
a3097628 13957 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
2a91e3f9
RL
13958else
13959 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
13960sed 's/^/| /' conftest.$ac_ext >&5
13961
a3097628 13962 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
2a91e3f9 13963fi
fc6ffb29 13964
f0ca586f 13965rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
73482144
AJ
13966 conftest$ac_exeext conftest.$ac_ext
13967LIBS=$ac_check_lib_save_LIBS
13968fi
a3097628
AJ
13969{ echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13970echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13971if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
73482144
AJ
13972
13973cat >>confdefs.h <<\_ACEOF
a3097628 13974#define HAVE_LCMS 1
2a91e3f9 13975_ACEOF
e24bcc77 13976
a3097628 13977 LCMSLIBS="-llcms"
2a91e3f9 13978fi
875927f6 13979
2a91e3f9 13980fi
82e06804 13981if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
a41f0f1b
AJ
13982 case "x$with_cms" in
13983 x) wine_notices="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13984 xno) ;;
13985 *) { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13986This is an error since --with-cms was requested." >&5
13987echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13988This is an error since --with-cms was requested." >&2;}
13989 { (exit 1); exit 1; }; } ;;
13990esac
f9dec94f
AJ
13991fi
13992
2a91e3f9 13993
bcba2705
FG
13994for ac_prog in freetype-config freetype2-config
13995do
13996 # Extract the first word of "$ac_prog", so it can be a program name with args.
13997set dummy $ac_prog; ac_word=$2
13998{ echo "$as_me:$LINENO: checking for $ac_word" >&5
13999echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14000if test "${ac_cv_prog_ft_devel+set}" = set; then
2a91e3f9
RL
14001 echo $ECHO_N "(cached) $ECHO_C" >&6
14002else
bcba2705
FG
14003 if test -n "$ft_devel"; then
14004 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
2a91e3f9 14005else
bcba2705
FG
14006as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14007for as_dir in $PATH
14008do
14009 IFS=$as_save_IFS
14010 test -z "$as_dir" && as_dir=.
14011 for ac_exec_ext in '' $ac_executable_extensions; do
14012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14013 ac_cv_prog_ft_devel="$ac_prog"
14014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14015 break 2
14016 fi
14017done
14018done
14019IFS=$as_save_IFS
e24bcc77 14020
2a91e3f9 14021fi
2a91e3f9 14022fi
bcba2705
FG
14023ft_devel=$ac_cv_prog_ft_devel
14024if test -n "$ft_devel"; then
14025 { echo "$as_me:$LINENO: result: $ft_devel" >&5
14026echo "${ECHO_T}$ft_devel" >&6; }
14027else
14028 { echo "$as_me:$LINENO: result: no" >&5
14029echo "${ECHO_T}no" >&6; }
14030fi
14031
14032
14033 test -n "$ft_devel" && break
14034done
14035test -n "$ft_devel" || ft_devel="false"
14036
14037if test "$ft_devel" != "false" -a "x$with_freetype" != "xno"
14038then
14039 ac_freetype_libs=`$ft_devel --libs`
14040 ac_freetype_incl=`$ft_devel --cflags`
14041 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
14042echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
14043if test "${ac_cv_lib_soname_freetype+set}" = set; then
a3097628
AJ
14044 echo $ECHO_N "(cached) $ECHO_C" >&6
14045else
bcba2705
FG
14046 ac_check_soname_save_LIBS=$LIBS
14047LIBS="-lfreetype $ac_freetype_libs $LIBS"
14048 cat >conftest.$ac_ext <<_ACEOF
00fdd9fc
AJ
14049/* confdefs.h. */
14050_ACEOF
14051cat confdefs.h >>conftest.$ac_ext
14052cat >>conftest.$ac_ext <<_ACEOF
14053/* end confdefs.h. */
a3097628
AJ
14054
14055/* Override any GCC internal prototype to avoid an error.
14056 Use char because int might match the return type of a GCC
14057 builtin and then its argument prototype would still apply. */
14058#ifdef __cplusplus
14059extern "C"
73482144 14060#endif
bcba2705 14061char FT_Init_FreeType ();
73482144
AJ
14062int
14063main ()
14064{
bcba2705 14065return FT_Init_FreeType ();
73482144
AJ
14066 ;
14067 return 0;
14068}
00fdd9fc 14069_ACEOF
a3097628
AJ
14070rm -f conftest.$ac_objext conftest$ac_exeext
14071if { (ac_try="$ac_link"
0ebeb530
JW
14072case "(($ac_try" in
14073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14074 *) ac_try_echo=$ac_try;;
14075esac
14076eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
a3097628 14077 (eval "$ac_link") 2>conftest.er1
00fdd9fc 14078 ac_status=$?
875927f6
AJ
14079 grep -v '^ *+' conftest.er1 >conftest.err
14080 rm -f conftest.er1
14081 cat conftest.err >&5
00fdd9fc 14082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
14083 (exit $ac_status); } && {
14084 test -z "$ac_c_werror_flag" ||
14085 test ! -s conftest.err
a3097628
AJ
14086 } && test -s conftest$ac_exeext &&
14087 $as_test_x conftest$ac_exeext; then
bcba2705
FG
14088 case "$LIBEXT" in
14089 dll) ;;
14090 dylib) ac_cv_lib_soname_freetype=`otool -L conftest$ac_exeext | grep "libfreetype\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libfreetype\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14091 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14092 esac
00fdd9fc
AJ
14093else
14094 echo "$as_me: failed program was:" >&5
14095sed 's/^/| /' conftest.$ac_ext >&5
14096
bcba2705 14097
a3097628 14098fi
fc6ffb29 14099
a3097628
AJ
14100rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14101 conftest$ac_exeext conftest.$ac_ext
bcba2705 14102 LIBS=$ac_check_soname_save_LIBS
00fdd9fc 14103fi
bcba2705
FG
14104if test "x$ac_cv_lib_soname_freetype" = "x"; then
14105 { echo "$as_me:$LINENO: result: not found" >&5
14106echo "${ECHO_T}not found" >&6; }
14107 ft_lib=no
14108else
14109 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14110echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
fc6ffb29 14111
bcba2705
FG
14112cat >>confdefs.h <<_ACEOF
14113#define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
a3097628
AJ
14114_ACEOF
14115
bcba2705 14116 ft_lib=yes
00fdd9fc 14117fi
00fdd9fc 14118
bcba2705
FG
14119 if test "$ft_lib" = "yes"
14120 then
14121 ac_save_CPPFLAGS="$CPPFLAGS"
14122 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
00fdd9fc
AJ
14123
14124
73482144 14125
a3097628
AJ
14126
14127
032dbfe4
HL
14128
14129
14130
14131
bcba2705
FG
14132
14133
14134
14135for ac_header in ft2build.h \
14136 freetype/freetype.h \
14137 freetype/ftglyph.h \
14138 freetype/fttypes.h \
14139 freetype/tttables.h \
14140 freetype/ftnames.h \
14141 freetype/ftsnames.h \
14142 freetype/ttnameid.h \
14143 freetype/ftoutln.h \
14144 freetype/ftwinfnt.h \
14145 freetype/ftmodapi.h \
14146 freetype/internal/sfnt.h
a3097628 14147do
bcba2705
FG
14148as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14149{ echo "$as_me:$LINENO: checking for $ac_header" >&5
14150echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14151if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
00fdd9fc 14152 echo $ECHO_N "(cached) $ECHO_C" >&6
00fdd9fc 14153else
a3097628 14154 cat >conftest.$ac_ext <<_ACEOF
00fdd9fc
AJ
14155/* confdefs.h. */
14156_ACEOF
14157cat confdefs.h >>conftest.$ac_ext
14158cat >>conftest.$ac_ext <<_ACEOF
14159/* end confdefs.h. */
bcba2705
FG
14160#ifdef HAVE_FT2BUILD_H
14161 # include <ft2build.h>
14162 #endif
a3097628 14163
bcba2705 14164#include <$ac_header>
00fdd9fc 14165_ACEOF
bcba2705
FG
14166rm -f conftest.$ac_objext
14167if { (ac_try="$ac_compile"
0ebeb530
JW
14168case "(($ac_try" in
14169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14170 *) ac_try_echo=$ac_try;;
14171esac
14172eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
bcba2705 14173 (eval "$ac_compile") 2>conftest.er1
00fdd9fc 14174 ac_status=$?
875927f6
AJ
14175 grep -v '^ *+' conftest.er1 >conftest.err
14176 rm -f conftest.er1
14177 cat conftest.err >&5
00fdd9fc 14178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
14179 (exit $ac_status); } && {
14180 test -z "$ac_c_werror_flag" ||
14181 test ! -s conftest.err
bcba2705
FG
14182 } && test -s conftest.$ac_objext; then
14183 eval "$as_ac_Header=yes"
00fdd9fc
AJ
14184else
14185 echo "$as_me: failed program was:" >&5
14186sed 's/^/| /' conftest.$ac_ext >&5
14187
bcba2705 14188 eval "$as_ac_Header=no"
00fdd9fc 14189fi
fc6ffb29 14190
bcba2705 14191rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73482144 14192fi
bcba2705 14193ac_res=`eval echo '${'$as_ac_Header'}'`
a3097628
AJ
14194 { echo "$as_me:$LINENO: result: $ac_res" >&5
14195echo "${ECHO_T}$ac_res" >&6; }
bcba2705 14196if test `eval echo '${'$as_ac_Header'}'` = yes; then
a3097628 14197 cat >>confdefs.h <<_ACEOF
bcba2705 14198#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
73482144 14199_ACEOF
00fdd9fc 14200
00fdd9fc 14201fi
bcba2705 14202
a3097628
AJ
14203done
14204
14205 cat >conftest.$ac_ext <<_ACEOF
efca0f6a
AJ
14206/* confdefs.h. */
14207_ACEOF
14208cat confdefs.h >>conftest.$ac_ext
14209cat >>conftest.$ac_ext <<_ACEOF
14210/* end confdefs.h. */
a3097628
AJ
14211#include <ft2build.h>
14212 #include <freetype/fttrigon.h>
efca0f6a 14213_ACEOF
a3097628 14214if { (ac_try="$ac_cpp conftest.$ac_ext"
0ebeb530
JW
14215case "(($ac_try" in
14216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14217 *) ac_try_echo=$ac_try;;
14218esac
14219eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
a3097628 14220 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
efca0f6a 14221 ac_status=$?
875927f6
AJ
14222 grep -v '^ *+' conftest.er1 >conftest.err
14223 rm -f conftest.er1
14224 cat conftest.err >&5
efca0f6a 14225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
a3097628
AJ
14226 (exit $ac_status); } >/dev/null && {
14227 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
dc9f3843 14228 test ! -s conftest.err
a3097628
AJ
14229 }; then
14230
14231cat >>confdefs.h <<\_ACEOF
14232#define HAVE_FREETYPE_FTTRIGON_H 1
14233_ACEOF
14234
14235 wine_cv_fttrigon=yes
efca0f6a
AJ
14236else
14237 echo "$as_me: failed program was:" >&5
14238sed 's/^/| /' conftest.$ac_ext >&5
14239
a3097628 14240 wine_cv_fttrigon=no
182d150a 14241fi
efca0f6a 14242
a3097628
AJ
14243rm -f conftest.err conftest.$ac_ext
14244 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
14245echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
14246if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
f8cb48b5
AJ
14247 echo $ECHO_N "(cached) $ECHO_C" >&6
14248else
a3097628 14249 cat >conftest.$ac_ext <<_ACEOF
f8cb48b5
AJ
14250/* confdefs.h. */
14251_ACEOF
14252cat confdefs.h >>conftest.$ac_ext
14253cat >>conftest.$ac_ext <<_ACEOF
14254/* end confdefs.h. */
a3097628 14255#include <freetype/ftmodapi.h>
f8cb48b5 14256
a3097628 14257typedef FT_TrueTypeEngineType ac__type_new_;
f8cb48b5
AJ
14258int
14259main ()
14260{
a3097628
AJ
14261if ((ac__type_new_ *) 0)
14262 return 0;
14263if (sizeof (ac__type_new_))
14264 return 0;
f8cb48b5
AJ
14265 ;
14266 return 0;
14267}
14268_ACEOF
a3097628
AJ
14269rm -f conftest.$ac_objext
14270if { (ac_try="$ac_compile"
0ebeb530
JW
14271case "(($ac_try" in
14272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14273 *) ac_try_echo=$ac_try;;
14274esac
14275eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
a3097628 14276 (eval "$ac_compile") 2>conftest.er1
f8cb48b5
AJ
14277 ac_status=$?
14278 grep -v '^ *+' conftest.er1 >conftest.err
14279 rm -f conftest.er1
14280 cat conftest.err >&5
14281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
14282 (exit $ac_status); } && {
14283 test -z "$ac_c_werror_flag" ||
14284 test ! -s conftest.err
a3097628
AJ
14285 } && test -s conftest.$ac_objext; then
14286 ac_cv_type_FT_TrueTypeEngineType=yes
f8cb48b5
AJ
14287else
14288 echo "$as_me: failed program was:" >&5
14289sed 's/^/| /' conftest.$ac_ext >&5
14290
a3097628 14291 ac_cv_type_FT_TrueTypeEngineType=no
f8cb48b5 14292fi
fc6ffb29 14293
a3097628 14294rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
f8cb48b5 14295fi
a3097628
AJ
14296{ echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
14297echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
14298if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
14299
14300cat >>confdefs.h <<_ACEOF
14301#define HAVE_FT_TRUETYPEENGINETYPE 1
14302_ACEOF
14303
14304
182d150a 14305fi
f8cb48b5 14306
a3097628 14307 ac_save_CFLAGS="$CFLAGS"
24a55f38 14308 CFLAGS="$CFLAGS $ac_freetype_libs"
a3097628
AJ
14309
14310for ac_func in FT_Load_Sfnt_Table
14311do
14312as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14313{ echo "$as_me:$LINENO: checking for $ac_func" >&5
14314echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14315if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
d75cc5aa
AJ
14316 echo $ECHO_N "(cached) $ECHO_C" >&6
14317else
a3097628 14318 cat >conftest.$ac_ext <<_ACEOF
d75cc5aa
AJ
14319/* confdefs.h. */
14320_ACEOF
14321cat confdefs.h >>conftest.$ac_ext
14322cat >>conftest.$ac_ext <<_ACEOF
14323/* end confdefs.h. */
a3097628
AJ
14324/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14326#define $ac_func innocuous_$ac_func
14327
14328/* System header to define __stub macros and hopefully few prototypes,
14329 which can conflict with char $ac_func (); below.
14330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14331 <limits.h> exists even on freestanding compilers. */
14332
14333#ifdef __STDC__
14334# include <limits.h>
14335#else
14336# include <assert.h>
14337#endif
14338
14339#undef $ac_func
14340
14341/* Override any GCC internal prototype to avoid an error.
14342 Use char because int might match the return type of a GCC
14343 builtin and then its argument prototype would still apply. */
14344#ifdef __cplusplus
14345extern "C"
14346#endif
14347char $ac_func ();
14348/* The GNU C library defines this for functions which it implements
14349 to always fail with ENOSYS. Some functions are actually named
14350 something starting with __ and the normal name is an alias. */
14351#if defined __stub_$ac_func || defined __stub___$ac_func
14352choke me
14353#endif
d75cc5aa
AJ
14354
14355int
14356main ()
14357{
a3097628 14358return $ac_func ();
d75cc5aa
AJ
14359 ;
14360 return 0;
14361}
14362_ACEOF
14363rm -f conftest.$ac_objext conftest$ac_exeext
14364if { (ac_try="$ac_link"
14365case "(($ac_try" in
14366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14367 *) ac_try_echo=$ac_try;;
14368esac
14369eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14370 (eval "$ac_link") 2>conftest.er1
14371 ac_status=$?
14372 grep -v '^ *+' conftest.er1 >conftest.err
14373 rm -f conftest.er1
14374 cat conftest.err >&5
14375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
14376 (exit $ac_status); } && {
14377 test -z "$ac_c_werror_flag" ||
14378 test ! -s conftest.err
14379 } && test -s conftest$ac_exeext &&
14380 $as_test_x conftest$ac_exeext; then
a3097628 14381 eval "$as_ac_var=yes"
d75cc5aa
AJ
14382else
14383 echo "$as_me: failed program was:" >&5
14384sed 's/^/| /' conftest.$ac_ext >&5
14385
a3097628 14386 eval "$as_ac_var=no"
d75cc5aa
AJ
14387fi
14388
f0ca586f 14389rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d75cc5aa 14390 conftest$ac_exeext conftest.$ac_ext
d75cc5aa 14391fi
a3097628
AJ
14392ac_res=`eval echo '${'$as_ac_var'}'`
14393 { echo "$as_me:$LINENO: result: $ac_res" >&5
14394echo "${ECHO_T}$ac_res" >&6; }
14395if test `eval echo '${'$as_ac_var'}'` = yes; then
14396 cat >>confdefs.h <<_ACEOF
14397#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14398_ACEOF
14399
182d150a 14400fi
a3097628 14401done
182d150a 14402
a3097628
AJ
14403 CFLAGS="$ac_save_CFLAGS"
14404 CPPFLAGS="$ac_save_CPPFLAGS"
14405 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
14406 then
d75cc5aa 14407
a3097628
AJ
14408cat >>confdefs.h <<\_ACEOF
14409#define HAVE_FREETYPE 1
14410_ACEOF
14411
24a55f38
AJ
14412 FREETYPELIBS="$ac_freetype_libs"
14413
14414 FREETYPEINCL="$ac_freetype_incl"
14415
a3097628
AJ
14416 fi
14417 fi
14418fi
a20c0e12
AJ
14419if test "x$FREETYPELIBS" = "x"; then
14420 case "x$with_freetype" in
14421 xno) ;;
14422 *) { { echo "$as_me:$LINENO: error: FreeType development files not found.
14423Fonts will not be built. Dialog text may be invisible or unaligned.
14424Use the --without-freetype option if you really want this." >&5
14425echo "$as_me: error: FreeType development files not found.
14426Fonts will not be built. Dialog text may be invisible or unaligned.
14427Use the --without-freetype option if you really want this." >&2;}
14428 { (exit 1); exit 1; }; } ;;
14429esac
a3097628
AJ
14430fi
14431
6de0af1e 14432test "x$FREETYPELIBS" = "x" && enable_fonts=${enable_fonts:-no}
a20c0e12 14433
a3097628
AJ
14434{ echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
14435echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
14436if test "${ac_cv_c_ppdev+set}" = set; then
c509bc4d
MM
14437 echo $ECHO_N "(cached) $ECHO_C" >&6
14438else
14439 cat >conftest.$ac_ext <<_ACEOF
c509bc4d
MM
14440/* confdefs.h. */
14441_ACEOF
14442cat confdefs.h >>conftest.$ac_ext
14443cat >>conftest.$ac_ext <<_ACEOF
14444/* end confdefs.h. */
a3097628 14445#include <linux/ppdev.h>
c509bc4d
MM
14446int
14447main ()
14448{
a3097628 14449ioctl (1,PPCLAIM,0)
c509bc4d
MM
14450 ;
14451 return 0;
14452}
14453_ACEOF
14454rm -f conftest.$ac_objext
0ebeb530
JW
14455if { (ac_try="$ac_compile"
14456case "(($ac_try" in
14457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14458 *) ac_try_echo=$ac_try;;
14459esac
14460eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14461 (eval "$ac_compile") 2>conftest.er1
c509bc4d 14462 ac_status=$?
875927f6
AJ
14463 grep -v '^ *+' conftest.er1 >conftest.err
14464 rm -f conftest.er1
14465 cat conftest.err >&5
c509bc4d 14466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
14467 (exit $ac_status); } && {
14468 test -z "$ac_c_werror_flag" ||
14469 test ! -s conftest.err
14470 } && test -s conftest.$ac_objext; then
a3097628 14471 ac_cv_c_ppdev="yes"
c509bc4d
MM
14472else
14473 echo "$as_me: failed program was:" >&5
14474sed 's/^/| /' conftest.$ac_ext >&5
14475
a3097628 14476 ac_cv_c_ppdev="no"
c509bc4d 14477fi
fc6ffb29 14478
0ebeb530 14479rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
c509bc4d 14480fi
a3097628
AJ
14481{ echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
14482echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
14483if test "$ac_cv_c_ppdev" = "yes"
14484then
b7443722 14485
a3097628
AJ
14486cat >>confdefs.h <<\_ACEOF
14487#define HAVE_PPDEV 1
14488_ACEOF
b7443722 14489
a3097628
AJ
14490fi
14491
14492{ echo "$as_me:$LINENO: checking for va_copy" >&5
14493echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
14494if test "${ac_cv_c_va_copy+set}" = set; then
b7443722
MM
14495 echo $ECHO_N "(cached) $ECHO_C" >&6
14496else
14497 cat >conftest.$ac_ext <<_ACEOF
14498/* confdefs.h. */
14499_ACEOF
14500cat confdefs.h >>conftest.$ac_ext
14501cat >>conftest.$ac_ext <<_ACEOF
14502/* end confdefs.h. */
a3097628 14503#include <stdarg.h>
b7443722
MM
14504int
14505main ()
14506{
a3097628 14507va_list ap1, ap2; va_copy(ap1,ap2);
b7443722
MM
14508 ;
14509 return 0;
14510}
14511_ACEOF
a3097628
AJ
14512rm -f conftest.$ac_objext conftest$ac_exeext
14513if { (ac_try="$ac_link"
0ebeb530
JW
14514case "(($ac_try" in
14515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14516 *) ac_try_echo=$ac_try;;
14517esac
14518eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
a3097628 14519 (eval "$ac_link") 2>conftest.er1
b7443722
MM
14520 ac_status=$?
14521 grep -v '^ *+' conftest.er1 >conftest.err
14522 rm -f conftest.er1
14523 cat conftest.err >&5
14524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
14525 (exit $ac_status); } && {
14526 test -z "$ac_c_werror_flag" ||
14527 test ! -s conftest.err
a3097628
AJ
14528 } && test -s conftest$ac_exeext &&
14529 $as_test_x conftest$ac_exeext; then
14530 ac_cv_c_va_copy="yes"
b7443722
MM
14531else
14532 echo "$as_me: failed program was:" >&5
14533sed 's/^/| /' conftest.$ac_ext >&5
14534
a3097628 14535 ac_cv_c_va_copy="no"
b7443722 14536fi
fc6ffb29 14537
a3097628
AJ
14538rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14539 conftest$ac_exeext conftest.$ac_ext
14540
4f8c37b4 14541fi
a3097628
AJ
14542{ echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14543echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14544if test "$ac_cv_c_va_copy" = "yes"
14545then
4f8c37b4 14546
a3097628
AJ
14547cat >>confdefs.h <<\_ACEOF
14548#define HAVE_VA_COPY 1
14549_ACEOF
daa2886c 14550
a3097628
AJ
14551fi
14552{ echo "$as_me:$LINENO: checking for __va_copy" >&5
14553echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14554if test "${ac_cv_c___va_copy+set}" = set; then
84555cc7
AJ
14555 echo $ECHO_N "(cached) $ECHO_C" >&6
14556else
14557 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
14558/* confdefs.h. */
14559_ACEOF
14560cat confdefs.h >>conftest.$ac_ext
14561cat >>conftest.$ac_ext <<_ACEOF
14562/* end confdefs.h. */
a3097628 14563#include <stdarg.h>
f5818d2f
AJ
14564int
14565main ()
14566{
a3097628 14567va_list ap1, ap2; __va_copy(ap1,ap2);
f5818d2f
AJ
14568 ;
14569 return 0;
14570}
14571_ACEOF
14572rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
14573if { (ac_try="$ac_link"
14574case "(($ac_try" in
14575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14576 *) ac_try_echo=$ac_try;;
14577esac
14578eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14579 (eval "$ac_link") 2>conftest.er1
f5818d2f 14580 ac_status=$?
875927f6
AJ
14581 grep -v '^ *+' conftest.er1 >conftest.err
14582 rm -f conftest.er1
14583 cat conftest.err >&5
daa2886c 14584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
14585 (exit $ac_status); } && {
14586 test -z "$ac_c_werror_flag" ||
14587 test ! -s conftest.err
14588 } && test -s conftest$ac_exeext &&
14589 $as_test_x conftest$ac_exeext; then
a3097628 14590 ac_cv_c___va_copy="yes"
c77cbbcd 14591else
f5818d2f 14592 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
14593sed 's/^/| /' conftest.$ac_ext >&5
14594
a3097628
AJ
14595 ac_cv_c___va_copy="no"
14596fi
14597
14598rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14599 conftest$ac_exeext conftest.$ac_ext
14600
14601fi
14602{ echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14603echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14604if test "$ac_cv_c___va_copy" = "yes"
14605then
14606
14607cat >>confdefs.h <<\_ACEOF
14608#define HAVE___VA_COPY 1
14609_ACEOF
14610
14611fi
14612
a3097628
AJ
14613{ echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14614echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14615if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14616 echo $ECHO_N "(cached) $ECHO_C" >&6
14617else
14618 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
14619/* confdefs.h. */
14620_ACEOF
14621cat confdefs.h >>conftest.$ac_ext
14622cat >>conftest.$ac_ext <<_ACEOF
14623/* end confdefs.h. */
a3097628
AJ
14624#define _GNU_SOURCE
14625#include <pthread.h>
57807fa1 14626
a3097628 14627typedef pthread_rwlock_t ac__type_new_;
57807fa1
GM
14628int
14629main ()
14630{
a3097628
AJ
14631if ((ac__type_new_ *) 0)
14632 return 0;
14633if (sizeof (ac__type_new_))
14634 return 0;
57807fa1
GM
14635 ;
14636 return 0;
14637}
14638_ACEOF
a3097628
AJ
14639rm -f conftest.$ac_objext
14640if { (ac_try="$ac_compile"
0ebeb530
JW
14641case "(($ac_try" in
14642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14643 *) ac_try_echo=$ac_try;;
14644esac
14645eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
a3097628 14646 (eval "$ac_compile") 2>conftest.er1
57807fa1 14647 ac_status=$?
875927f6
AJ
14648 grep -v '^ *+' conftest.er1 >conftest.err
14649 rm -f conftest.er1
14650 cat conftest.err >&5
57807fa1 14651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
14652 (exit $ac_status); } && {
14653 test -z "$ac_c_werror_flag" ||
14654 test ! -s conftest.err
a3097628
AJ
14655 } && test -s conftest.$ac_objext; then
14656 ac_cv_type_pthread_rwlock_t=yes
57807fa1
GM
14657else
14658 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
14659sed 's/^/| /' conftest.$ac_ext >&5
14660
a3097628 14661 ac_cv_type_pthread_rwlock_t=no
84555cc7 14662fi
fc6ffb29 14663
a3097628 14664rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
84555cc7 14665fi
a3097628
AJ
14666{ echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14667echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14668if test $ac_cv_type_pthread_rwlock_t = yes; then
84555cc7 14669
a3097628
AJ
14670cat >>confdefs.h <<_ACEOF
14671#define HAVE_PTHREAD_RWLOCK_T 1
84555cc7 14672_ACEOF
57807fa1
GM
14673
14674
a3097628
AJ
14675fi
14676{ echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14677echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14678if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
f5818d2f 14679 echo $ECHO_N "(cached) $ECHO_C" >&6
8cc3a5e4 14680else
84555cc7 14681 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
14682/* confdefs.h. */
14683_ACEOF
14684cat confdefs.h >>conftest.$ac_ext
14685cat >>conftest.$ac_ext <<_ACEOF
14686/* end confdefs.h. */
a3097628
AJ
14687#define _GNU_SOURCE
14688#include <pthread.h>
14689
14690typedef pthread_rwlockattr_t ac__type_new_;
f5818d2f
AJ
14691int
14692main ()
14693{
a3097628
AJ
14694if ((ac__type_new_ *) 0)
14695 return 0;
14696if (sizeof (ac__type_new_))
14697 return 0;
f5818d2f
AJ
14698 ;
14699 return 0;
14700}
14701_ACEOF
a3097628
AJ
14702rm -f conftest.$ac_objext
14703if { (ac_try="$ac_compile"
0ebeb530
JW
14704case "(($ac_try" in
14705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14706 *) ac_try_echo=$ac_try;;
14707esac
14708eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
a3097628 14709 (eval "$ac_compile") 2>conftest.er1
fa3a5360 14710 ac_status=$?
875927f6
AJ
14711 grep -v '^ *+' conftest.er1 >conftest.err
14712 rm -f conftest.er1
14713 cat conftest.err >&5
fa3a5360 14714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
14715 (exit $ac_status); } && {
14716 test -z "$ac_c_werror_flag" ||
14717 test ! -s conftest.err
a3097628
AJ
14718 } && test -s conftest.$ac_objext; then
14719 ac_cv_type_pthread_rwlockattr_t=yes
fa3a5360
AJ
14720else
14721 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
14722sed 's/^/| /' conftest.$ac_ext >&5
14723
a3097628 14724 ac_cv_type_pthread_rwlockattr_t=no
fa3a5360 14725fi
fc6ffb29 14726
a3097628 14727rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fa3a5360 14728fi
a3097628
AJ
14729{ echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14730echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14731if test $ac_cv_type_pthread_rwlockattr_t = yes; then
84555cc7 14732
a3097628
AJ
14733cat >>confdefs.h <<_ACEOF
14734#define HAVE_PTHREAD_RWLOCKATTR_T 1
84555cc7 14735_ACEOF
fa3a5360 14736
fa3a5360
AJ
14737
14738fi
14739
14740
a3097628
AJ
14741ac_wine_check_funcs_save_LIBS="$LIBS"
14742LIBS="$LIBS $LIBPTHREAD"
ada5e652 14743
1f11333c 14744
13a93b4a 14745
7bf07d15 14746
a3097628
AJ
14747for ac_func in \
14748 pthread_attr_get_np \
14749 pthread_getattr_np \
14750 pthread_get_stackaddr_np \
14751 pthread_get_stacksize_np
ada5e652 14752do
a3097628
AJ
14753as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14754{ echo "$as_me:$LINENO: checking for $ac_func" >&5
14755echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14756if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14757 echo $ECHO_N "(cached) $ECHO_C" >&6
ada5e652 14758else
a3097628
AJ
14759 cat >conftest.$ac_ext <<_ACEOF
14760/* confdefs.h. */
14761_ACEOF
14762cat confdefs.h >>conftest.$ac_ext
14763cat >>conftest.$ac_ext <<_ACEOF
14764/* end confdefs.h. */
14765/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14767#define $ac_func innocuous_$ac_func
ada5e652 14768
a3097628
AJ
14769/* System header to define __stub macros and hopefully few prototypes,
14770 which can conflict with char $ac_func (); below.
14771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14772 <limits.h> exists even on freestanding compilers. */
fc6ffb29 14773
a3097628
AJ
14774#ifdef __STDC__
14775# include <limits.h>
14776#else
14777# include <assert.h>
14778#endif
ada5e652 14779
a3097628 14780#undef $ac_func
ada5e652 14781
a3097628
AJ
14782/* Override any GCC internal prototype to avoid an error.
14783 Use char because int might match the return type of a GCC
14784 builtin and then its argument prototype would still apply. */
14785#ifdef __cplusplus
14786extern "C"
14787#endif
14788char $ac_func ();
14789/* The GNU C library defines this for functions which it implements
14790 to always fail with ENOSYS. Some functions are actually named
14791 something starting with __ and the normal name is an alias. */
14792#if defined __stub_$ac_func || defined __stub___$ac_func
14793choke me
14794#endif
73482144 14795
a3097628
AJ
14796int
14797main ()
14798{
14799return $ac_func ();
14800 ;
14801 return 0;
14802}
14803_ACEOF
14804rm -f conftest.$ac_objext conftest$ac_exeext
14805if { (ac_try="$ac_link"
14806case "(($ac_try" in
14807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14808 *) ac_try_echo=$ac_try;;
14809esac
14810eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14811 (eval "$ac_link") 2>conftest.er1
14812 ac_status=$?
14813 grep -v '^ *+' conftest.er1 >conftest.err
14814 rm -f conftest.er1
14815 cat conftest.err >&5
14816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14817 (exit $ac_status); } && {
14818 test -z "$ac_c_werror_flag" ||
14819 test ! -s conftest.err
14820 } && test -s conftest$ac_exeext &&
14821 $as_test_x conftest$ac_exeext; then
14822 eval "$as_ac_var=yes"
73482144 14823else
a3097628
AJ
14824 echo "$as_me: failed program was:" >&5
14825sed 's/^/| /' conftest.$ac_ext >&5
e24bcc77 14826
a3097628 14827 eval "$as_ac_var=no"
fa3a5360 14828fi
a3097628
AJ
14829
14830rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14831 conftest$ac_exeext conftest.$ac_ext
73482144 14832fi
a3097628
AJ
14833ac_res=`eval echo '${'$as_ac_var'}'`
14834 { echo "$as_me:$LINENO: result: $ac_res" >&5
14835echo "${ECHO_T}$ac_res" >&6; }
14836if test `eval echo '${'$as_ac_var'}'` = yes; then
14837 cat >>confdefs.h <<_ACEOF
14838#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14839_ACEOF
14840
73482144 14841fi
a3097628 14842done
8cc3a5e4 14843
a3097628 14844LIBS="$ac_wine_check_funcs_save_LIBS"
fc6ffb29 14845
a3097628
AJ
14846# Extract the first word of "esd-config", so it can be a program name with args.
14847set dummy esd-config; ac_word=$2
fc6ffb29
AJ
14848{ echo "$as_me:$LINENO: checking for $ac_word" >&5
14849echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
a3097628 14850if test "${ac_cv_path_ESDCONFIG+set}" = set; then
fa3a5360
AJ
14851 echo $ECHO_N "(cached) $ECHO_C" >&6
14852else
a3097628
AJ
14853 case $ESDCONFIG in
14854 [\\/]* | ?:[\\/]*)
14855 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14856 ;;
14857 *)
14858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73482144
AJ
14859for as_dir in $PATH
14860do
14861 IFS=$as_save_IFS
14862 test -z "$as_dir" && as_dir=.
14863 for ac_exec_ext in '' $ac_executable_extensions; do
dc9f3843 14864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
a3097628 14865 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
73482144
AJ
14866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14867 break 2
14868 fi
14869done
14870done
fc6ffb29 14871IFS=$as_save_IFS
73482144 14872
a3097628
AJ
14873 ;;
14874esac
73482144 14875fi
a3097628
AJ
14876ESDCONFIG=$ac_cv_path_ESDCONFIG
14877if test -n "$ESDCONFIG"; then
14878 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14879echo "${ECHO_T}$ESDCONFIG" >&6; }
73482144 14880else
fc6ffb29
AJ
14881 { echo "$as_me:$LINENO: result: no" >&5
14882echo "${ECHO_T}no" >&6; }
8cc3a5e4
AJ
14883fi
14884
e533e972 14885
a41f0f1b 14886if test "x$with_esd" != xno -a "x$ESDCONFIG" != x -a "x$ESDCONFIG" != x'"$ESDCONFIG"';
a3097628 14887then
e9b1a406 14888 ac_esd_incl=""
a3097628
AJ
14889 for i in `$ESDCONFIG --cflags`
14890 do
14891 case "$i" in
e9b1a406 14892 -I*) ac_esd_incl="$ac_esd_incl $i";;
a3097628
AJ
14893 esac
14894 done
e9b1a406 14895 ac_esd_libs=`$ESDCONFIG --libs`
a3097628 14896 save_CFLAGS="$CFLAGS"
e9b1a406 14897 CFLAGS="$CFLAGS $ac_esd_incl"
a3097628
AJ
14898 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14899echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14900if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
2ffc7e2c
AJ
14901 echo $ECHO_N "(cached) $ECHO_C" >&6
14902else
a3097628 14903 ac_check_lib_save_LIBS=$LIBS
e9b1a406 14904LIBS="-lesd $ac_esd_libs $LIBS"
a3097628
AJ
14905cat >conftest.$ac_ext <<_ACEOF
14906/* confdefs.h. */
14907_ACEOF
14908cat confdefs.h >>conftest.$ac_ext
14909cat >>conftest.$ac_ext <<_ACEOF
14910/* end confdefs.h. */
14911
14912/* Override any GCC internal prototype to avoid an error.
14913 Use char because int might match the return type of a GCC
14914 builtin and then its argument prototype would still apply. */
14915#ifdef __cplusplus
14916extern "C"
14917#endif
14918char esd_open_sound ();
14919int
14920main ()
14921{
14922return esd_open_sound ();
14923 ;
14924 return 0;
14925}
14926_ACEOF
14927rm -f conftest.$ac_objext conftest$ac_exeext
14928if { (ac_try="$ac_link"
14929case "(($ac_try" in
14930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14931 *) ac_try_echo=$ac_try;;
14932esac
14933eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14934 (eval "$ac_link") 2>conftest.er1
14935 ac_status=$?
14936 grep -v '^ *+' conftest.er1 >conftest.err
14937 rm -f conftest.er1
14938 cat conftest.err >&5
14939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14940 (exit $ac_status); } && {
14941 test -z "$ac_c_werror_flag" ||
14942 test ! -s conftest.err
14943 } && test -s conftest$ac_exeext &&
14944 $as_test_x conftest$ac_exeext; then
14945 ac_cv_lib_esd_esd_open_sound=yes
2ffc7e2c 14946else
a3097628
AJ
14947 echo "$as_me: failed program was:" >&5
14948sed 's/^/| /' conftest.$ac_ext >&5
2ffc7e2c 14949
a3097628 14950 ac_cv_lib_esd_esd_open_sound=no
2ffc7e2c 14951fi
a3097628
AJ
14952
14953rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14954 conftest$ac_exeext conftest.$ac_ext
14955LIBS=$ac_check_lib_save_LIBS
2ffc7e2c 14956fi
a3097628
AJ
14957{ echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14958echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14959if test $ac_cv_lib_esd_esd_open_sound = yes; then
e9b1a406 14960 ESDINCL="$ac_esd_incl"
2ffc7e2c 14961
e9b1a406 14962 ESDLIBS="$ac_esd_libs"
2ffc7e2c 14963
a3097628
AJ
14964
14965cat >>confdefs.h <<\_ACEOF
14966#define HAVE_ESD 1
14967_ACEOF
2ffc7e2c
AJ
14968
14969fi
a3097628
AJ
14970
14971 CFLAGS="$save_CFLAGS"
2ffc7e2c 14972fi
a3097628
AJ
14973
14974ALSALIBS=""
14975
14976if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14977then
14978 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14979echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14980if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14981 echo $ECHO_N "(cached) $ECHO_C" >&6
2ffc7e2c 14982else
a3097628
AJ
14983 ac_check_lib_save_LIBS=$LIBS
14984LIBS="-lasound $LIBS"
14985cat >conftest.$ac_ext <<_ACEOF
14986/* confdefs.h. */
14987_ACEOF
14988cat confdefs.h >>conftest.$ac_ext
14989cat >>conftest.$ac_ext <<_ACEOF
14990/* end confdefs.h. */
2ffc7e2c 14991
a3097628
AJ
14992/* Override any GCC internal prototype to avoid an error.
14993 Use char because int might match the return type of a GCC
14994 builtin and then its argument prototype would still apply. */
14995#ifdef __cplusplus
14996extern "C"
14997#endif
14998char snd_pcm_hw_params_get_access ();
14999int
15000main ()
15001{
15002return snd_pcm_hw_params_get_access ();
15003 ;
15004 return 0;
15005}
15006_ACEOF
15007rm -f conftest.$ac_objext conftest$ac_exeext
15008if { (ac_try="$ac_link"
15009case "(($ac_try" in
15010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15011 *) ac_try_echo=$ac_try;;
2ffc7e2c 15012esac
a3097628
AJ
15013eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15014 (eval "$ac_link") 2>conftest.er1
15015 ac_status=$?
15016 grep -v '^ *+' conftest.er1 >conftest.err
15017 rm -f conftest.er1
15018 cat conftest.err >&5
15019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15020 (exit $ac_status); } && {
15021 test -z "$ac_c_werror_flag" ||
15022 test ! -s conftest.err
15023 } && test -s conftest$ac_exeext &&
15024 $as_test_x conftest$ac_exeext; then
15025 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
2ffc7e2c 15026else
a3097628
AJ
15027 echo "$as_me: failed program was:" >&5
15028sed 's/^/| /' conftest.$ac_ext >&5
15029
15030 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
2ffc7e2c
AJ
15031fi
15032
a3097628
AJ
15033rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15034 conftest$ac_exeext conftest.$ac_ext
15035LIBS=$ac_check_lib_save_LIBS
15036fi
15037{ echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
15038echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
15039if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
15040 cat >conftest.$ac_ext <<_ACEOF
15041/* confdefs.h. */
15042_ACEOF
15043cat confdefs.h >>conftest.$ac_ext
15044cat >>conftest.$ac_ext <<_ACEOF
15045/* end confdefs.h. */
15046#ifdef HAVE_ALSA_ASOUNDLIB_H
15047#include <alsa/asoundlib.h>
15048#elif defined(HAVE_SYS_ASOUNDLIB_H)
15049#include <sys/asoundlib.h>
15050#endif
15051int
15052main ()
15053{
15054int ret = snd_pcm_hw_params_get_access(NULL, NULL)
15055 ;
15056 return 0;
15057}
15058_ACEOF
15059rm -f conftest.$ac_objext
15060if { (ac_try="$ac_compile"
15061case "(($ac_try" in
15062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15063 *) ac_try_echo=$ac_try;;
15064esac
15065eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15066 (eval "$ac_compile") 2>conftest.er1
15067 ac_status=$?
15068 grep -v '^ *+' conftest.er1 >conftest.err
15069 rm -f conftest.er1
15070 cat conftest.err >&5
15071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15072 (exit $ac_status); } && {
15073 test -z "$ac_c_werror_flag" ||
15074 test ! -s conftest.err
15075 } && test -s conftest.$ac_objext; then
42b81ea0 15076
a3097628
AJ
15077cat >>confdefs.h <<\_ACEOF
15078#define HAVE_ALSA 1
15079_ACEOF
42b81ea0 15080
a3097628
AJ
15081 ALSALIBS="-lasound"
15082else
15083 echo "$as_me: failed program was:" >&5
15084sed 's/^/| /' conftest.$ac_ext >&5
42b81ea0 15085
f0ca586f 15086
a3097628 15087fi
42b81ea0 15088
a3097628
AJ
15089rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15090fi
4e686043 15091
a3097628
AJ
15092fi
15093
a3097628
AJ
15094AUDIOIOLIBS=""
15095
15096if test "$ac_cv_header_libaudioio_h" = "yes"
15097then
15098 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
15099echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
15100if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
e533e972
AJ
15101 echo $ECHO_N "(cached) $ECHO_C" >&6
15102else
a3097628
AJ
15103 ac_check_lib_save_LIBS=$LIBS
15104LIBS="-laudioio $LIBS"
e533e972 15105cat >conftest.$ac_ext <<_ACEOF
a3097628
AJ
15106/* confdefs.h. */
15107_ACEOF
15108cat confdefs.h >>conftest.$ac_ext
15109cat >>conftest.$ac_ext <<_ACEOF
15110/* end confdefs.h. */
15111
15112/* Override any GCC internal prototype to avoid an error.
15113 Use char because int might match the return type of a GCC
15114 builtin and then its argument prototype would still apply. */
15115#ifdef __cplusplus
15116extern "C"
15117#endif
15118char AudioIOGetVersion ();
15119int
15120main ()
15121{
15122return AudioIOGetVersion ();
15123 ;
15124 return 0;
15125}
e533e972
AJ
15126_ACEOF
15127rm -f conftest.$ac_objext conftest$ac_exeext
15128if { (ac_try="$ac_link"
15129case "(($ac_try" in
15130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15131 *) ac_try_echo=$ac_try;;
15132esac
15133eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15134 (eval "$ac_link") 2>conftest.er1
15135 ac_status=$?
15136 grep -v '^ *+' conftest.er1 >conftest.err
15137 rm -f conftest.er1
15138 cat conftest.err >&5
15139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
15140 (exit $ac_status); } && {
15141 test -z "$ac_c_werror_flag" ||
15142 test ! -s conftest.err
15143 } && test -s conftest$ac_exeext &&
15144 $as_test_x conftest$ac_exeext; then
a3097628 15145 ac_cv_lib_audioio_AudioIOGetVersion=yes
73482144 15146else
e533e972
AJ
15147 echo "$as_me: failed program was:" >&5
15148sed 's/^/| /' conftest.$ac_ext >&5
73482144 15149
a3097628 15150 ac_cv_lib_audioio_AudioIOGetVersion=no
e533e972 15151fi
daa2886c 15152
f0ca586f 15153rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
e533e972 15154 conftest$ac_exeext conftest.$ac_ext
a3097628 15155LIBS=$ac_check_lib_save_LIBS
e533e972 15156fi
a3097628
AJ
15157{ echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
15158echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
15159if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
15160 AUDIOIOLIBS="-laudioio"
15161
15162cat >>confdefs.h <<\_ACEOF
15163#define HAVE_LIBAUDIOIO 1
15164_ACEOF
15165
15166fi
15167
15168fi
15169
15170
15171if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15172then
3336e9bf
AJ
15173 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
15174echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
15175if test "${ac_cv_lib_soname_capi20+set}" = set; then
f5818d2f 15176 echo $ECHO_N "(cached) $ECHO_C" >&6
93a5b868 15177else
3336e9bf 15178 ac_check_soname_save_LIBS=$LIBS
a3097628 15179LIBS="-lcapi20 $LIBS"
3336e9bf 15180 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
15181/* confdefs.h. */
15182_ACEOF
15183cat confdefs.h >>conftest.$ac_ext
15184cat >>conftest.$ac_ext <<_ACEOF
15185/* end confdefs.h. */
fa3a5360 15186
a3097628
AJ
15187/* Override any GCC internal prototype to avoid an error.
15188 Use char because int might match the return type of a GCC
15189 builtin and then its argument prototype would still apply. */
15190#ifdef __cplusplus
15191extern "C"
15192#endif
15193char capi20_register ();
e24bcc77
AJ
15194int
15195main ()
15196{
a3097628 15197return capi20_register ();
f5818d2f
AJ
15198 ;
15199 return 0;
15200}
15201_ACEOF
15202rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
15203if { (ac_try="$ac_link"
15204case "(($ac_try" in
15205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15206 *) ac_try_echo=$ac_try;;
15207esac
15208eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15209 (eval "$ac_link") 2>conftest.er1
f5818d2f 15210 ac_status=$?
875927f6
AJ
15211 grep -v '^ *+' conftest.er1 >conftest.err
15212 rm -f conftest.er1
15213 cat conftest.err >&5
daa2886c 15214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
15215 (exit $ac_status); } && {
15216 test -z "$ac_c_werror_flag" ||
15217 test ! -s conftest.err
15218 } && test -s conftest$ac_exeext &&
15219 $as_test_x conftest$ac_exeext; then
3336e9bf
AJ
15220 case "$LIBEXT" in
15221 dll) ;;
15222 dylib) ac_cv_lib_soname_capi20=`otool -L conftest$ac_exeext | grep "libcapi20\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcapi20\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15223 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15224 esac
93a5b868 15225else
f5818d2f 15226 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
15227sed 's/^/| /' conftest.$ac_ext >&5
15228
3336e9bf 15229
93a5b868 15230fi
fc6ffb29 15231
f0ca586f 15232rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 15233 conftest$ac_exeext conftest.$ac_ext
3336e9bf 15234 LIBS=$ac_check_soname_save_LIBS
93a5b868 15235fi
3336e9bf
AJ
15236if test "x$ac_cv_lib_soname_capi20" = "x"; then
15237 { echo "$as_me:$LINENO: result: not found" >&5
15238echo "${ECHO_T}not found" >&6; }
a3097628 15239
3336e9bf
AJ
15240else
15241 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15242echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15243
15244cat >>confdefs.h <<_ACEOF
15245#define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
a3097628
AJ
15246_ACEOF
15247
3336e9bf 15248
702d3556
AJ
15249fi
15250
15251fi
f9dec94f 15252if test "x$ac_cv_lib_soname_capi20" = "x"; then
a41f0f1b
AJ
15253 case "x$with_capi" in
15254 x) wine_notices="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
15255 xno) ;;
15256 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
15257This is an error since --with-capi was requested." >&5
15258echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
15259This is an error since --with-capi was requested." >&2;}
15260 { (exit 1); exit 1; }; } ;;
15261esac
f9dec94f
AJ
15262fi
15263
702d3556 15264
289ea338
FG
15265CUPSINCL=""
15266
15267if test "x$with_cups" != "xno"
702d3556 15268then
289ea338
FG
15269 ac_save_CPPFLAGS="$CPPFLAGS"
15270 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
a991a568 15271 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
289ea338
FG
15272 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
15273
15274for ac_header in cups/cups.h
15275do
15276as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15277if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15278 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15279echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15280if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15281 echo $ECHO_N "(cached) $ECHO_C" >&6
15282fi
15283ac_res=`eval echo '${'$as_ac_Header'}'`
15284 { echo "$as_me:$LINENO: result: $ac_res" >&5
15285echo "${ECHO_T}$ac_res" >&6; }
15286else
15287 # Is the header compilable?
15288{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
15289echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15290cat >conftest.$ac_ext <<_ACEOF
15291/* confdefs.h. */
15292_ACEOF
15293cat confdefs.h >>conftest.$ac_ext
15294cat >>conftest.$ac_ext <<_ACEOF
15295/* end confdefs.h. */
15296$ac_includes_default
15297#include <$ac_header>
15298_ACEOF
15299rm -f conftest.$ac_objext
15300if { (ac_try="$ac_compile"
15301case "(($ac_try" in
15302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15303 *) ac_try_echo=$ac_try;;
15304esac
15305eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15306 (eval "$ac_compile") 2>conftest.er1
15307 ac_status=$?
15308 grep -v '^ *+' conftest.er1 >conftest.err
15309 rm -f conftest.er1
15310 cat conftest.err >&5
15311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15312 (exit $ac_status); } && {
15313 test -z "$ac_c_werror_flag" ||
15314 test ! -s conftest.err
15315 } && test -s conftest.$ac_objext; then
15316 ac_header_compiler=yes
15317else
15318 echo "$as_me: failed program was:" >&5
15319sed 's/^/| /' conftest.$ac_ext >&5
15320
15321 ac_header_compiler=no
15322fi
15323
15324rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15325{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15326echo "${ECHO_T}$ac_header_compiler" >&6; }
15327
15328# Is the header present?
15329{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
15330echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15331cat >conftest.$ac_ext <<_ACEOF
15332/* confdefs.h. */
15333_ACEOF
15334cat confdefs.h >>conftest.$ac_ext
15335cat >>conftest.$ac_ext <<_ACEOF
15336/* end confdefs.h. */
15337#include <$ac_header>
15338_ACEOF
15339if { (ac_try="$ac_cpp conftest.$ac_ext"
15340case "(($ac_try" in
15341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15342 *) ac_try_echo=$ac_try;;
15343esac
15344eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15345 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15346 ac_status=$?
15347 grep -v '^ *+' conftest.er1 >conftest.err
15348 rm -f conftest.er1
15349 cat conftest.err >&5
15350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15351 (exit $ac_status); } >/dev/null && {
15352 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15353 test ! -s conftest.err
15354 }; then
15355 ac_header_preproc=yes
15356else
15357 echo "$as_me: failed program was:" >&5
15358sed 's/^/| /' conftest.$ac_ext >&5
15359
15360 ac_header_preproc=no
15361fi
15362
15363rm -f conftest.err conftest.$ac_ext
15364{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15365echo "${ECHO_T}$ac_header_preproc" >&6; }
15366
15367# So? What about this header?
15368case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15369 yes:no: )
15370 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15371echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15372 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15373echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15374 ac_header_preproc=yes
15375 ;;
15376 no:yes:* )
15377 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15378echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15379 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15380echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15381 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15382echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15383 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15384echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15385 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15386echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15387 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15388echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15389 ( cat <<\_ASBOX
15390## ------------------------------------ ##
15391## Report this to wine-devel@winehq.org ##
15392## ------------------------------------ ##
15393_ASBOX
15394 ) | sed "s/^/$as_me: WARNING: /" >&2
15395 ;;
15396esac
15397{ echo "$as_me:$LINENO: checking for $ac_header" >&5
15398echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15399if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15400 echo $ECHO_N "(cached) $ECHO_C" >&6
15401else
15402 eval "$as_ac_Header=\$ac_header_preproc"
15403fi
15404ac_res=`eval echo '${'$as_ac_Header'}'`
15405 { echo "$as_me:$LINENO: result: $ac_res" >&5
15406echo "${ECHO_T}$ac_res" >&6; }
15407
15408fi
15409if test `eval echo '${'$as_ac_Header'}'` = yes; then
15410 cat >>confdefs.h <<_ACEOF
15411#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15412_ACEOF
15413 { echo "$as_me:$LINENO: checking for -lcups" >&5
702d3556
AJ
15414echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
15415if test "${ac_cv_lib_soname_cups+set}" = set; then
15416 echo $ECHO_N "(cached) $ECHO_C" >&6
15417else
15418 ac_check_soname_save_LIBS=$LIBS
289ea338 15419LIBS="-lcups $ac_cups_libs $LIBS"
702d3556
AJ
15420 cat >conftest.$ac_ext <<_ACEOF
15421/* confdefs.h. */
15422_ACEOF
15423cat confdefs.h >>conftest.$ac_ext
15424cat >>conftest.$ac_ext <<_ACEOF
15425/* end confdefs.h. */
15426
15427/* Override any GCC internal prototype to avoid an error.
15428 Use char because int might match the return type of a GCC
15429 builtin and then its argument prototype would still apply. */
15430#ifdef __cplusplus
15431extern "C"
15432#endif
15433char cupsGetDefault ();
15434int
15435main ()
15436{
15437return cupsGetDefault ();
15438 ;
15439 return 0;
15440}
15441_ACEOF
15442rm -f conftest.$ac_objext conftest$ac_exeext
15443if { (ac_try="$ac_link"
15444case "(($ac_try" in
15445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15446 *) ac_try_echo=$ac_try;;
15447esac
15448eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15449 (eval "$ac_link") 2>conftest.er1
15450 ac_status=$?
15451 grep -v '^ *+' conftest.er1 >conftest.err
15452 rm -f conftest.er1
15453 cat conftest.err >&5
15454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15455 (exit $ac_status); } && {
15456 test -z "$ac_c_werror_flag" ||
15457 test ! -s conftest.err
15458 } && test -s conftest$ac_exeext &&
15459 $as_test_x conftest$ac_exeext; then
15460 case "$LIBEXT" in
15461 dll) ;;
15462 dylib) ac_cv_lib_soname_cups=`otool -L conftest$ac_exeext | grep "libcups\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcups\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15463 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15464 esac
15465else
15466 echo "$as_me: failed program was:" >&5
15467sed 's/^/| /' conftest.$ac_ext >&5
15468
15469
15470fi
15471
15472rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15473 conftest$ac_exeext conftest.$ac_ext
15474 LIBS=$ac_check_soname_save_LIBS
15475fi
15476if test "x$ac_cv_lib_soname_cups" = "x"; then
15477 { echo "$as_me:$LINENO: result: not found" >&5
15478echo "${ECHO_T}not found" >&6; }
15479
15480else
15481 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15482echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15483
15484cat >>confdefs.h <<_ACEOF
15485#define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15486_ACEOF
15487
289ea338
FG
15488 CUPSINCL="$ac_cups_cflags"
15489fi
702d3556 15490
34200c35
AJ
15491fi
15492
289ea338
FG
15493done
15494
15495 CPPFLAGS="$ac_save_CPPFLAGS"
34200c35 15496fi
f9dec94f 15497if test "x$ac_cv_lib_soname_cups" = "x"; then
a41f0f1b
AJ
15498 case "x$with_cups" in
15499 x) wine_notices="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
15500 xno) ;;
15501 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
15502This is an error since --with-cups was requested." >&5
15503echo "$as_me: error: libcups development files not found, CUPS won't be supported.
15504This is an error since --with-cups was requested." >&2;}
15505 { (exit 1); exit 1; }; } ;;
15506esac
f9dec94f
AJ
15507fi
15508
34200c35
AJ
15509
15510if test "$ac_cv_header_jack_jack_h" = "yes"
15511then
15512 { echo "$as_me:$LINENO: checking for -ljack" >&5
15513echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
15514if test "${ac_cv_lib_soname_jack+set}" = set; then
15515 echo $ECHO_N "(cached) $ECHO_C" >&6
15516else
15517 ac_check_soname_save_LIBS=$LIBS
15518LIBS="-ljack $LIBS"
15519 cat >conftest.$ac_ext <<_ACEOF
15520/* confdefs.h. */
15521_ACEOF
15522cat confdefs.h >>conftest.$ac_ext
15523cat >>conftest.$ac_ext <<_ACEOF
15524/* end confdefs.h. */
15525
15526/* Override any GCC internal prototype to avoid an error.
15527 Use char because int might match the return type of a GCC
15528 builtin and then its argument prototype would still apply. */
15529#ifdef __cplusplus
15530extern "C"
15531#endif
15532char jack_client_new ();
15533int
15534main ()
15535{
15536return jack_client_new ();
15537 ;
15538 return 0;
15539}
15540_ACEOF
15541rm -f conftest.$ac_objext conftest$ac_exeext
15542if { (ac_try="$ac_link"
15543case "(($ac_try" in
15544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15545 *) ac_try_echo=$ac_try;;
15546esac
15547eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15548 (eval "$ac_link") 2>conftest.er1
15549 ac_status=$?
15550 grep -v '^ *+' conftest.er1 >conftest.err
15551 rm -f conftest.er1
15552 cat conftest.err >&5
15553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15554 (exit $ac_status); } && {
15555 test -z "$ac_c_werror_flag" ||
15556 test ! -s conftest.err
15557 } && test -s conftest$ac_exeext &&
15558 $as_test_x conftest$ac_exeext; then
15559 case "$LIBEXT" in
15560 dll) ;;
90a6fb04
FG
15561 dylib) ac_cv_lib_soname_jack=`otool -L conftest$ac_exeext | grep "libjack-*[0-9.]*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libjack-*[0-9.]*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15562 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack-*[0-9.]*\\.$LIBEXT" | sed -e "s/^.*\(libjack-*[0-9.]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
34200c35
AJ
15563 esac
15564else
15565 echo "$as_me: failed program was:" >&5
15566sed 's/^/| /' conftest.$ac_ext >&5
15567
15568
15569fi
15570
15571rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15572 conftest$ac_exeext conftest.$ac_ext
15573 LIBS=$ac_check_soname_save_LIBS
15574fi
15575if test "x$ac_cv_lib_soname_jack" = "x"; then
15576 { echo "$as_me:$LINENO: result: not found" >&5
15577echo "${ECHO_T}not found" >&6; }
15578
15579else
15580 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15581echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15582
15583cat >>confdefs.h <<_ACEOF
15584#define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15585_ACEOF
15586
15587
ccd5f284
AJ
15588fi
15589
15590fi
15591
15592if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15593then
15594 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15595echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15596if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15597 echo $ECHO_N "(cached) $ECHO_C" >&6
15598else
15599 ac_check_soname_save_LIBS=$LIBS
15600LIBS="-lfontconfig $LIBS"
15601 cat >conftest.$ac_ext <<_ACEOF
15602/* confdefs.h. */
15603_ACEOF
15604cat confdefs.h >>conftest.$ac_ext
15605cat >>conftest.$ac_ext <<_ACEOF
15606/* end confdefs.h. */
15607
15608/* Override any GCC internal prototype to avoid an error.
15609 Use char because int might match the return type of a GCC
15610 builtin and then its argument prototype would still apply. */
15611#ifdef __cplusplus
15612extern "C"
15613#endif
15614char FcInit ();
15615int
15616main ()
15617{
15618return FcInit ();
15619 ;
15620 return 0;
15621}
15622_ACEOF
15623rm -f conftest.$ac_objext conftest$ac_exeext
15624if { (ac_try="$ac_link"
15625case "(($ac_try" in
15626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15627 *) ac_try_echo=$ac_try;;
15628esac
15629eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15630 (eval "$ac_link") 2>conftest.er1
15631 ac_status=$?
15632 grep -v '^ *+' conftest.er1 >conftest.err
15633 rm -f conftest.er1
15634 cat conftest.err >&5
15635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15636 (exit $ac_status); } && {
15637 test -z "$ac_c_werror_flag" ||
15638 test ! -s conftest.err
15639 } && test -s conftest$ac_exeext &&
15640 $as_test_x conftest$ac_exeext; then
15641 case "$LIBEXT" in
15642 dll) ;;
15643 dylib) ac_cv_lib_soname_fontconfig=`otool -L conftest$ac_exeext | grep "libfontconfig\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libfontconfig\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15644 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15645 esac
15646else
15647 echo "$as_me: failed program was:" >&5
15648sed 's/^/| /' conftest.$ac_ext >&5
15649
15650
15651fi
15652
15653rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15654 conftest$ac_exeext conftest.$ac_ext
15655 LIBS=$ac_check_soname_save_LIBS
15656fi
15657if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15658 { echo "$as_me:$LINENO: result: not found" >&5
15659echo "${ECHO_T}not found" >&6; }
15660
15661else
15662 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15663echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15664
15665cat >>confdefs.h <<_ACEOF
15666#define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15667_ACEOF
15668
15669
f91909b3
AJ
15670fi
15671
a41f0f1b 15672elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
5c076730
AJ
15673then
15674 ac_save_CPPFLAGS="$CPPFLAGS"
15675 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
15676 $as_unset ac_cv_header_fontconfig_fontconfig_h
15677
15678for ac_header in fontconfig/fontconfig.h
15679do
15680as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15681if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15682 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15683echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15684if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15685 echo $ECHO_N "(cached) $ECHO_C" >&6
15686fi
15687ac_res=`eval echo '${'$as_ac_Header'}'`
15688 { echo "$as_me:$LINENO: result: $ac_res" >&5
15689echo "${ECHO_T}$ac_res" >&6; }
15690else
15691 # Is the header compilable?
15692{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
15693echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15694cat >conftest.$ac_ext <<_ACEOF
15695/* confdefs.h. */
15696_ACEOF
15697cat confdefs.h >>conftest.$ac_ext
15698cat >>conftest.$ac_ext <<_ACEOF
15699/* end confdefs.h. */
15700$ac_includes_default
15701#include <$ac_header>
15702_ACEOF
15703rm -f conftest.$ac_objext
15704if { (ac_try="$ac_compile"
15705case "(($ac_try" in
15706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15707 *) ac_try_echo=$ac_try;;
15708esac
15709eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15710 (eval "$ac_compile") 2>conftest.er1
15711 ac_status=$?
15712 grep -v '^ *+' conftest.er1 >conftest.err
15713 rm -f conftest.er1
15714 cat conftest.err >&5
15715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15716 (exit $ac_status); } && {
15717 test -z "$ac_c_werror_flag" ||
15718 test ! -s conftest.err
15719 } && test -s conftest.$ac_objext; then
15720 ac_header_compiler=yes
15721else
15722 echo "$as_me: failed program was:" >&5
15723sed 's/^/| /' conftest.$ac_ext >&5
15724
15725 ac_header_compiler=no
15726fi
15727
15728rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15729{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15730echo "${ECHO_T}$ac_header_compiler" >&6; }
15731
15732# Is the header present?
15733{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
15734echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15735cat >conftest.$ac_ext <<_ACEOF
15736/* confdefs.h. */
15737_ACEOF
15738cat confdefs.h >>conftest.$ac_ext
15739cat >>conftest.$ac_ext <<_ACEOF
15740/* end confdefs.h. */
15741#include <$ac_header>
15742_ACEOF
15743if { (ac_try="$ac_cpp conftest.$ac_ext"
15744case "(($ac_try" in
15745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15746 *) ac_try_echo=$ac_try;;
15747esac
15748eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15749 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15750 ac_status=$?
15751 grep -v '^ *+' conftest.er1 >conftest.err
15752 rm -f conftest.er1
15753 cat conftest.err >&5
15754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15755 (exit $ac_status); } >/dev/null && {
15756 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15757 test ! -s conftest.err
15758 }; then
15759 ac_header_preproc=yes
15760else
15761 echo "$as_me: failed program was:" >&5
15762sed 's/^/| /' conftest.$ac_ext >&5
15763
15764 ac_header_preproc=no
15765fi
15766
15767rm -f conftest.err conftest.$ac_ext
15768{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15769echo "${ECHO_T}$ac_header_preproc" >&6; }
15770
15771# So? What about this header?
15772case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15773 yes:no: )
15774 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15775echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15776 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15777echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15778 ac_header_preproc=yes
15779 ;;
15780 no:yes:* )
15781 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15782echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15783 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15784echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15785 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15786echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15787 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15788echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15789 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15790echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15791 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15792echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15793 ( cat <<\_ASBOX
15794## ------------------------------------ ##
15795## Report this to wine-devel@winehq.org ##
15796## ------------------------------------ ##
15797_ASBOX
15798 ) | sed "s/^/$as_me: WARNING: /" >&2
15799 ;;
15800esac
15801{ echo "$as_me:$LINENO: checking for $ac_header" >&5
15802echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15803if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15804 echo $ECHO_N "(cached) $ECHO_C" >&6
15805else
15806 eval "$as_ac_Header=\$ac_header_preproc"
15807fi
15808ac_res=`eval echo '${'$as_ac_Header'}'`
15809 { echo "$as_me:$LINENO: result: $ac_res" >&5
15810echo "${ECHO_T}$ac_res" >&6; }
15811
15812fi
15813if test `eval echo '${'$as_ac_Header'}'` = yes; then
15814 cat >>confdefs.h <<_ACEOF
15815#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15816_ACEOF
15817
15818fi
15819
15820done
15821
15822 CPPFLAGS="$ac_save_CPPFLAGS"
15823 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15824 then
15825 FONTCONFIGINCL="$X_CFLAGS"
15826
15827 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15828echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15829if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15830 echo $ECHO_N "(cached) $ECHO_C" >&6
15831else
15832 ac_check_soname_save_LIBS=$LIBS
15833LIBS="-lfontconfig $X_LIBS $LIBS"
15834 cat >conftest.$ac_ext <<_ACEOF
15835/* confdefs.h. */
15836_ACEOF
15837cat confdefs.h >>conftest.$ac_ext
15838cat >>conftest.$ac_ext <<_ACEOF
15839/* end confdefs.h. */
15840
15841/* Override any GCC internal prototype to avoid an error.
15842 Use char because int might match the return type of a GCC
15843 builtin and then its argument prototype would still apply. */
15844#ifdef __cplusplus
15845extern "C"
15846#endif
15847char FcInit ();
15848int
15849main ()
15850{
15851return FcInit ();
15852 ;
15853 return 0;
15854}
15855_ACEOF
15856rm -f conftest.$ac_objext conftest$ac_exeext
15857if { (ac_try="$ac_link"
15858case "(($ac_try" in
15859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15860 *) ac_try_echo=$ac_try;;
15861esac
15862eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15863 (eval "$ac_link") 2>conftest.er1
15864 ac_status=$?
15865 grep -v '^ *+' conftest.er1 >conftest.err
15866 rm -f conftest.er1
15867 cat conftest.err >&5
15868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15869 (exit $ac_status); } && {
15870 test -z "$ac_c_werror_flag" ||
15871 test ! -s conftest.err
15872 } && test -s conftest$ac_exeext &&
15873 $as_test_x conftest$ac_exeext; then
15874 case "$LIBEXT" in
15875 dll) ;;
15876 dylib) ac_cv_lib_soname_fontconfig=`otool -L conftest$ac_exeext | grep "libfontconfig\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libfontconfig\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15877 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15878 esac
15879else
15880 echo "$as_me: failed program was:" >&5
15881sed 's/^/| /' conftest.$ac_ext >&5
15882
15883
15884fi
15885
15886rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15887 conftest$ac_exeext conftest.$ac_ext
15888 LIBS=$ac_check_soname_save_LIBS
15889fi
15890if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15891 { echo "$as_me:$LINENO: result: not found" >&5
15892echo "${ECHO_T}not found" >&6; }
15893
15894else
15895 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15896echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15897
15898cat >>confdefs.h <<_ACEOF
15899#define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15900_ACEOF
15901
15902
15903fi
15904
15905 fi
f91909b3 15906fi
7f674966 15907if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
a41f0f1b
AJ
15908 case "x$with_fontconfig" in
15909 x) wine_notices="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15910 xno) ;;
15911 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15912This is an error since --with-fontconfig was requested." >&5
15913echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15914This is an error since --with-fontconfig was requested." >&2;}
15915 { (exit 1); exit 1; }; } ;;
15916esac
7f674966
AJ
15917fi
15918
f91909b3
AJ
15919
15920if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15921then
15922 { echo "$as_me:$LINENO: checking for -lssl" >&5
15923echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15924if test "${ac_cv_lib_soname_ssl+set}" = set; then
15925 echo $ECHO_N "(cached) $ECHO_C" >&6
15926else
15927 ac_check_soname_save_LIBS=$LIBS
15928LIBS="-lssl $LIBS"
15929 cat >conftest.$ac_ext <<_ACEOF
15930/* confdefs.h. */
15931_ACEOF
15932cat confdefs.h >>conftest.$ac_ext
15933cat >>conftest.$ac_ext <<_ACEOF
15934/* end confdefs.h. */
15935
15936/* Override any GCC internal prototype to avoid an error.
15937 Use char because int might match the return type of a GCC
15938 builtin and then its argument prototype would still apply. */
15939#ifdef __cplusplus
15940extern "C"
15941#endif
15942char SSL_library_init ();
15943int
15944main ()
15945{
15946return SSL_library_init ();
15947 ;
15948 return 0;
15949}
15950_ACEOF
15951rm -f conftest.$ac_objext conftest$ac_exeext
15952if { (ac_try="$ac_link"
15953case "(($ac_try" in
15954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15955 *) ac_try_echo=$ac_try;;
15956esac
15957eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15958 (eval "$ac_link") 2>conftest.er1
15959 ac_status=$?
15960 grep -v '^ *+' conftest.er1 >conftest.err
15961 rm -f conftest.er1
15962 cat conftest.err >&5
15963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15964 (exit $ac_status); } && {
15965 test -z "$ac_c_werror_flag" ||
15966 test ! -s conftest.err
15967 } && test -s conftest$ac_exeext &&
15968 $as_test_x conftest$ac_exeext; then
15969 case "$LIBEXT" in
15970 dll) ;;
15971 dylib) ac_cv_lib_soname_ssl=`otool -L conftest$ac_exeext | grep "libssl\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libssl\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15972 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15973 esac
15974else
15975 echo "$as_me: failed program was:" >&5
15976sed 's/^/| /' conftest.$ac_ext >&5
15977
15978
15979fi
15980
15981rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15982 conftest$ac_exeext conftest.$ac_ext
15983 LIBS=$ac_check_soname_save_LIBS
15984fi
15985if test "x$ac_cv_lib_soname_ssl" = "x"; then
15986 { echo "$as_me:$LINENO: result: not found" >&5
15987echo "${ECHO_T}not found" >&6; }
15988
15989else
15990 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15991echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15992
15993cat >>confdefs.h <<_ACEOF
15994#define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15995_ACEOF
15996
15997
15998fi
15999
16000 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
16001echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
16002if test "${ac_cv_lib_soname_crypto+set}" = set; then
16003 echo $ECHO_N "(cached) $ECHO_C" >&6
16004else
16005 ac_check_soname_save_LIBS=$LIBS
16006LIBS="-lcrypto $LIBS"
16007 cat >conftest.$ac_ext <<_ACEOF
16008/* confdefs.h. */
16009_ACEOF
16010cat confdefs.h >>conftest.$ac_ext
16011cat >>conftest.$ac_ext <<_ACEOF
16012/* end confdefs.h. */
16013
16014/* Override any GCC internal prototype to avoid an error.
16015 Use char because int might match the return type of a GCC
16016 builtin and then its argument prototype would still apply. */
16017#ifdef __cplusplus
16018extern "C"
16019#endif
16020char BIO_new_socket ();
16021int
16022main ()
16023{
16024return BIO_new_socket ();
16025 ;
16026 return 0;
16027}
16028_ACEOF
16029rm -f conftest.$ac_objext conftest$ac_exeext
16030if { (ac_try="$ac_link"
16031case "(($ac_try" in
16032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16033 *) ac_try_echo=$ac_try;;
16034esac
16035eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16036 (eval "$ac_link") 2>conftest.er1
16037 ac_status=$?
16038 grep -v '^ *+' conftest.er1 >conftest.err
16039 rm -f conftest.er1
16040 cat conftest.err >&5
16041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16042 (exit $ac_status); } && {
16043 test -z "$ac_c_werror_flag" ||
16044 test ! -s conftest.err
16045 } && test -s conftest$ac_exeext &&
16046 $as_test_x conftest$ac_exeext; then
16047 case "$LIBEXT" in
16048 dll) ;;
16049 dylib) ac_cv_lib_soname_crypto=`otool -L conftest$ac_exeext | grep "libcrypto\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcrypto\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16050 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
16051 esac
16052else
16053 echo "$as_me: failed program was:" >&5
16054sed 's/^/| /' conftest.$ac_ext >&5
16055
16056
16057fi
16058
16059rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16060 conftest$ac_exeext conftest.$ac_ext
16061 LIBS=$ac_check_soname_save_LIBS
16062fi
16063if test "x$ac_cv_lib_soname_crypto" = "x"; then
16064 { echo "$as_me:$LINENO: result: not found" >&5
16065echo "${ECHO_T}not found" >&6; }
16066
16067else
16068 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
16069echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
16070
16071cat >>confdefs.h <<_ACEOF
16072#define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
16073_ACEOF
16074
16075
d0fddf4f
AJ
16076fi
16077
16078fi
8354e6a9 16079if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then
a41f0f1b 16080 case "x$with_openssl" in
63ea6703 16081 x) wine_warnings="$wine_warnings|OpenSSL development files not found, SSL won't be supported." ;;
a41f0f1b
AJ
16082 xno) ;;
16083 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
16084This is an error since --with-openssl was requested." >&5
16085echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
16086This is an error since --with-openssl was requested." >&2;}
16087 { (exit 1); exit 1; }; } ;;
16088esac
7f674966
AJ
16089fi
16090
d0fddf4f
AJ
16091
16092if test "$ac_cv_header_jpeglib_h" = "yes"
16093then
16094 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
16095echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
16096if test "${ac_cv_lib_soname_jpeg+set}" = set; then
16097 echo $ECHO_N "(cached) $ECHO_C" >&6
16098else
16099 ac_check_soname_save_LIBS=$LIBS
16100LIBS="-ljpeg $LIBS"
16101 cat >conftest.$ac_ext <<_ACEOF
16102/* confdefs.h. */
16103_ACEOF
16104cat confdefs.h >>conftest.$ac_ext
16105cat >>conftest.$ac_ext <<_ACEOF
16106/* end confdefs.h. */
16107
16108/* Override any GCC internal prototype to avoid an error.
16109 Use char because int might match the return type of a GCC
16110 builtin and then its argument prototype would still apply. */
16111#ifdef __cplusplus
16112extern "C"
16113#endif
16114char jpeg_start_decompress ();
16115int
16116main ()
16117{
16118return jpeg_start_decompress ();
16119 ;
16120 return 0;
16121}
16122_ACEOF
16123rm -f conftest.$ac_objext conftest$ac_exeext
16124if { (ac_try="$ac_link"
16125case "(($ac_try" in
16126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16127 *) ac_try_echo=$ac_try;;
16128esac
16129eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16130 (eval "$ac_link") 2>conftest.er1
16131 ac_status=$?
16132 grep -v '^ *+' conftest.er1 >conftest.err
16133 rm -f conftest.er1
16134 cat conftest.err >&5
16135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16136 (exit $ac_status); } && {
16137 test -z "$ac_c_werror_flag" ||
16138 test ! -s conftest.err
16139 } && test -s conftest$ac_exeext &&
16140 $as_test_x conftest$ac_exeext; then
16141 case "$LIBEXT" in
16142 dll) ;;
16143 dylib) ac_cv_lib_soname_jpeg=`otool -L conftest$ac_exeext | grep "libjpeg\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libjpeg\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16144 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
16145 esac
16146else
16147 echo "$as_me: failed program was:" >&5
16148sed 's/^/| /' conftest.$ac_ext >&5
16149
16150
16151fi
16152
16153rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16154 conftest$ac_exeext conftest.$ac_ext
16155 LIBS=$ac_check_soname_save_LIBS
16156fi
16157if test "x$ac_cv_lib_soname_jpeg" = "x"; then
16158 { echo "$as_me:$LINENO: result: not found" >&5
16159echo "${ECHO_T}not found" >&6; }
16160
16161else
16162 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
16163echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
16164
16165cat >>confdefs.h <<_ACEOF
16166#define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
16167_ACEOF
16168
16169
00302152
AJ
16170fi
16171
16172fi
7f674966 16173if test "x$ac_cv_lib_soname_jpeg" = "x"; then
a41f0f1b 16174 case "x$with_jpeg" in
63ea6703 16175 x) wine_warnings="$wine_warnings|libjpeg development files not found, JPEG won't be supported." ;;
a41f0f1b
AJ
16176 xno) ;;
16177 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
16178This is an error since --with-jpeg was requested." >&5
16179echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
16180This is an error since --with-jpeg was requested." >&2;}
16181 { (exit 1); exit 1; }; } ;;
16182esac
7f674966
AJ
16183fi
16184
00302152
AJ
16185
16186if test "$ac_cv_header_png_h" = "yes"
16187then
16188 { echo "$as_me:$LINENO: checking for -lpng" >&5
16189echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
16190if test "${ac_cv_lib_soname_png+set}" = set; then
16191 echo $ECHO_N "(cached) $ECHO_C" >&6
16192else
16193 ac_check_soname_save_LIBS=$LIBS
082e39f9 16194LIBS="-lpng -lm $LIBS"
00302152
AJ
16195 cat >conftest.$ac_ext <<_ACEOF
16196/* confdefs.h. */
16197_ACEOF
16198cat confdefs.h >>conftest.$ac_ext
16199cat >>conftest.$ac_ext <<_ACEOF
16200/* end confdefs.h. */
16201
16202/* Override any GCC internal prototype to avoid an error.
16203 Use char because int might match the return type of a GCC
16204 builtin and then its argument prototype would still apply. */
16205#ifdef __cplusplus
16206extern "C"
16207#endif
16208char png_create_read_struct ();
16209int
16210main ()
16211{
16212return png_create_read_struct ();
16213 ;
16214 return 0;
16215}
16216_ACEOF
16217rm -f conftest.$ac_objext conftest$ac_exeext
16218if { (ac_try="$ac_link"
16219case "(($ac_try" in
16220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16221 *) ac_try_echo=$ac_try;;
16222esac
16223eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16224 (eval "$ac_link") 2>conftest.er1
16225 ac_status=$?
16226 grep -v '^ *+' conftest.er1 >conftest.err
16227 rm -f conftest.er1
16228 cat conftest.err >&5
16229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16230 (exit $ac_status); } && {
16231 test -z "$ac_c_werror_flag" ||
16232 test ! -s conftest.err
16233 } && test -s conftest$ac_exeext &&
16234 $as_test_x conftest$ac_exeext; then
16235 case "$LIBEXT" in
16236 dll) ;;
16237 dylib) ac_cv_lib_soname_png=`otool -L conftest$ac_exeext | grep "libpng[0-9]*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libpng[0-9]*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16238 *) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
16239 esac
16240else
16241 echo "$as_me: failed program was:" >&5
16242sed 's/^/| /' conftest.$ac_ext >&5
16243
16244
16245fi
16246
16247rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16248 conftest$ac_exeext conftest.$ac_ext
16249 LIBS=$ac_check_soname_save_LIBS
16250fi
16251if test "x$ac_cv_lib_soname_png" = "x"; then
16252 { echo "$as_me:$LINENO: result: not found" >&5
16253echo "${ECHO_T}not found" >&6; }
16254
16255else
16256 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
16257echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
16258
16259cat >>confdefs.h <<_ACEOF
16260#define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16261_ACEOF
16262
16263
a3097628
AJ
16264fi
16265
16266fi
7f674966 16267if test "x$ac_cv_lib_soname_png" = "x"; then
a41f0f1b 16268 case "x$with_png" in
63ea6703 16269 x) wine_warnings="$wine_warnings|libpng development files not found, PNG won't be supported." ;;
a41f0f1b
AJ
16270 xno) ;;
16271 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
16272This is an error since --with-png was requested." >&5
16273echo "$as_me: error: libpng development files not found, PNG won't be supported.
16274This is an error since --with-png was requested." >&2;}
16275 { (exit 1); exit 1; }; } ;;
16276esac
7f674966
AJ
16277fi
16278
a3097628 16279
84f8ab6b
AJ
16280{ echo "$as_me:$LINENO: checking for -lodbc" >&5
16281echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
16282if test "${ac_cv_lib_soname_odbc+set}" = set; then
16283 echo $ECHO_N "(cached) $ECHO_C" >&6
16284else
16285 ac_check_soname_save_LIBS=$LIBS
16286LIBS="-lodbc $LIBS"
16287 cat >conftest.$ac_ext <<_ACEOF
16288/* confdefs.h. */
16289_ACEOF
16290cat confdefs.h >>conftest.$ac_ext
16291cat >>conftest.$ac_ext <<_ACEOF
16292/* end confdefs.h. */
16293
16294/* Override any GCC internal prototype to avoid an error.
16295 Use char because int might match the return type of a GCC
16296 builtin and then its argument prototype would still apply. */
16297#ifdef __cplusplus
16298extern "C"
16299#endif
16300char SQLConnect ();
16301int
16302main ()
16303{
16304return SQLConnect ();
16305 ;
16306 return 0;
16307}
16308_ACEOF
16309rm -f conftest.$ac_objext conftest$ac_exeext
16310if { (ac_try="$ac_link"
16311case "(($ac_try" in
16312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16313 *) ac_try_echo=$ac_try;;
16314esac
16315eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16316 (eval "$ac_link") 2>conftest.er1
16317 ac_status=$?
16318 grep -v '^ *+' conftest.er1 >conftest.err
16319 rm -f conftest.er1
16320 cat conftest.err >&5
16321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16322 (exit $ac_status); } && {
16323 test -z "$ac_c_werror_flag" ||
16324 test ! -s conftest.err
16325 } && test -s conftest$ac_exeext &&
16326 $as_test_x conftest$ac_exeext; then
16327 case "$LIBEXT" in
16328 dll) ;;
16329 dylib) ac_cv_lib_soname_odbc=`otool -L conftest$ac_exeext | grep "libodbc\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libodbc\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16330 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
16331 esac
16332else
16333 echo "$as_me: failed program was:" >&5
16334sed 's/^/| /' conftest.$ac_ext >&5
16335
16336
16337fi
16338
16339rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16340 conftest$ac_exeext conftest.$ac_ext
16341 LIBS=$ac_check_soname_save_LIBS
16342fi
16343if test "x$ac_cv_lib_soname_odbc" = "x"; then
16344 { echo "$as_me:$LINENO: result: not found" >&5
16345echo "${ECHO_T}not found" >&6; }
16346 cat >>confdefs.h <<_ACEOF
16347#define SONAME_LIBODBC "libodbc.$LIBEXT"
16348_ACEOF
16349
16350else
16351 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
16352echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
16353
16354cat >>confdefs.h <<_ACEOF
16355#define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16356_ACEOF
16357
16358
16359fi
16360
16361
3089a9f2 16362if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESDLIBS$ac_cv_lib_soname_jack" = "x" -a \
a41f0f1b
AJ
16363 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
16364 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
16365 "$ac_cv_header_soundcard_h" != "yes" -a \
16366 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
16367then
16368 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
f9dec94f
AJ
16369fi
16370
16371
a3097628
AJ
16372EXTRACFLAGS=""
16373
16374if test "x${GCC}" = "xyes"
16375then
16376 EXTRACFLAGS="-Wall -pipe"
16377
16378 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
16379echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
16380if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
f5818d2f 16381 echo $ECHO_N "(cached) $ECHO_C" >&6
0623a6f3 16382else
a3097628
AJ
16383 if test "$cross_compiling" = yes; then
16384 ac_cv_c_gcc_strength_bug="yes"
16385else
16386 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
16387/* confdefs.h. */
16388_ACEOF
16389cat confdefs.h >>conftest.$ac_ext
16390cat >>conftest.$ac_ext <<_ACEOF
16391/* end confdefs.h. */
a3097628 16392int L[4] = {0,1,2,3};
f5818d2f
AJ
16393int
16394main ()
16395{
a3097628
AJ
16396static int Array[3];
16397 unsigned int B = 3;
16398 int i;
16399 for(i=0; i<B; i++) Array[i] = i - 3;
16400 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16401 L[i] = 4;
16402 exit( Array[1] != -2 || L[2] != 3)
f5818d2f
AJ
16403 ;
16404 return 0;
16405}
16406_ACEOF
a3097628 16407rm -f conftest$ac_exeext
0ebeb530
JW
16408if { (ac_try="$ac_link"
16409case "(($ac_try" in
16410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16411 *) ac_try_echo=$ac_try;;
16412esac
16413eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
a3097628 16414 (eval "$ac_link") 2>&5
f5818d2f 16415 ac_status=$?
daa2886c 16416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
a3097628
AJ
16417 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16418 { (case "(($ac_try" in
16419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16420 *) ac_try_echo=$ac_try;;
16421esac
16422eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16423 (eval "$ac_try") 2>&5
16424 ac_status=$?
16425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16426 (exit $ac_status); }; }; then
16427 ac_cv_c_gcc_strength_bug="no"
0623a6f3 16428else
a3097628
AJ
16429 echo "$as_me: program exited with status $ac_status" >&5
16430echo "$as_me: failed program was:" >&5
e24bcc77
AJ
16431sed 's/^/| /' conftest.$ac_ext >&5
16432
a3097628
AJ
16433( exit $ac_status )
16434ac_cv_c_gcc_strength_bug="yes"
fa3a5360 16435fi
a3097628 16436rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
182d150a
AJ
16437fi
16438
a3097628 16439
182d150a 16440fi
a3097628
AJ
16441{ echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
16442echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
16443 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16444 then
16445 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16446 fi
182d150a 16447
266c609d 16448
a3097628
AJ
16449 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
16450echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
16451if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
266c609d
AJ
16452 echo $ECHO_N "(cached) $ECHO_C" >&6
16453else
e533e972 16454 ac_wine_try_cflags_saved=$CFLAGS
a3097628 16455CFLAGS="$CFLAGS -fshort-wchar"
e533e972 16456cat >conftest.$ac_ext <<_ACEOF
266c609d
AJ
16457/* confdefs.h. */
16458_ACEOF
16459cat confdefs.h >>conftest.$ac_ext
16460cat >>conftest.$ac_ext <<_ACEOF
16461/* end confdefs.h. */
266c609d
AJ
16462
16463int
16464main ()
16465{
e533e972 16466
266c609d
AJ
16467 ;
16468 return 0;
16469}
16470_ACEOF
16471rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
16472if { (ac_try="$ac_link"
16473case "(($ac_try" in
16474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16475 *) ac_try_echo=$ac_try;;
16476esac
16477eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16478 (eval "$ac_link") 2>conftest.er1
266c609d
AJ
16479 ac_status=$?
16480 grep -v '^ *+' conftest.er1 >conftest.err
16481 rm -f conftest.er1
16482 cat conftest.err >&5
16483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
16484 (exit $ac_status); } && {
16485 test -z "$ac_c_werror_flag" ||
16486 test ! -s conftest.err
16487 } && test -s conftest$ac_exeext &&
16488 $as_test_x conftest$ac_exeext; then
a3097628 16489 ac_cv_cflags__fshort_wchar=yes
266c609d
AJ
16490else
16491 echo "$as_me: failed program was:" >&5
16492sed 's/^/| /' conftest.$ac_ext >&5
16493
a3097628 16494 ac_cv_cflags__fshort_wchar=no
266c609d 16495fi
fc6ffb29 16496
f0ca586f 16497rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
266c609d 16498 conftest$ac_exeext conftest.$ac_ext
e533e972 16499CFLAGS=$ac_wine_try_cflags_saved
266c609d 16500fi
a3097628
AJ
16501{ echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
16502echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
16503if test $ac_cv_cflags__fshort_wchar = yes; then
fa3a5360 16504
a3097628
AJ
16505cat >>confdefs.h <<\_ACEOF
16506#define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
16507_ACEOF
182d150a 16508
6538cb44
AJ
16509fi
16510
16511 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-builtin" >&5
16512echo $ECHO_N "checking whether the compiler supports -fno-builtin... $ECHO_C" >&6; }
16513if test "${ac_cv_cflags__fno_builtin+set}" = set; then
16514 echo $ECHO_N "(cached) $ECHO_C" >&6
16515else
16516 ac_wine_try_cflags_saved=$CFLAGS
16517CFLAGS="$CFLAGS -fno-builtin"
16518cat >conftest.$ac_ext <<_ACEOF
16519/* confdefs.h. */
16520_ACEOF
16521cat confdefs.h >>conftest.$ac_ext
16522cat >>conftest.$ac_ext <<_ACEOF
16523/* end confdefs.h. */
16524
16525int
16526main ()
16527{
16528
16529 ;
16530 return 0;
16531}
16532_ACEOF
16533rm -f conftest.$ac_objext conftest$ac_exeext
16534if { (ac_try="$ac_link"
16535case "(($ac_try" in
16536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16537 *) ac_try_echo=$ac_try;;
16538esac
16539eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16540 (eval "$ac_link") 2>conftest.er1
16541 ac_status=$?
16542 grep -v '^ *+' conftest.er1 >conftest.err
16543 rm -f conftest.er1
16544 cat conftest.err >&5
16545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16546 (exit $ac_status); } && {
16547 test -z "$ac_c_werror_flag" ||
16548 test ! -s conftest.err
16549 } && test -s conftest$ac_exeext &&
16550 $as_test_x conftest$ac_exeext; then
16551 ac_cv_cflags__fno_builtin=yes
16552else
16553 echo "$as_me: failed program was:" >&5
16554sed 's/^/| /' conftest.$ac_ext >&5
16555
16556 ac_cv_cflags__fno_builtin=no
16557fi
16558
16559rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16560 conftest$ac_exeext conftest.$ac_ext
16561CFLAGS=$ac_wine_try_cflags_saved
16562fi
16563{ echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_builtin" >&5
16564echo "${ECHO_T}$ac_cv_cflags__fno_builtin" >&6; }
16565if test $ac_cv_cflags__fno_builtin = yes; then
16566 BUILTINFLAG="-fno-builtin"
16567
a3097628
AJ
16568fi
16569
16570 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
16571echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
16572if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
f5818d2f 16573 echo $ECHO_N "(cached) $ECHO_C" >&6
7e6ae4ba 16574else
67e8dc68 16575 ac_wine_try_cflags_saved=$CFLAGS
a3097628 16576CFLAGS="$CFLAGS -fno-strict-aliasing"
67e8dc68 16577cat >conftest.$ac_ext <<_ACEOF
e533e972
AJ
16578/* confdefs.h. */
16579_ACEOF
16580cat confdefs.h >>conftest.$ac_ext
16581cat >>conftest.$ac_ext <<_ACEOF
16582/* end confdefs.h. */
16583
16584int
16585main ()
16586{
16587
16588 ;
16589 return 0;
16590}
f5818d2f
AJ
16591_ACEOF
16592rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
16593if { (ac_try="$ac_link"
16594case "(($ac_try" in
16595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16596 *) ac_try_echo=$ac_try;;
16597esac
16598eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16599 (eval "$ac_link") 2>conftest.er1
f5818d2f 16600 ac_status=$?
875927f6
AJ
16601 grep -v '^ *+' conftest.er1 >conftest.err
16602 rm -f conftest.er1
16603 cat conftest.err >&5
daa2886c 16604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
16605 (exit $ac_status); } && {
16606 test -z "$ac_c_werror_flag" ||
16607 test ! -s conftest.err
16608 } && test -s conftest$ac_exeext &&
16609 $as_test_x conftest$ac_exeext; then
a3097628 16610 ac_cv_cflags__fno_strict_aliasing=yes
7e6ae4ba 16611else
f5818d2f 16612 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
16613sed 's/^/| /' conftest.$ac_ext >&5
16614
a3097628 16615 ac_cv_cflags__fno_strict_aliasing=no
7e6ae4ba 16616fi
fc6ffb29 16617
f0ca586f 16618rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 16619 conftest$ac_exeext conftest.$ac_ext
67e8dc68 16620CFLAGS=$ac_wine_try_cflags_saved
f5818d2f 16621fi
a3097628
AJ
16622{ echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16623echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
16624if test $ac_cv_cflags__fno_strict_aliasing = yes; then
16625 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
182d150a
AJ
16626fi
16627
a3097628
AJ
16628 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16629echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
16630if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
0ebeb530
JW
16631 echo $ECHO_N "(cached) $ECHO_C" >&6
16632else
182d150a 16633 ac_wine_try_cflags_saved=$CFLAGS
a3097628 16634CFLAGS="$CFLAGS -Wdeclaration-after-statement"
0ebeb530
JW
16635cat >conftest.$ac_ext <<_ACEOF
16636/* confdefs.h. */
16637_ACEOF
16638cat confdefs.h >>conftest.$ac_ext
16639cat >>conftest.$ac_ext <<_ACEOF
16640/* end confdefs.h. */
16641
16642int
16643main ()
16644{
16645
16646 ;
16647 return 0;
16648}
16649_ACEOF
16650rm -f conftest.$ac_objext conftest$ac_exeext
16651if { (ac_try="$ac_link"
16652case "(($ac_try" in
16653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16654 *) ac_try_echo=$ac_try;;
16655esac
16656eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16657 (eval "$ac_link") 2>conftest.er1
16658 ac_status=$?
16659 grep -v '^ *+' conftest.er1 >conftest.err
16660 rm -f conftest.er1
16661 cat conftest.err >&5
16662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
16663 (exit $ac_status); } && {
16664 test -z "$ac_c_werror_flag" ||
16665 test ! -s conftest.err
16666 } && test -s conftest$ac_exeext &&
16667 $as_test_x conftest$ac_exeext; then
a3097628 16668 ac_cv_cflags__Wdeclaration_after_statement=yes
0ebeb530
JW
16669else
16670 echo "$as_me: failed program was:" >&5
16671sed 's/^/| /' conftest.$ac_ext >&5
16672
a3097628 16673 ac_cv_cflags__Wdeclaration_after_statement=no
0ebeb530
JW
16674fi
16675
f0ca586f 16676rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
0ebeb530
JW
16677 conftest$ac_exeext conftest.$ac_ext
16678CFLAGS=$ac_wine_try_cflags_saved
16679fi
a3097628
AJ
16680{ echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16681echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16682if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16683 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
182d150a
AJ
16684fi
16685
a3097628
AJ
16686 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16687echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16688if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
0ebeb530
JW
16689 echo $ECHO_N "(cached) $ECHO_C" >&6
16690else
16691 ac_wine_try_cflags_saved=$CFLAGS
a3097628 16692CFLAGS="$CFLAGS -Wwrite-strings"
0ebeb530
JW
16693cat >conftest.$ac_ext <<_ACEOF
16694/* confdefs.h. */
16695_ACEOF
16696cat confdefs.h >>conftest.$ac_ext
16697cat >>conftest.$ac_ext <<_ACEOF
16698/* end confdefs.h. */
16699
16700int
16701main ()
16702{
16703
16704 ;
16705 return 0;
16706}
16707_ACEOF
16708rm -f conftest.$ac_objext conftest$ac_exeext
16709if { (ac_try="$ac_link"
16710case "(($ac_try" in
16711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16712 *) ac_try_echo=$ac_try;;
16713esac
16714eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16715 (eval "$ac_link") 2>conftest.er1
16716 ac_status=$?
16717 grep -v '^ *+' conftest.er1 >conftest.err
16718 rm -f conftest.er1
16719 cat conftest.err >&5
16720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
16721 (exit $ac_status); } && {
16722 test -z "$ac_c_werror_flag" ||
16723 test ! -s conftest.err
16724 } && test -s conftest$ac_exeext &&
16725 $as_test_x conftest$ac_exeext; then
a3097628 16726 ac_cv_cflags__Wwrite_strings=yes
0ebeb530
JW
16727else
16728 echo "$as_me: failed program was:" >&5
16729sed 's/^/| /' conftest.$ac_ext >&5
16730
a3097628 16731 ac_cv_cflags__Wwrite_strings=no
0ebeb530
JW
16732fi
16733
f0ca586f 16734rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
0ebeb530
JW
16735 conftest$ac_exeext conftest.$ac_ext
16736CFLAGS=$ac_wine_try_cflags_saved
16737fi
a3097628
AJ
16738{ echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16739echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16740if test $ac_cv_cflags__Wwrite_strings = yes; then
16741 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
182d150a 16742fi
e533e972 16743
701ef1d8
GP
16744 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16745echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16746if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16747 echo $ECHO_N "(cached) $ECHO_C" >&6
16748else
16749 ac_wine_try_cflags_saved=$CFLAGS
16750CFLAGS="$CFLAGS -Wtype-limits"
16751cat >conftest.$ac_ext <<_ACEOF
16752/* confdefs.h. */
16753_ACEOF
16754cat confdefs.h >>conftest.$ac_ext
16755cat >>conftest.$ac_ext <<_ACEOF
16756/* end confdefs.h. */
16757
16758int
16759main ()
16760{
16761
16762 ;
16763 return 0;
16764}
16765_ACEOF
16766rm -f conftest.$ac_objext conftest$ac_exeext
16767if { (ac_try="$ac_link"
16768case "(($ac_try" in
16769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16770 *) ac_try_echo=$ac_try;;
16771esac
16772eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16773 (eval "$ac_link") 2>conftest.er1
16774 ac_status=$?
16775 grep -v '^ *+' conftest.er1 >conftest.err
16776 rm -f conftest.er1
16777 cat conftest.err >&5
16778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16779 (exit $ac_status); } && {
16780 test -z "$ac_c_werror_flag" ||
16781 test ! -s conftest.err
16782 } && test -s conftest$ac_exeext &&
16783 $as_test_x conftest$ac_exeext; then
16784 ac_cv_cflags__Wtype_limits=yes
16785else
16786 echo "$as_me: failed program was:" >&5
16787sed 's/^/| /' conftest.$ac_ext >&5
16788
16789 ac_cv_cflags__Wtype_limits=no
16790fi
16791
16792rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16793 conftest$ac_exeext conftest.$ac_ext
16794CFLAGS=$ac_wine_try_cflags_saved
16795fi
16796{ echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16797echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16798if test $ac_cv_cflags__Wtype_limits = yes; then
16799 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16800fi
16801
0ebeb530 16802
a3097628
AJ
16803 saved_CFLAGS="$CFLAGS"
16804 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16805 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16806echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16807if test "${ac_cv_c_string_h_warnings+set}" = set; then
f2abe47d
AJ
16808 echo $ECHO_N "(cached) $ECHO_C" >&6
16809else
a3097628 16810 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
16811/* confdefs.h. */
16812_ACEOF
16813cat confdefs.h >>conftest.$ac_ext
16814cat >>conftest.$ac_ext <<_ACEOF
16815/* end confdefs.h. */
a3097628 16816#include <string.h>
f2abe47d
AJ
16817int
16818main ()
16819{
16820
16821 ;
16822 return 0;
16823}
16824_ACEOF
a3097628
AJ
16825rm -f conftest.$ac_objext
16826if { (ac_try="$ac_compile"
0ebeb530
JW
16827case "(($ac_try" in
16828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16829 *) ac_try_echo=$ac_try;;
16830esac
16831eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
a3097628 16832 (eval "$ac_compile") 2>conftest.er1
f2abe47d 16833 ac_status=$?
875927f6
AJ
16834 grep -v '^ *+' conftest.er1 >conftest.err
16835 rm -f conftest.er1
16836 cat conftest.err >&5
f2abe47d 16837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
16838 (exit $ac_status); } && {
16839 test -z "$ac_c_werror_flag" ||
16840 test ! -s conftest.err
a3097628
AJ
16841 } && test -s conftest.$ac_objext; then
16842 ac_cv_c_string_h_warnings=no
f2abe47d
AJ
16843else
16844 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
16845sed 's/^/| /' conftest.$ac_ext >&5
16846
a3097628 16847 ac_cv_c_string_h_warnings=yes
f2abe47d 16848fi
fc6ffb29 16849
a3097628 16850rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
f2abe47d 16851fi
a3097628
AJ
16852{ echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16853echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16854 CFLAGS="$saved_CFLAGS"
16855 if test "$ac_cv_c_string_h_warnings" = "no"
16856 then
16857 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16858 fi
182d150a 16859fi
e533e972 16860
4d52d379 16861
a3097628
AJ
16862{ echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16863echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16864if test "${ac_cv_asm_func_def+set}" = set; then
36048242
AJ
16865 echo $ECHO_N "(cached) $ECHO_C" >&6
16866else
a3097628 16867 cat >conftest.$ac_ext <<_ACEOF
36048242
AJ
16868/* confdefs.h. */
16869_ACEOF
16870cat confdefs.h >>conftest.$ac_ext
16871cat >>conftest.$ac_ext <<_ACEOF
16872/* end confdefs.h. */
16873
16874int
16875main ()
16876{
a3097628 16877asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
36048242
AJ
16878 ;
16879 return 0;
16880}
16881_ACEOF
16882rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
16883if { (ac_try="$ac_link"
16884case "(($ac_try" in
16885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16886 *) ac_try_echo=$ac_try;;
16887esac
16888eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16889 (eval "$ac_link") 2>conftest.er1
36048242
AJ
16890 ac_status=$?
16891 grep -v '^ *+' conftest.er1 >conftest.err
16892 rm -f conftest.er1
16893 cat conftest.err >&5
16894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
16895 (exit $ac_status); } && {
16896 test -z "$ac_c_werror_flag" ||
16897 test ! -s conftest.err
16898 } && test -s conftest$ac_exeext &&
16899 $as_test_x conftest$ac_exeext; then
a3097628 16900 ac_cv_asm_func_def=".def"
36048242
AJ
16901else
16902 echo "$as_me: failed program was:" >&5
16903sed 's/^/| /' conftest.$ac_ext >&5
16904
a3097628
AJ
16905 cat >conftest.$ac_ext <<_ACEOF
16906/* confdefs.h. */
16907_ACEOF
16908cat confdefs.h >>conftest.$ac_ext
16909cat >>conftest.$ac_ext <<_ACEOF
16910/* end confdefs.h. */
36048242 16911
a3097628
AJ
16912int
16913main ()
16914{
16915asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16916 ;
16917 return 0;
16918}
440ff6db
AJ
16919_ACEOF
16920rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
16921if { (ac_try="$ac_link"
16922case "(($ac_try" in
16923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16924 *) ac_try_echo=$ac_try;;
16925esac
16926eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16927 (eval "$ac_link") 2>conftest.er1
440ff6db
AJ
16928 ac_status=$?
16929 grep -v '^ *+' conftest.er1 >conftest.err
16930 rm -f conftest.er1
16931 cat conftest.err >&5
16932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
16933 (exit $ac_status); } && {
16934 test -z "$ac_c_werror_flag" ||
16935 test ! -s conftest.err
16936 } && test -s conftest$ac_exeext &&
16937 $as_test_x conftest$ac_exeext; then
a3097628 16938 ac_cv_asm_func_def=".type @function"
440ff6db
AJ
16939else
16940 echo "$as_me: failed program was:" >&5
16941sed 's/^/| /' conftest.$ac_ext >&5
16942
a3097628
AJ
16943 cat >conftest.$ac_ext <<_ACEOF
16944/* confdefs.h. */
16945_ACEOF
16946cat confdefs.h >>conftest.$ac_ext
16947cat >>conftest.$ac_ext <<_ACEOF
16948/* end confdefs.h. */
e533e972 16949
a3097628
AJ
16950int
16951main ()
16952{
16953asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16954 ;
16955 return 0;
16956}
ef2d04d4
AJ
16957_ACEOF
16958rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
16959if { (ac_try="$ac_link"
16960case "(($ac_try" in
16961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16962 *) ac_try_echo=$ac_try;;
16963esac
16964eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16965 (eval "$ac_link") 2>conftest.er1
ef2d04d4 16966 ac_status=$?
875927f6
AJ
16967 grep -v '^ *+' conftest.er1 >conftest.err
16968 rm -f conftest.er1
16969 cat conftest.err >&5
ef2d04d4 16970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
16971 (exit $ac_status); } && {
16972 test -z "$ac_c_werror_flag" ||
16973 test ! -s conftest.err
a3097628
AJ
16974 } && test -s conftest$ac_exeext &&
16975 $as_test_x conftest$ac_exeext; then
16976 ac_cv_asm_func_def=".type 2"
e533e972 16977else
a3097628
AJ
16978 echo "$as_me: failed program was:" >&5
16979sed 's/^/| /' conftest.$ac_ext >&5
e533e972 16980
a3097628 16981 ac_cv_asm_func_def="unknown"
e533e972 16982fi
a3097628
AJ
16983
16984rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16985 conftest$ac_exeext conftest.$ac_ext
e533e972 16986fi
a3097628
AJ
16987
16988rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16989 conftest$ac_exeext conftest.$ac_ext
e533e972
AJ
16990fi
16991
a3097628
AJ
16992rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16993 conftest$ac_exeext conftest.$ac_ext
16994fi
16995{ echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16996echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
e533e972 16997
e533e972 16998
a3097628
AJ
16999
17000case "$ac_cv_asm_func_def" in
17001 ".def")
17002 cat >>confdefs.h <<\_ACEOF
17003#define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
17004_ACEOF
17005 ;;
17006 ".type @function")
17007 cat >>confdefs.h <<\_ACEOF
17008#define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
17009_ACEOF
17010 ;;
17011 ".type 2")
17012 cat >>confdefs.h <<\_ACEOF
17013#define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
17014_ACEOF
17015 ;;
17016 *)
17017 cat >>confdefs.h <<\_ACEOF
17018#define __ASM_FUNC(name) ""
17019_ACEOF
17020 ;;
17021esac
17022
17023
17024{ echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
17025echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
17026if test "${ac_cv_c_extern_prefix+set}" = set; then
2ffc7e2c
AJ
17027 echo $ECHO_N "(cached) $ECHO_C" >&6
17028else
a3097628
AJ
17029 cat >conftest.$ac_ext <<_ACEOF
17030/* confdefs.h. */
17031_ACEOF
17032cat confdefs.h >>conftest.$ac_ext
17033cat >>conftest.$ac_ext <<_ACEOF
17034/* end confdefs.h. */
17035extern int ac_test;
17036int
17037main ()
17038{
17039asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
17040 ;
17041 return 0;
17042}
17043_ACEOF
17044rm -f conftest.$ac_objext conftest$ac_exeext
17045if { (ac_try="$ac_link"
17046case "(($ac_try" in
17047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17048 *) ac_try_echo=$ac_try;;
17049esac
17050eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17051 (eval "$ac_link") 2>conftest.er1
17052 ac_status=$?
17053 grep -v '^ *+' conftest.er1 >conftest.err
17054 rm -f conftest.er1
17055 cat conftest.err >&5
17056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17057 (exit $ac_status); } && {
17058 test -z "$ac_c_werror_flag" ||
17059 test ! -s conftest.err
17060 } && test -s conftest$ac_exeext &&
17061 $as_test_x conftest$ac_exeext; then
17062 ac_cv_c_extern_prefix="yes"
2ffc7e2c 17063else
a3097628
AJ
17064 echo "$as_me: failed program was:" >&5
17065sed 's/^/| /' conftest.$ac_ext >&5
2ffc7e2c 17066
a3097628 17067 ac_cv_c_extern_prefix="no"
2ffc7e2c 17068fi
a3097628
AJ
17069
17070rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17071 conftest$ac_exeext conftest.$ac_ext
2ffc7e2c 17072fi
a3097628
AJ
17073{ echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
17074echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
2ffc7e2c
AJ
17075
17076
2ffc7e2c 17077
a3097628
AJ
17078if test "$ac_cv_c_extern_prefix" = "yes"
17079then
17080 cat >>confdefs.h <<\_ACEOF
17081#define __ASM_NAME(name) "_" name
17082_ACEOF
17083
17084else
17085 cat >>confdefs.h <<\_ACEOF
17086#define __ASM_NAME(name) name
17087_ACEOF
e533e972 17088
e533e972
AJ
17089fi
17090
a3097628 17091
3a0233d6
AJ
17092LDPATH=""
17093
e533e972
AJ
17094case $build_os in
17095 cygwin*|mingw32*)
17096 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
3a0233d6 17097 ;;
e533e972 17098 darwin*|macosx*)
3a0233d6
AJ
17099 ;;
17100 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
17101 then
17102 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
17103 fi
17104 ;;
e533e972
AJ
17105 *)
17106 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
3a0233d6 17107 ;;
e533e972
AJ
17108esac
17109
17110case $host_os in
17111 mingw32*)
17112 CRTLIBS="-lmsvcrt"
17113
17114 SOCKETLIBS="-lws2_32"
17115
17116 ;;
17117esac
17118
17119MAIN_BINARY="wine-pthread"
17120 case $host_cpu in
17121 *i[3456789]86*)
17122 case $host_os in
17123 linux* | k*bsd*-gnu)
17124 MAIN_BINARY="wine-glibc"
17125
17126 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
9f5c69c9
TC
17127 ;;
17128 freebsd*)
17129 MAIN_BINARY="wine-freebsd"
17130
17131 EXTRA_BINARIES="wine-pthread"
e533e972
AJ
17132 ;;
17133 esac
17134 ;;
17135esac
17136
17137
5a95cfbd 17138
e533e972
AJ
17139
17140
17141
17142
17143
17144
17145
17146
17147
17148
17149
17150
17151
17152
17153
17154
17155
17156
17157
17158
17159
17160
17161
17162
17163
17164
17165
17166
17167
17168
17169
17170
17171
17172
17173
17174
17175
17176
17177
17178
17179
17180
17181
17182
17183
17184
17185
17186
17187
17188
17189
17190
17191
e533e972
AJ
17192
17193
a9f214cb 17194
6c04a187 17195
fd133237 17196
ff96bd6a 17197
e9f5bce3
RS
17198
17199
17200
17201
ff96bd6a 17202
0c4f152e 17203
39f67279 17204
e533e972
AJ
17205
17206
17207for ac_func in \
e533e972
AJ
17208 _pclose \
17209 _popen \
17210 _snprintf \
17211 _spawnvp \
ff96bd6a 17212 _strdup \
e533e972
AJ
17213 _stricmp \
17214 _strnicmp \
e9f5bce3
RS
17215 _strtoi64 \
17216 _strtoui64 \
e533e972
AJ
17217 _vsnprintf \
17218 asctime_r \
17219 chsize \
17220 clone \
e533e972
AJ
17221 dlopen \
17222 epoll_create \
17223 ffs \
17224 finite \
17225 fork \
17226 fpclass \
17227 fstatfs \
17228 fstatvfs \
17229 ftruncate \
17230 futimes \
17231 futimesat \
a9f214cb 17232 getdirentries \
e533e972
AJ
17233 getopt_long \
17234 getpagesize \
e533e972 17235 getpwuid \
e533e972
AJ
17236 gettid \
17237 gettimeofday \
17238 getuid \
fd133237 17239 inet_pton \
e533e972
AJ
17240 kqueue \
17241 lstat \
17242 memmove \
17243 mmap \
17244 pclose \
17245 poll \
17246 popen \
17247 prctl \
17248 pread \
17249 pwrite \
17250 readlink \
17251 rfork \
17252 sched_yield \
17253 select \
39f67279 17254 setproctitle \
e533e972
AJ
17255 setrlimit \
17256 settimeofday \
17257 sigaltstack \
17258 sigprocmask \
17259 snprintf \
17260 spawnvp \
17261 statfs \
17262 statvfs \
17263 strcasecmp \
ff96bd6a 17264 strdup \
e533e972
AJ
17265 strerror \
17266 strncasecmp \
6c04a187 17267 strtold \
e9f5bce3
RS
17268 strtoll \
17269 strtoull \
e533e972 17270 tcgetattr \
0c4f152e 17271 thr_kill2 \
e533e972
AJ
17272 timegm \
17273 usleep \
17274 vsnprintf \
17275 wait4 \
17276 waitpid \
17277
17278do
17279as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17280{ echo "$as_me:$LINENO: checking for $ac_func" >&5
17281echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17282if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9557d1bf
MM
17283 echo $ECHO_N "(cached) $ECHO_C" >&6
17284else
9557d1bf 17285 cat >conftest.$ac_ext <<_ACEOF
9557d1bf
MM
17286/* confdefs.h. */
17287_ACEOF
17288cat confdefs.h >>conftest.$ac_ext
17289cat >>conftest.$ac_ext <<_ACEOF
17290/* end confdefs.h. */
e533e972
AJ
17291/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17293#define $ac_func innocuous_$ac_func
17294
17295/* System header to define __stub macros and hopefully few prototypes,
17296 which can conflict with char $ac_func (); below.
17297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17298 <limits.h> exists even on freestanding compilers. */
17299
17300#ifdef __STDC__
17301# include <limits.h>
17302#else
17303# include <assert.h>
17304#endif
17305
17306#undef $ac_func
9557d1bf 17307
fc6ffb29
AJ
17308/* Override any GCC internal prototype to avoid an error.
17309 Use char because int might match the return type of a GCC
17310 builtin and then its argument prototype would still apply. */
9557d1bf
MM
17311#ifdef __cplusplus
17312extern "C"
17313#endif
e533e972
AJ
17314char $ac_func ();
17315/* The GNU C library defines this for functions which it implements
17316 to always fail with ENOSYS. Some functions are actually named
17317 something starting with __ and the normal name is an alias. */
17318#if defined __stub_$ac_func || defined __stub___$ac_func
17319choke me
17320#endif
17321
9557d1bf
MM
17322int
17323main ()
17324{
e533e972 17325return $ac_func ();
9557d1bf
MM
17326 ;
17327 return 0;
17328}
17329_ACEOF
17330rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
17331if { (ac_try="$ac_link"
17332case "(($ac_try" in
17333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17334 *) ac_try_echo=$ac_try;;
17335esac
17336eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17337 (eval "$ac_link") 2>conftest.er1
9557d1bf 17338 ac_status=$?
875927f6
AJ
17339 grep -v '^ *+' conftest.er1 >conftest.err
17340 rm -f conftest.er1
17341 cat conftest.err >&5
9557d1bf 17342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
17343 (exit $ac_status); } && {
17344 test -z "$ac_c_werror_flag" ||
17345 test ! -s conftest.err
17346 } && test -s conftest$ac_exeext &&
17347 $as_test_x conftest$ac_exeext; then
e533e972 17348 eval "$as_ac_var=yes"
9557d1bf
MM
17349else
17350 echo "$as_me: failed program was:" >&5
17351sed 's/^/| /' conftest.$ac_ext >&5
17352
e533e972 17353 eval "$as_ac_var=no"
9557d1bf 17354fi
fc6ffb29 17355
f0ca586f 17356rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 17357 conftest$ac_exeext conftest.$ac_ext
9557d1bf 17358fi
e533e972
AJ
17359ac_res=`eval echo '${'$as_ac_var'}'`
17360 { echo "$as_me:$LINENO: result: $ac_res" >&5
17361echo "${ECHO_T}$ac_res" >&6; }
17362if test `eval echo '${'$as_ac_var'}'` = yes; then
17363 cat >>confdefs.h <<_ACEOF
17364#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9557d1bf 17365_ACEOF
30de3e8e 17366
9557d1bf 17367fi
e533e972 17368done
e82dfab2 17369
e533e972
AJ
17370
17371if test "$ac_cv_func_dlopen" = no
17372then
17373 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17374echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17375if test "${ac_cv_lib_dl_dlopen+set}" = set; then
e82dfab2
HD
17376 echo $ECHO_N "(cached) $ECHO_C" >&6
17377else
e533e972
AJ
17378 ac_check_lib_save_LIBS=$LIBS
17379LIBS="-ldl $LIBS"
17380cat >conftest.$ac_ext <<_ACEOF
e82dfab2
HD
17381/* confdefs.h. */
17382_ACEOF
17383cat confdefs.h >>conftest.$ac_ext
17384cat >>conftest.$ac_ext <<_ACEOF
17385/* end confdefs.h. */
17386
fc6ffb29
AJ
17387/* Override any GCC internal prototype to avoid an error.
17388 Use char because int might match the return type of a GCC
17389 builtin and then its argument prototype would still apply. */
e82dfab2
HD
17390#ifdef __cplusplus
17391extern "C"
17392#endif
e533e972 17393char dlopen ();
e82dfab2
HD
17394int
17395main ()
17396{
e533e972 17397return dlopen ();
e82dfab2
HD
17398 ;
17399 return 0;
17400}
17401_ACEOF
17402rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
17403if { (ac_try="$ac_link"
17404case "(($ac_try" in
17405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17406 *) ac_try_echo=$ac_try;;
17407esac
17408eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17409 (eval "$ac_link") 2>conftest.er1
e82dfab2
HD
17410 ac_status=$?
17411 grep -v '^ *+' conftest.er1 >conftest.err
17412 rm -f conftest.er1
17413 cat conftest.err >&5
17414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
17415 (exit $ac_status); } && {
17416 test -z "$ac_c_werror_flag" ||
17417 test ! -s conftest.err
17418 } && test -s conftest$ac_exeext &&
17419 $as_test_x conftest$ac_exeext; then
e533e972 17420 ac_cv_lib_dl_dlopen=yes
e82dfab2
HD
17421else
17422 echo "$as_me: failed program was:" >&5
17423sed 's/^/| /' conftest.$ac_ext >&5
17424
e533e972 17425 ac_cv_lib_dl_dlopen=no
e82dfab2 17426fi
fc6ffb29 17427
f0ca586f 17428rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
e82dfab2 17429 conftest$ac_exeext conftest.$ac_ext
e533e972 17430LIBS=$ac_check_lib_save_LIBS
e82dfab2 17431fi
e533e972
AJ
17432{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17433echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17434if test $ac_cv_lib_dl_dlopen = yes; then
17435 cat >>confdefs.h <<\_ACEOF
17436#define HAVE_DLOPEN 1
e82dfab2 17437_ACEOF
e533e972 17438 LIBDL="-ldl"
30de3e8e 17439
e82dfab2
HD
17440fi
17441
e533e972
AJ
17442fi
17443ac_wine_check_funcs_save_LIBS="$LIBS"
17444LIBS="$LIBS $LIBDL"
17445
17446for ac_func in dladdr
17447do
17448as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17449{ echo "$as_me:$LINENO: checking for $ac_func" >&5
17450echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17451if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
f5818d2f 17452 echo $ECHO_N "(cached) $ECHO_C" >&6
1bb94039 17453else
f5818d2f 17454 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
17455/* confdefs.h. */
17456_ACEOF
17457cat confdefs.h >>conftest.$ac_ext
17458cat >>conftest.$ac_ext <<_ACEOF
17459/* end confdefs.h. */
e533e972
AJ
17460/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17462#define $ac_func innocuous_$ac_func
17463
17464/* System header to define __stub macros and hopefully few prototypes,
17465 which can conflict with char $ac_func (); below.
17466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17467 <limits.h> exists even on freestanding compilers. */
17468
17469#ifdef __STDC__
17470# include <limits.h>
17471#else
17472# include <assert.h>
17473#endif
17474
17475#undef $ac_func
82776020 17476
fc6ffb29
AJ
17477/* Override any GCC internal prototype to avoid an error.
17478 Use char because int might match the return type of a GCC
17479 builtin and then its argument prototype would still apply. */
82776020
AJ
17480#ifdef __cplusplus
17481extern "C"
17482#endif
e533e972
AJ
17483char $ac_func ();
17484/* The GNU C library defines this for functions which it implements
17485 to always fail with ENOSYS. Some functions are actually named
17486 something starting with __ and the normal name is an alias. */
17487#if defined __stub_$ac_func || defined __stub___$ac_func
17488choke me
17489#endif
17490
f5818d2f
AJ
17491int
17492main ()
17493{
e533e972 17494return $ac_func ();
f5818d2f
AJ
17495 ;
17496 return 0;
17497}
17498_ACEOF
17499rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
17500if { (ac_try="$ac_link"
17501case "(($ac_try" in
17502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17503 *) ac_try_echo=$ac_try;;
17504esac
17505eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17506 (eval "$ac_link") 2>conftest.er1
f5818d2f 17507 ac_status=$?
875927f6
AJ
17508 grep -v '^ *+' conftest.er1 >conftest.err
17509 rm -f conftest.er1
17510 cat conftest.err >&5
daa2886c 17511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
17512 (exit $ac_status); } && {
17513 test -z "$ac_c_werror_flag" ||
17514 test ! -s conftest.err
17515 } && test -s conftest$ac_exeext &&
17516 $as_test_x conftest$ac_exeext; then
e533e972 17517 eval "$as_ac_var=yes"
f5818d2f
AJ
17518else
17519 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
17520sed 's/^/| /' conftest.$ac_ext >&5
17521
e533e972 17522 eval "$as_ac_var=no"
f5818d2f 17523fi
fc6ffb29 17524
f0ca586f 17525rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 17526 conftest$ac_exeext conftest.$ac_ext
f5818d2f 17527fi
e533e972
AJ
17528ac_res=`eval echo '${'$as_ac_var'}'`
17529 { echo "$as_me:$LINENO: result: $ac_res" >&5
17530echo "${ECHO_T}$ac_res" >&6; }
17531if test `eval echo '${'$as_ac_var'}'` = yes; then
17532 cat >>confdefs.h <<_ACEOF
17533#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
daa2886c 17534_ACEOF
30de3e8e 17535
1bb94039 17536fi
e533e972 17537done
1bb94039 17538
e533e972
AJ
17539LIBS="$ac_wine_check_funcs_save_LIBS"
17540
17541if test "$ac_cv_func_poll" = no
17542then
17543 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
17544echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
17545if test "${ac_cv_lib_poll_poll+set}" = set; then
f5818d2f 17546 echo $ECHO_N "(cached) $ECHO_C" >&6
1bb94039 17547else
bcba2705
FG
17548 ac_check_lib_save_LIBS=$LIBS
17549LIBS="-lpoll $LIBS"
17550cat >conftest.$ac_ext <<_ACEOF
17551/* confdefs.h. */
17552_ACEOF
17553cat confdefs.h >>conftest.$ac_ext
17554cat >>conftest.$ac_ext <<_ACEOF
17555/* end confdefs.h. */
17556
17557/* Override any GCC internal prototype to avoid an error.
17558 Use char because int might match the return type of a GCC
17559 builtin and then its argument prototype would still apply. */
17560#ifdef __cplusplus
17561extern "C"
17562#endif
17563char poll ();
17564int
17565main ()
17566{
17567return poll ();
17568 ;
17569 return 0;
17570}
17571_ACEOF
17572rm -f conftest.$ac_objext conftest$ac_exeext
17573if { (ac_try="$ac_link"
17574case "(($ac_try" in
17575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17576 *) ac_try_echo=$ac_try;;
17577esac
17578eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17579 (eval "$ac_link") 2>conftest.er1
17580 ac_status=$?
17581 grep -v '^ *+' conftest.er1 >conftest.err
17582 rm -f conftest.er1
17583 cat conftest.err >&5
17584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17585 (exit $ac_status); } && {
17586 test -z "$ac_c_werror_flag" ||
17587 test ! -s conftest.err
17588 } && test -s conftest$ac_exeext &&
17589 $as_test_x conftest$ac_exeext; then
17590 ac_cv_lib_poll_poll=yes
17591else
17592 echo "$as_me: failed program was:" >&5
17593sed 's/^/| /' conftest.$ac_ext >&5
17594
17595 ac_cv_lib_poll_poll=no
17596fi
17597
17598rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17599 conftest$ac_exeext conftest.$ac_ext
17600LIBS=$ac_check_lib_save_LIBS
17601fi
17602{ echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17603echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17604if test $ac_cv_lib_poll_poll = yes; then
17605 cat >>confdefs.h <<\_ACEOF
17606#define HAVE_POLL 1
17607_ACEOF
17608 LIBPOLL="-lpoll"
17609
17610fi
17611
17612fi
17613
17614{ echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17615echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17616if test "${ac_cv_search_gethostbyname+set}" = set; then
17617 echo $ECHO_N "(cached) $ECHO_C" >&6
17618else
17619 ac_func_search_save_LIBS=$LIBS
17620cat >conftest.$ac_ext <<_ACEOF
17621/* confdefs.h. */
17622_ACEOF
17623cat confdefs.h >>conftest.$ac_ext
17624cat >>conftest.$ac_ext <<_ACEOF
17625/* end confdefs.h. */
17626
17627/* Override any GCC internal prototype to avoid an error.
17628 Use char because int might match the return type of a GCC
17629 builtin and then its argument prototype would still apply. */
17630#ifdef __cplusplus
17631extern "C"
17632#endif
17633char gethostbyname ();
17634int
17635main ()
17636{
17637return gethostbyname ();
17638 ;
17639 return 0;
17640}
17641_ACEOF
17642for ac_lib in '' nsl; do
17643 if test -z "$ac_lib"; then
17644 ac_res="none required"
17645 else
17646 ac_res=-l$ac_lib
17647 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17648 fi
17649 rm -f conftest.$ac_objext conftest$ac_exeext
17650if { (ac_try="$ac_link"
17651case "(($ac_try" in
17652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17653 *) ac_try_echo=$ac_try;;
17654esac
17655eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17656 (eval "$ac_link") 2>conftest.er1
17657 ac_status=$?
17658 grep -v '^ *+' conftest.er1 >conftest.err
17659 rm -f conftest.er1
17660 cat conftest.err >&5
17661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17662 (exit $ac_status); } && {
17663 test -z "$ac_c_werror_flag" ||
17664 test ! -s conftest.err
17665 } && test -s conftest$ac_exeext &&
17666 $as_test_x conftest$ac_exeext; then
17667 ac_cv_search_gethostbyname=$ac_res
17668else
17669 echo "$as_me: failed program was:" >&5
17670sed 's/^/| /' conftest.$ac_ext >&5
17671
17672
17673fi
17674
17675rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17676 conftest$ac_exeext
17677 if test "${ac_cv_search_gethostbyname+set}" = set; then
17678 break
17679fi
17680done
17681if test "${ac_cv_search_gethostbyname+set}" = set; then
17682 :
17683else
17684 ac_cv_search_gethostbyname=no
17685fi
17686rm conftest.$ac_ext
17687LIBS=$ac_func_search_save_LIBS
17688fi
17689{ echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17690echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17691ac_res=$ac_cv_search_gethostbyname
17692if test "$ac_res" != no; then
17693 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17694
17695fi
17696
17697
17698{ echo "$as_me:$LINENO: checking for library containing connect" >&5
17699echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17700if test "${ac_cv_search_connect+set}" = set; then
17701 echo $ECHO_N "(cached) $ECHO_C" >&6
17702else
17703 ac_func_search_save_LIBS=$LIBS
17704cat >conftest.$ac_ext <<_ACEOF
17705/* confdefs.h. */
17706_ACEOF
17707cat confdefs.h >>conftest.$ac_ext
17708cat >>conftest.$ac_ext <<_ACEOF
17709/* end confdefs.h. */
17710
17711/* Override any GCC internal prototype to avoid an error.
17712 Use char because int might match the return type of a GCC
17713 builtin and then its argument prototype would still apply. */
17714#ifdef __cplusplus
17715extern "C"
17716#endif
17717char connect ();
17718int
17719main ()
17720{
17721return connect ();
17722 ;
17723 return 0;
17724}
17725_ACEOF
17726for ac_lib in '' socket; do
17727 if test -z "$ac_lib"; then
17728 ac_res="none required"
17729 else
17730 ac_res=-l$ac_lib
17731 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17732 fi
17733 rm -f conftest.$ac_objext conftest$ac_exeext
17734if { (ac_try="$ac_link"
17735case "(($ac_try" in
17736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17737 *) ac_try_echo=$ac_try;;
17738esac
17739eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17740 (eval "$ac_link") 2>conftest.er1
17741 ac_status=$?
17742 grep -v '^ *+' conftest.er1 >conftest.err
17743 rm -f conftest.er1
17744 cat conftest.err >&5
17745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17746 (exit $ac_status); } && {
17747 test -z "$ac_c_werror_flag" ||
17748 test ! -s conftest.err
17749 } && test -s conftest$ac_exeext &&
17750 $as_test_x conftest$ac_exeext; then
17751 ac_cv_search_connect=$ac_res
17752else
17753 echo "$as_me: failed program was:" >&5
17754sed 's/^/| /' conftest.$ac_ext >&5
17755
17756
17757fi
17758
17759rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17760 conftest$ac_exeext
17761 if test "${ac_cv_search_connect+set}" = set; then
17762 break
17763fi
17764done
17765if test "${ac_cv_search_connect+set}" = set; then
17766 :
17767else
17768 ac_cv_search_connect=no
17769fi
17770rm conftest.$ac_ext
17771LIBS=$ac_func_search_save_LIBS
17772fi
17773{ echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17774echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17775ac_res=$ac_cv_search_connect
17776if test "$ac_res" != no; then
17777 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17778
17779fi
17780
17781
17782{ echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17783echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17784if test "${ac_cv_search_inet_aton+set}" = set; then
17785 echo $ECHO_N "(cached) $ECHO_C" >&6
17786else
17787 ac_func_search_save_LIBS=$LIBS
17788cat >conftest.$ac_ext <<_ACEOF
17789/* confdefs.h. */
17790_ACEOF
17791cat confdefs.h >>conftest.$ac_ext
17792cat >>conftest.$ac_ext <<_ACEOF
17793/* end confdefs.h. */
17794
17795/* Override any GCC internal prototype to avoid an error.
17796 Use char because int might match the return type of a GCC
17797 builtin and then its argument prototype would still apply. */
17798#ifdef __cplusplus
17799extern "C"
17800#endif
17801char inet_aton ();
17802int
17803main ()
17804{
17805return inet_aton ();
17806 ;
17807 return 0;
17808}
17809_ACEOF
17810for ac_lib in '' resolv; do
17811 if test -z "$ac_lib"; then
17812 ac_res="none required"
17813 else
17814 ac_res=-l$ac_lib
17815 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17816 fi
17817 rm -f conftest.$ac_objext conftest$ac_exeext
17818if { (ac_try="$ac_link"
17819case "(($ac_try" in
17820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17821 *) ac_try_echo=$ac_try;;
17822esac
17823eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17824 (eval "$ac_link") 2>conftest.er1
17825 ac_status=$?
17826 grep -v '^ *+' conftest.er1 >conftest.err
17827 rm -f conftest.er1
17828 cat conftest.err >&5
17829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17830 (exit $ac_status); } && {
17831 test -z "$ac_c_werror_flag" ||
17832 test ! -s conftest.err
17833 } && test -s conftest$ac_exeext &&
17834 $as_test_x conftest$ac_exeext; then
17835 ac_cv_search_inet_aton=$ac_res
17836else
17837 echo "$as_me: failed program was:" >&5
17838sed 's/^/| /' conftest.$ac_ext >&5
17839
17840
17841fi
17842
17843rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17844 conftest$ac_exeext
17845 if test "${ac_cv_search_inet_aton+set}" = set; then
17846 break
17847fi
17848done
17849if test "${ac_cv_search_inet_aton+set}" = set; then
17850 :
17851else
17852 ac_cv_search_inet_aton=no
17853fi
17854rm conftest.$ac_ext
17855LIBS=$ac_func_search_save_LIBS
17856fi
17857{ echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17858echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17859ac_res=$ac_cv_search_inet_aton
17860if test "$ac_res" != no; then
17861 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17862
17863fi
17864
17865
17866
17867
17868
17869
17870
17871
17872
17873
17874for ac_func in \
17875 getaddrinfo \
17876 getnameinfo \
17877 getnetbyname \
17878 getprotobyname \
17879 getprotobynumber \
17880 getservbyport \
17881 inet_network \
17882 sendmsg \
17883
17884do
17885as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17886{ echo "$as_me:$LINENO: checking for $ac_func" >&5
17887echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17888if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17889 echo $ECHO_N "(cached) $ECHO_C" >&6
17890else
17891 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
17892/* confdefs.h. */
17893_ACEOF
17894cat confdefs.h >>conftest.$ac_ext
17895cat >>conftest.$ac_ext <<_ACEOF
17896/* end confdefs.h. */
bcba2705
FG
17897/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17899#define $ac_func innocuous_$ac_func
17900
17901/* System header to define __stub macros and hopefully few prototypes,
17902 which can conflict with char $ac_func (); below.
17903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17904 <limits.h> exists even on freestanding compilers. */
17905
17906#ifdef __STDC__
17907# include <limits.h>
17908#else
17909# include <assert.h>
17910#endif
17911
17912#undef $ac_func
1bb94039 17913
fc6ffb29
AJ
17914/* Override any GCC internal prototype to avoid an error.
17915 Use char because int might match the return type of a GCC
17916 builtin and then its argument prototype would still apply. */
82776020
AJ
17917#ifdef __cplusplus
17918extern "C"
17919#endif
bcba2705
FG
17920char $ac_func ();
17921/* The GNU C library defines this for functions which it implements
17922 to always fail with ENOSYS. Some functions are actually named
17923 something starting with __ and the normal name is an alias. */
17924#if defined __stub_$ac_func || defined __stub___$ac_func
17925choke me
17926#endif
17927
f5818d2f
AJ
17928int
17929main ()
17930{
bcba2705 17931return $ac_func ();
f5818d2f
AJ
17932 ;
17933 return 0;
17934}
17935_ACEOF
17936rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
17937if { (ac_try="$ac_link"
17938case "(($ac_try" in
17939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17940 *) ac_try_echo=$ac_try;;
17941esac
17942eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17943 (eval "$ac_link") 2>conftest.er1
f5818d2f 17944 ac_status=$?
875927f6
AJ
17945 grep -v '^ *+' conftest.er1 >conftest.err
17946 rm -f conftest.er1
17947 cat conftest.err >&5
daa2886c 17948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
17949 (exit $ac_status); } && {
17950 test -z "$ac_c_werror_flag" ||
17951 test ! -s conftest.err
17952 } && test -s conftest$ac_exeext &&
17953 $as_test_x conftest$ac_exeext; then
bcba2705 17954 eval "$as_ac_var=yes"
1bb94039 17955else
f5818d2f 17956 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
17957sed 's/^/| /' conftest.$ac_ext >&5
17958
bcba2705 17959 eval "$as_ac_var=no"
1bb94039 17960fi
fc6ffb29 17961
f0ca586f 17962rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 17963 conftest$ac_exeext conftest.$ac_ext
1bb94039 17964fi
bcba2705
FG
17965ac_res=`eval echo '${'$as_ac_var'}'`
17966 { echo "$as_me:$LINENO: result: $ac_res" >&5
17967echo "${ECHO_T}$ac_res" >&6; }
17968if test `eval echo '${'$as_ac_var'}'` = yes; then
17969 cat >>confdefs.h <<_ACEOF
17970#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
f5818d2f 17971_ACEOF
30de3e8e 17972
1bb94039 17973fi
bcba2705 17974done
1bb94039 17975
e533e972 17976
bcba2705
FG
17977LDAPLIBS=""
17978
17979if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
17980then
17981 { echo "$as_me:$LINENO: checking for LDAPSortKey" >&5
17982echo $ECHO_N "checking for LDAPSortKey... $ECHO_C" >&6; }
17983if test "${ac_cv_type_LDAPSortKey+set}" = set; then
f5818d2f
AJ
17984 echo $ECHO_N "(cached) $ECHO_C" >&6
17985else
bcba2705 17986 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
17987/* confdefs.h. */
17988_ACEOF
17989cat confdefs.h >>conftest.$ac_ext
17990cat >>conftest.$ac_ext <<_ACEOF
17991/* end confdefs.h. */
bcba2705 17992#include <ldap.h>
875927f6 17993
bcba2705 17994typedef LDAPSortKey ac__type_new_;
e24bcc77
AJ
17995int
17996main ()
17997{
bcba2705
FG
17998if ((ac__type_new_ *) 0)
17999 return 0;
18000if (sizeof (ac__type_new_))
18001 return 0;
f5818d2f
AJ
18002 ;
18003 return 0;
18004}
18005_ACEOF
bcba2705
FG
18006rm -f conftest.$ac_objext
18007if { (ac_try="$ac_compile"
0ebeb530
JW
18008case "(($ac_try" in
18009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18010 *) ac_try_echo=$ac_try;;
18011esac
18012eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
bcba2705 18013 (eval "$ac_compile") 2>conftest.er1
f5818d2f 18014 ac_status=$?
875927f6
AJ
18015 grep -v '^ *+' conftest.er1 >conftest.err
18016 rm -f conftest.er1
18017 cat conftest.err >&5
daa2886c 18018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
18019 (exit $ac_status); } && {
18020 test -z "$ac_c_werror_flag" ||
18021 test ! -s conftest.err
bcba2705
FG
18022 } && test -s conftest.$ac_objext; then
18023 ac_cv_type_LDAPSortKey=yes
f5818d2f
AJ
18024else
18025 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
18026sed 's/^/| /' conftest.$ac_ext >&5
18027
bcba2705 18028 ac_cv_type_LDAPSortKey=no
1bb94039 18029fi
daa2886c 18030
bcba2705 18031rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
e533e972 18032fi
bcba2705
FG
18033{ echo "$as_me:$LINENO: result: $ac_cv_type_LDAPSortKey" >&5
18034echo "${ECHO_T}$ac_cv_type_LDAPSortKey" >&6; }
18035if test $ac_cv_type_LDAPSortKey = yes; then
18036 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
18037echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
18038if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
f5818d2f
AJ
18039 echo $ECHO_N "(cached) $ECHO_C" >&6
18040else
bcba2705
FG
18041 ac_check_lib_save_LIBS=$LIBS
18042LIBS="-lldap_r $LIBPTHREAD $LIBS"
e533e972 18043cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
18044/* confdefs.h. */
18045_ACEOF
18046cat confdefs.h >>conftest.$ac_ext
18047cat >>conftest.$ac_ext <<_ACEOF
18048/* end confdefs.h. */
875927f6 18049
fc6ffb29
AJ
18050/* Override any GCC internal prototype to avoid an error.
18051 Use char because int might match the return type of a GCC
18052 builtin and then its argument prototype would still apply. */
f5818d2f
AJ
18053#ifdef __cplusplus
18054extern "C"
18055#endif
bcba2705 18056char ldap_initialize ();
e24bcc77
AJ
18057int
18058main ()
18059{
bcba2705 18060return ldap_initialize ();
f5818d2f
AJ
18061 ;
18062 return 0;
18063}
18064_ACEOF
bcba2705 18065rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
18066if { (ac_try="$ac_link"
18067case "(($ac_try" in
18068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18069 *) ac_try_echo=$ac_try;;
18070esac
18071eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18072 (eval "$ac_link") 2>conftest.er1
f5818d2f 18073 ac_status=$?
875927f6
AJ
18074 grep -v '^ *+' conftest.er1 >conftest.err
18075 rm -f conftest.er1
18076 cat conftest.err >&5
daa2886c 18077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
18078 (exit $ac_status); } && {
18079 test -z "$ac_c_werror_flag" ||
18080 test ! -s conftest.err
18081 } && test -s conftest$ac_exeext &&
18082 $as_test_x conftest$ac_exeext; then
bcba2705 18083 ac_cv_lib_ldap_r_ldap_initialize=yes
f5818d2f
AJ
18084else
18085 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
18086sed 's/^/| /' conftest.$ac_ext >&5
18087
bcba2705 18088 ac_cv_lib_ldap_r_ldap_initialize=no
f5818d2f 18089fi
fc6ffb29 18090
f0ca586f 18091rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
bcba2705
FG
18092 conftest$ac_exeext conftest.$ac_ext
18093LIBS=$ac_check_lib_save_LIBS
e533e972 18094fi
bcba2705
FG
18095{ echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18096echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18097if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
18098 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
18099echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
18100if test "${ac_cv_lib_lber_ber_init+set}" = set; then
1089260f
AJ
18101 echo $ECHO_N "(cached) $ECHO_C" >&6
18102else
bcba2705
FG
18103 ac_check_lib_save_LIBS=$LIBS
18104LIBS="-llber $LIBPTHREAD $LIBS"
1089260f
AJ
18105cat >conftest.$ac_ext <<_ACEOF
18106/* confdefs.h. */
18107_ACEOF
18108cat confdefs.h >>conftest.$ac_ext
18109cat >>conftest.$ac_ext <<_ACEOF
18110/* end confdefs.h. */
18111
18112/* Override any GCC internal prototype to avoid an error.
18113 Use char because int might match the return type of a GCC
18114 builtin and then its argument prototype would still apply. */
18115#ifdef __cplusplus
18116extern "C"
18117#endif
bcba2705 18118char ber_init ();
1089260f
AJ
18119int
18120main ()
18121{
bcba2705 18122return ber_init ();
1089260f
AJ
18123 ;
18124 return 0;
18125}
18126_ACEOF
bcba2705 18127rm -f conftest.$ac_objext conftest$ac_exeext
1089260f
AJ
18128if { (ac_try="$ac_link"
18129case "(($ac_try" in
18130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18131 *) ac_try_echo=$ac_try;;
18132esac
18133eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18134 (eval "$ac_link") 2>conftest.er1
18135 ac_status=$?
18136 grep -v '^ *+' conftest.er1 >conftest.err
18137 rm -f conftest.er1
18138 cat conftest.err >&5
18139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
18140 (exit $ac_status); } && {
18141 test -z "$ac_c_werror_flag" ||
18142 test ! -s conftest.err
18143 } && test -s conftest$ac_exeext &&
18144 $as_test_x conftest$ac_exeext; then
bcba2705 18145 ac_cv_lib_lber_ber_init=yes
1089260f
AJ
18146else
18147 echo "$as_me: failed program was:" >&5
18148sed 's/^/| /' conftest.$ac_ext >&5
18149
bcba2705 18150 ac_cv_lib_lber_ber_init=no
1089260f
AJ
18151fi
18152
f0ca586f 18153rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
bcba2705
FG
18154 conftest$ac_exeext conftest.$ac_ext
18155LIBS=$ac_check_lib_save_LIBS
1089260f 18156fi
bcba2705
FG
18157{ echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
18158echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
18159if test $ac_cv_lib_lber_ber_init = yes; then
18160
18161cat >>confdefs.h <<\_ACEOF
18162#define HAVE_LDAP 1
18163_ACEOF
18164
18165 LDAPLIBS="-lldap_r -llber"
28710419 18166fi
1089260f
AJ
18167
18168fi
daa2886c 18169
bcba2705 18170fi
daa2886c 18171
bcba2705
FG
18172 ac_wine_check_funcs_save_LIBS="$LIBS"
18173LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
41c59964
BT
18174
18175
18176
18177
18178
18179
18180
28710419 18181
41c59964 18182for ac_func in \
bcba2705
FG
18183 ldap_count_references \
18184 ldap_first_reference \
18185 ldap_next_reference \
18186 ldap_parse_reference \
18187 ldap_parse_sort_control \
18188 ldap_parse_sortresponse_control \
18189 ldap_parse_vlv_control \
18190 ldap_parse_vlvresponse_control
41c59964
BT
18191do
18192as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18193{ echo "$as_me:$LINENO: checking for $ac_func" >&5
18194echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18195if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18196 echo $ECHO_N "(cached) $ECHO_C" >&6
18197else
18198 cat >conftest.$ac_ext <<_ACEOF
18199/* confdefs.h. */
18200_ACEOF
18201cat confdefs.h >>conftest.$ac_ext
18202cat >>conftest.$ac_ext <<_ACEOF
18203/* end confdefs.h. */
18204/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18206#define $ac_func innocuous_$ac_func
18207
18208/* System header to define __stub macros and hopefully few prototypes,
18209 which can conflict with char $ac_func (); below.
18210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18211 <limits.h> exists even on freestanding compilers. */
18212
18213#ifdef __STDC__
18214# include <limits.h>
18215#else
18216# include <assert.h>
18217#endif
18218
18219#undef $ac_func
18220
18221/* Override any GCC internal prototype to avoid an error.
18222 Use char because int might match the return type of a GCC
18223 builtin and then its argument prototype would still apply. */
18224#ifdef __cplusplus
18225extern "C"
18226#endif
18227char $ac_func ();
18228/* The GNU C library defines this for functions which it implements
18229 to always fail with ENOSYS. Some functions are actually named
18230 something starting with __ and the normal name is an alias. */
18231#if defined __stub_$ac_func || defined __stub___$ac_func
18232choke me
18233#endif
18234
18235int
18236main ()
18237{
18238return $ac_func ();
18239 ;
18240 return 0;
18241}
18242_ACEOF
18243rm -f conftest.$ac_objext conftest$ac_exeext
18244if { (ac_try="$ac_link"
18245case "(($ac_try" in
18246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18247 *) ac_try_echo=$ac_try;;
18248esac
18249eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18250 (eval "$ac_link") 2>conftest.er1
18251 ac_status=$?
18252 grep -v '^ *+' conftest.er1 >conftest.err
18253 rm -f conftest.er1
18254 cat conftest.err >&5
18255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18256 (exit $ac_status); } && {
18257 test -z "$ac_c_werror_flag" ||
18258 test ! -s conftest.err
18259 } && test -s conftest$ac_exeext &&
18260 $as_test_x conftest$ac_exeext; then
18261 eval "$as_ac_var=yes"
18262else
18263 echo "$as_me: failed program was:" >&5
18264sed 's/^/| /' conftest.$ac_ext >&5
18265
18266 eval "$as_ac_var=no"
18267fi
18268
18269rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18270 conftest$ac_exeext conftest.$ac_ext
18271fi
18272ac_res=`eval echo '${'$as_ac_var'}'`
18273 { echo "$as_me:$LINENO: result: $ac_res" >&5
18274echo "${ECHO_T}$ac_res" >&6; }
18275if test `eval echo '${'$as_ac_var'}'` = yes; then
18276 cat >>confdefs.h <<_ACEOF
18277#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18278_ACEOF
18279
18280fi
18281done
18282
bcba2705
FG
18283LIBS="$ac_wine_check_funcs_save_LIBS"
18284fi
18285if test "x$LDAPLIBS" = "x"; then
18286 case "x$with_ldap" in
18287 x) wine_notices="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
18288 xno) ;;
18289 *) { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
18290This is an error since --with-ldap was requested." >&5
18291echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
18292This is an error since --with-ldap was requested." >&2;}
18293 { (exit 1); exit 1; }; } ;;
18294esac
18295fi
18296
41c59964
BT
18297
18298
fc6ffb29
AJ
18299{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18300echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
f41c2b21 18301if test "${ac_cv_c_const+set}" = set; then
f5818d2f
AJ
18302 echo $ECHO_N "(cached) $ECHO_C" >&6
18303else
18304 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
18305/* confdefs.h. */
18306_ACEOF
18307cat confdefs.h >>conftest.$ac_ext
18308cat >>conftest.$ac_ext <<_ACEOF
18309/* end confdefs.h. */
f41c2b21 18310
f5818d2f
AJ
18311int
18312main ()
18313{
f41c2b21
DP
18314/* FIXME: Include the comments suggested by Paul. */
18315#ifndef __cplusplus
18316 /* Ultrix mips cc rejects this. */
18317 typedef int charset[2];
f0ca586f 18318 const charset cs;
f41c2b21 18319 /* SunOS 4.1.1 cc rejects this. */
f0ca586f
PK
18320 char const *const *pcpcc;
18321 char **ppc;
f41c2b21
DP
18322 /* NEC SVR4.0.2 mips cc rejects this. */
18323 struct point {int x, y;};
18324 static struct point const zero = {0,0};
18325 /* AIX XL C 1.02.0.0 rejects this.
18326 It does not let you subtract one const X* pointer from another in
18327 an arm of an if-expression whose if-part is not a constant
18328 expression */
18329 const char *g = "string";
f0ca586f 18330 pcpcc = &g + (g ? g-g : 0);
f41c2b21 18331 /* HPUX 7.0 cc rejects these. */
f0ca586f
PK
18332 ++pcpcc;
18333 ppc = (char**) pcpcc;
18334 pcpcc = (char const *const *) ppc;
f41c2b21
DP
18335 { /* SCO 3.2v4 cc rejects this. */
18336 char *t;
18337 char const *s = 0 ? (char *) 0 : (char const *) 0;
18338
18339 *t++ = 0;
fc6ffb29 18340 if (s) return 0;
f41c2b21
DP
18341 }
18342 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18343 int x[] = {25, 17};
18344 const int *foo = &x[0];
18345 ++foo;
18346 }
18347 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18348 typedef const int *iptr;
18349 iptr p = 0;
18350 ++p;
18351 }
18352 { /* AIX XL C 1.02.0.0 rejects this saying
18353 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18354 struct s { int j; const int *ap[3]; };
18355 struct s *b; b->j = 5;
18356 }
18357 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18358 const int foo = 10;
fc6ffb29 18359 if (!foo) return 0;
f41c2b21 18360 }
f0ca586f 18361 return !cs[0] && !zero.x;
f41c2b21
DP
18362#endif
18363
f5818d2f
AJ
18364 ;
18365 return 0;
18366}
18367_ACEOF
18368rm -f conftest.$ac_objext
0ebeb530
JW
18369if { (ac_try="$ac_compile"
18370case "(($ac_try" in
18371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18372 *) ac_try_echo=$ac_try;;
18373esac
18374eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18375 (eval "$ac_compile") 2>conftest.er1
f5818d2f 18376 ac_status=$?
875927f6
AJ
18377 grep -v '^ *+' conftest.er1 >conftest.err
18378 rm -f conftest.er1
18379 cat conftest.err >&5
daa2886c 18380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
18381 (exit $ac_status); } && {
18382 test -z "$ac_c_werror_flag" ||
18383 test ! -s conftest.err
18384 } && test -s conftest.$ac_objext; then
f41c2b21 18385 ac_cv_c_const=yes
f5818d2f
AJ
18386else
18387 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
18388sed 's/^/| /' conftest.$ac_ext >&5
18389
fc6ffb29 18390 ac_cv_c_const=no
c7c217b3 18391fi
fc6ffb29 18392
0ebeb530 18393rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
f5818d2f 18394fi
fc6ffb29
AJ
18395{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18396echo "${ECHO_T}$ac_cv_c_const" >&6; }
f41c2b21 18397if test $ac_cv_c_const = no; then
5769d1de 18398
f41c2b21
DP
18399cat >>confdefs.h <<\_ACEOF
18400#define const
5769d1de
AJ
18401_ACEOF
18402
5769d1de 18403fi
f41c2b21 18404
fc6ffb29
AJ
18405{ echo "$as_me:$LINENO: checking for inline" >&5
18406echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
f41c2b21 18407if test "${ac_cv_c_inline+set}" = set; then
5769d1de
AJ
18408 echo $ECHO_N "(cached) $ECHO_C" >&6
18409else
f41c2b21
DP
18410 ac_cv_c_inline=no
18411for ac_kw in inline __inline__ __inline; do
5769d1de 18412 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
18413/* confdefs.h. */
18414_ACEOF
18415cat confdefs.h >>conftest.$ac_ext
f41c2b21
DP
18416cat >>conftest.$ac_ext <<_ACEOF
18417/* end confdefs.h. */
18418#ifndef __cplusplus
18419typedef int foo_t;
18420static $ac_kw foo_t static_foo () {return 0; }
18421$ac_kw foo_t foo () {return 0; }
18422#endif
18423
5769d1de
AJ
18424_ACEOF
18425rm -f conftest.$ac_objext
0ebeb530
JW
18426if { (ac_try="$ac_compile"
18427case "(($ac_try" in
18428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18429 *) ac_try_echo=$ac_try;;
18430esac
18431eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18432 (eval "$ac_compile") 2>conftest.er1
5769d1de 18433 ac_status=$?
875927f6
AJ
18434 grep -v '^ *+' conftest.er1 >conftest.err
18435 rm -f conftest.er1
18436 cat conftest.err >&5
5769d1de 18437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
18438 (exit $ac_status); } && {
18439 test -z "$ac_c_werror_flag" ||
18440 test ! -s conftest.err
18441 } && test -s conftest.$ac_objext; then
fc6ffb29 18442 ac_cv_c_inline=$ac_kw
f5818d2f 18443else
5769d1de 18444 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
18445sed 's/^/| /' conftest.$ac_ext >&5
18446
fc6ffb29 18447
5769d1de 18448fi
fc6ffb29 18449
0ebeb530 18450rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fc6ffb29 18451 test "$ac_cv_c_inline" != no && break
f41c2b21 18452done
f5818d2f 18453
f41c2b21 18454fi
fc6ffb29
AJ
18455{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18456echo "${ECHO_T}$ac_cv_c_inline" >&6; }
c7c217b3 18457
5769d1de 18458
f41c2b21
DP
18459case $ac_cv_c_inline in
18460 inline | yes) ;;
18461 *)
18462 case $ac_cv_c_inline in
18463 no) ac_val=;;
18464 *) ac_val=$ac_cv_c_inline;;
18465 esac
18466 cat >>confdefs.h <<_ACEOF
18467#ifndef __cplusplus
18468#define inline $ac_val
18469#endif
18470_ACEOF
18471 ;;
18472esac
c7c217b3 18473
fc6ffb29
AJ
18474{ echo "$as_me:$LINENO: checking for mode_t" >&5
18475echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
f41c2b21 18476if test "${ac_cv_type_mode_t+set}" = set; then
f5818d2f
AJ
18477 echo $ECHO_N "(cached) $ECHO_C" >&6
18478else
18479 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
18480/* confdefs.h. */
18481_ACEOF
18482cat confdefs.h >>conftest.$ac_ext
18483cat >>conftest.$ac_ext <<_ACEOF
18484/* end confdefs.h. */
f5818d2f 18485$ac_includes_default
fc6ffb29 18486typedef mode_t ac__type_new_;
f5818d2f
AJ
18487int
18488main ()
18489{
fc6ffb29 18490if ((ac__type_new_ *) 0)
f5818d2f 18491 return 0;
fc6ffb29 18492if (sizeof (ac__type_new_))
f5818d2f
AJ
18493 return 0;
18494 ;
18495 return 0;
18496}
18497_ACEOF
18498rm -f conftest.$ac_objext
0ebeb530
JW
18499if { (ac_try="$ac_compile"
18500case "(($ac_try" in
18501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18502 *) ac_try_echo=$ac_try;;
18503esac
18504eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18505 (eval "$ac_compile") 2>conftest.er1
f5818d2f 18506 ac_status=$?
875927f6
AJ
18507 grep -v '^ *+' conftest.er1 >conftest.err
18508 rm -f conftest.er1
18509 cat conftest.err >&5
daa2886c 18510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
18511 (exit $ac_status); } && {
18512 test -z "$ac_c_werror_flag" ||
18513 test ! -s conftest.err
18514 } && test -s conftest.$ac_objext; then
f41c2b21 18515 ac_cv_type_mode_t=yes
f5818d2f
AJ
18516else
18517 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
18518sed 's/^/| /' conftest.$ac_ext >&5
18519
fc6ffb29 18520 ac_cv_type_mode_t=no
f5818d2f 18521fi
fc6ffb29 18522
0ebeb530 18523rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
f5818d2f 18524fi
fc6ffb29
AJ
18525{ echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
18526echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
f41c2b21 18527if test $ac_cv_type_mode_t = yes; then
f5818d2f 18528
f41c2b21
DP
18529cat >>confdefs.h <<_ACEOF
18530#define HAVE_MODE_T 1
18531_ACEOF
18532
18533
18534fi
fc6ffb29
AJ
18535{ echo "$as_me:$LINENO: checking for off_t" >&5
18536echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
f41c2b21 18537if test "${ac_cv_type_off_t+set}" = set; then
f5818d2f
AJ
18538 echo $ECHO_N "(cached) $ECHO_C" >&6
18539else
f41c2b21 18540 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
18541/* confdefs.h. */
18542_ACEOF
18543cat confdefs.h >>conftest.$ac_ext
18544cat >>conftest.$ac_ext <<_ACEOF
18545/* end confdefs.h. */
f5818d2f 18546$ac_includes_default
fc6ffb29 18547typedef off_t ac__type_new_;
f5818d2f
AJ
18548int
18549main ()
18550{
fc6ffb29 18551if ((ac__type_new_ *) 0)
f41c2b21 18552 return 0;
fc6ffb29 18553if (sizeof (ac__type_new_))
f41c2b21 18554 return 0;
f5818d2f
AJ
18555 ;
18556 return 0;
18557}
18558_ACEOF
18559rm -f conftest.$ac_objext
0ebeb530
JW
18560if { (ac_try="$ac_compile"
18561case "(($ac_try" in
18562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18563 *) ac_try_echo=$ac_try;;
18564esac
18565eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18566 (eval "$ac_compile") 2>conftest.er1
f5818d2f 18567 ac_status=$?
875927f6
AJ
18568 grep -v '^ *+' conftest.er1 >conftest.err
18569 rm -f conftest.er1
18570 cat conftest.err >&5
daa2886c 18571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
18572 (exit $ac_status); } && {
18573 test -z "$ac_c_werror_flag" ||
18574 test ! -s conftest.err
18575 } && test -s conftest.$ac_objext; then
f41c2b21
DP
18576 ac_cv_type_off_t=yes
18577else
18578 echo "$as_me: failed program was:" >&5
18579sed 's/^/| /' conftest.$ac_ext >&5
18580
fc6ffb29 18581 ac_cv_type_off_t=no
f41c2b21 18582fi
fc6ffb29 18583
0ebeb530 18584rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
f41c2b21 18585fi
fc6ffb29
AJ
18586{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
18587echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
f41c2b21
DP
18588if test $ac_cv_type_off_t = yes; then
18589
18590cat >>confdefs.h <<_ACEOF
18591#define HAVE_OFF_T 1
18592_ACEOF
18593
18594
18595fi
fc6ffb29
AJ
18596{ echo "$as_me:$LINENO: checking for pid_t" >&5
18597echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
f41c2b21
DP
18598if test "${ac_cv_type_pid_t+set}" = set; then
18599 echo $ECHO_N "(cached) $ECHO_C" >&6
18600else
18601 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
18602/* confdefs.h. */
18603_ACEOF
18604cat confdefs.h >>conftest.$ac_ext
18605cat >>conftest.$ac_ext <<_ACEOF
18606/* end confdefs.h. */
f5818d2f 18607$ac_includes_default
fc6ffb29 18608typedef pid_t ac__type_new_;
f5818d2f
AJ
18609int
18610main ()
18611{
fc6ffb29 18612if ((ac__type_new_ *) 0)
f41c2b21 18613 return 0;
fc6ffb29 18614if (sizeof (ac__type_new_))
f41c2b21 18615 return 0;
f5818d2f
AJ
18616 ;
18617 return 0;
18618}
18619_ACEOF
18620rm -f conftest.$ac_objext
0ebeb530
JW
18621if { (ac_try="$ac_compile"
18622case "(($ac_try" in
18623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18624 *) ac_try_echo=$ac_try;;
18625esac
18626eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18627 (eval "$ac_compile") 2>conftest.er1
f5818d2f 18628 ac_status=$?
875927f6
AJ
18629 grep -v '^ *+' conftest.er1 >conftest.err
18630 rm -f conftest.er1
18631 cat conftest.err >&5
daa2886c 18632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
18633 (exit $ac_status); } && {
18634 test -z "$ac_c_werror_flag" ||
18635 test ! -s conftest.err
18636 } && test -s conftest.$ac_objext; then
f41c2b21 18637 ac_cv_type_pid_t=yes
f5818d2f
AJ
18638else
18639 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
18640sed 's/^/| /' conftest.$ac_ext >&5
18641
fc6ffb29 18642 ac_cv_type_pid_t=no
f5818d2f 18643fi
fc6ffb29 18644
0ebeb530 18645rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
f41c2b21 18646fi
fc6ffb29
AJ
18647{ echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
18648echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
f41c2b21 18649if test $ac_cv_type_pid_t = yes; then
e24bcc77 18650
f41c2b21
DP
18651cat >>confdefs.h <<_ACEOF
18652#define HAVE_PID_T 1
18653_ACEOF
18654
18655
18656fi
fc6ffb29
AJ
18657{ echo "$as_me:$LINENO: checking for size_t" >&5
18658echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
f41c2b21
DP
18659if test "${ac_cv_type_size_t+set}" = set; then
18660 echo $ECHO_N "(cached) $ECHO_C" >&6
18661else
18662 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
18663/* confdefs.h. */
18664_ACEOF
18665cat confdefs.h >>conftest.$ac_ext
18666cat >>conftest.$ac_ext <<_ACEOF
18667/* end confdefs.h. */
daa2886c 18668$ac_includes_default
fc6ffb29 18669typedef size_t ac__type_new_;
daa2886c
AJ
18670int
18671main ()
18672{
fc6ffb29 18673if ((ac__type_new_ *) 0)
f41c2b21 18674 return 0;
fc6ffb29 18675if (sizeof (ac__type_new_))
f41c2b21 18676 return 0;
daa2886c
AJ
18677 ;
18678 return 0;
18679}
18680_ACEOF
18681rm -f conftest.$ac_objext
0ebeb530
JW
18682if { (ac_try="$ac_compile"
18683case "(($ac_try" in
18684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18685 *) ac_try_echo=$ac_try;;
18686esac
18687eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18688 (eval "$ac_compile") 2>conftest.er1
daa2886c 18689 ac_status=$?
875927f6
AJ
18690 grep -v '^ *+' conftest.er1 >conftest.err
18691 rm -f conftest.er1
18692 cat conftest.err >&5
daa2886c 18693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
18694 (exit $ac_status); } && {
18695 test -z "$ac_c_werror_flag" ||
18696 test ! -s conftest.err
18697 } && test -s conftest.$ac_objext; then
f41c2b21
DP
18698 ac_cv_type_size_t=yes
18699else
18700 echo "$as_me: failed program was:" >&5
18701sed 's/^/| /' conftest.$ac_ext >&5
18702
fc6ffb29 18703 ac_cv_type_size_t=no
f41c2b21 18704fi
fc6ffb29 18705
0ebeb530 18706rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
f41c2b21 18707fi
fc6ffb29
AJ
18708{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18709echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
f41c2b21
DP
18710if test $ac_cv_type_size_t = yes; then
18711
18712cat >>confdefs.h <<_ACEOF
18713#define HAVE_SIZE_T 1
18714_ACEOF
18715
18716
18717fi
fc6ffb29
AJ
18718{ echo "$as_me:$LINENO: checking for ssize_t" >&5
18719echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
f41c2b21
DP
18720if test "${ac_cv_type_ssize_t+set}" = set; then
18721 echo $ECHO_N "(cached) $ECHO_C" >&6
18722else
18723 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
18724/* confdefs.h. */
18725_ACEOF
18726cat confdefs.h >>conftest.$ac_ext
18727cat >>conftest.$ac_ext <<_ACEOF
18728/* end confdefs.h. */
f5818d2f 18729$ac_includes_default
fc6ffb29 18730typedef ssize_t ac__type_new_;
f5818d2f
AJ
18731int
18732main ()
18733{
fc6ffb29 18734if ((ac__type_new_ *) 0)
f41c2b21 18735 return 0;
fc6ffb29 18736if (sizeof (ac__type_new_))
f41c2b21 18737 return 0;
f5818d2f
AJ
18738 ;
18739 return 0;
18740}
18741_ACEOF
18742rm -f conftest.$ac_objext
0ebeb530
JW
18743if { (ac_try="$ac_compile"
18744case "(($ac_try" in
18745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18746 *) ac_try_echo=$ac_try;;
18747esac
18748eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18749 (eval "$ac_compile") 2>conftest.er1
f5818d2f 18750 ac_status=$?
875927f6
AJ
18751 grep -v '^ *+' conftest.er1 >conftest.err
18752 rm -f conftest.er1
18753 cat conftest.err >&5
daa2886c 18754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
18755 (exit $ac_status); } && {
18756 test -z "$ac_c_werror_flag" ||
18757 test ! -s conftest.err
18758 } && test -s conftest.$ac_objext; then
f41c2b21 18759 ac_cv_type_ssize_t=yes
f5818d2f
AJ
18760else
18761 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
18762sed 's/^/| /' conftest.$ac_ext >&5
18763
fc6ffb29 18764 ac_cv_type_ssize_t=no
f5818d2f 18765fi
fc6ffb29 18766
0ebeb530 18767rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
daa2886c 18768fi
fc6ffb29
AJ
18769{ echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
18770echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
f41c2b21
DP
18771if test $ac_cv_type_ssize_t = yes; then
18772
18773cat >>confdefs.h <<_ACEOF
18774#define HAVE_SSIZE_T 1
18775_ACEOF
18776
18777
f5818d2f 18778fi
fc6ffb29
AJ
18779{ echo "$as_me:$LINENO: checking for long long" >&5
18780echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
f41c2b21
DP
18781if test "${ac_cv_type_long_long+set}" = set; then
18782 echo $ECHO_N "(cached) $ECHO_C" >&6
18783else
f5818d2f 18784 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
18785/* confdefs.h. */
18786_ACEOF
18787cat confdefs.h >>conftest.$ac_ext
18788cat >>conftest.$ac_ext <<_ACEOF
18789/* end confdefs.h. */
f5818d2f 18790$ac_includes_default
fc6ffb29 18791typedef long long ac__type_new_;
f5818d2f
AJ
18792int
18793main ()
18794{
fc6ffb29 18795if ((ac__type_new_ *) 0)
f41c2b21 18796 return 0;
fc6ffb29 18797if (sizeof (ac__type_new_))
f41c2b21 18798 return 0;
f5818d2f
AJ
18799 ;
18800 return 0;
18801}
18802_ACEOF
18803rm -f conftest.$ac_objext
0ebeb530
JW
18804if { (ac_try="$ac_compile"
18805case "(($ac_try" in
18806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18807 *) ac_try_echo=$ac_try;;
18808esac
18809eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18810 (eval "$ac_compile") 2>conftest.er1
f5818d2f 18811 ac_status=$?
875927f6
AJ
18812 grep -v '^ *+' conftest.er1 >conftest.err
18813 rm -f conftest.er1
18814 cat conftest.err >&5
daa2886c 18815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
18816 (exit $ac_status); } && {
18817 test -z "$ac_c_werror_flag" ||
18818 test ! -s conftest.err
18819 } && test -s conftest.$ac_objext; then
f41c2b21 18820 ac_cv_type_long_long=yes
f5818d2f
AJ
18821else
18822 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
18823sed 's/^/| /' conftest.$ac_ext >&5
18824
fc6ffb29 18825 ac_cv_type_long_long=no
f5818d2f 18826fi
fc6ffb29 18827
0ebeb530 18828rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
f5818d2f 18829fi
fc6ffb29
AJ
18830{ echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18831echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
f41c2b21
DP
18832if test $ac_cv_type_long_long = yes; then
18833
daa2886c 18834cat >>confdefs.h <<_ACEOF
f41c2b21 18835#define HAVE_LONG_LONG 1
daa2886c
AJ
18836_ACEOF
18837
18838
13af4891 18839fi
fc6ffb29
AJ
18840{ echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
18841echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
13af4891
AJ
18842if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
18843 echo $ECHO_N "(cached) $ECHO_C" >&6
18844else
18845 cat >conftest.$ac_ext <<_ACEOF
18846/* confdefs.h. */
18847_ACEOF
18848cat confdefs.h >>conftest.$ac_ext
18849cat >>conftest.$ac_ext <<_ACEOF
18850/* end confdefs.h. */
18851$ac_includes_default
fc6ffb29 18852typedef fsblkcnt_t ac__type_new_;
13af4891
AJ
18853int
18854main ()
18855{
fc6ffb29 18856if ((ac__type_new_ *) 0)
13af4891 18857 return 0;
fc6ffb29 18858if (sizeof (ac__type_new_))
13af4891
AJ
18859 return 0;
18860 ;
18861 return 0;
18862}
18863_ACEOF
18864rm -f conftest.$ac_objext
0ebeb530
JW
18865if { (ac_try="$ac_compile"
18866case "(($ac_try" in
18867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18868 *) ac_try_echo=$ac_try;;
18869esac
18870eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18871 (eval "$ac_compile") 2>conftest.er1
13af4891
AJ
18872 ac_status=$?
18873 grep -v '^ *+' conftest.er1 >conftest.err
18874 rm -f conftest.er1
18875 cat conftest.err >&5
18876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
18877 (exit $ac_status); } && {
18878 test -z "$ac_c_werror_flag" ||
18879 test ! -s conftest.err
18880 } && test -s conftest.$ac_objext; then
13af4891
AJ
18881 ac_cv_type_fsblkcnt_t=yes
18882else
18883 echo "$as_me: failed program was:" >&5
18884sed 's/^/| /' conftest.$ac_ext >&5
18885
fc6ffb29 18886 ac_cv_type_fsblkcnt_t=no
13af4891 18887fi
fc6ffb29 18888
0ebeb530 18889rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13af4891 18890fi
fc6ffb29
AJ
18891{ echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
18892echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
13af4891
AJ
18893if test $ac_cv_type_fsblkcnt_t = yes; then
18894
18895cat >>confdefs.h <<_ACEOF
18896#define HAVE_FSBLKCNT_T 1
18897_ACEOF
18898
18899
18900fi
fc6ffb29
AJ
18901{ echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
18902echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
13af4891
AJ
18903if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
18904 echo $ECHO_N "(cached) $ECHO_C" >&6
18905else
18906 cat >conftest.$ac_ext <<_ACEOF
18907/* confdefs.h. */
18908_ACEOF
18909cat confdefs.h >>conftest.$ac_ext
18910cat >>conftest.$ac_ext <<_ACEOF
18911/* end confdefs.h. */
18912$ac_includes_default
fc6ffb29 18913typedef fsfilcnt_t ac__type_new_;
13af4891
AJ
18914int
18915main ()
18916{
fc6ffb29 18917if ((ac__type_new_ *) 0)
13af4891 18918 return 0;
fc6ffb29 18919if (sizeof (ac__type_new_))
13af4891
AJ
18920 return 0;
18921 ;
18922 return 0;
18923}
18924_ACEOF
18925rm -f conftest.$ac_objext
0ebeb530
JW
18926if { (ac_try="$ac_compile"
18927case "(($ac_try" in
18928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18929 *) ac_try_echo=$ac_try;;
18930esac
18931eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18932 (eval "$ac_compile") 2>conftest.er1
13af4891
AJ
18933 ac_status=$?
18934 grep -v '^ *+' conftest.er1 >conftest.err
18935 rm -f conftest.er1
18936 cat conftest.err >&5
18937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
18938 (exit $ac_status); } && {
18939 test -z "$ac_c_werror_flag" ||
18940 test ! -s conftest.err
18941 } && test -s conftest.$ac_objext; then
13af4891
AJ
18942 ac_cv_type_fsfilcnt_t=yes
18943else
18944 echo "$as_me: failed program was:" >&5
18945sed 's/^/| /' conftest.$ac_ext >&5
18946
fc6ffb29 18947 ac_cv_type_fsfilcnt_t=no
13af4891 18948fi
fc6ffb29 18949
0ebeb530 18950rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13af4891 18951fi
fc6ffb29
AJ
18952{ echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18953echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
13af4891
AJ
18954if test $ac_cv_type_fsfilcnt_t = yes; then
18955
18956cat >>confdefs.h <<_ACEOF
18957#define HAVE_FSFILCNT_T 1
18958_ACEOF
18959
18960
10a6c560
PM
18961fi
18962
fc6ffb29
AJ
18963{ echo "$as_me:$LINENO: checking for sigset_t" >&5
18964echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
10a6c560
PM
18965if test "${ac_cv_type_sigset_t+set}" = set; then
18966 echo $ECHO_N "(cached) $ECHO_C" >&6
18967else
18968 cat >conftest.$ac_ext <<_ACEOF
18969/* confdefs.h. */
18970_ACEOF
18971cat confdefs.h >>conftest.$ac_ext
18972cat >>conftest.$ac_ext <<_ACEOF
18973/* end confdefs.h. */
43048397 18974#include <sys/types.h>
10a6c560
PM
18975#include <signal.h>
18976
fc6ffb29 18977typedef sigset_t ac__type_new_;
10a6c560
PM
18978int
18979main ()
18980{
fc6ffb29 18981if ((ac__type_new_ *) 0)
10a6c560 18982 return 0;
fc6ffb29 18983if (sizeof (ac__type_new_))
10a6c560
PM
18984 return 0;
18985 ;
18986 return 0;
18987}
18988_ACEOF
18989rm -f conftest.$ac_objext
0ebeb530
JW
18990if { (ac_try="$ac_compile"
18991case "(($ac_try" in
18992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18993 *) ac_try_echo=$ac_try;;
18994esac
18995eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18996 (eval "$ac_compile") 2>conftest.er1
10a6c560
PM
18997 ac_status=$?
18998 grep -v '^ *+' conftest.er1 >conftest.err
18999 rm -f conftest.er1
19000 cat conftest.err >&5
19001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
19002 (exit $ac_status); } && {
19003 test -z "$ac_c_werror_flag" ||
19004 test ! -s conftest.err
19005 } && test -s conftest.$ac_objext; then
10a6c560
PM
19006 ac_cv_type_sigset_t=yes
19007else
19008 echo "$as_me: failed program was:" >&5
19009sed 's/^/| /' conftest.$ac_ext >&5
19010
fc6ffb29 19011 ac_cv_type_sigset_t=no
10a6c560 19012fi
fc6ffb29 19013
0ebeb530 19014rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10a6c560 19015fi
fc6ffb29
AJ
19016{ echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
19017echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
10a6c560
PM
19018if test $ac_cv_type_sigset_t = yes; then
19019
19020cat >>confdefs.h <<_ACEOF
19021#define HAVE_SIGSET_T 1
19022_ACEOF
19023
19024
b8b15f3e
GP
19025fi
19026
fc6ffb29
AJ
19027{ echo "$as_me:$LINENO: checking for request_sense" >&5
19028echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
b8b15f3e
GP
19029if test "${ac_cv_type_request_sense+set}" = set; then
19030 echo $ECHO_N "(cached) $ECHO_C" >&6
19031else
19032 cat >conftest.$ac_ext <<_ACEOF
19033/* confdefs.h. */
19034_ACEOF
19035cat confdefs.h >>conftest.$ac_ext
19036cat >>conftest.$ac_ext <<_ACEOF
19037/* end confdefs.h. */
19038#include <linux/cdrom.h>
19039
fc6ffb29 19040typedef request_sense ac__type_new_;
b8b15f3e
GP
19041int
19042main ()
19043{
fc6ffb29 19044if ((ac__type_new_ *) 0)
b8b15f3e 19045 return 0;
fc6ffb29 19046if (sizeof (ac__type_new_))
b8b15f3e
GP
19047 return 0;
19048 ;
19049 return 0;
19050}
19051_ACEOF
19052rm -f conftest.$ac_objext
0ebeb530
JW
19053if { (ac_try="$ac_compile"
19054case "(($ac_try" in
19055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19056 *) ac_try_echo=$ac_try;;
19057esac
19058eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19059 (eval "$ac_compile") 2>conftest.er1
b8b15f3e
GP
19060 ac_status=$?
19061 grep -v '^ *+' conftest.er1 >conftest.err
19062 rm -f conftest.er1
19063 cat conftest.err >&5
19064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
19065 (exit $ac_status); } && {
19066 test -z "$ac_c_werror_flag" ||
19067 test ! -s conftest.err
19068 } && test -s conftest.$ac_objext; then
b8b15f3e
GP
19069 ac_cv_type_request_sense=yes
19070else
19071 echo "$as_me: failed program was:" >&5
19072sed 's/^/| /' conftest.$ac_ext >&5
19073
fc6ffb29 19074 ac_cv_type_request_sense=no
b8b15f3e 19075fi
fc6ffb29 19076
0ebeb530 19077rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
b8b15f3e 19078fi
fc6ffb29
AJ
19079{ echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
19080echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
b8b15f3e
GP
19081if test $ac_cv_type_request_sense = yes; then
19082
19083cat >>confdefs.h <<_ACEOF
19084#define HAVE_REQUEST_SENSE 1
19085_ACEOF
19086
19087
f41c2b21
DP
19088fi
19089
c7c217b3 19090
fc6ffb29
AJ
19091{ echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
19092echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
e491e8f8
DR
19093if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
19094 echo $ECHO_N "(cached) $ECHO_C" >&6
19095else
19096 cat >conftest.$ac_ext <<_ACEOF
19097/* confdefs.h. */
19098_ACEOF
19099cat confdefs.h >>conftest.$ac_ext
19100cat >>conftest.$ac_ext <<_ACEOF
19101/* end confdefs.h. */
19102#ifdef HAVE_LINUX_INPUT_H
19103#include <linux/input.h>
19104#endif
19105
19106int
19107main ()
19108{
19109static struct ff_effect ac_aggr;
19110if (ac_aggr.direction)
19111return 0;
19112 ;
19113 return 0;
19114}
19115_ACEOF
19116rm -f conftest.$ac_objext
0ebeb530
JW
19117if { (ac_try="$ac_compile"
19118case "(($ac_try" in
19119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19120 *) ac_try_echo=$ac_try;;
19121esac
19122eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19123 (eval "$ac_compile") 2>conftest.er1
e491e8f8
DR
19124 ac_status=$?
19125 grep -v '^ *+' conftest.er1 >conftest.err
19126 rm -f conftest.er1
19127 cat conftest.err >&5
19128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
19129 (exit $ac_status); } && {
19130 test -z "$ac_c_werror_flag" ||
19131 test ! -s conftest.err
19132 } && test -s conftest.$ac_objext; then
e491e8f8
DR
19133 ac_cv_member_struct_ff_effect_direction=yes
19134else
19135 echo "$as_me: failed program was:" >&5
19136sed 's/^/| /' conftest.$ac_ext >&5
19137
fc6ffb29 19138 cat >conftest.$ac_ext <<_ACEOF
e491e8f8
DR
19139/* confdefs.h. */
19140_ACEOF
19141cat confdefs.h >>conftest.$ac_ext
19142cat >>conftest.$ac_ext <<_ACEOF
19143/* end confdefs.h. */
19144#ifdef HAVE_LINUX_INPUT_H
19145#include <linux/input.h>
19146#endif
19147
19148int
19149main ()
19150{
19151static struct ff_effect ac_aggr;
19152if (sizeof ac_aggr.direction)
19153return 0;
19154 ;
19155 return 0;
19156}
19157_ACEOF
19158rm -f conftest.$ac_objext
0ebeb530
JW
19159if { (ac_try="$ac_compile"
19160case "(($ac_try" in
19161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19162 *) ac_try_echo=$ac_try;;
19163esac
19164eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19165 (eval "$ac_compile") 2>conftest.er1
e491e8f8
DR
19166 ac_status=$?
19167 grep -v '^ *+' conftest.er1 >conftest.err
19168 rm -f conftest.er1
19169 cat conftest.err >&5
19170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
19171 (exit $ac_status); } && {
19172 test -z "$ac_c_werror_flag" ||
19173 test ! -s conftest.err
19174 } && test -s conftest.$ac_objext; then
e491e8f8
DR
19175 ac_cv_member_struct_ff_effect_direction=yes
19176else
19177 echo "$as_me: failed program was:" >&5
19178sed 's/^/| /' conftest.$ac_ext >&5
19179
fc6ffb29 19180 ac_cv_member_struct_ff_effect_direction=no
e491e8f8 19181fi
fc6ffb29 19182
0ebeb530 19183rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
e491e8f8 19184fi
fc6ffb29 19185
0ebeb530 19186rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
e491e8f8 19187fi
fc6ffb29
AJ
19188{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
19189echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
e491e8f8
DR
19190if test $ac_cv_member_struct_ff_effect_direction = yes; then
19191
19192cat >>confdefs.h <<_ACEOF
19193#define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
19194_ACEOF
19195
19196
19197fi
19198
19199
fc6ffb29
AJ
19200{ echo "$as_me:$LINENO: checking for sigaddset" >&5
19201echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
10a6c560
PM
19202if test "${wine_cv_have_sigaddset+set}" = set; then
19203 echo $ECHO_N "(cached) $ECHO_C" >&6
19204else
19205 cat >conftest.$ac_ext <<_ACEOF
19206/* confdefs.h. */
19207_ACEOF
19208cat confdefs.h >>conftest.$ac_ext
19209cat >>conftest.$ac_ext <<_ACEOF
19210/* end confdefs.h. */
19211#include <signal.h>
19212int
19213main ()
19214{
19215sigset_t set; sigaddset(&set,SIGTERM);
19216 ;
19217 return 0;
19218}
19219_ACEOF
19220rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
19221if { (ac_try="$ac_link"
19222case "(($ac_try" in
19223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19224 *) ac_try_echo=$ac_try;;
19225esac
19226eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19227 (eval "$ac_link") 2>conftest.er1
10a6c560
PM
19228 ac_status=$?
19229 grep -v '^ *+' conftest.er1 >conftest.err
19230 rm -f conftest.er1
19231 cat conftest.err >&5
19232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
19233 (exit $ac_status); } && {
19234 test -z "$ac_c_werror_flag" ||
19235 test ! -s conftest.err
19236 } && test -s conftest$ac_exeext &&
19237 $as_test_x conftest$ac_exeext; then
10a6c560
PM
19238 wine_cv_have_sigaddset=yes
19239else
19240 echo "$as_me: failed program was:" >&5
19241sed 's/^/| /' conftest.$ac_ext >&5
19242
fc6ffb29 19243 wine_cv_have_sigaddset=no
10a6c560 19244fi
fc6ffb29 19245
f0ca586f 19246rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10a6c560
PM
19247 conftest$ac_exeext conftest.$ac_ext
19248fi
fc6ffb29
AJ
19249{ echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
19250echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
10a6c560
PM
19251if test "$wine_cv_have_sigaddset" = "yes"
19252then
19253
19254cat >>confdefs.h <<\_ACEOF
19255#define HAVE_SIGADDSET 1
19256_ACEOF
19257
19258fi
19259
daa2886c 19260
fc6ffb29
AJ
19261{ echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
19262echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
f5818d2f
AJ
19263if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
19264 echo $ECHO_N "(cached) $ECHO_C" >&6
ff7a61f8 19265else
f5818d2f 19266 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
19267/* confdefs.h. */
19268_ACEOF
19269cat confdefs.h >>conftest.$ac_ext
19270cat >>conftest.$ac_ext <<_ACEOF
19271/* end confdefs.h. */
ff7a61f8 19272#include <netdb.h>
f5818d2f
AJ
19273int
19274main ()
19275{
ff7a61f8 19276
20d9bade 19277 char *name=0;
ff7a61f8
RK
19278 struct hostent he;
19279 struct hostent *result;
20d9bade 19280 char *buf=0;
ff7a61f8
RK
19281 int bufsize=0;
19282 int res,errnr;
20d9bade 19283 char *addr=0;
ff7a61f8
RK
19284 int addrlen=0;
19285 int addrtype=0;
19286 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
19287 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
f5818d2f
AJ
19288
19289 ;
19290 return 0;
19291}
19292_ACEOF
dfd315b4 19293rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
19294if { (ac_try="$ac_link"
19295case "(($ac_try" in
19296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19297 *) ac_try_echo=$ac_try;;
19298esac
19299eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19300 (eval "$ac_link") 2>conftest.er1
f5818d2f 19301 ac_status=$?
875927f6
AJ
19302 grep -v '^ *+' conftest.er1 >conftest.err
19303 rm -f conftest.er1
19304 cat conftest.err >&5
daa2886c 19305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
19306 (exit $ac_status); } && {
19307 test -z "$ac_c_werror_flag" ||
19308 test ! -s conftest.err
19309 } && test -s conftest$ac_exeext &&
19310 $as_test_x conftest$ac_exeext; then
ff7a61f8
RK
19311 wine_cv_linux_gethostbyname_r_6=yes
19312else
f5818d2f 19313 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
19314sed 's/^/| /' conftest.$ac_ext >&5
19315
fc6ffb29 19316 wine_cv_linux_gethostbyname_r_6=no
f5818d2f 19317
ff7a61f8 19318fi
fc6ffb29 19319
f0ca586f 19320rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
dfd315b4 19321 conftest$ac_exeext conftest.$ac_ext
ff7a61f8 19322
f5818d2f 19323fi
fc6ffb29
AJ
19324{ echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
19325echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
ff7a61f8
RK
19326 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
19327 then
f5818d2f 19328
daa2886c 19329cat >>confdefs.h <<\_ACEOF
ff7a61f8 19330#define HAVE_LINUX_GETHOSTBYNAME_R_6 1
daa2886c 19331_ACEOF
ff7a61f8
RK
19332
19333 fi
19334
028e9a17
MM
19335if test "$ac_cv_header_linux_joystick_h" = "yes"
19336then
fc6ffb29
AJ
19337 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
19338echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
f5818d2f
AJ
19339if test "${wine_cv_linux_joystick_22_api+set}" = set; then
19340 echo $ECHO_N "(cached) $ECHO_C" >&6
028e9a17 19341else
f5818d2f 19342 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
19343/* confdefs.h. */
19344_ACEOF
19345cat confdefs.h >>conftest.$ac_ext
19346cat >>conftest.$ac_ext <<_ACEOF
19347/* end confdefs.h. */
028e9a17
MM
19348
19349 #include <sys/ioctl.h>
7c434992 19350 #include <sys/types.h>
028e9a17
MM
19351 #include <linux/joystick.h>
19352
19353 struct js_event blub;
605a9c39
MM
19354 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
19355 #error "no 2.2 header"
19356 #endif
f5818d2f
AJ
19357
19358int
19359main ()
19360{
028e9a17 19361/*empty*/
f5818d2f
AJ
19362 ;
19363 return 0;
19364}
19365_ACEOF
19366rm -f conftest.$ac_objext
0ebeb530
JW
19367if { (ac_try="$ac_compile"
19368case "(($ac_try" in
19369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19370 *) ac_try_echo=$ac_try;;
19371esac
19372eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19373 (eval "$ac_compile") 2>conftest.er1
f5818d2f 19374 ac_status=$?
875927f6
AJ
19375 grep -v '^ *+' conftest.er1 >conftest.err
19376 rm -f conftest.er1
19377 cat conftest.err >&5
daa2886c 19378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
19379 (exit $ac_status); } && {
19380 test -z "$ac_c_werror_flag" ||
19381 test ! -s conftest.err
19382 } && test -s conftest.$ac_objext; then
028e9a17
MM
19383 wine_cv_linux_joystick_22_api=yes
19384else
f5818d2f 19385 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
19386sed 's/^/| /' conftest.$ac_ext >&5
19387
fc6ffb29 19388 wine_cv_linux_joystick_22_api=no
028e9a17 19389fi
fc6ffb29 19390
0ebeb530 19391rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
028e9a17 19392
f5818d2f 19393fi
fc6ffb29
AJ
19394{ echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
19395echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
87d224ac 19396 if test "$wine_cv_linux_joystick_22_api" = "yes"
028e9a17 19397 then
f5818d2f 19398
daa2886c 19399cat >>confdefs.h <<\_ACEOF
028e9a17 19400#define HAVE_LINUX_22_JOYSTICK_API 1
daa2886c 19401_ACEOF
028e9a17
MM
19402
19403 fi
19404fi
19405
daa2886c 19406
fc6ffb29
AJ
19407{ echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
19408echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
5537dbbf 19409if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
f5818d2f 19410 echo $ECHO_N "(cached) $ECHO_C" >&6
c7c217b3 19411else
f5818d2f 19412 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
19413/* confdefs.h. */
19414_ACEOF
19415cat confdefs.h >>conftest.$ac_ext
19416cat >>conftest.$ac_ext <<_ACEOF
19417/* end confdefs.h. */
f5818d2f
AJ
19418#include <sys/types.h>
19419#ifdef HAVE_SYS_PARAM_H
19420# include <sys/param.h>
19421#endif
55b74483 19422#ifdef HAVE_SYS_MOUNT_H
f5818d2f 19423# include <sys/mount.h>
55b74483
RM
19424#endif
19425#ifdef HAVE_SYS_VFS_H
19426# include <sys/vfs.h>
19427#endif
19428#ifdef HAVE_SYS_STATFS_H
19429# include <sys/statfs.h>
f5818d2f 19430#endif
5537dbbf 19431
f5818d2f
AJ
19432int
19433main ()
19434{
5537dbbf
AJ
19435static struct statfs ac_aggr;
19436if (ac_aggr.f_bfree)
19437return 0;
f5818d2f
AJ
19438 ;
19439 return 0;
19440}
19441_ACEOF
19442rm -f conftest.$ac_objext
0ebeb530
JW
19443if { (ac_try="$ac_compile"
19444case "(($ac_try" in
19445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19446 *) ac_try_echo=$ac_try;;
19447esac
19448eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19449 (eval "$ac_compile") 2>conftest.er1
f5818d2f 19450 ac_status=$?
875927f6
AJ
19451 grep -v '^ *+' conftest.er1 >conftest.err
19452 rm -f conftest.er1
19453 cat conftest.err >&5
daa2886c 19454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
19455 (exit $ac_status); } && {
19456 test -z "$ac_c_werror_flag" ||
19457 test ! -s conftest.err
19458 } && test -s conftest.$ac_objext; then
5537dbbf 19459 ac_cv_member_struct_statfs_f_bfree=yes
f5818d2f
AJ
19460else
19461 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
19462sed 's/^/| /' conftest.$ac_ext >&5
19463
fc6ffb29 19464 cat >conftest.$ac_ext <<_ACEOF
5537dbbf
AJ
19465/* confdefs.h. */
19466_ACEOF
19467cat confdefs.h >>conftest.$ac_ext
19468cat >>conftest.$ac_ext <<_ACEOF
19469/* end confdefs.h. */
19470#include <sys/types.h>
19471#ifdef HAVE_SYS_PARAM_H
19472# include <sys/param.h>
19473#endif
55b74483 19474#ifdef HAVE_SYS_MOUNT_H
5537dbbf 19475# include <sys/mount.h>
55b74483
RM
19476#endif
19477#ifdef HAVE_SYS_VFS_H
19478# include <sys/vfs.h>
19479#endif
19480#ifdef HAVE_SYS_STATFS_H
19481# include <sys/statfs.h>
5537dbbf 19482#endif
f5818d2f 19483
5537dbbf
AJ
19484int
19485main ()
19486{
19487static struct statfs ac_aggr;
19488if (sizeof ac_aggr.f_bfree)
19489return 0;
19490 ;
19491 return 0;
19492}
daa2886c 19493_ACEOF
5537dbbf 19494rm -f conftest.$ac_objext
0ebeb530
JW
19495if { (ac_try="$ac_compile"
19496case "(($ac_try" in
19497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19498 *) ac_try_echo=$ac_try;;
19499esac
19500eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19501 (eval "$ac_compile") 2>conftest.er1
5537dbbf 19502 ac_status=$?
875927f6
AJ
19503 grep -v '^ *+' conftest.er1 >conftest.err
19504 rm -f conftest.er1
19505 cat conftest.err >&5
5537dbbf 19506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
19507 (exit $ac_status); } && {
19508 test -z "$ac_c_werror_flag" ||
19509 test ! -s conftest.err
19510 } && test -s conftest.$ac_objext; then
5537dbbf
AJ
19511 ac_cv_member_struct_statfs_f_bfree=yes
19512else
19513 echo "$as_me: failed program was:" >&5
19514sed 's/^/| /' conftest.$ac_ext >&5
c7c217b3 19515
fc6ffb29 19516 ac_cv_member_struct_statfs_f_bfree=no
c7c217b3 19517fi
fc6ffb29 19518
0ebeb530 19519rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5537dbbf 19520fi
fc6ffb29 19521
0ebeb530 19522rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5537dbbf 19523fi
fc6ffb29
AJ
19524{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
19525echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
5537dbbf 19526if test $ac_cv_member_struct_statfs_f_bfree = yes; then
c7c217b3 19527
5537dbbf
AJ
19528cat >>confdefs.h <<_ACEOF
19529#define HAVE_STRUCT_STATFS_F_BFREE 1
19530_ACEOF
daa2886c
AJ
19531
19532
5537dbbf 19533fi
fc6ffb29
AJ
19534{ echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
19535echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
5537dbbf 19536if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
f5818d2f 19537 echo $ECHO_N "(cached) $ECHO_C" >&6
dadf78ff 19538else
f5818d2f 19539 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
19540/* confdefs.h. */
19541_ACEOF
19542cat confdefs.h >>conftest.$ac_ext
19543cat >>conftest.$ac_ext <<_ACEOF
19544/* end confdefs.h. */
f5818d2f
AJ
19545#include <sys/types.h>
19546#ifdef HAVE_SYS_PARAM_H
19547# include <sys/param.h>
19548#endif
55b74483 19549#ifdef HAVE_SYS_MOUNT_H
f5818d2f 19550# include <sys/mount.h>
55b74483
RM
19551#endif
19552#ifdef HAVE_SYS_VFS_H
19553# include <sys/vfs.h>
19554#endif
19555#ifdef HAVE_SYS_STATFS_H
19556# include <sys/statfs.h>
f5818d2f 19557#endif
5537dbbf 19558
f5818d2f
AJ
19559int
19560main ()
19561{
5537dbbf
AJ
19562static struct statfs ac_aggr;
19563if (ac_aggr.f_bavail)
19564return 0;
f5818d2f
AJ
19565 ;
19566 return 0;
19567}
19568_ACEOF
19569rm -f conftest.$ac_objext
0ebeb530
JW
19570if { (ac_try="$ac_compile"
19571case "(($ac_try" in
19572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19573 *) ac_try_echo=$ac_try;;
19574esac
19575eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19576 (eval "$ac_compile") 2>conftest.er1
f5818d2f 19577 ac_status=$?
875927f6
AJ
19578 grep -v '^ *+' conftest.er1 >conftest.err
19579 rm -f conftest.er1
19580 cat conftest.err >&5
daa2886c 19581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
19582 (exit $ac_status); } && {
19583 test -z "$ac_c_werror_flag" ||
19584 test ! -s conftest.err
19585 } && test -s conftest.$ac_objext; then
5537dbbf 19586 ac_cv_member_struct_statfs_f_bavail=yes
f5818d2f
AJ
19587else
19588 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
19589sed 's/^/| /' conftest.$ac_ext >&5
19590
fc6ffb29 19591 cat >conftest.$ac_ext <<_ACEOF
5537dbbf
AJ
19592/* confdefs.h. */
19593_ACEOF
19594cat confdefs.h >>conftest.$ac_ext
19595cat >>conftest.$ac_ext <<_ACEOF
19596/* end confdefs.h. */
19597#include <sys/types.h>
19598#ifdef HAVE_SYS_PARAM_H
19599# include <sys/param.h>
19600#endif
55b74483 19601#ifdef HAVE_SYS_MOUNT_H
5537dbbf 19602# include <sys/mount.h>
55b74483
RM
19603#endif
19604#ifdef HAVE_SYS_VFS_H
19605# include <sys/vfs.h>
19606#endif
19607#ifdef HAVE_SYS_STATFS_H
19608# include <sys/statfs.h>
5537dbbf
AJ
19609#endif
19610
19611int
19612main ()
19613{
19614static struct statfs ac_aggr;
19615if (sizeof ac_aggr.f_bavail)
19616return 0;
19617 ;
19618 return 0;
19619}
19620_ACEOF
19621rm -f conftest.$ac_objext
0ebeb530
JW
19622if { (ac_try="$ac_compile"
19623case "(($ac_try" in
19624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19625 *) ac_try_echo=$ac_try;;
19626esac
19627eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19628 (eval "$ac_compile") 2>conftest.er1
5537dbbf 19629 ac_status=$?
875927f6
AJ
19630 grep -v '^ *+' conftest.er1 >conftest.err
19631 rm -f conftest.er1
19632 cat conftest.err >&5
5537dbbf 19633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
19634 (exit $ac_status); } && {
19635 test -z "$ac_c_werror_flag" ||
19636 test ! -s conftest.err
19637 } && test -s conftest.$ac_objext; then
5537dbbf
AJ
19638 ac_cv_member_struct_statfs_f_bavail=yes
19639else
19640 echo "$as_me: failed program was:" >&5
19641sed 's/^/| /' conftest.$ac_ext >&5
19642
fc6ffb29 19643 ac_cv_member_struct_statfs_f_bavail=no
5537dbbf 19644fi
fc6ffb29 19645
0ebeb530 19646rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
f5818d2f 19647fi
fc6ffb29 19648
0ebeb530 19649rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
f5818d2f 19650fi
fc6ffb29
AJ
19651{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
19652echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
5537dbbf 19653if test $ac_cv_member_struct_statfs_f_bavail = yes; then
f5818d2f 19654
5537dbbf
AJ
19655cat >>confdefs.h <<_ACEOF
19656#define HAVE_STRUCT_STATFS_F_BAVAIL 1
daa2886c 19657_ACEOF
dadf78ff 19658
dadf78ff 19659
13af4891 19660fi
fc6ffb29
AJ
19661{ echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
19662echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
13af4891
AJ
19663if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
19664 echo $ECHO_N "(cached) $ECHO_C" >&6
19665else
19666 cat >conftest.$ac_ext <<_ACEOF
19667/* confdefs.h. */
19668_ACEOF
19669cat confdefs.h >>conftest.$ac_ext
19670cat >>conftest.$ac_ext <<_ACEOF
19671/* end confdefs.h. */
19672#include <sys/types.h>
19673#ifdef HAVE_SYS_PARAM_H
19674# include <sys/param.h>
19675#endif
55b74483 19676#ifdef HAVE_SYS_MOUNT_H
13af4891 19677# include <sys/mount.h>
55b74483
RM
19678#endif
19679#ifdef HAVE_SYS_VFS_H
19680# include <sys/vfs.h>
19681#endif
19682#ifdef HAVE_SYS_STATFS_H
19683# include <sys/statfs.h>
13af4891
AJ
19684#endif
19685
19686int
19687main ()
19688{
19689static struct statfs ac_aggr;
19690if (ac_aggr.f_frsize)
19691return 0;
19692 ;
19693 return 0;
19694}
19695_ACEOF
19696rm -f conftest.$ac_objext
0ebeb530
JW
19697if { (ac_try="$ac_compile"
19698case "(($ac_try" in
19699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19700 *) ac_try_echo=$ac_try;;
19701esac
19702eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19703 (eval "$ac_compile") 2>conftest.er1
13af4891
AJ
19704 ac_status=$?
19705 grep -v '^ *+' conftest.er1 >conftest.err
19706 rm -f conftest.er1
19707 cat conftest.err >&5
19708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
19709 (exit $ac_status); } && {
19710 test -z "$ac_c_werror_flag" ||
19711 test ! -s conftest.err
19712 } && test -s conftest.$ac_objext; then
13af4891
AJ
19713 ac_cv_member_struct_statfs_f_frsize=yes
19714else
19715 echo "$as_me: failed program was:" >&5
19716sed 's/^/| /' conftest.$ac_ext >&5
19717
fc6ffb29 19718 cat >conftest.$ac_ext <<_ACEOF
13af4891
AJ
19719/* confdefs.h. */
19720_ACEOF
19721cat confdefs.h >>conftest.$ac_ext
19722cat >>conftest.$ac_ext <<_ACEOF
19723/* end confdefs.h. */
19724#include <sys/types.h>
19725#ifdef HAVE_SYS_PARAM_H
19726# include <sys/param.h>
19727#endif
55b74483 19728#ifdef HAVE_SYS_MOUNT_H
13af4891 19729# include <sys/mount.h>
55b74483
RM
19730#endif
19731#ifdef HAVE_SYS_VFS_H
19732# include <sys/vfs.h>
19733#endif
19734#ifdef HAVE_SYS_STATFS_H
19735# include <sys/statfs.h>
13af4891
AJ
19736#endif
19737
19738int
19739main ()
19740{
19741static struct statfs ac_aggr;
19742if (sizeof ac_aggr.f_frsize)
19743return 0;
19744 ;
19745 return 0;
19746}
19747_ACEOF
19748rm -f conftest.$ac_objext
0ebeb530
JW
19749if { (ac_try="$ac_compile"
19750case "(($ac_try" in
19751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19752 *) ac_try_echo=$ac_try;;
19753esac
19754eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19755 (eval "$ac_compile") 2>conftest.er1
13af4891
AJ
19756 ac_status=$?
19757 grep -v '^ *+' conftest.er1 >conftest.err
19758 rm -f conftest.er1
19759 cat conftest.err >&5
19760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
19761 (exit $ac_status); } && {
19762 test -z "$ac_c_werror_flag" ||
19763 test ! -s conftest.err
19764 } && test -s conftest.$ac_objext; then
13af4891
AJ
19765 ac_cv_member_struct_statfs_f_frsize=yes
19766else
19767 echo "$as_me: failed program was:" >&5
19768sed 's/^/| /' conftest.$ac_ext >&5
19769
fc6ffb29 19770 ac_cv_member_struct_statfs_f_frsize=no
13af4891 19771fi
fc6ffb29 19772
0ebeb530 19773rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13af4891 19774fi
fc6ffb29 19775
0ebeb530 19776rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13af4891 19777fi
fc6ffb29
AJ
19778{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
19779echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
13af4891
AJ
19780if test $ac_cv_member_struct_statfs_f_frsize = yes; then
19781
19782cat >>confdefs.h <<_ACEOF
19783#define HAVE_STRUCT_STATFS_F_FRSIZE 1
19784_ACEOF
19785
19786
19787fi
fc6ffb29
AJ
19788{ echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
19789echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
13af4891
AJ
19790if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
19791 echo $ECHO_N "(cached) $ECHO_C" >&6
19792else
19793 cat >conftest.$ac_ext <<_ACEOF
19794/* confdefs.h. */
19795_ACEOF
19796cat confdefs.h >>conftest.$ac_ext
19797cat >>conftest.$ac_ext <<_ACEOF
19798/* end confdefs.h. */
19799#include <sys/types.h>
19800#ifdef HAVE_SYS_PARAM_H
19801# include <sys/param.h>
19802#endif
55b74483 19803#ifdef HAVE_SYS_MOUNT_H
13af4891 19804# include <sys/mount.h>
55b74483
RM
19805#endif
19806#ifdef HAVE_SYS_VFS_H
19807# include <sys/vfs.h>
19808#endif
19809#ifdef HAVE_SYS_STATFS_H
19810# include <sys/statfs.h>
13af4891
AJ
19811#endif
19812
19813int
19814main ()
19815{
19816static struct statfs ac_aggr;
19817if (ac_aggr.f_ffree)
19818return 0;
19819 ;
19820 return 0;
19821}
19822_ACEOF
19823rm -f conftest.$ac_objext
0ebeb530
JW
19824if { (ac_try="$ac_compile"
19825case "(($ac_try" in
19826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19827 *) ac_try_echo=$ac_try;;
19828esac
19829eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19830 (eval "$ac_compile") 2>conftest.er1
13af4891
AJ
19831 ac_status=$?
19832 grep -v '^ *+' conftest.er1 >conftest.err
19833 rm -f conftest.er1
19834 cat conftest.err >&5
19835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
19836 (exit $ac_status); } && {
19837 test -z "$ac_c_werror_flag" ||
19838 test ! -s conftest.err
19839 } && test -s conftest.$ac_objext; then
13af4891
AJ
19840 ac_cv_member_struct_statfs_f_ffree=yes
19841else
19842 echo "$as_me: failed program was:" >&5
19843sed 's/^/| /' conftest.$ac_ext >&5
19844
fc6ffb29 19845 cat >conftest.$ac_ext <<_ACEOF
13af4891
AJ
19846/* confdefs.h. */
19847_ACEOF
19848cat confdefs.h >>conftest.$ac_ext
19849cat >>conftest.$ac_ext <<_ACEOF
19850/* end confdefs.h. */
19851#include <sys/types.h>
19852#ifdef HAVE_SYS_PARAM_H
19853# include <sys/param.h>
19854#endif
55b74483 19855#ifdef HAVE_SYS_MOUNT_H
13af4891 19856# include <sys/mount.h>
55b74483
RM
19857#endif
19858#ifdef HAVE_SYS_VFS_H
19859# include <sys/vfs.h>
19860#endif
19861#ifdef HAVE_SYS_STATFS_H
19862# include <sys/statfs.h>
13af4891
AJ
19863#endif
19864
19865int
19866main ()
19867{
19868static struct statfs ac_aggr;
19869if (sizeof ac_aggr.f_ffree)
19870return 0;
19871 ;
19872 return 0;
19873}
19874_ACEOF
19875rm -f conftest.$ac_objext
0ebeb530
JW
19876if { (ac_try="$ac_compile"
19877case "(($ac_try" in
19878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19879 *) ac_try_echo=$ac_try;;
19880esac
19881eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19882 (eval "$ac_compile") 2>conftest.er1
13af4891
AJ
19883 ac_status=$?
19884 grep -v '^ *+' conftest.er1 >conftest.err
19885 rm -f conftest.er1
19886 cat conftest.err >&5
19887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
19888 (exit $ac_status); } && {
19889 test -z "$ac_c_werror_flag" ||
19890 test ! -s conftest.err
19891 } && test -s conftest.$ac_objext; then
13af4891
AJ
19892 ac_cv_member_struct_statfs_f_ffree=yes
19893else
19894 echo "$as_me: failed program was:" >&5
19895sed 's/^/| /' conftest.$ac_ext >&5
19896
fc6ffb29 19897 ac_cv_member_struct_statfs_f_ffree=no
13af4891 19898fi
fc6ffb29 19899
0ebeb530 19900rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13af4891 19901fi
fc6ffb29 19902
0ebeb530 19903rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13af4891 19904fi
fc6ffb29
AJ
19905{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
19906echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
13af4891
AJ
19907if test $ac_cv_member_struct_statfs_f_ffree = yes; then
19908
19909cat >>confdefs.h <<_ACEOF
19910#define HAVE_STRUCT_STATFS_F_FFREE 1
19911_ACEOF
19912
19913
19914fi
fc6ffb29
AJ
19915{ echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
19916echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
13af4891
AJ
19917if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
19918 echo $ECHO_N "(cached) $ECHO_C" >&6
19919else
19920 cat >conftest.$ac_ext <<_ACEOF
19921/* confdefs.h. */
19922_ACEOF
19923cat confdefs.h >>conftest.$ac_ext
19924cat >>conftest.$ac_ext <<_ACEOF
19925/* end confdefs.h. */
19926#include <sys/types.h>
19927#ifdef HAVE_SYS_PARAM_H
19928# include <sys/param.h>
19929#endif
55b74483 19930#ifdef HAVE_SYS_MOUNT_H
13af4891 19931# include <sys/mount.h>
55b74483
RM
19932#endif
19933#ifdef HAVE_SYS_VFS_H
19934# include <sys/vfs.h>
19935#endif
19936#ifdef HAVE_SYS_STATFS_H
19937# include <sys/statfs.h>
13af4891
AJ
19938#endif
19939
19940int
19941main ()
19942{
19943static struct statfs ac_aggr;
19944if (ac_aggr.f_favail)
19945return 0;
19946 ;
19947 return 0;
19948}
19949_ACEOF
19950rm -f conftest.$ac_objext
0ebeb530
JW
19951if { (ac_try="$ac_compile"
19952case "(($ac_try" in
19953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19954 *) ac_try_echo=$ac_try;;
19955esac
19956eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19957 (eval "$ac_compile") 2>conftest.er1
13af4891
AJ
19958 ac_status=$?
19959 grep -v '^ *+' conftest.er1 >conftest.err
19960 rm -f conftest.er1
19961 cat conftest.err >&5
19962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
19963 (exit $ac_status); } && {
19964 test -z "$ac_c_werror_flag" ||
19965 test ! -s conftest.err
19966 } && test -s conftest.$ac_objext; then
13af4891
AJ
19967 ac_cv_member_struct_statfs_f_favail=yes
19968else
19969 echo "$as_me: failed program was:" >&5
19970sed 's/^/| /' conftest.$ac_ext >&5
19971
fc6ffb29 19972 cat >conftest.$ac_ext <<_ACEOF
13af4891
AJ
19973/* confdefs.h. */
19974_ACEOF
19975cat confdefs.h >>conftest.$ac_ext
19976cat >>conftest.$ac_ext <<_ACEOF
19977/* end confdefs.h. */
19978#include <sys/types.h>
19979#ifdef HAVE_SYS_PARAM_H
19980# include <sys/param.h>
19981#endif
55b74483 19982#ifdef HAVE_SYS_MOUNT_H
13af4891 19983# include <sys/mount.h>
55b74483
RM
19984#endif
19985#ifdef HAVE_SYS_VFS_H
19986# include <sys/vfs.h>
19987#endif
19988#ifdef HAVE_SYS_STATFS_H
19989# include <sys/statfs.h>
13af4891
AJ
19990#endif
19991
19992int
19993main ()
19994{
19995static struct statfs ac_aggr;
19996if (sizeof ac_aggr.f_favail)
19997return 0;
19998 ;
19999 return 0;
20000}
20001_ACEOF
20002rm -f conftest.$ac_objext
0ebeb530
JW
20003if { (ac_try="$ac_compile"
20004case "(($ac_try" in
20005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20006 *) ac_try_echo=$ac_try;;
20007esac
20008eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20009 (eval "$ac_compile") 2>conftest.er1
13af4891
AJ
20010 ac_status=$?
20011 grep -v '^ *+' conftest.er1 >conftest.err
20012 rm -f conftest.er1
20013 cat conftest.err >&5
20014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
20015 (exit $ac_status); } && {
20016 test -z "$ac_c_werror_flag" ||
20017 test ! -s conftest.err
20018 } && test -s conftest.$ac_objext; then
13af4891
AJ
20019 ac_cv_member_struct_statfs_f_favail=yes
20020else
20021 echo "$as_me: failed program was:" >&5
20022sed 's/^/| /' conftest.$ac_ext >&5
20023
fc6ffb29 20024 ac_cv_member_struct_statfs_f_favail=no
13af4891 20025fi
fc6ffb29 20026
0ebeb530 20027rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13af4891 20028fi
fc6ffb29 20029
0ebeb530 20030rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13af4891 20031fi
fc6ffb29
AJ
20032{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
20033echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
13af4891
AJ
20034if test $ac_cv_member_struct_statfs_f_favail = yes; then
20035
20036cat >>confdefs.h <<_ACEOF
20037#define HAVE_STRUCT_STATFS_F_FAVAIL 1
20038_ACEOF
20039
20040
b859a686 20041fi
fc6ffb29
AJ
20042{ echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
20043echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
b859a686
AJ
20044if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
20045 echo $ECHO_N "(cached) $ECHO_C" >&6
20046else
20047 cat >conftest.$ac_ext <<_ACEOF
20048/* confdefs.h. */
20049_ACEOF
20050cat confdefs.h >>conftest.$ac_ext
20051cat >>conftest.$ac_ext <<_ACEOF
20052/* end confdefs.h. */
20053#include <sys/types.h>
20054#ifdef HAVE_SYS_PARAM_H
20055# include <sys/param.h>
20056#endif
55b74483 20057#ifdef HAVE_SYS_MOUNT_H
b859a686 20058# include <sys/mount.h>
55b74483
RM
20059#endif
20060#ifdef HAVE_SYS_VFS_H
20061# include <sys/vfs.h>
20062#endif
20063#ifdef HAVE_SYS_STATFS_H
20064# include <sys/statfs.h>
b859a686
AJ
20065#endif
20066
20067int
20068main ()
20069{
20070static struct statfs ac_aggr;
20071if (ac_aggr.f_namelen)
20072return 0;
20073 ;
20074 return 0;
20075}
20076_ACEOF
20077rm -f conftest.$ac_objext
0ebeb530
JW
20078if { (ac_try="$ac_compile"
20079case "(($ac_try" in
20080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20081 *) ac_try_echo=$ac_try;;
20082esac
20083eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20084 (eval "$ac_compile") 2>conftest.er1
b859a686
AJ
20085 ac_status=$?
20086 grep -v '^ *+' conftest.er1 >conftest.err
20087 rm -f conftest.er1
20088 cat conftest.err >&5
20089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
20090 (exit $ac_status); } && {
20091 test -z "$ac_c_werror_flag" ||
20092 test ! -s conftest.err
20093 } && test -s conftest.$ac_objext; then
b859a686
AJ
20094 ac_cv_member_struct_statfs_f_namelen=yes
20095else
20096 echo "$as_me: failed program was:" >&5
20097sed 's/^/| /' conftest.$ac_ext >&5
20098
fc6ffb29 20099 cat >conftest.$ac_ext <<_ACEOF
b859a686
AJ
20100/* confdefs.h. */
20101_ACEOF
20102cat confdefs.h >>conftest.$ac_ext
20103cat >>conftest.$ac_ext <<_ACEOF
20104/* end confdefs.h. */
20105#include <sys/types.h>
20106#ifdef HAVE_SYS_PARAM_H
20107# include <sys/param.h>
20108#endif
55b74483 20109#ifdef HAVE_SYS_MOUNT_H
b859a686 20110# include <sys/mount.h>
55b74483
RM
20111#endif
20112#ifdef HAVE_SYS_VFS_H
20113# include <sys/vfs.h>
20114#endif
20115#ifdef HAVE_SYS_STATFS_H
20116# include <sys/statfs.h>
b859a686
AJ
20117#endif
20118
20119int
20120main ()
20121{
20122static struct statfs ac_aggr;
20123if (sizeof ac_aggr.f_namelen)
20124return 0;
20125 ;
20126 return 0;
20127}
20128_ACEOF
20129rm -f conftest.$ac_objext
0ebeb530
JW
20130if { (ac_try="$ac_compile"
20131case "(($ac_try" in
20132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20133 *) ac_try_echo=$ac_try;;
20134esac
20135eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20136 (eval "$ac_compile") 2>conftest.er1
b859a686
AJ
20137 ac_status=$?
20138 grep -v '^ *+' conftest.er1 >conftest.err
20139 rm -f conftest.er1
20140 cat conftest.err >&5
20141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
20142 (exit $ac_status); } && {
20143 test -z "$ac_c_werror_flag" ||
20144 test ! -s conftest.err
20145 } && test -s conftest.$ac_objext; then
b859a686
AJ
20146 ac_cv_member_struct_statfs_f_namelen=yes
20147else
20148 echo "$as_me: failed program was:" >&5
20149sed 's/^/| /' conftest.$ac_ext >&5
20150
fc6ffb29 20151 ac_cv_member_struct_statfs_f_namelen=no
b859a686 20152fi
fc6ffb29 20153
0ebeb530 20154rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
b859a686 20155fi
fc6ffb29 20156
0ebeb530 20157rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
b859a686 20158fi
fc6ffb29
AJ
20159{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
20160echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
b859a686
AJ
20161if test $ac_cv_member_struct_statfs_f_namelen = yes; then
20162
20163cat >>confdefs.h <<_ACEOF
20164#define HAVE_STRUCT_STATFS_F_NAMELEN 1
20165_ACEOF
20166
20167
13af4891
AJ
20168fi
20169
20170
fc6ffb29
AJ
20171{ echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
20172echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
13af4891
AJ
20173if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
20174 echo $ECHO_N "(cached) $ECHO_C" >&6
20175else
20176 cat >conftest.$ac_ext <<_ACEOF
20177/* confdefs.h. */
20178_ACEOF
20179cat confdefs.h >>conftest.$ac_ext
20180cat >>conftest.$ac_ext <<_ACEOF
20181/* end confdefs.h. */
20182#ifdef HAVE_SYS_STATVFS_H
20183#include <sys/statvfs.h>
20184#endif
20185
20186int
20187main ()
20188{
20189static struct statvfs ac_aggr;
20190if (ac_aggr.f_blocks)
20191return 0;
20192 ;
20193 return 0;
20194}
20195_ACEOF
20196rm -f conftest.$ac_objext
0ebeb530
JW
20197if { (ac_try="$ac_compile"
20198case "(($ac_try" in
20199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20200 *) ac_try_echo=$ac_try;;
20201esac
20202eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20203 (eval "$ac_compile") 2>conftest.er1
13af4891
AJ
20204 ac_status=$?
20205 grep -v '^ *+' conftest.er1 >conftest.err
20206 rm -f conftest.er1
20207 cat conftest.err >&5
20208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
20209 (exit $ac_status); } && {
20210 test -z "$ac_c_werror_flag" ||
20211 test ! -s conftest.err
20212 } && test -s conftest.$ac_objext; then
13af4891
AJ
20213 ac_cv_member_struct_statvfs_f_blocks=yes
20214else
20215 echo "$as_me: failed program was:" >&5
20216sed 's/^/| /' conftest.$ac_ext >&5
20217
fc6ffb29 20218 cat >conftest.$ac_ext <<_ACEOF
13af4891
AJ
20219/* confdefs.h. */
20220_ACEOF
20221cat confdefs.h >>conftest.$ac_ext
20222cat >>conftest.$ac_ext <<_ACEOF
20223/* end confdefs.h. */
20224#ifdef HAVE_SYS_STATVFS_H
20225#include <sys/statvfs.h>
20226#endif
20227
20228int
20229main ()
20230{
20231static struct statvfs ac_aggr;
20232if (sizeof ac_aggr.f_blocks)
20233return 0;
20234 ;
20235 return 0;
20236}
20237_ACEOF
20238rm -f conftest.$ac_objext
0ebeb530
JW
20239if { (ac_try="$ac_compile"
20240case "(($ac_try" in
20241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20242 *) ac_try_echo=$ac_try;;
20243esac
20244eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20245 (eval "$ac_compile") 2>conftest.er1
13af4891
AJ
20246 ac_status=$?
20247 grep -v '^ *+' conftest.er1 >conftest.err
20248 rm -f conftest.er1
20249 cat conftest.err >&5
20250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
20251 (exit $ac_status); } && {
20252 test -z "$ac_c_werror_flag" ||
20253 test ! -s conftest.err
20254 } && test -s conftest.$ac_objext; then
13af4891
AJ
20255 ac_cv_member_struct_statvfs_f_blocks=yes
20256else
20257 echo "$as_me: failed program was:" >&5
20258sed 's/^/| /' conftest.$ac_ext >&5
20259
fc6ffb29 20260 ac_cv_member_struct_statvfs_f_blocks=no
13af4891 20261fi
fc6ffb29 20262
0ebeb530 20263rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13af4891 20264fi
fc6ffb29 20265
0ebeb530 20266rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13af4891 20267fi
fc6ffb29
AJ
20268{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
20269echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
13af4891
AJ
20270if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
20271
20272cat >>confdefs.h <<_ACEOF
20273#define HAVE_STRUCT_STATVFS_F_BLOCKS 1
20274_ACEOF
20275
20276
5537dbbf 20277fi
daa2886c
AJ
20278
20279
fc6ffb29
AJ
20280{ echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
20281echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
5537dbbf 20282if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
f5818d2f 20283 echo $ECHO_N "(cached) $ECHO_C" >&6
829fe323 20284else
f5818d2f 20285 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
20286/* confdefs.h. */
20287_ACEOF
20288cat confdefs.h >>conftest.$ac_ext
20289cat >>conftest.$ac_ext <<_ACEOF
20290/* end confdefs.h. */
829fe323 20291#include <sys/types.h>
63ae7fee
PS
20292#ifdef HAVE_SYS_SOCKET_H
20293# include <sys/socket.h>
20294#endif
5537dbbf
AJ
20295#ifdef HAVE_SYS_UN_H
20296# include <sys/un.h>
20297#endif
20298
f5818d2f
AJ
20299int
20300main ()
20301{
5537dbbf
AJ
20302static struct msghdr ac_aggr;
20303if (ac_aggr.msg_accrights)
20304return 0;
f5818d2f
AJ
20305 ;
20306 return 0;
20307}
20308_ACEOF
20309rm -f conftest.$ac_objext
0ebeb530
JW
20310if { (ac_try="$ac_compile"
20311case "(($ac_try" in
20312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20313 *) ac_try_echo=$ac_try;;
20314esac
20315eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20316 (eval "$ac_compile") 2>conftest.er1
f5818d2f 20317 ac_status=$?
875927f6
AJ
20318 grep -v '^ *+' conftest.er1 >conftest.err
20319 rm -f conftest.er1
20320 cat conftest.err >&5
daa2886c 20321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
20322 (exit $ac_status); } && {
20323 test -z "$ac_c_werror_flag" ||
20324 test ! -s conftest.err
20325 } && test -s conftest.$ac_objext; then
5537dbbf 20326 ac_cv_member_struct_msghdr_msg_accrights=yes
f5818d2f
AJ
20327else
20328 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
20329sed 's/^/| /' conftest.$ac_ext >&5
20330
fc6ffb29 20331 cat >conftest.$ac_ext <<_ACEOF
5537dbbf
AJ
20332/* confdefs.h. */
20333_ACEOF
20334cat confdefs.h >>conftest.$ac_ext
20335cat >>conftest.$ac_ext <<_ACEOF
20336/* end confdefs.h. */
20337#include <sys/types.h>
20338#ifdef HAVE_SYS_SOCKET_H
20339# include <sys/socket.h>
20340#endif
20341#ifdef HAVE_SYS_UN_H
20342# include <sys/un.h>
20343#endif
f5818d2f 20344
5537dbbf
AJ
20345int
20346main ()
20347{
20348static struct msghdr ac_aggr;
20349if (sizeof ac_aggr.msg_accrights)
20350return 0;
20351 ;
20352 return 0;
20353}
daa2886c 20354_ACEOF
5537dbbf 20355rm -f conftest.$ac_objext
0ebeb530
JW
20356if { (ac_try="$ac_compile"
20357case "(($ac_try" in
20358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20359 *) ac_try_echo=$ac_try;;
20360esac
20361eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20362 (eval "$ac_compile") 2>conftest.er1
5537dbbf 20363 ac_status=$?
875927f6
AJ
20364 grep -v '^ *+' conftest.er1 >conftest.err
20365 rm -f conftest.er1
20366 cat conftest.err >&5
5537dbbf 20367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
20368 (exit $ac_status); } && {
20369 test -z "$ac_c_werror_flag" ||
20370 test ! -s conftest.err
20371 } && test -s conftest.$ac_objext; then
5537dbbf
AJ
20372 ac_cv_member_struct_msghdr_msg_accrights=yes
20373else
20374 echo "$as_me: failed program was:" >&5
20375sed 's/^/| /' conftest.$ac_ext >&5
829fe323 20376
fc6ffb29 20377 ac_cv_member_struct_msghdr_msg_accrights=no
5537dbbf 20378fi
fc6ffb29 20379
0ebeb530 20380rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5537dbbf 20381fi
fc6ffb29 20382
0ebeb530 20383rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
829fe323 20384fi
fc6ffb29
AJ
20385{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
20386echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
5537dbbf 20387if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
829fe323 20388
5537dbbf
AJ
20389cat >>confdefs.h <<_ACEOF
20390#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
20391_ACEOF
daa2886c
AJ
20392
20393
5537dbbf 20394fi
fc6ffb29
AJ
20395{ echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
20396echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
5537dbbf 20397if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
f5818d2f 20398 echo $ECHO_N "(cached) $ECHO_C" >&6
2d33ab91 20399else
f5818d2f 20400 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
20401/* confdefs.h. */
20402_ACEOF
20403cat confdefs.h >>conftest.$ac_ext
20404cat >>conftest.$ac_ext <<_ACEOF
20405/* end confdefs.h. */
2d33ab91 20406#include <sys/types.h>
63ae7fee
PS
20407#ifdef HAVE_SYS_SOCKET_H
20408# include <sys/socket.h>
20409#endif
5537dbbf
AJ
20410#ifdef HAVE_SYS_UN_H
20411# include <sys/un.h>
20412#endif
20413
f5818d2f
AJ
20414int
20415main ()
20416{
5537dbbf
AJ
20417static struct sockaddr ac_aggr;
20418if (ac_aggr.sa_len)
20419return 0;
f5818d2f
AJ
20420 ;
20421 return 0;
20422}
20423_ACEOF
20424rm -f conftest.$ac_objext
0ebeb530
JW
20425if { (ac_try="$ac_compile"
20426case "(($ac_try" in
20427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20428 *) ac_try_echo=$ac_try;;
20429esac
20430eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20431 (eval "$ac_compile") 2>conftest.er1
f5818d2f 20432 ac_status=$?
875927f6
AJ
20433 grep -v '^ *+' conftest.er1 >conftest.err
20434 rm -f conftest.er1
20435 cat conftest.err >&5
daa2886c 20436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
20437 (exit $ac_status); } && {
20438 test -z "$ac_c_werror_flag" ||
20439 test ! -s conftest.err
20440 } && test -s conftest.$ac_objext; then
5537dbbf 20441 ac_cv_member_struct_sockaddr_sa_len=yes
09da966c 20442else
f5818d2f 20443 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
20444sed 's/^/| /' conftest.$ac_ext >&5
20445
fc6ffb29 20446 cat >conftest.$ac_ext <<_ACEOF
5537dbbf
AJ
20447/* confdefs.h. */
20448_ACEOF
20449cat confdefs.h >>conftest.$ac_ext
20450cat >>conftest.$ac_ext <<_ACEOF
20451/* end confdefs.h. */
20452#include <sys/types.h>
20453#ifdef HAVE_SYS_SOCKET_H
20454# include <sys/socket.h>
20455#endif
20456#ifdef HAVE_SYS_UN_H
20457# include <sys/un.h>
20458#endif
09da966c 20459
5537dbbf
AJ
20460int
20461main ()
20462{
20463static struct sockaddr ac_aggr;
20464if (sizeof ac_aggr.sa_len)
20465return 0;
20466 ;
20467 return 0;
20468}
daa2886c 20469_ACEOF
5537dbbf 20470rm -f conftest.$ac_objext
0ebeb530
JW
20471if { (ac_try="$ac_compile"
20472case "(($ac_try" in
20473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20474 *) ac_try_echo=$ac_try;;
20475esac
20476eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20477 (eval "$ac_compile") 2>conftest.er1
5537dbbf 20478 ac_status=$?
875927f6
AJ
20479 grep -v '^ *+' conftest.er1 >conftest.err
20480 rm -f conftest.er1
20481 cat conftest.err >&5
5537dbbf 20482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
20483 (exit $ac_status); } && {
20484 test -z "$ac_c_werror_flag" ||
20485 test ! -s conftest.err
20486 } && test -s conftest.$ac_objext; then
5537dbbf
AJ
20487 ac_cv_member_struct_sockaddr_sa_len=yes
20488else
20489 echo "$as_me: failed program was:" >&5
20490sed 's/^/| /' conftest.$ac_ext >&5
09da966c 20491
fc6ffb29 20492 ac_cv_member_struct_sockaddr_sa_len=no
5537dbbf 20493fi
fc6ffb29 20494
0ebeb530 20495rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5537dbbf 20496fi
fc6ffb29 20497
0ebeb530 20498rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
09da966c 20499fi
fc6ffb29
AJ
20500{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
20501echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
5537dbbf 20502if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
09da966c 20503
5537dbbf
AJ
20504cat >>confdefs.h <<_ACEOF
20505#define HAVE_STRUCT_SOCKADDR_SA_LEN 1
20506_ACEOF
daa2886c
AJ
20507
20508
5537dbbf 20509fi
fc6ffb29
AJ
20510{ echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
20511echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
5537dbbf 20512if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
f5818d2f 20513 echo $ECHO_N "(cached) $ECHO_C" >&6
09da966c 20514else
f5818d2f 20515 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
20516/* confdefs.h. */
20517_ACEOF
20518cat confdefs.h >>conftest.$ac_ext
20519cat >>conftest.$ac_ext <<_ACEOF
20520/* end confdefs.h. */
09da966c 20521#include <sys/types.h>
63ae7fee
PS
20522#ifdef HAVE_SYS_SOCKET_H
20523# include <sys/socket.h>
20524#endif
20525#ifdef HAVE_SYS_UN_H
20526# include <sys/un.h>
20527#endif
5537dbbf 20528
f5818d2f
AJ
20529int
20530main ()
20531{
5537dbbf
AJ
20532static struct sockaddr_un ac_aggr;
20533if (ac_aggr.sun_len)
20534return 0;
f5818d2f
AJ
20535 ;
20536 return 0;
20537}
20538_ACEOF
20539rm -f conftest.$ac_objext
0ebeb530
JW
20540if { (ac_try="$ac_compile"
20541case "(($ac_try" in
20542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20543 *) ac_try_echo=$ac_try;;
20544esac
20545eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20546 (eval "$ac_compile") 2>conftest.er1
f5818d2f 20547 ac_status=$?
875927f6
AJ
20548 grep -v '^ *+' conftest.er1 >conftest.err
20549 rm -f conftest.er1
20550 cat conftest.err >&5
daa2886c 20551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
20552 (exit $ac_status); } && {
20553 test -z "$ac_c_werror_flag" ||
20554 test ! -s conftest.err
20555 } && test -s conftest.$ac_objext; then
5537dbbf 20556 ac_cv_member_struct_sockaddr_un_sun_len=yes
f5818d2f
AJ
20557else
20558 echo "$as_me: failed program was:" >&5
e24bcc77
AJ
20559sed 's/^/| /' conftest.$ac_ext >&5
20560
fc6ffb29 20561 cat >conftest.$ac_ext <<_ACEOF
5537dbbf
AJ
20562/* confdefs.h. */
20563_ACEOF
20564cat confdefs.h >>conftest.$ac_ext
20565cat >>conftest.$ac_ext <<_ACEOF
20566/* end confdefs.h. */
20567#include <sys/types.h>
20568#ifdef HAVE_SYS_SOCKET_H
20569# include <sys/socket.h>
20570#endif
20571#ifdef HAVE_SYS_UN_H
20572# include <sys/un.h>
20573#endif
20574
20575int
20576main ()
20577{
20578static struct sockaddr_un ac_aggr;
20579if (sizeof ac_aggr.sun_len)
20580return 0;
20581 ;
20582 return 0;
20583}
20584_ACEOF
20585rm -f conftest.$ac_objext
0ebeb530
JW
20586if { (ac_try="$ac_compile"
20587case "(($ac_try" in
20588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20589 *) ac_try_echo=$ac_try;;
20590esac
20591eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20592 (eval "$ac_compile") 2>conftest.er1
5537dbbf 20593 ac_status=$?
875927f6
AJ
20594 grep -v '^ *+' conftest.er1 >conftest.err
20595 rm -f conftest.er1
20596 cat conftest.err >&5
5537dbbf 20597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
20598 (exit $ac_status); } && {
20599 test -z "$ac_c_werror_flag" ||
20600 test ! -s conftest.err
20601 } && test -s conftest.$ac_objext; then
5537dbbf
AJ
20602 ac_cv_member_struct_sockaddr_un_sun_len=yes
20603else
20604 echo "$as_me: failed program was:" >&5
20605sed 's/^/| /' conftest.$ac_ext >&5
20606
fc6ffb29 20607 ac_cv_member_struct_sockaddr_un_sun_len=no
f5818d2f 20608fi
fc6ffb29 20609
0ebeb530 20610rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
f5818d2f 20611fi
fc6ffb29 20612
0ebeb530 20613rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5537dbbf 20614fi
fc6ffb29
AJ
20615{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
20616echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
5537dbbf 20617if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
f5818d2f 20618
5537dbbf
AJ
20619cat >>confdefs.h <<_ACEOF
20620#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
20621_ACEOF
20622
20623
20624fi
20625
20626
fc6ffb29
AJ
20627{ echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
20628echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
ea64a36a
DT
20629if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
20630 echo $ECHO_N "(cached) $ECHO_C" >&6
20631else
20632 cat >conftest.$ac_ext <<_ACEOF
20633/* confdefs.h. */
20634_ACEOF
20635cat confdefs.h >>conftest.$ac_ext
20636cat >>conftest.$ac_ext <<_ACEOF
20637/* end confdefs.h. */
20638#include <sys/types.h>
20639#ifdef HAVE_SCSI_SG_H
20640#include <scsi/sg.h>
20641#endif
20642
20643int
20644main ()
20645{
20646static scsireq_t ac_aggr;
20647if (ac_aggr.cmd)
20648return 0;
20649 ;
20650 return 0;
20651}
20652_ACEOF
20653rm -f conftest.$ac_objext
0ebeb530
JW
20654if { (ac_try="$ac_compile"
20655case "(($ac_try" in
20656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20657 *) ac_try_echo=$ac_try;;
20658esac
20659eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20660 (eval "$ac_compile") 2>conftest.er1
ea64a36a
DT
20661 ac_status=$?
20662 grep -v '^ *+' conftest.er1 >conftest.err
20663 rm -f conftest.er1
20664 cat conftest.err >&5
20665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
20666 (exit $ac_status); } && {
20667 test -z "$ac_c_werror_flag" ||
20668 test ! -s conftest.err
20669 } && test -s conftest.$ac_objext; then
ea64a36a
DT
20670 ac_cv_member_scsireq_t_cmd=yes
20671else
20672 echo "$as_me: failed program was:" >&5
20673sed 's/^/| /' conftest.$ac_ext >&5
20674
fc6ffb29 20675 cat >conftest.$ac_ext <<_ACEOF
ea64a36a
DT
20676/* confdefs.h. */
20677_ACEOF
20678cat confdefs.h >>conftest.$ac_ext
20679cat >>conftest.$ac_ext <<_ACEOF
20680/* end confdefs.h. */
20681#include <sys/types.h>
20682#ifdef HAVE_SCSI_SG_H
20683#include <scsi/sg.h>
20684#endif
20685
20686int
20687main ()
20688{
20689static scsireq_t ac_aggr;
20690if (sizeof ac_aggr.cmd)
20691return 0;
20692 ;
20693 return 0;
20694}
20695_ACEOF
20696rm -f conftest.$ac_objext
0ebeb530
JW
20697if { (ac_try="$ac_compile"
20698case "(($ac_try" in
20699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20700 *) ac_try_echo=$ac_try;;
20701esac
20702eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20703 (eval "$ac_compile") 2>conftest.er1
ea64a36a
DT
20704 ac_status=$?
20705 grep -v '^ *+' conftest.er1 >conftest.err
20706 rm -f conftest.er1
20707 cat conftest.err >&5
20708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
20709 (exit $ac_status); } && {
20710 test -z "$ac_c_werror_flag" ||
20711 test ! -s conftest.err
20712 } && test -s conftest.$ac_objext; then
ea64a36a
DT
20713 ac_cv_member_scsireq_t_cmd=yes
20714else
20715 echo "$as_me: failed program was:" >&5
20716sed 's/^/| /' conftest.$ac_ext >&5
20717
fc6ffb29 20718 ac_cv_member_scsireq_t_cmd=no
ea64a36a 20719fi
fc6ffb29 20720
0ebeb530 20721rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
ea64a36a 20722fi
fc6ffb29 20723
0ebeb530 20724rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
ea64a36a 20725fi
fc6ffb29
AJ
20726{ echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
20727echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
ea64a36a
DT
20728if test $ac_cv_member_scsireq_t_cmd = yes; then
20729
20730cat >>confdefs.h <<_ACEOF
20731#define HAVE_SCSIREQ_T_CMD 1
20732_ACEOF
20733
20734
20735fi
fc6ffb29
AJ
20736{ echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
20737echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
ea64a36a
DT
20738if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
20739 echo $ECHO_N "(cached) $ECHO_C" >&6
20740else
20741 cat >conftest.$ac_ext <<_ACEOF
20742/* confdefs.h. */
20743_ACEOF
20744cat confdefs.h >>conftest.$ac_ext
20745cat >>conftest.$ac_ext <<_ACEOF
20746/* end confdefs.h. */
20747#include <sys/types.h>
20748#ifdef HAVE_SCSI_SG_H
20749#include <scsi/sg.h>
20750#endif
20751
20752int
20753main ()
20754{
20755static sg_io_hdr_t ac_aggr;
20756if (ac_aggr.interface_id)
20757return 0;
20758 ;
20759 return 0;
20760}
20761_ACEOF
20762rm -f conftest.$ac_objext
0ebeb530
JW
20763if { (ac_try="$ac_compile"
20764case "(($ac_try" in
20765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20766 *) ac_try_echo=$ac_try;;
20767esac
20768eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20769 (eval "$ac_compile") 2>conftest.er1
ea64a36a
DT
20770 ac_status=$?
20771 grep -v '^ *+' conftest.er1 >conftest.err
20772 rm -f conftest.er1
20773 cat conftest.err >&5
20774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
20775 (exit $ac_status); } && {
20776 test -z "$ac_c_werror_flag" ||
20777 test ! -s conftest.err
20778 } && test -s conftest.$ac_objext; then
ea64a36a
DT
20779 ac_cv_member_sg_io_hdr_t_interface_id=yes
20780else
20781 echo "$as_me: failed program was:" >&5
20782sed 's/^/| /' conftest.$ac_ext >&5
20783
fc6ffb29 20784 cat >conftest.$ac_ext <<_ACEOF
ea64a36a
DT
20785/* confdefs.h. */
20786_ACEOF
20787cat confdefs.h >>conftest.$ac_ext
20788cat >>conftest.$ac_ext <<_ACEOF
20789/* end confdefs.h. */
20790#include <sys/types.h>
20791#ifdef HAVE_SCSI_SG_H
20792#include <scsi/sg.h>
20793#endif
20794
20795int
20796main ()
20797{
20798static sg_io_hdr_t ac_aggr;
20799if (sizeof ac_aggr.interface_id)
20800return 0;
20801 ;
20802 return 0;
20803}
20804_ACEOF
20805rm -f conftest.$ac_objext
0ebeb530
JW
20806if { (ac_try="$ac_compile"
20807case "(($ac_try" in
20808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20809 *) ac_try_echo=$ac_try;;
20810esac
20811eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20812 (eval "$ac_compile") 2>conftest.er1
ea64a36a
DT
20813 ac_status=$?
20814 grep -v '^ *+' conftest.er1 >conftest.err
20815 rm -f conftest.er1
20816 cat conftest.err >&5
20817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
20818 (exit $ac_status); } && {
20819 test -z "$ac_c_werror_flag" ||
20820 test ! -s conftest.err
20821 } && test -s conftest.$ac_objext; then
ea64a36a
DT
20822 ac_cv_member_sg_io_hdr_t_interface_id=yes
20823else
20824 echo "$as_me: failed program was:" >&5
20825sed 's/^/| /' conftest.$ac_ext >&5
20826
fc6ffb29 20827 ac_cv_member_sg_io_hdr_t_interface_id=no
ea64a36a 20828fi
fc6ffb29 20829
0ebeb530 20830rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
ea64a36a 20831fi
fc6ffb29 20832
0ebeb530 20833rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
ea64a36a 20834fi
fc6ffb29
AJ
20835{ echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
20836echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
ea64a36a
DT
20837if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
20838
20839cat >>confdefs.h <<_ACEOF
20840#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
20841_ACEOF
20842
20843
20844fi
20845
20846
fc6ffb29
AJ
20847{ echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
20848echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
5537dbbf
AJ
20849if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
20850 echo $ECHO_N "(cached) $ECHO_C" >&6
20851else
20852 cat >conftest.$ac_ext <<_ACEOF
5537dbbf
AJ
20853/* confdefs.h. */
20854_ACEOF
20855cat confdefs.h >>conftest.$ac_ext
20856cat >>conftest.$ac_ext <<_ACEOF
20857/* end confdefs.h. */
20858#include <signal.h>
20859
20860int
20861main ()
20862{
20863static siginfo_t ac_aggr;
20864if (ac_aggr.si_fd)
20865return 0;
20866 ;
20867 return 0;
20868}
20869_ACEOF
20870rm -f conftest.$ac_objext
0ebeb530
JW
20871if { (ac_try="$ac_compile"
20872case "(($ac_try" in
20873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20874 *) ac_try_echo=$ac_try;;
20875esac
20876eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20877 (eval "$ac_compile") 2>conftest.er1
5537dbbf 20878 ac_status=$?
875927f6
AJ
20879 grep -v '^ *+' conftest.er1 >conftest.err
20880 rm -f conftest.er1
20881 cat conftest.err >&5
5537dbbf 20882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
20883 (exit $ac_status); } && {
20884 test -z "$ac_c_werror_flag" ||
20885 test ! -s conftest.err
20886 } && test -s conftest.$ac_objext; then
5537dbbf
AJ
20887 ac_cv_member_siginfo_t_si_fd=yes
20888else
20889 echo "$as_me: failed program was:" >&5
20890sed 's/^/| /' conftest.$ac_ext >&5
20891
fc6ffb29 20892 cat >conftest.$ac_ext <<_ACEOF
5537dbbf 20893/* confdefs.h. */
daa2886c 20894_ACEOF
5537dbbf
AJ
20895cat confdefs.h >>conftest.$ac_ext
20896cat >>conftest.$ac_ext <<_ACEOF
20897/* end confdefs.h. */
20898#include <signal.h>
2d33ab91 20899
5537dbbf
AJ
20900int
20901main ()
20902{
20903static siginfo_t ac_aggr;
20904if (sizeof ac_aggr.si_fd)
20905return 0;
20906 ;
20907 return 0;
20908}
20909_ACEOF
20910rm -f conftest.$ac_objext
0ebeb530
JW
20911if { (ac_try="$ac_compile"
20912case "(($ac_try" in
20913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20914 *) ac_try_echo=$ac_try;;
20915esac
20916eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20917 (eval "$ac_compile") 2>conftest.er1
5537dbbf 20918 ac_status=$?
875927f6
AJ
20919 grep -v '^ *+' conftest.er1 >conftest.err
20920 rm -f conftest.er1
20921 cat conftest.err >&5
5537dbbf 20922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
20923 (exit $ac_status); } && {
20924 test -z "$ac_c_werror_flag" ||
20925 test ! -s conftest.err
20926 } && test -s conftest.$ac_objext; then
5537dbbf
AJ
20927 ac_cv_member_siginfo_t_si_fd=yes
20928else
20929 echo "$as_me: failed program was:" >&5
20930sed 's/^/| /' conftest.$ac_ext >&5
20931
fc6ffb29 20932 ac_cv_member_siginfo_t_si_fd=no
5537dbbf 20933fi
fc6ffb29 20934
0ebeb530 20935rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5537dbbf 20936fi
fc6ffb29 20937
0ebeb530 20938rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2d33ab91 20939fi
fc6ffb29
AJ
20940{ echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20941echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
5537dbbf 20942if test $ac_cv_member_siginfo_t_si_fd = yes; then
2d33ab91 20943
5537dbbf
AJ
20944cat >>confdefs.h <<_ACEOF
20945#define HAVE_SIGINFO_T_SI_FD 1
20946_ACEOF
20947
20948
20949fi
daa2886c
AJ
20950
20951
fc6ffb29
AJ
20952{ echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20953echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
36bdc64e
GP
20954if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20955 echo $ECHO_N "(cached) $ECHO_C" >&6
20956else
20957 cat >conftest.$ac_ext <<_ACEOF
20958/* confdefs.h. */
20959_ACEOF
20960cat confdefs.h >>conftest.$ac_ext
20961cat >>conftest.$ac_ext <<_ACEOF
20962/* end confdefs.h. */
368dab37 20963#include <sys/types.h>
36bdc64e
GP
20964#ifdef HAVE_SYS_MTIO_H
20965#include <sys/mtio.h>
20966#endif
20967
20968int
20969main ()
20970{
20971static struct mtget ac_aggr;
20972if (ac_aggr.mt_blksiz)
20973return 0;
20974 ;
20975 return 0;
20976}
20977_ACEOF
20978rm -f conftest.$ac_objext
0ebeb530
JW
20979if { (ac_try="$ac_compile"
20980case "(($ac_try" in
20981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20982 *) ac_try_echo=$ac_try;;
20983esac
20984eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20985 (eval "$ac_compile") 2>conftest.er1
36bdc64e
GP
20986 ac_status=$?
20987 grep -v '^ *+' conftest.er1 >conftest.err
20988 rm -f conftest.er1
20989 cat conftest.err >&5
20990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
20991 (exit $ac_status); } && {
20992 test -z "$ac_c_werror_flag" ||
20993 test ! -s conftest.err
20994 } && test -s conftest.$ac_objext; then
36bdc64e
GP
20995 ac_cv_member_struct_mtget_mt_blksiz=yes
20996else
20997 echo "$as_me: failed program was:" >&5
20998sed 's/^/| /' conftest.$ac_ext >&5
20999
fc6ffb29 21000 cat >conftest.$ac_ext <<_ACEOF
36bdc64e
GP
21001/* confdefs.h. */
21002_ACEOF
21003cat confdefs.h >>conftest.$ac_ext
21004cat >>conftest.$ac_ext <<_ACEOF
21005/* end confdefs.h. */
368dab37 21006#include <sys/types.h>
36bdc64e
GP
21007#ifdef HAVE_SYS_MTIO_H
21008#include <sys/mtio.h>
21009#endif
21010
21011int
21012main ()
21013{
21014static struct mtget ac_aggr;
21015if (sizeof ac_aggr.mt_blksiz)
21016return 0;
21017 ;
21018 return 0;
21019}
21020_ACEOF
21021rm -f conftest.$ac_objext
0ebeb530 21022if { (ac_try="$ac_compile"
dc9f3843 21023case "(($ac_try" in
0ebeb530
JW
21024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21025 *) ac_try_echo=$ac_try;;
21026esac
21027eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
dc9f3843 21028 (eval "$ac_compile") 2>conftest.er1
36bdc64e 21029 ac_status=$?
dc9f3843
AJ
21030 grep -v '^ *+' conftest.er1 >conftest.err
21031 rm -f conftest.er1
21032 cat conftest.err >&5
36bdc64e 21033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
21034 (exit $ac_status); } && {
21035 test -z "$ac_c_werror_flag" ||
21036 test ! -s conftest.err
21037 } && test -s conftest.$ac_objext; then
36bdc64e
GP
21038 ac_cv_member_struct_mtget_mt_blksiz=yes
21039else
21040 echo "$as_me: failed program was:" >&5
21041sed 's/^/| /' conftest.$ac_ext >&5
21042
fc6ffb29 21043 ac_cv_member_struct_mtget_mt_blksiz=no
36bdc64e 21044fi
fc6ffb29 21045
0ebeb530 21046rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36bdc64e 21047fi
fc6ffb29 21048
0ebeb530 21049rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36bdc64e 21050fi
fc6ffb29
AJ
21051{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
21052echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
36bdc64e
GP
21053if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
21054
21055cat >>confdefs.h <<_ACEOF
21056#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
21057_ACEOF
21058
21059
21060fi
fc6ffb29
AJ
21061{ echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
21062echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
36bdc64e
GP
21063if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
21064 echo $ECHO_N "(cached) $ECHO_C" >&6
21065else
21066 cat >conftest.$ac_ext <<_ACEOF
21067/* confdefs.h. */
21068_ACEOF
21069cat confdefs.h >>conftest.$ac_ext
21070cat >>conftest.$ac_ext <<_ACEOF
21071/* end confdefs.h. */
368dab37 21072#include <sys/types.h>
36bdc64e
GP
21073#ifdef HAVE_SYS_MTIO_H
21074#include <sys/mtio.h>
21075#endif
21076
21077int
21078main ()
21079{
21080static struct mtget ac_aggr;
21081if (ac_aggr.mt_gstat)
21082return 0;
21083 ;
21084 return 0;
21085}
21086_ACEOF
21087rm -f conftest.$ac_objext
0ebeb530
JW
21088if { (ac_try="$ac_compile"
21089case "(($ac_try" in
21090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21091 *) ac_try_echo=$ac_try;;
21092esac
21093eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21094 (eval "$ac_compile") 2>conftest.er1
36bdc64e
GP
21095 ac_status=$?
21096 grep -v '^ *+' conftest.er1 >conftest.err
21097 rm -f conftest.er1
21098 cat conftest.err >&5
21099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
21100 (exit $ac_status); } && {
21101 test -z "$ac_c_werror_flag" ||
21102 test ! -s conftest.err
21103 } && test -s conftest.$ac_objext; then
36bdc64e
GP
21104 ac_cv_member_struct_mtget_mt_gstat=yes
21105else
21106 echo "$as_me: failed program was:" >&5
21107sed 's/^/| /' conftest.$ac_ext >&5
21108
fc6ffb29 21109 cat >conftest.$ac_ext <<_ACEOF
36bdc64e
GP
21110/* confdefs.h. */
21111_ACEOF
21112cat confdefs.h >>conftest.$ac_ext
21113cat >>conftest.$ac_ext <<_ACEOF
21114/* end confdefs.h. */
368dab37 21115#include <sys/types.h>
36bdc64e
GP
21116#ifdef HAVE_SYS_MTIO_H
21117#include <sys/mtio.h>
21118#endif
21119
21120int
21121main ()
21122{
21123static struct mtget ac_aggr;
21124if (sizeof ac_aggr.mt_gstat)
21125return 0;
21126 ;
21127 return 0;
21128}
21129_ACEOF
21130rm -f conftest.$ac_objext
0ebeb530
JW
21131if { (ac_try="$ac_compile"
21132case "(($ac_try" in
21133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21134 *) ac_try_echo=$ac_try;;
21135esac
21136eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21137 (eval "$ac_compile") 2>conftest.er1
36bdc64e
GP
21138 ac_status=$?
21139 grep -v '^ *+' conftest.er1 >conftest.err
21140 rm -f conftest.er1
21141 cat conftest.err >&5
21142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
21143 (exit $ac_status); } && {
21144 test -z "$ac_c_werror_flag" ||
21145 test ! -s conftest.err
21146 } && test -s conftest.$ac_objext; then
36bdc64e
GP
21147 ac_cv_member_struct_mtget_mt_gstat=yes
21148else
21149 echo "$as_me: failed program was:" >&5
21150sed 's/^/| /' conftest.$ac_ext >&5
21151
fc6ffb29 21152 ac_cv_member_struct_mtget_mt_gstat=no
36bdc64e 21153fi
fc6ffb29 21154
0ebeb530 21155rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36bdc64e 21156fi
fc6ffb29 21157
0ebeb530 21158rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36bdc64e 21159fi
fc6ffb29
AJ
21160{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
21161echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
36bdc64e
GP
21162if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
21163
21164cat >>confdefs.h <<_ACEOF
21165#define HAVE_STRUCT_MTGET_MT_GSTAT 1
21166_ACEOF
21167
21168
571d9fb0 21169fi
fc6ffb29
AJ
21170{ echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
21171echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
571d9fb0
GP
21172if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
21173 echo $ECHO_N "(cached) $ECHO_C" >&6
21174else
21175 cat >conftest.$ac_ext <<_ACEOF
21176/* confdefs.h. */
21177_ACEOF
21178cat confdefs.h >>conftest.$ac_ext
21179cat >>conftest.$ac_ext <<_ACEOF
21180/* end confdefs.h. */
368dab37 21181#include <sys/types.h>
571d9fb0
GP
21182#ifdef HAVE_SYS_MTIO_H
21183#include <sys/mtio.h>
21184#endif
21185
21186int
21187main ()
21188{
21189static struct mtget ac_aggr;
21190if (ac_aggr.mt_blkno)
21191return 0;
21192 ;
21193 return 0;
21194}
21195_ACEOF
21196rm -f conftest.$ac_objext
0ebeb530
JW
21197if { (ac_try="$ac_compile"
21198case "(($ac_try" in
21199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21200 *) ac_try_echo=$ac_try;;
21201esac
21202eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21203 (eval "$ac_compile") 2>conftest.er1
571d9fb0
GP
21204 ac_status=$?
21205 grep -v '^ *+' conftest.er1 >conftest.err
21206 rm -f conftest.er1
21207 cat conftest.err >&5
21208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
21209 (exit $ac_status); } && {
21210 test -z "$ac_c_werror_flag" ||
21211 test ! -s conftest.err
21212 } && test -s conftest.$ac_objext; then
571d9fb0
GP
21213 ac_cv_member_struct_mtget_mt_blkno=yes
21214else
21215 echo "$as_me: failed program was:" >&5
21216sed 's/^/| /' conftest.$ac_ext >&5
21217
fc6ffb29 21218 cat >conftest.$ac_ext <<_ACEOF
571d9fb0
GP
21219/* confdefs.h. */
21220_ACEOF
21221cat confdefs.h >>conftest.$ac_ext
21222cat >>conftest.$ac_ext <<_ACEOF
21223/* end confdefs.h. */
368dab37 21224#include <sys/types.h>
571d9fb0
GP
21225#ifdef HAVE_SYS_MTIO_H
21226#include <sys/mtio.h>
21227#endif
21228
21229int
21230main ()
21231{
21232static struct mtget ac_aggr;
21233if (sizeof ac_aggr.mt_blkno)
21234return 0;
21235 ;
21236 return 0;
21237}
21238_ACEOF
21239rm -f conftest.$ac_objext
0ebeb530
JW
21240if { (ac_try="$ac_compile"
21241case "(($ac_try" in
21242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21243 *) ac_try_echo=$ac_try;;
21244esac
21245eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21246 (eval "$ac_compile") 2>conftest.er1
571d9fb0
GP
21247 ac_status=$?
21248 grep -v '^ *+' conftest.er1 >conftest.err
21249 rm -f conftest.er1
21250 cat conftest.err >&5
21251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
21252 (exit $ac_status); } && {
21253 test -z "$ac_c_werror_flag" ||
21254 test ! -s conftest.err
21255 } && test -s conftest.$ac_objext; then
571d9fb0
GP
21256 ac_cv_member_struct_mtget_mt_blkno=yes
21257else
21258 echo "$as_me: failed program was:" >&5
21259sed 's/^/| /' conftest.$ac_ext >&5
21260
fc6ffb29 21261 ac_cv_member_struct_mtget_mt_blkno=no
571d9fb0 21262fi
fc6ffb29 21263
0ebeb530 21264rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
571d9fb0 21265fi
fc6ffb29 21266
0ebeb530 21267rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
571d9fb0 21268fi
fc6ffb29
AJ
21269{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
21270echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
571d9fb0
GP
21271if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
21272
21273cat >>confdefs.h <<_ACEOF
21274#define HAVE_STRUCT_MTGET_MT_BLKNO 1
21275_ACEOF
21276
21277
36bdc64e
GP
21278fi
21279
21280
fc6ffb29
AJ
21281{ echo "$as_me:$LINENO: checking for struct option.name" >&5
21282echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
db89a54b
AJ
21283if test "${ac_cv_member_struct_option_name+set}" = set; then
21284 echo $ECHO_N "(cached) $ECHO_C" >&6
21285else
21286 cat >conftest.$ac_ext <<_ACEOF
db89a54b
AJ
21287/* confdefs.h. */
21288_ACEOF
21289cat confdefs.h >>conftest.$ac_ext
21290cat >>conftest.$ac_ext <<_ACEOF
21291/* end confdefs.h. */
21292#ifdef HAVE_GETOPT_H
21293#include <getopt.h>
21294#endif
21295
21296int
21297main ()
21298{
21299static struct option ac_aggr;
21300if (ac_aggr.name)
21301return 0;
21302 ;
21303 return 0;
21304}
21305_ACEOF
21306rm -f conftest.$ac_objext
0ebeb530
JW
21307if { (ac_try="$ac_compile"
21308case "(($ac_try" in
21309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21310 *) ac_try_echo=$ac_try;;
21311esac
21312eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21313 (eval "$ac_compile") 2>conftest.er1
db89a54b 21314 ac_status=$?
875927f6
AJ
21315 grep -v '^ *+' conftest.er1 >conftest.err
21316 rm -f conftest.er1
21317 cat conftest.err >&5
db89a54b 21318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
21319 (exit $ac_status); } && {
21320 test -z "$ac_c_werror_flag" ||
21321 test ! -s conftest.err
21322 } && test -s conftest.$ac_objext; then
db89a54b
AJ
21323 ac_cv_member_struct_option_name=yes
21324else
21325 echo "$as_me: failed program was:" >&5
21326sed 's/^/| /' conftest.$ac_ext >&5
21327
fc6ffb29 21328 cat >conftest.$ac_ext <<_ACEOF
db89a54b
AJ
21329/* confdefs.h. */
21330_ACEOF
21331cat confdefs.h >>conftest.$ac_ext
21332cat >>conftest.$ac_ext <<_ACEOF
21333/* end confdefs.h. */
21334#ifdef HAVE_GETOPT_H
21335#include <getopt.h>
21336#endif
21337
21338int
21339main ()
21340{
21341static struct option ac_aggr;
21342if (sizeof ac_aggr.name)
21343return 0;
21344 ;
21345 return 0;
21346}
21347_ACEOF
21348rm -f conftest.$ac_objext
0ebeb530
JW
21349if { (ac_try="$ac_compile"
21350case "(($ac_try" in
21351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21352 *) ac_try_echo=$ac_try;;
21353esac
21354eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21355 (eval "$ac_compile") 2>conftest.er1
db89a54b 21356 ac_status=$?
875927f6
AJ
21357 grep -v '^ *+' conftest.er1 >conftest.err
21358 rm -f conftest.er1
21359 cat conftest.err >&5
db89a54b 21360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
21361 (exit $ac_status); } && {
21362 test -z "$ac_c_werror_flag" ||
21363 test ! -s conftest.err
21364 } && test -s conftest.$ac_objext; then
db89a54b
AJ
21365 ac_cv_member_struct_option_name=yes
21366else
21367 echo "$as_me: failed program was:" >&5
21368sed 's/^/| /' conftest.$ac_ext >&5
21369
fc6ffb29 21370 ac_cv_member_struct_option_name=no
db89a54b 21371fi
fc6ffb29 21372
0ebeb530 21373rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
db89a54b 21374fi
fc6ffb29 21375
0ebeb530 21376rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
db89a54b 21377fi
fc6ffb29
AJ
21378{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
21379echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
db89a54b
AJ
21380if test $ac_cv_member_struct_option_name = yes; then
21381
21382cat >>confdefs.h <<_ACEOF
21383#define HAVE_STRUCT_OPTION_NAME 1
21384_ACEOF
21385
21386
21387fi
21388
21389
fc6ffb29
AJ
21390{ echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
21391echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
d6507196
PR
21392if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
21393 echo $ECHO_N "(cached) $ECHO_C" >&6
21394else
21395 cat >conftest.$ac_ext <<_ACEOF
d6507196
PR
21396/* confdefs.h. */
21397_ACEOF
21398cat confdefs.h >>conftest.$ac_ext
21399cat >>conftest.$ac_ext <<_ACEOF
21400/* end confdefs.h. */
21401$ac_includes_default
21402int
21403main ()
21404{
21405static struct stat ac_aggr;
21406if (ac_aggr.st_blocks)
21407return 0;
21408 ;
21409 return 0;
21410}
21411_ACEOF
21412rm -f conftest.$ac_objext
0ebeb530
JW
21413if { (ac_try="$ac_compile"
21414case "(($ac_try" in
21415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21416 *) ac_try_echo=$ac_try;;
21417esac
21418eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21419 (eval "$ac_compile") 2>conftest.er1
d6507196 21420 ac_status=$?
875927f6
AJ
21421 grep -v '^ *+' conftest.er1 >conftest.err
21422 rm -f conftest.er1
21423 cat conftest.err >&5
d6507196 21424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
21425 (exit $ac_status); } && {
21426 test -z "$ac_c_werror_flag" ||
21427 test ! -s conftest.err
21428 } && test -s conftest.$ac_objext; then
d6507196
PR
21429 ac_cv_member_struct_stat_st_blocks=yes
21430else
21431 echo "$as_me: failed program was:" >&5
21432sed 's/^/| /' conftest.$ac_ext >&5
21433
fc6ffb29 21434 cat >conftest.$ac_ext <<_ACEOF
d6507196
PR
21435/* confdefs.h. */
21436_ACEOF
21437cat confdefs.h >>conftest.$ac_ext
21438cat >>conftest.$ac_ext <<_ACEOF
21439/* end confdefs.h. */
21440$ac_includes_default
21441int
21442main ()
21443{
21444static struct stat ac_aggr;
21445if (sizeof ac_aggr.st_blocks)
21446return 0;
21447 ;
21448 return 0;
21449}
21450_ACEOF
21451rm -f conftest.$ac_objext
0ebeb530
JW
21452if { (ac_try="$ac_compile"
21453case "(($ac_try" in
21454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21455 *) ac_try_echo=$ac_try;;
21456esac
21457eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21458 (eval "$ac_compile") 2>conftest.er1
d6507196 21459 ac_status=$?
875927f6
AJ
21460 grep -v '^ *+' conftest.er1 >conftest.err
21461 rm -f conftest.er1
21462 cat conftest.err >&5
d6507196 21463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
21464 (exit $ac_status); } && {
21465 test -z "$ac_c_werror_flag" ||
21466 test ! -s conftest.err
21467 } && test -s conftest.$ac_objext; then
d6507196
PR
21468 ac_cv_member_struct_stat_st_blocks=yes
21469else
21470 echo "$as_me: failed program was:" >&5
21471sed 's/^/| /' conftest.$ac_ext >&5
21472
fc6ffb29 21473 ac_cv_member_struct_stat_st_blocks=no
d6507196 21474fi
fc6ffb29 21475
0ebeb530 21476rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d6507196 21477fi
fc6ffb29 21478
0ebeb530 21479rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d6507196 21480fi
fc6ffb29
AJ
21481{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
21482echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
d6507196
PR
21483if test $ac_cv_member_struct_stat_st_blocks = yes; then
21484
21485cat >>confdefs.h <<_ACEOF
21486#define HAVE_STRUCT_STAT_ST_BLOCKS 1
21487_ACEOF
21488
21489
af2d274f
MK
21490fi
21491{ echo "$as_me:$LINENO: checking for struct stat.st_mtim" >&5
21492echo $ECHO_N "checking for struct stat.st_mtim... $ECHO_C" >&6; }
21493if test "${ac_cv_member_struct_stat_st_mtim+set}" = set; then
21494 echo $ECHO_N "(cached) $ECHO_C" >&6
21495else
21496 cat >conftest.$ac_ext <<_ACEOF
21497/* confdefs.h. */
21498_ACEOF
21499cat confdefs.h >>conftest.$ac_ext
21500cat >>conftest.$ac_ext <<_ACEOF
21501/* end confdefs.h. */
21502$ac_includes_default
21503int
21504main ()
21505{
21506static struct stat ac_aggr;
21507if (ac_aggr.st_mtim)
21508return 0;
21509 ;
21510 return 0;
21511}
21512_ACEOF
21513rm -f conftest.$ac_objext
21514if { (ac_try="$ac_compile"
21515case "(($ac_try" in
21516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21517 *) ac_try_echo=$ac_try;;
21518esac
21519eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21520 (eval "$ac_compile") 2>conftest.er1
21521 ac_status=$?
21522 grep -v '^ *+' conftest.er1 >conftest.err
21523 rm -f conftest.er1
21524 cat conftest.err >&5
21525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21526 (exit $ac_status); } && {
21527 test -z "$ac_c_werror_flag" ||
21528 test ! -s conftest.err
21529 } && test -s conftest.$ac_objext; then
21530 ac_cv_member_struct_stat_st_mtim=yes
21531else
21532 echo "$as_me: failed program was:" >&5
21533sed 's/^/| /' conftest.$ac_ext >&5
21534
21535 cat >conftest.$ac_ext <<_ACEOF
21536/* confdefs.h. */
21537_ACEOF
21538cat confdefs.h >>conftest.$ac_ext
21539cat >>conftest.$ac_ext <<_ACEOF
21540/* end confdefs.h. */
21541$ac_includes_default
21542int
21543main ()
21544{
21545static struct stat ac_aggr;
21546if (sizeof ac_aggr.st_mtim)
21547return 0;
21548 ;
21549 return 0;
21550}
21551_ACEOF
21552rm -f conftest.$ac_objext
21553if { (ac_try="$ac_compile"
21554case "(($ac_try" in
21555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21556 *) ac_try_echo=$ac_try;;
21557esac
21558eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21559 (eval "$ac_compile") 2>conftest.er1
21560 ac_status=$?
21561 grep -v '^ *+' conftest.er1 >conftest.err
21562 rm -f conftest.er1
21563 cat conftest.err >&5
21564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21565 (exit $ac_status); } && {
21566 test -z "$ac_c_werror_flag" ||
21567 test ! -s conftest.err
21568 } && test -s conftest.$ac_objext; then
21569 ac_cv_member_struct_stat_st_mtim=yes
21570else
21571 echo "$as_me: failed program was:" >&5
21572sed 's/^/| /' conftest.$ac_ext >&5
21573
21574 ac_cv_member_struct_stat_st_mtim=no
21575fi
21576
21577rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21578fi
21579
21580rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21581fi
21582{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_mtim" >&5
21583echo "${ECHO_T}$ac_cv_member_struct_stat_st_mtim" >&6; }
21584if test $ac_cv_member_struct_stat_st_mtim = yes; then
21585
21586cat >>confdefs.h <<_ACEOF
21587#define HAVE_STRUCT_STAT_ST_MTIM 1
21588_ACEOF
21589
21590
21591fi
21592{ echo "$as_me:$LINENO: checking for struct stat.st_ctim" >&5
21593echo $ECHO_N "checking for struct stat.st_ctim... $ECHO_C" >&6; }
21594if test "${ac_cv_member_struct_stat_st_ctim+set}" = set; then
21595 echo $ECHO_N "(cached) $ECHO_C" >&6
21596else
21597 cat >conftest.$ac_ext <<_ACEOF
21598/* confdefs.h. */
21599_ACEOF
21600cat confdefs.h >>conftest.$ac_ext
21601cat >>conftest.$ac_ext <<_ACEOF
21602/* end confdefs.h. */
21603$ac_includes_default
21604int
21605main ()
21606{
21607static struct stat ac_aggr;
21608if (ac_aggr.st_ctim)
21609return 0;
21610 ;
21611 return 0;
21612}
21613_ACEOF
21614rm -f conftest.$ac_objext
21615if { (ac_try="$ac_compile"
21616case "(($ac_try" in
21617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21618 *) ac_try_echo=$ac_try;;
21619esac
21620eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21621 (eval "$ac_compile") 2>conftest.er1
21622 ac_status=$?
21623 grep -v '^ *+' conftest.er1 >conftest.err
21624 rm -f conftest.er1
21625 cat conftest.err >&5
21626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21627 (exit $ac_status); } && {
21628 test -z "$ac_c_werror_flag" ||
21629 test ! -s conftest.err
21630 } && test -s conftest.$ac_objext; then
21631 ac_cv_member_struct_stat_st_ctim=yes
21632else
21633 echo "$as_me: failed program was:" >&5
21634sed 's/^/| /' conftest.$ac_ext >&5
21635
21636 cat >conftest.$ac_ext <<_ACEOF
21637/* confdefs.h. */
21638_ACEOF
21639cat confdefs.h >>conftest.$ac_ext
21640cat >>conftest.$ac_ext <<_ACEOF
21641/* end confdefs.h. */
21642$ac_includes_default
21643int
21644main ()
21645{
21646static struct stat ac_aggr;
21647if (sizeof ac_aggr.st_ctim)
21648return 0;
21649 ;
21650 return 0;
21651}
21652_ACEOF
21653rm -f conftest.$ac_objext
21654if { (ac_try="$ac_compile"
21655case "(($ac_try" in
21656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21657 *) ac_try_echo=$ac_try;;
21658esac
21659eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21660 (eval "$ac_compile") 2>conftest.er1
21661 ac_status=$?
21662 grep -v '^ *+' conftest.er1 >conftest.err
21663 rm -f conftest.er1
21664 cat conftest.err >&5
21665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21666 (exit $ac_status); } && {
21667 test -z "$ac_c_werror_flag" ||
21668 test ! -s conftest.err
21669 } && test -s conftest.$ac_objext; then
21670 ac_cv_member_struct_stat_st_ctim=yes
21671else
21672 echo "$as_me: failed program was:" >&5
21673sed 's/^/| /' conftest.$ac_ext >&5
21674
21675 ac_cv_member_struct_stat_st_ctim=no
21676fi
21677
21678rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21679fi
21680
21681rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21682fi
21683{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_ctim" >&5
21684echo "${ECHO_T}$ac_cv_member_struct_stat_st_ctim" >&6; }
21685if test $ac_cv_member_struct_stat_st_ctim = yes; then
21686
21687cat >>confdefs.h <<_ACEOF
21688#define HAVE_STRUCT_STAT_ST_CTIM 1
21689_ACEOF
21690
21691
21692fi
21693{ echo "$as_me:$LINENO: checking for struct stat.st_atim" >&5
21694echo $ECHO_N "checking for struct stat.st_atim... $ECHO_C" >&6; }
21695if test "${ac_cv_member_struct_stat_st_atim+set}" = set; then
21696 echo $ECHO_N "(cached) $ECHO_C" >&6
21697else
21698 cat >conftest.$ac_ext <<_ACEOF
21699/* confdefs.h. */
21700_ACEOF
21701cat confdefs.h >>conftest.$ac_ext
21702cat >>conftest.$ac_ext <<_ACEOF
21703/* end confdefs.h. */
21704$ac_includes_default
21705int
21706main ()
21707{
21708static struct stat ac_aggr;
21709if (ac_aggr.st_atim)
21710return 0;
21711 ;
21712 return 0;
21713}
21714_ACEOF
21715rm -f conftest.$ac_objext
21716if { (ac_try="$ac_compile"
21717case "(($ac_try" in
21718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21719 *) ac_try_echo=$ac_try;;
21720esac
21721eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21722 (eval "$ac_compile") 2>conftest.er1
21723 ac_status=$?
21724 grep -v '^ *+' conftest.er1 >conftest.err
21725 rm -f conftest.er1
21726 cat conftest.err >&5
21727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21728 (exit $ac_status); } && {
21729 test -z "$ac_c_werror_flag" ||
21730 test ! -s conftest.err
21731 } && test -s conftest.$ac_objext; then
21732 ac_cv_member_struct_stat_st_atim=yes
21733else
21734 echo "$as_me: failed program was:" >&5
21735sed 's/^/| /' conftest.$ac_ext >&5
21736
21737 cat >conftest.$ac_ext <<_ACEOF
21738/* confdefs.h. */
21739_ACEOF
21740cat confdefs.h >>conftest.$ac_ext
21741cat >>conftest.$ac_ext <<_ACEOF
21742/* end confdefs.h. */
21743$ac_includes_default
21744int
21745main ()
21746{
21747static struct stat ac_aggr;
21748if (sizeof ac_aggr.st_atim)
21749return 0;
21750 ;
21751 return 0;
21752}
21753_ACEOF
21754rm -f conftest.$ac_objext
21755if { (ac_try="$ac_compile"
21756case "(($ac_try" in
21757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21758 *) ac_try_echo=$ac_try;;
21759esac
21760eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21761 (eval "$ac_compile") 2>conftest.er1
21762 ac_status=$?
21763 grep -v '^ *+' conftest.er1 >conftest.err
21764 rm -f conftest.er1
21765 cat conftest.err >&5
21766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21767 (exit $ac_status); } && {
21768 test -z "$ac_c_werror_flag" ||
21769 test ! -s conftest.err
21770 } && test -s conftest.$ac_objext; then
21771 ac_cv_member_struct_stat_st_atim=yes
21772else
21773 echo "$as_me: failed program was:" >&5
21774sed 's/^/| /' conftest.$ac_ext >&5
21775
21776 ac_cv_member_struct_stat_st_atim=no
21777fi
21778
21779rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21780fi
21781
21782rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21783fi
21784{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_atim" >&5
21785echo "${ECHO_T}$ac_cv_member_struct_stat_st_atim" >&6; }
21786if test $ac_cv_member_struct_stat_st_atim = yes; then
21787
21788cat >>confdefs.h <<_ACEOF
21789#define HAVE_STRUCT_STAT_ST_ATIM 1
21790_ACEOF
21791
21792
d6507196
PR
21793fi
21794
21795
fc6ffb29
AJ
21796{ echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
21797echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
40a6a74a
VL
21798if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
21799 echo $ECHO_N "(cached) $ECHO_C" >&6
21800else
21801 cat >conftest.$ac_ext <<_ACEOF
21802/* confdefs.h. */
21803_ACEOF
21804cat confdefs.h >>conftest.$ac_ext
21805cat >>conftest.$ac_ext <<_ACEOF
21806/* end confdefs.h. */
21807#ifdef HAVE_SYS_TYPES_H
21808#include <sys/types.h>
21809#endif
21810#ifdef HAVE_NETINET_IN_H
21811#include <netinet/in.h>
21812#endif
21813
21814int
21815main ()
21816{
21817static struct sockaddr_in6 ac_aggr;
21818if (ac_aggr.sin6_scope_id)
21819return 0;
21820 ;
21821 return 0;
21822}
21823_ACEOF
21824rm -f conftest.$ac_objext
0ebeb530
JW
21825if { (ac_try="$ac_compile"
21826case "(($ac_try" in
21827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21828 *) ac_try_echo=$ac_try;;
21829esac
21830eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21831 (eval "$ac_compile") 2>conftest.er1
40a6a74a
VL
21832 ac_status=$?
21833 grep -v '^ *+' conftest.er1 >conftest.err
21834 rm -f conftest.er1
21835 cat conftest.err >&5
21836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
21837 (exit $ac_status); } && {
21838 test -z "$ac_c_werror_flag" ||
21839 test ! -s conftest.err
21840 } && test -s conftest.$ac_objext; then
40a6a74a
VL
21841 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
21842else
21843 echo "$as_me: failed program was:" >&5
21844sed 's/^/| /' conftest.$ac_ext >&5
21845
fc6ffb29 21846 cat >conftest.$ac_ext <<_ACEOF
40a6a74a
VL
21847/* confdefs.h. */
21848_ACEOF
21849cat confdefs.h >>conftest.$ac_ext
21850cat >>conftest.$ac_ext <<_ACEOF
21851/* end confdefs.h. */
21852#ifdef HAVE_SYS_TYPES_H
21853#include <sys/types.h>
21854#endif
21855#ifdef HAVE_NETINET_IN_H
21856#include <netinet/in.h>
21857#endif
21858
21859int
21860main ()
21861{
21862static struct sockaddr_in6 ac_aggr;
21863if (sizeof ac_aggr.sin6_scope_id)
21864return 0;
21865 ;
21866 return 0;
21867}
21868_ACEOF
21869rm -f conftest.$ac_objext
0ebeb530
JW
21870if { (ac_try="$ac_compile"
21871case "(($ac_try" in
21872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21873 *) ac_try_echo=$ac_try;;
21874esac
21875eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21876 (eval "$ac_compile") 2>conftest.er1
40a6a74a
VL
21877 ac_status=$?
21878 grep -v '^ *+' conftest.er1 >conftest.err
21879 rm -f conftest.er1
21880 cat conftest.err >&5
21881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
21882 (exit $ac_status); } && {
21883 test -z "$ac_c_werror_flag" ||
21884 test ! -s conftest.err
21885 } && test -s conftest.$ac_objext; then
40a6a74a
VL
21886 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
21887else
21888 echo "$as_me: failed program was:" >&5
21889sed 's/^/| /' conftest.$ac_ext >&5
21890
fc6ffb29 21891 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
40a6a74a 21892fi
fc6ffb29 21893
0ebeb530 21894rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40a6a74a 21895fi
fc6ffb29 21896
0ebeb530 21897rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40a6a74a 21898fi
fc6ffb29
AJ
21899{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
21900echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
40a6a74a
VL
21901if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
21902
21903cat >>confdefs.h <<_ACEOF
21904#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
21905_ACEOF
21906
21907
21908fi
21909
21910
788e30f1
AJ
21911{ echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
21912echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
21913if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
21914 echo $ECHO_N "(cached) $ECHO_C" >&6
21915else
21916 cat >conftest.$ac_ext <<_ACEOF
21917/* confdefs.h. */
21918_ACEOF
21919cat confdefs.h >>conftest.$ac_ext
21920cat >>conftest.$ac_ext <<_ACEOF
21921/* end confdefs.h. */
21922#ifdef HAVE_SYS_TYPES_H
21923#include <sys/types.h>
21924#endif
21925#ifdef HAVE_NETINET_IN_H
21926# include <netinet/in.h>
21927#endif
21928#ifdef HAVE_ARPA_NAMESER_H
21929# include <arpa/nameser.h>
21930#endif
21931
21932int
21933main ()
21934{
21935static ns_msg ac_aggr;
21936if (ac_aggr._msg_ptr)
21937return 0;
21938 ;
21939 return 0;
21940}
21941_ACEOF
21942rm -f conftest.$ac_objext
0ebeb530
JW
21943if { (ac_try="$ac_compile"
21944case "(($ac_try" in
21945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21946 *) ac_try_echo=$ac_try;;
21947esac
21948eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21949 (eval "$ac_compile") 2>conftest.er1
788e30f1
AJ
21950 ac_status=$?
21951 grep -v '^ *+' conftest.er1 >conftest.err
21952 rm -f conftest.er1
21953 cat conftest.err >&5
21954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
21955 (exit $ac_status); } && {
21956 test -z "$ac_c_werror_flag" ||
21957 test ! -s conftest.err
21958 } && test -s conftest.$ac_objext; then
788e30f1
AJ
21959 ac_cv_member_ns_msg__msg_ptr=yes
21960else
21961 echo "$as_me: failed program was:" >&5
21962sed 's/^/| /' conftest.$ac_ext >&5
21963
21964 cat >conftest.$ac_ext <<_ACEOF
21965/* confdefs.h. */
21966_ACEOF
21967cat confdefs.h >>conftest.$ac_ext
21968cat >>conftest.$ac_ext <<_ACEOF
21969/* end confdefs.h. */
21970#ifdef HAVE_SYS_TYPES_H
21971#include <sys/types.h>
21972#endif
21973#ifdef HAVE_NETINET_IN_H
21974# include <netinet/in.h>
21975#endif
21976#ifdef HAVE_ARPA_NAMESER_H
21977# include <arpa/nameser.h>
21978#endif
21979
21980int
21981main ()
21982{
21983static ns_msg ac_aggr;
21984if (sizeof ac_aggr._msg_ptr)
21985return 0;
21986 ;
21987 return 0;
21988}
21989_ACEOF
21990rm -f conftest.$ac_objext
0ebeb530
JW
21991if { (ac_try="$ac_compile"
21992case "(($ac_try" in
21993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21994 *) ac_try_echo=$ac_try;;
21995esac
21996eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21997 (eval "$ac_compile") 2>conftest.er1
788e30f1
AJ
21998 ac_status=$?
21999 grep -v '^ *+' conftest.er1 >conftest.err
22000 rm -f conftest.er1
22001 cat conftest.err >&5
22002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
22003 (exit $ac_status); } && {
22004 test -z "$ac_c_werror_flag" ||
22005 test ! -s conftest.err
22006 } && test -s conftest.$ac_objext; then
788e30f1
AJ
22007 ac_cv_member_ns_msg__msg_ptr=yes
22008else
22009 echo "$as_me: failed program was:" >&5
22010sed 's/^/| /' conftest.$ac_ext >&5
22011
22012 ac_cv_member_ns_msg__msg_ptr=no
22013fi
22014
0ebeb530 22015rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
788e30f1
AJ
22016fi
22017
0ebeb530 22018rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
788e30f1
AJ
22019fi
22020{ echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
22021echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
22022if test $ac_cv_member_ns_msg__msg_ptr = yes; then
22023
22024cat >>confdefs.h <<_ACEOF
22025#define HAVE_NS_MSG__MSG_PTR 1
22026_ACEOF
22027
22028
22029fi
22030
22031
fc6ffb29
AJ
22032{ echo "$as_me:$LINENO: checking for timezone variable" >&5
22033echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
6618b035
PK
22034if test "${ac_cv_have_timezone+set}" = set; then
22035 echo $ECHO_N "(cached) $ECHO_C" >&6
22036else
22037 cat >conftest.$ac_ext <<_ACEOF
22038/* confdefs.h. */
22039_ACEOF
22040cat confdefs.h >>conftest.$ac_ext
22041cat >>conftest.$ac_ext <<_ACEOF
22042/* end confdefs.h. */
22043#include <time.h>
22044int
22045main ()
22046{
ff2bd661 22047timezone = 1
6618b035
PK
22048 ;
22049 return 0;
22050}
22051_ACEOF
22052rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
22053if { (ac_try="$ac_link"
22054case "(($ac_try" in
22055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22056 *) ac_try_echo=$ac_try;;
22057esac
22058eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22059 (eval "$ac_link") 2>conftest.er1
6618b035
PK
22060 ac_status=$?
22061 grep -v '^ *+' conftest.er1 >conftest.err
22062 rm -f conftest.er1
22063 cat conftest.err >&5
22064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
22065 (exit $ac_status); } && {
22066 test -z "$ac_c_werror_flag" ||
22067 test ! -s conftest.err
22068 } && test -s conftest$ac_exeext &&
22069 $as_test_x conftest$ac_exeext; then
6618b035
PK
22070 ac_cv_have_timezone="yes"
22071else
22072 echo "$as_me: failed program was:" >&5
22073sed 's/^/| /' conftest.$ac_ext >&5
22074
fc6ffb29 22075 ac_cv_have_timezone="no"
6618b035 22076fi
fc6ffb29 22077
f0ca586f 22078rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6618b035
PK
22079 conftest$ac_exeext conftest.$ac_ext
22080fi
fc6ffb29
AJ
22081{ echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
22082echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
6618b035
PK
22083if test "$ac_cv_have_timezone" = "yes"
22084then
22085
22086cat >>confdefs.h <<\_ACEOF
22087#define HAVE_TIMEZONE 1
22088_ACEOF
22089
22090fi
fc6ffb29
AJ
22091{ echo "$as_me:$LINENO: checking for daylight variable" >&5
22092echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
6618b035
PK
22093if test "${ac_cv_have_daylight+set}" = set; then
22094 echo $ECHO_N "(cached) $ECHO_C" >&6
22095else
22096 cat >conftest.$ac_ext <<_ACEOF
22097/* confdefs.h. */
22098_ACEOF
22099cat confdefs.h >>conftest.$ac_ext
22100cat >>conftest.$ac_ext <<_ACEOF
22101/* end confdefs.h. */
22102#include <time.h>
22103int
22104main ()
22105{
ff2bd661 22106daylight = 1
6618b035
PK
22107 ;
22108 return 0;
22109}
22110_ACEOF
22111rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
22112if { (ac_try="$ac_link"
22113case "(($ac_try" in
22114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22115 *) ac_try_echo=$ac_try;;
22116esac
22117eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22118 (eval "$ac_link") 2>conftest.er1
6618b035
PK
22119 ac_status=$?
22120 grep -v '^ *+' conftest.er1 >conftest.err
22121 rm -f conftest.er1
22122 cat conftest.err >&5
22123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc9f3843
AJ
22124 (exit $ac_status); } && {
22125 test -z "$ac_c_werror_flag" ||
22126 test ! -s conftest.err
22127 } && test -s conftest$ac_exeext &&
22128 $as_test_x conftest$ac_exeext; then
6618b035
PK
22129 ac_cv_have_daylight="yes"
22130else
22131 echo "$as_me: failed program was:" >&5
22132sed 's/^/| /' conftest.$ac_ext >&5
22133
fc6ffb29 22134 ac_cv_have_daylight="no"
6618b035 22135fi
fc6ffb29 22136
f0ca586f 22137rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6618b035
PK
22138 conftest$ac_exeext conftest.$ac_ext
22139fi
fc6ffb29
AJ
22140{ echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
22141echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
6618b035
PK
22142if test "$ac_cv_have_daylight" = "yes"
22143then
22144
22145cat >>confdefs.h <<\_ACEOF
22146#define HAVE_DAYLIGHT 1
22147_ACEOF
22148
22149fi
22150
4992b659
PS
22151{ echo "$as_me:$LINENO: checking for isinf" >&5
22152echo $ECHO_N "checking for isinf... $ECHO_C" >&6; }
22153if test "${ac_cv_have_isinf+set}" = set; then
22154 echo $ECHO_N "(cached) $ECHO_C" >&6
22155else
22156 cat >conftest.$ac_ext <<_ACEOF
22157/* confdefs.h. */
22158_ACEOF
22159cat confdefs.h >>conftest.$ac_ext
22160cat >>conftest.$ac_ext <<_ACEOF
22161/* end confdefs.h. */
22162#include <math.h>
22163int
22164main ()
22165{
2fef93a8 22166float f = 0.0; int i=isinf(f)
4992b659
PS
22167 ;
22168 return 0;
22169}
22170_ACEOF
22171rm -f conftest.$ac_objext conftest$ac_exeext
22172if { (ac_try="$ac_link"
22173case "(($ac_try" in
22174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22175 *) ac_try_echo=$ac_try;;
22176esac
22177eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22178 (eval "$ac_link") 2>conftest.er1
22179 ac_status=$?
22180 grep -v '^ *+' conftest.er1 >conftest.err
22181 rm -f conftest.er1
22182 cat conftest.err >&5
22183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22184 (exit $ac_status); } && {
22185 test -z "$ac_c_werror_flag" ||
22186 test ! -s conftest.err
22187 } && test -s conftest$ac_exeext &&
22188 $as_test_x conftest$ac_exeext; then
22189 ac_cv_have_isinf="yes"
22190else
22191 echo "$as_me: failed program was:" >&5
22192sed 's/^/| /' conftest.$ac_ext >&5
22193
22194 ac_cv_have_isinf="no"
22195fi
22196
22197rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22198 conftest$ac_exeext conftest.$ac_ext
22199fi
22200{ echo "$as_me:$LINENO: result: $ac_cv_have_isinf" >&5
22201echo "${ECHO_T}$ac_cv_have_isinf" >&6; }
22202if test "$ac_cv_have_isinf" = "yes"
22203then
22204
22205cat >>confdefs.h <<\_ACEOF
22206#define HAVE_ISINF 1
22207_ACEOF
22208
22209fi
22210
daa2886c 22211
fc01b729 22212case $host_cpu in
fc6ffb29
AJ
22213 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
22214echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
05783b55 22215if test "${ac_cv_cpp_def___i386__+set}" = set; then
f5818d2f 22216 echo $ECHO_N "(cached) $ECHO_C" >&6
51d46ba9 22217else
f5818d2f 22218 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
22219/* confdefs.h. */
22220_ACEOF
22221cat confdefs.h >>conftest.$ac_ext
22222cat >>conftest.$ac_ext <<_ACEOF
22223/* end confdefs.h. */
f5818d2f 22224#ifndef __i386__
51d46ba9
AJ
22225yes
22226#endif
f5818d2f 22227_ACEOF
51d46ba9 22228if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11af04e3 22229 $EGREP "yes" >/dev/null 2>&1; then
05783b55 22230 ac_cv_cpp_def___i386__=yes
51d46ba9 22231else
05783b55 22232 ac_cv_cpp_def___i386__=no
51d46ba9
AJ
22233fi
22234rm -f conftest*
22235
22236fi
fc6ffb29
AJ
22237{ echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
22238echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
05783b55
AJ
22239if test $ac_cv_cpp_def___i386__ = yes; then
22240 CFLAGS="$CFLAGS -D__i386__"
22241 LINTFLAGS="$LINTFLAGS -D__i386__"
e3be5642
AJ
22242fi
22243 ;;
fc6ffb29
AJ
22244 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
22245echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
e3be5642
AJ
22246if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
22247 echo $ECHO_N "(cached) $ECHO_C" >&6
22248else
22249 cat >conftest.$ac_ext <<_ACEOF
22250/* confdefs.h. */
22251_ACEOF
22252cat confdefs.h >>conftest.$ac_ext
22253cat >>conftest.$ac_ext <<_ACEOF
22254/* end confdefs.h. */
22255#ifndef __x86_64__
22256yes
22257#endif
22258_ACEOF
22259if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22260 $EGREP "yes" >/dev/null 2>&1; then
22261 ac_cv_cpp_def___x86_64__=yes
22262else
22263 ac_cv_cpp_def___x86_64__=no
22264fi
22265rm -f conftest*
22266
22267fi
fc6ffb29
AJ
22268{ echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
22269echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
e3be5642
AJ
22270if test $ac_cv_cpp_def___x86_64__ = yes; then
22271 CFLAGS="$CFLAGS -D__x86_64__"
22272 LINTFLAGS="$LINTFLAGS -D__x86_64__"
51d46ba9 22273fi
05783b55 22274 ;;
fc6ffb29
AJ
22275 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
22276echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
05783b55 22277if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
69b67861
SE
22278 echo $ECHO_N "(cached) $ECHO_C" >&6
22279else
22280 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
22281/* confdefs.h. */
22282_ACEOF
22283cat confdefs.h >>conftest.$ac_ext
22284cat >>conftest.$ac_ext <<_ACEOF
22285/* end confdefs.h. */
69b67861
SE
22286#ifndef __ALPHA__
22287yes
22288#endif
22289_ACEOF
22290if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22291 $EGREP "yes" >/dev/null 2>&1; then
05783b55 22292 ac_cv_cpp_def___ALPHA__=yes
69b67861 22293else
05783b55 22294 ac_cv_cpp_def___ALPHA__=no
69b67861
SE
22295fi
22296rm -f conftest*
22297
22298fi
fc6ffb29
AJ
22299{ echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
22300echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
05783b55
AJ
22301if test $ac_cv_cpp_def___ALPHA__ = yes; then
22302 CFLAGS="$CFLAGS -D__ALPHA__"
22303 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
69b67861 22304fi
05783b55 22305 ;;
fc6ffb29
AJ
22306 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
22307echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
05783b55 22308if test "${ac_cv_cpp_def___sparc__+set}" = set; then
57807fa1
GM
22309 echo $ECHO_N "(cached) $ECHO_C" >&6
22310else
22311 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
22312/* confdefs.h. */
22313_ACEOF
22314cat confdefs.h >>conftest.$ac_ext
22315cat >>conftest.$ac_ext <<_ACEOF
22316/* end confdefs.h. */
57807fa1
GM
22317#ifndef __sparc__
22318yes
22319#endif
22320_ACEOF
22321if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11af04e3 22322 $EGREP "yes" >/dev/null 2>&1; then
05783b55 22323 ac_cv_cpp_def___sparc__=yes
57807fa1 22324else
05783b55 22325 ac_cv_cpp_def___sparc__=no
57807fa1
GM
22326fi
22327rm -f conftest*
22328
22329fi
fc6ffb29
AJ
22330{ echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
22331echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
05783b55
AJ
22332if test $ac_cv_cpp_def___sparc__ = yes; then
22333 CFLAGS="$CFLAGS -D__sparc__"
22334 LINTFLAGS="$LINTFLAGS -D__sparc__"
b64b7deb
PH
22335fi
22336 ;;
fc6ffb29
AJ
22337 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
22338echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
b64b7deb
PH
22339if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
22340 echo $ECHO_N "(cached) $ECHO_C" >&6
22341else
22342 cat >conftest.$ac_ext <<_ACEOF
b64b7deb
PH
22343/* confdefs.h. */
22344_ACEOF
22345cat confdefs.h >>conftest.$ac_ext
22346cat >>conftest.$ac_ext <<_ACEOF
22347/* end confdefs.h. */
22348#ifndef __powerpc__
22349yes
22350#endif
22351_ACEOF
22352if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22353 $EGREP "yes" >/dev/null 2>&1; then
22354 ac_cv_cpp_def___powerpc__=yes
22355else
22356 ac_cv_cpp_def___powerpc__=no
22357fi
22358rm -f conftest*
22359
22360fi
fc6ffb29
AJ
22361{ echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
22362echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
b64b7deb
PH
22363if test $ac_cv_cpp_def___powerpc__ = yes; then
22364 CFLAGS="$CFLAGS -D__powerpc__"
22365 LINTFLAGS="$LINTFLAGS -D__powerpc__"
57807fa1 22366fi
05783b55
AJ
22367 ;;
22368esac
57807fa1
GM
22369
22370case $host_vendor in
fc6ffb29
AJ
22371 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
22372echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
05783b55 22373if test "${ac_cv_cpp_def___sun__+set}" = set; then
57807fa1
GM
22374 echo $ECHO_N "(cached) $ECHO_C" >&6
22375else
22376 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
22377/* confdefs.h. */
22378_ACEOF
22379cat confdefs.h >>conftest.$ac_ext
22380cat >>conftest.$ac_ext <<_ACEOF
22381/* end confdefs.h. */
57807fa1
GM
22382#ifndef __sun__
22383yes
22384#endif
22385_ACEOF
22386if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11af04e3 22387 $EGREP "yes" >/dev/null 2>&1; then
05783b55 22388 ac_cv_cpp_def___sun__=yes
57807fa1 22389else
05783b55 22390 ac_cv_cpp_def___sun__=no
57807fa1
GM
22391fi
22392rm -f conftest*
22393
22394fi
fc6ffb29
AJ
22395{ echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
22396echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
05783b55
AJ
22397if test $ac_cv_cpp_def___sun__ = yes; then
22398 CFLAGS="$CFLAGS -D__sun__"
22399 LINTFLAGS="$LINTFLAGS -D__sun__"
57807fa1 22400fi
05783b55
AJ
22401 ;;
22402esac
57807fa1
GM
22403
22404
32ab895e
AJ
22405DEPENDENCIES="### Dependencies:
22406
8598a4c6
AJ
22407.INIT: Makefile
22408.BEGIN: Makefile
22409Makefile: dummy
22410 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
22411
a4b6ee36 22412\$(OBJS): \$(IDL_GEN_HEADERS)
12c19620 22413\$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
da19122f 22414\$(RC_SRCS:.rc=.res): \$(IDL_TLB_SRCS:.idl=.tlb)
32ab895e
AJ
22415\$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
22416\$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
22417
22418
a360e934
AJ
22419ALL_MAKERULES=""
22420
22421ALL_MAKEFILES=""
22422
22423ALL_MAKEFILE_DEPENDS="# Makefile dependencies"
22424
22425
6de0af1e
AJ
22426ALL_TOP_DIRS=""
22427
49163da1
AJ
22428ALL_DLL_DIRS=""
22429
22430ALL_IMPLIB_DIRS=""
22431
22432ALL_TEST_DIRS=""
22433
4051eaf7
AJ
22434ALL_PROGRAM_DIRS=""
22435
22436ALL_PROGRAM_INSTALL_DIRS=""
22437
22438ALL_PROGRAM_BIN_INSTALL_DIRS=""
22439
49163da1 22440
daa2886c
AJ
22441
22442
22443
c4704c2d
AJ
22444ac_config_commands="$ac_config_commands include/stamp-h"
22445
22446
7dfc4477 22447ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
89118568 22448
7dfc4477 22449ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
89118568 22450
1c60e3bf 22451ac_config_commands="$ac_config_commands dlls/kernel32/nls"
f5818d2f 22452
b8a2e3b8 22453ac_config_commands="$ac_config_commands dlls/user32/resources"
f5818d2f 22454
fc6ffb29 22455ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
f5818d2f 22456
fc6ffb29 22457ac_config_commands="$ac_config_commands include/wine"
f5818d2f 22458
f5818d2f 22459
a360e934
AJ
22460ALL_MAKERULES="$ALL_MAKERULES \\
22461 Make.rules"
22462ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22463Make.rules: Make.rules.in"
f5818d2f 22464MAKE_RULES=Make.rules
a360e934 22465ac_config_files="$ac_config_files Make.rules"
f5818d2f 22466
a360e934
AJ
22467ALL_MAKERULES="$ALL_MAKERULES \\
22468 dlls/Makedll.rules"
22469ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22470dlls/Makedll.rules: dlls/Makedll.rules.in Make.rules"
f5818d2f 22471MAKE_DLL_RULES=dlls/Makedll.rules
a360e934 22472ac_config_files="$ac_config_files dlls/Makedll.rules"
d0edc5fe 22473
a360e934
AJ
22474ALL_MAKERULES="$ALL_MAKERULES \\
22475 dlls/Makeimplib.rules"
22476ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22477dlls/Makeimplib.rules: dlls/Makeimplib.rules.in Make.rules"
633b12d5 22478MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
a360e934 22479ac_config_files="$ac_config_files dlls/Makeimplib.rules"
633b12d5 22480
a360e934
AJ
22481ALL_MAKERULES="$ALL_MAKERULES \\
22482 dlls/Maketest.rules"
22483ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22484dlls/Maketest.rules: dlls/Maketest.rules.in Make.rules"
edeee89c 22485MAKE_TEST_RULES=dlls/Maketest.rules
a360e934 22486ac_config_files="$ac_config_files dlls/Maketest.rules"
edeee89c 22487
a360e934
AJ
22488ALL_MAKERULES="$ALL_MAKERULES \\
22489 programs/Makeprog.rules"
22490ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22491programs/Makeprog.rules: programs/Makeprog.rules.in Make.rules"
626f425b 22492MAKE_PROG_RULES=programs/Makeprog.rules
a360e934 22493ac_config_files="$ac_config_files programs/Makeprog.rules"
626f425b 22494
daa2886c 22495
fbc80d79 22496
49163da1 22497
a360e934
AJ
22498ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22499Makefile: Makefile.in Make.rules"
fbc80d79
MM
22500ac_config_files="$ac_config_files Makefile"
22501
a360e934
AJ
22502ALL_MAKEFILES="$ALL_MAKEFILES \\
22503 dlls/Makefile"
6de0af1e
AJ
22504test "x$enable_dlls" != xno && ALL_TOP_DIRS="$ALL_TOP_DIRS \\
22505 dlls"
a360e934
AJ
22506ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22507dlls/Makefile: dlls/Makefile.in Make.rules"
fbc80d79
MM
22508ac_config_files="$ac_config_files dlls/Makefile"
22509
a360e934
AJ
22510ALL_MAKEFILES="$ALL_MAKEFILES \\
22511 dlls/acledit/Makefile"
485cc59c 22512test "x$enable_acledit" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22513 acledit"
a360e934
AJ
22514ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22515dlls/acledit/Makefile: dlls/acledit/Makefile.in dlls/Makedll.rules"
0da02fb2
EP
22516ac_config_files="$ac_config_files dlls/acledit/Makefile"
22517
a360e934
AJ
22518ALL_MAKEFILES="$ALL_MAKEFILES \\
22519 dlls/activeds/Makefile"
485cc59c 22520test "x$enable_activeds" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22521 activeds"
a360e934
AJ
22522ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22523dlls/activeds/Makefile: dlls/activeds/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
22524ac_config_files="$ac_config_files dlls/activeds/Makefile"
22525
a360e934
AJ
22526ALL_MAKEFILES="$ALL_MAKEFILES \\
22527 dlls/actxprxy/Makefile"
485cc59c 22528test "x$enable_actxprxy" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22529 actxprxy"
a360e934
AJ
22530ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22531dlls/actxprxy/Makefile: dlls/actxprxy/Makefile.in dlls/Makedll.rules"
e8c7c068
RS
22532ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
22533
a360e934
AJ
22534ALL_MAKEFILES="$ALL_MAKEFILES \\
22535 dlls/adsiid/Makefile"
485cc59c 22536test "x$enable_adsiid" != xno && ALL_IMPLIB_DIRS="$ALL_IMPLIB_DIRS \\
49163da1 22537 adsiid"
a360e934
AJ
22538ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22539dlls/adsiid/Makefile: dlls/adsiid/Makefile.in dlls/Makeimplib.rules"
76e08969
RS
22540ac_config_files="$ac_config_files dlls/adsiid/Makefile"
22541
a360e934
AJ
22542ALL_MAKEFILES="$ALL_MAKEFILES \\
22543 dlls/advapi32/Makefile"
485cc59c 22544test "x$enable_advapi32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22545 advapi32"
a360e934
AJ
22546ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22547dlls/advapi32/Makefile: dlls/advapi32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
22548ac_config_files="$ac_config_files dlls/advapi32/Makefile"
22549
a360e934
AJ
22550ALL_MAKEFILES="$ALL_MAKEFILES \\
22551 dlls/advapi32/tests/Makefile"
485cc59c 22552test "x$enable_advapi32_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 22553 advapi32/tests"
a360e934
AJ
22554ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22555dlls/advapi32/tests/Makefile: dlls/advapi32/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
22556ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
22557
a360e934
AJ
22558ALL_MAKEFILES="$ALL_MAKEFILES \\
22559 dlls/advpack/Makefile"
485cc59c 22560test "x$enable_advpack" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22561 advpack"
a360e934
AJ
22562ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22563dlls/advpack/Makefile: dlls/advpack/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
22564ac_config_files="$ac_config_files dlls/advpack/Makefile"
22565
a360e934
AJ
22566ALL_MAKEFILES="$ALL_MAKEFILES \\
22567 dlls/advpack/tests/Makefile"
485cc59c 22568test "x$enable_advpack_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 22569 advpack/tests"
a360e934
AJ
22570ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22571dlls/advpack/tests/Makefile: dlls/advpack/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
22572ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
22573
a360e934
AJ
22574ALL_MAKEFILES="$ALL_MAKEFILES \\
22575 dlls/amstream/Makefile"
485cc59c 22576test "x$enable_amstream" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22577 amstream"
a360e934
AJ
22578ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22579dlls/amstream/Makefile: dlls/amstream/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
22580ac_config_files="$ac_config_files dlls/amstream/Makefile"
22581
a360e934
AJ
22582ALL_MAKEFILES="$ALL_MAKEFILES \\
22583 dlls/appwiz.cpl/Makefile"
485cc59c 22584test "x$enable_appwiz_cpl" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22585 appwiz.cpl"
a360e934
AJ
22586ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22587dlls/appwiz.cpl/Makefile: dlls/appwiz.cpl/Makefile.in dlls/Makedll.rules"
f4e6489e
OR
22588ac_config_files="$ac_config_files dlls/appwiz.cpl/Makefile"
22589
a360e934
AJ
22590ALL_MAKEFILES="$ALL_MAKEFILES \\
22591 dlls/atl/Makefile"
485cc59c 22592test "x$enable_atl" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22593 atl"
a360e934
AJ
22594ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22595dlls/atl/Makefile: dlls/atl/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
22596ac_config_files="$ac_config_files dlls/atl/Makefile"
22597
a360e934
AJ
22598ALL_MAKEFILES="$ALL_MAKEFILES \\
22599 dlls/avicap32/Makefile"
485cc59c 22600test "x$enable_avicap32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22601 avicap32"
a360e934
AJ
22602ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22603dlls/avicap32/Makefile: dlls/avicap32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
22604ac_config_files="$ac_config_files dlls/avicap32/Makefile"
22605
a360e934
AJ
22606ALL_MAKEFILES="$ALL_MAKEFILES \\
22607 dlls/avifil32/Makefile"
485cc59c 22608test "x$enable_avifil32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22609 avifil32"
a360e934
AJ
22610ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22611dlls/avifil32/Makefile: dlls/avifil32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
22612ac_config_files="$ac_config_files dlls/avifil32/Makefile"
22613
a360e934
AJ
22614ALL_MAKEFILES="$ALL_MAKEFILES \\
22615 dlls/browseui/Makefile"
485cc59c 22616test "x$enable_browseui" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22617 browseui"
a360e934
AJ
22618ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22619dlls/browseui/Makefile: dlls/browseui/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
22620ac_config_files="$ac_config_files dlls/browseui/Makefile"
22621
a360e934
AJ
22622ALL_MAKEFILES="$ALL_MAKEFILES \\
22623 dlls/browseui/tests/Makefile"
485cc59c 22624test "x$enable_browseui_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 22625 browseui/tests"
a360e934
AJ
22626ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22627dlls/browseui/tests/Makefile: dlls/browseui/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
22628ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
22629
a360e934
AJ
22630ALL_MAKEFILES="$ALL_MAKEFILES \\
22631 dlls/cabinet/Makefile"
485cc59c 22632test "x$enable_cabinet" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22633 cabinet"
a360e934
AJ
22634ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22635dlls/cabinet/Makefile: dlls/cabinet/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
22636ac_config_files="$ac_config_files dlls/cabinet/Makefile"
22637
a360e934
AJ
22638ALL_MAKEFILES="$ALL_MAKEFILES \\
22639 dlls/cabinet/tests/Makefile"
485cc59c 22640test "x$enable_cabinet_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 22641 cabinet/tests"
a360e934
AJ
22642ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22643dlls/cabinet/tests/Makefile: dlls/cabinet/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
22644ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
22645
a360e934
AJ
22646ALL_MAKEFILES="$ALL_MAKEFILES \\
22647 dlls/capi2032/Makefile"
485cc59c 22648test "x$enable_capi2032" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22649 capi2032"
a360e934
AJ
22650ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22651dlls/capi2032/Makefile: dlls/capi2032/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
22652ac_config_files="$ac_config_files dlls/capi2032/Makefile"
22653
a360e934
AJ
22654ALL_MAKEFILES="$ALL_MAKEFILES \\
22655 dlls/cards/Makefile"
485cc59c 22656test "x$enable_cards" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22657 cards"
a360e934
AJ
22658ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22659dlls/cards/Makefile: dlls/cards/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
22660ac_config_files="$ac_config_files dlls/cards/Makefile"
22661
a360e934
AJ
22662ALL_MAKEFILES="$ALL_MAKEFILES \\
22663 dlls/cfgmgr32/Makefile"
485cc59c 22664test "x$enable_cfgmgr32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22665 cfgmgr32"
a360e934
AJ
22666ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22667dlls/cfgmgr32/Makefile: dlls/cfgmgr32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
22668ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
22669
a360e934
AJ
22670ALL_MAKEFILES="$ALL_MAKEFILES \\
22671 dlls/clusapi/Makefile"
485cc59c 22672test "x$enable_clusapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22673 clusapi"
a360e934
AJ
22674ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22675dlls/clusapi/Makefile: dlls/clusapi/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
22676ac_config_files="$ac_config_files dlls/clusapi/Makefile"
22677
a360e934
AJ
22678ALL_MAKEFILES="$ALL_MAKEFILES \\
22679 dlls/comcat/Makefile"
485cc59c 22680test "x$enable_comcat" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22681 comcat"
a360e934
AJ
22682ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22683dlls/comcat/Makefile: dlls/comcat/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
22684ac_config_files="$ac_config_files dlls/comcat/Makefile"
22685
a360e934
AJ
22686ALL_MAKEFILES="$ALL_MAKEFILES \\
22687 dlls/comcat/tests/Makefile"
485cc59c 22688test "x$enable_comcat_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 22689 comcat/tests"
a360e934
AJ
22690ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22691dlls/comcat/tests/Makefile: dlls/comcat/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
22692ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
22693
a360e934
AJ
22694ALL_MAKEFILES="$ALL_MAKEFILES \\
22695 dlls/comctl32/Makefile"
485cc59c 22696test "x$enable_comctl32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22697 comctl32"
a360e934
AJ
22698ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22699dlls/comctl32/Makefile: dlls/comctl32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
22700ac_config_files="$ac_config_files dlls/comctl32/Makefile"
22701
a360e934
AJ
22702ALL_MAKEFILES="$ALL_MAKEFILES \\
22703 dlls/comctl32/tests/Makefile"
485cc59c 22704test "x$enable_comctl32_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 22705 comctl32/tests"
a360e934
AJ
22706ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22707dlls/comctl32/tests/Makefile: dlls/comctl32/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
22708ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
22709
a360e934
AJ
22710ALL_MAKEFILES="$ALL_MAKEFILES \\
22711 dlls/comdlg32/Makefile"
485cc59c 22712test "x$enable_comdlg32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22713 comdlg32"
a360e934
AJ
22714ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22715dlls/comdlg32/Makefile: dlls/comdlg32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
22716ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
22717
a360e934
AJ
22718ALL_MAKEFILES="$ALL_MAKEFILES \\
22719 dlls/comdlg32/tests/Makefile"
485cc59c 22720test "x$enable_comdlg32_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 22721 comdlg32/tests"
a360e934
AJ
22722ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22723dlls/comdlg32/tests/Makefile: dlls/comdlg32/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
22724ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
22725
a360e934
AJ
22726ALL_MAKEFILES="$ALL_MAKEFILES \\
22727 dlls/compstui/Makefile"
485cc59c 22728test "x$enable_compstui" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22729 compstui"
a360e934
AJ
22730ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22731dlls/compstui/Makefile: dlls/compstui/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
22732ac_config_files="$ac_config_files dlls/compstui/Makefile"
22733
a360e934
AJ
22734ALL_MAKEFILES="$ALL_MAKEFILES \\
22735 dlls/credui/Makefile"
485cc59c 22736test "x$enable_credui" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22737 credui"
a360e934
AJ
22738ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22739dlls/credui/Makefile: dlls/credui/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
22740ac_config_files="$ac_config_files dlls/credui/Makefile"
22741
a360e934
AJ
22742ALL_MAKEFILES="$ALL_MAKEFILES \\
22743 dlls/credui/tests/Makefile"
485cc59c 22744test "x$enable_credui_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 22745 credui/tests"
a360e934
AJ
22746ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22747dlls/credui/tests/Makefile: dlls/credui/tests/Makefile.in dlls/Maketest.rules"
e146591c
RS
22748ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
22749
a360e934
AJ
22750ALL_MAKEFILES="$ALL_MAKEFILES \\
22751 dlls/crtdll/Makefile"
485cc59c 22752test "x$enable_crtdll" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22753 crtdll"
a360e934
AJ
22754ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22755dlls/crtdll/Makefile: dlls/crtdll/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
22756ac_config_files="$ac_config_files dlls/crtdll/Makefile"
22757
a360e934
AJ
22758ALL_MAKEFILES="$ALL_MAKEFILES \\
22759 dlls/crypt32/Makefile"
485cc59c 22760test "x$enable_crypt32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22761 crypt32"
a360e934
AJ
22762ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22763dlls/crypt32/Makefile: dlls/crypt32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
22764ac_config_files="$ac_config_files dlls/crypt32/Makefile"
22765
a360e934
AJ
22766ALL_MAKEFILES="$ALL_MAKEFILES \\
22767 dlls/crypt32/tests/Makefile"
485cc59c 22768test "x$enable_crypt32_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 22769 crypt32/tests"
a360e934
AJ
22770ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22771dlls/crypt32/tests/Makefile: dlls/crypt32/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
22772ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
22773
a360e934
AJ
22774ALL_MAKEFILES="$ALL_MAKEFILES \\
22775 dlls/cryptdlg/Makefile"
485cc59c 22776test "x$enable_cryptdlg" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22777 cryptdlg"
a360e934
AJ
22778ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22779dlls/cryptdlg/Makefile: dlls/cryptdlg/Makefile.in dlls/Makedll.rules"
f9308217
ML
22780ac_config_files="$ac_config_files dlls/cryptdlg/Makefile"
22781
a360e934
AJ
22782ALL_MAKEFILES="$ALL_MAKEFILES \\
22783 dlls/cryptdll/Makefile"
485cc59c 22784test "x$enable_cryptdll" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22785 cryptdll"
a360e934
AJ
22786ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22787dlls/cryptdll/Makefile: dlls/cryptdll/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
22788ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
22789
a360e934
AJ
22790ALL_MAKEFILES="$ALL_MAKEFILES \\
22791 dlls/cryptnet/Makefile"
485cc59c 22792test "x$enable_cryptnet" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22793 cryptnet"
a360e934
AJ
22794ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22795dlls/cryptnet/Makefile: dlls/cryptnet/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
22796ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
22797
a360e934
AJ
22798ALL_MAKEFILES="$ALL_MAKEFILES \\
22799 dlls/cryptnet/tests/Makefile"
485cc59c 22800test "x$enable_cryptnet_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 22801 cryptnet/tests"
a360e934
AJ
22802ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22803dlls/cryptnet/tests/Makefile: dlls/cryptnet/tests/Makefile.in dlls/Maketest.rules"
322bcddf
JL
22804ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
22805
a360e934
AJ
22806ALL_MAKEFILES="$ALL_MAKEFILES \\
22807 dlls/cryptui/Makefile"
485cc59c 22808test "x$enable_cryptui" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22809 cryptui"
a360e934
AJ
22810ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22811dlls/cryptui/Makefile: dlls/cryptui/Makefile.in dlls/Makedll.rules"
2016c63e
JL
22812ac_config_files="$ac_config_files dlls/cryptui/Makefile"
22813
a360e934
AJ
22814ALL_MAKEFILES="$ALL_MAKEFILES \\
22815 dlls/ctapi32/Makefile"
485cc59c 22816test "x$enable_ctapi32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22817 ctapi32"
a360e934
AJ
22818ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22819dlls/ctapi32/Makefile: dlls/ctapi32/Makefile.in dlls/Makedll.rules"
f89c6de7
CE
22820ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
22821
a360e934
AJ
22822ALL_MAKEFILES="$ALL_MAKEFILES \\
22823 dlls/ctl3d32/Makefile"
485cc59c 22824test "x$enable_ctl3d32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22825 ctl3d32"
a360e934
AJ
22826ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22827dlls/ctl3d32/Makefile: dlls/ctl3d32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
22828ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
22829
a360e934
AJ
22830ALL_MAKEFILES="$ALL_MAKEFILES \\
22831 dlls/d3d10/Makefile"
485cc59c 22832test "x$enable_d3d10" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22833 d3d10"
a360e934
AJ
22834ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22835dlls/d3d10/Makefile: dlls/d3d10/Makefile.in dlls/Makedll.rules"
0db109ff
KA
22836ac_config_files="$ac_config_files dlls/d3d10/Makefile"
22837
a360e934
AJ
22838ALL_MAKEFILES="$ALL_MAKEFILES \\
22839 dlls/d3d8/Makefile"
485cc59c 22840test "x$enable_d3d8" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22841 d3d8"
a360e934
AJ
22842ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22843dlls/d3d8/Makefile: dlls/d3d8/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
22844ac_config_files="$ac_config_files dlls/d3d8/Makefile"
22845
a360e934
AJ
22846ALL_MAKEFILES="$ALL_MAKEFILES \\
22847 dlls/d3d8/tests/Makefile"
485cc59c 22848test "x$enable_d3d8_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 22849 d3d8/tests"
a360e934
AJ
22850ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22851dlls/d3d8/tests/Makefile: dlls/d3d8/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
22852ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
22853
a360e934
AJ
22854ALL_MAKEFILES="$ALL_MAKEFILES \\
22855 dlls/d3d9/Makefile"
485cc59c 22856test "x$enable_d3d9" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22857 d3d9"
a360e934
AJ
22858ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22859dlls/d3d9/Makefile: dlls/d3d9/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
22860ac_config_files="$ac_config_files dlls/d3d9/Makefile"
22861
a360e934
AJ
22862ALL_MAKEFILES="$ALL_MAKEFILES \\
22863 dlls/d3d9/tests/Makefile"
485cc59c 22864test "x$enable_d3d9_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 22865 d3d9/tests"
a360e934
AJ
22866ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22867dlls/d3d9/tests/Makefile: dlls/d3d9/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
22868ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
22869
a360e934
AJ
22870ALL_MAKEFILES="$ALL_MAKEFILES \\
22871 dlls/d3dim/Makefile"
485cc59c 22872test "x$enable_d3dim" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22873 d3dim"
a360e934
AJ
22874ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22875dlls/d3dim/Makefile: dlls/d3dim/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
22876ac_config_files="$ac_config_files dlls/d3dim/Makefile"
22877
a360e934
AJ
22878ALL_MAKEFILES="$ALL_MAKEFILES \\
22879 dlls/d3drm/Makefile"
485cc59c 22880test "x$enable_d3drm" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22881 d3drm"
a360e934
AJ
22882ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22883dlls/d3drm/Makefile: dlls/d3drm/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
22884ac_config_files="$ac_config_files dlls/d3drm/Makefile"
22885
a360e934
AJ
22886ALL_MAKEFILES="$ALL_MAKEFILES \\
22887 dlls/d3drm/tests/Makefile"
485cc59c 22888test "x$enable_d3drm_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 22889 d3drm/tests"
a360e934
AJ
22890ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22891dlls/d3drm/tests/Makefile: dlls/d3drm/tests/Makefile.in dlls/Maketest.rules"
f50800b2
DA
22892ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
22893
a360e934
AJ
22894ALL_MAKEFILES="$ALL_MAKEFILES \\
22895 dlls/d3dx8/Makefile"
485cc59c 22896test "x$enable_d3dx8" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22897 d3dx8"
a360e934
AJ
22898ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22899dlls/d3dx8/Makefile: dlls/d3dx8/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
22900ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
22901
a360e934
AJ
22902ALL_MAKEFILES="$ALL_MAKEFILES \\
22903 dlls/d3dx8/tests/Makefile"
485cc59c 22904test "x$enable_d3dx8_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 22905 d3dx8/tests"
a360e934
AJ
22906ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22907dlls/d3dx8/tests/Makefile: dlls/d3dx8/tests/Makefile.in dlls/Maketest.rules"
e4ba8eb4
DA
22908ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
22909
a360e934
AJ
22910ALL_MAKEFILES="$ALL_MAKEFILES \\
22911 dlls/d3dx9_24/Makefile"
485cc59c 22912test "x$enable_d3dx9_24" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22913 d3dx9_24"
a360e934
AJ
22914ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22915dlls/d3dx9_24/Makefile: dlls/d3dx9_24/Makefile.in dlls/Makedll.rules"
6f834d35
TW
22916ac_config_files="$ac_config_files dlls/d3dx9_24/Makefile"
22917
a360e934
AJ
22918ALL_MAKEFILES="$ALL_MAKEFILES \\
22919 dlls/d3dx9_25/Makefile"
485cc59c 22920test "x$enable_d3dx9_25" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22921 d3dx9_25"
a360e934
AJ
22922ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22923dlls/d3dx9_25/Makefile: dlls/d3dx9_25/Makefile.in dlls/Makedll.rules"
e9c16391
TW
22924ac_config_files="$ac_config_files dlls/d3dx9_25/Makefile"
22925
a360e934
AJ
22926ALL_MAKEFILES="$ALL_MAKEFILES \\
22927 dlls/d3dx9_26/Makefile"
485cc59c 22928test "x$enable_d3dx9_26" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22929 d3dx9_26"
a360e934
AJ
22930ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22931dlls/d3dx9_26/Makefile: dlls/d3dx9_26/Makefile.in dlls/Makedll.rules"
409b19b9
TW
22932ac_config_files="$ac_config_files dlls/d3dx9_26/Makefile"
22933
a360e934
AJ
22934ALL_MAKEFILES="$ALL_MAKEFILES \\
22935 dlls/d3dx9_27/Makefile"
485cc59c 22936test "x$enable_d3dx9_27" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22937 d3dx9_27"
a360e934
AJ
22938ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22939dlls/d3dx9_27/Makefile: dlls/d3dx9_27/Makefile.in dlls/Makedll.rules"
409b19b9
TW
22940ac_config_files="$ac_config_files dlls/d3dx9_27/Makefile"
22941
a360e934
AJ
22942ALL_MAKEFILES="$ALL_MAKEFILES \\
22943 dlls/d3dx9_28/Makefile"
485cc59c 22944test "x$enable_d3dx9_28" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22945 d3dx9_28"
a360e934
AJ
22946ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22947dlls/d3dx9_28/Makefile: dlls/d3dx9_28/Makefile.in dlls/Makedll.rules"
2aa1505a
TW
22948ac_config_files="$ac_config_files dlls/d3dx9_28/Makefile"
22949
a360e934
AJ
22950ALL_MAKEFILES="$ALL_MAKEFILES \\
22951 dlls/d3dx9_29/Makefile"
485cc59c 22952test "x$enable_d3dx9_29" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22953 d3dx9_29"
a360e934
AJ
22954ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22955dlls/d3dx9_29/Makefile: dlls/d3dx9_29/Makefile.in dlls/Makedll.rules"
2aa1505a
TW
22956ac_config_files="$ac_config_files dlls/d3dx9_29/Makefile"
22957
a360e934
AJ
22958ALL_MAKEFILES="$ALL_MAKEFILES \\
22959 dlls/d3dx9_30/Makefile"
485cc59c 22960test "x$enable_d3dx9_30" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22961 d3dx9_30"
a360e934
AJ
22962ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22963dlls/d3dx9_30/Makefile: dlls/d3dx9_30/Makefile.in dlls/Makedll.rules"
2aa1505a
TW
22964ac_config_files="$ac_config_files dlls/d3dx9_30/Makefile"
22965
a360e934
AJ
22966ALL_MAKEFILES="$ALL_MAKEFILES \\
22967 dlls/d3dx9_31/Makefile"
485cc59c 22968test "x$enable_d3dx9_31" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22969 d3dx9_31"
a360e934
AJ
22970ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22971dlls/d3dx9_31/Makefile: dlls/d3dx9_31/Makefile.in dlls/Makedll.rules"
e4866622
TW
22972ac_config_files="$ac_config_files dlls/d3dx9_31/Makefile"
22973
a360e934
AJ
22974ALL_MAKEFILES="$ALL_MAKEFILES \\
22975 dlls/d3dx9_32/Makefile"
485cc59c 22976test "x$enable_d3dx9_32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22977 d3dx9_32"
a360e934
AJ
22978ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22979dlls/d3dx9_32/Makefile: dlls/d3dx9_32/Makefile.in dlls/Makedll.rules"
df0a694f
TW
22980ac_config_files="$ac_config_files dlls/d3dx9_32/Makefile"
22981
a360e934
AJ
22982ALL_MAKEFILES="$ALL_MAKEFILES \\
22983 dlls/d3dx9_33/Makefile"
485cc59c 22984test "x$enable_d3dx9_33" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22985 d3dx9_33"
a360e934
AJ
22986ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22987dlls/d3dx9_33/Makefile: dlls/d3dx9_33/Makefile.in dlls/Makedll.rules"
df0a694f
TW
22988ac_config_files="$ac_config_files dlls/d3dx9_33/Makefile"
22989
a360e934
AJ
22990ALL_MAKEFILES="$ALL_MAKEFILES \\
22991 dlls/d3dx9_34/Makefile"
485cc59c 22992test "x$enable_d3dx9_34" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 22993 d3dx9_34"
a360e934
AJ
22994ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
22995dlls/d3dx9_34/Makefile: dlls/d3dx9_34/Makefile.in dlls/Makedll.rules"
df0a694f
TW
22996ac_config_files="$ac_config_files dlls/d3dx9_34/Makefile"
22997
a360e934
AJ
22998ALL_MAKEFILES="$ALL_MAKEFILES \\
22999 dlls/d3dx9_35/Makefile"
485cc59c 23000test "x$enable_d3dx9_35" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23001 d3dx9_35"
a360e934
AJ
23002ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23003dlls/d3dx9_35/Makefile: dlls/d3dx9_35/Makefile.in dlls/Makedll.rules"
df0a694f
TW
23004ac_config_files="$ac_config_files dlls/d3dx9_35/Makefile"
23005
a360e934
AJ
23006ALL_MAKEFILES="$ALL_MAKEFILES \\
23007 dlls/d3dx9_36/Makefile"
485cc59c 23008test "x$enable_d3dx9_36" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23009 d3dx9_36"
a360e934
AJ
23010ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23011dlls/d3dx9_36/Makefile: dlls/d3dx9_36/Makefile.in dlls/Makedll.rules"
87fefc7e
TW
23012ac_config_files="$ac_config_files dlls/d3dx9_36/Makefile"
23013
a360e934
AJ
23014ALL_MAKEFILES="$ALL_MAKEFILES \\
23015 dlls/d3dx9_36/tests/Makefile"
485cc59c 23016test "x$enable_d3dx9_36_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 23017 d3dx9_36/tests"
a360e934
AJ
23018ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23019dlls/d3dx9_36/tests/Makefile: dlls/d3dx9_36/tests/Makefile.in dlls/Maketest.rules"
b67290b9
PN
23020ac_config_files="$ac_config_files dlls/d3dx9_36/tests/Makefile"
23021
a360e934
AJ
23022ALL_MAKEFILES="$ALL_MAKEFILES \\
23023 dlls/d3dx9_37/Makefile"
485cc59c 23024test "x$enable_d3dx9_37" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23025 d3dx9_37"
a360e934
AJ
23026ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23027dlls/d3dx9_37/Makefile: dlls/d3dx9_37/Makefile.in dlls/Makedll.rules"
be0799fc
TW
23028ac_config_files="$ac_config_files dlls/d3dx9_37/Makefile"
23029
a360e934
AJ
23030ALL_MAKEFILES="$ALL_MAKEFILES \\
23031 dlls/d3dxof/Makefile"
485cc59c 23032test "x$enable_d3dxof" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23033 d3dxof"
a360e934
AJ
23034ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23035dlls/d3dxof/Makefile: dlls/d3dxof/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23036ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
23037
a360e934
AJ
23038ALL_MAKEFILES="$ALL_MAKEFILES \\
23039 dlls/d3dxof/tests/Makefile"
485cc59c 23040test "x$enable_d3dxof_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 23041 d3dxof/tests"
a360e934
AJ
23042ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23043dlls/d3dxof/tests/Makefile: dlls/d3dxof/tests/Makefile.in dlls/Maketest.rules"
04d72cdd
CC
23044ac_config_files="$ac_config_files dlls/d3dxof/tests/Makefile"
23045
a360e934
AJ
23046ALL_MAKEFILES="$ALL_MAKEFILES \\
23047 dlls/dbghelp/Makefile"
485cc59c 23048test "x$enable_dbghelp" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23049 dbghelp"
a360e934
AJ
23050ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23051dlls/dbghelp/Makefile: dlls/dbghelp/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23052ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
23053
a360e934
AJ
23054ALL_MAKEFILES="$ALL_MAKEFILES \\
23055 dlls/dciman32/Makefile"
485cc59c 23056test "x$enable_dciman32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23057 dciman32"
a360e934
AJ
23058ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23059dlls/dciman32/Makefile: dlls/dciman32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23060ac_config_files="$ac_config_files dlls/dciman32/Makefile"
23061
a360e934
AJ
23062ALL_MAKEFILES="$ALL_MAKEFILES \\
23063 dlls/ddraw/Makefile"
485cc59c 23064test "x$enable_ddraw" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23065 ddraw"
a360e934
AJ
23066ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23067dlls/ddraw/Makefile: dlls/ddraw/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23068ac_config_files="$ac_config_files dlls/ddraw/Makefile"
23069
a360e934
AJ
23070ALL_MAKEFILES="$ALL_MAKEFILES \\
23071 dlls/ddraw/tests/Makefile"
485cc59c 23072test "x$enable_ddraw_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 23073 ddraw/tests"
a360e934
AJ
23074ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23075dlls/ddraw/tests/Makefile: dlls/ddraw/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
23076ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
23077
a360e934
AJ
23078ALL_MAKEFILES="$ALL_MAKEFILES \\
23079 dlls/ddrawex/Makefile"
485cc59c 23080test "x$enable_ddrawex" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23081 ddrawex"
a360e934
AJ
23082ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23083dlls/ddrawex/Makefile: dlls/ddrawex/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23084ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
23085
a360e934
AJ
23086ALL_MAKEFILES="$ALL_MAKEFILES \\
23087 dlls/devenum/Makefile"
485cc59c 23088test "x$enable_devenum" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23089 devenum"
a360e934
AJ
23090ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23091dlls/devenum/Makefile: dlls/devenum/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23092ac_config_files="$ac_config_files dlls/devenum/Makefile"
23093
a360e934
AJ
23094ALL_MAKEFILES="$ALL_MAKEFILES \\
23095 dlls/dinput/Makefile"
485cc59c 23096test "x$enable_dinput" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23097 dinput"
a360e934
AJ
23098ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23099dlls/dinput/Makefile: dlls/dinput/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23100ac_config_files="$ac_config_files dlls/dinput/Makefile"
23101
a360e934
AJ
23102ALL_MAKEFILES="$ALL_MAKEFILES \\
23103 dlls/dinput/tests/Makefile"
485cc59c 23104test "x$enable_dinput_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 23105 dinput/tests"
a360e934
AJ
23106ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23107dlls/dinput/tests/Makefile: dlls/dinput/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
23108ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
23109
a360e934
AJ
23110ALL_MAKEFILES="$ALL_MAKEFILES \\
23111 dlls/dinput8/Makefile"
485cc59c 23112test "x$enable_dinput8" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23113 dinput8"
a360e934
AJ
23114ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23115dlls/dinput8/Makefile: dlls/dinput8/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23116ac_config_files="$ac_config_files dlls/dinput8/Makefile"
23117
a360e934
AJ
23118ALL_MAKEFILES="$ALL_MAKEFILES \\
23119 dlls/dmband/Makefile"
485cc59c 23120test "x$enable_dmband" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23121 dmband"
a360e934
AJ
23122ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23123dlls/dmband/Makefile: dlls/dmband/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23124ac_config_files="$ac_config_files dlls/dmband/Makefile"
23125
a360e934
AJ
23126ALL_MAKEFILES="$ALL_MAKEFILES \\
23127 dlls/dmcompos/Makefile"
485cc59c 23128test "x$enable_dmcompos" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23129 dmcompos"
a360e934
AJ
23130ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23131dlls/dmcompos/Makefile: dlls/dmcompos/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23132ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
23133
a360e934
AJ
23134ALL_MAKEFILES="$ALL_MAKEFILES \\
23135 dlls/dmime/Makefile"
485cc59c 23136test "x$enable_dmime" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23137 dmime"
a360e934
AJ
23138ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23139dlls/dmime/Makefile: dlls/dmime/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23140ac_config_files="$ac_config_files dlls/dmime/Makefile"
23141
a360e934
AJ
23142ALL_MAKEFILES="$ALL_MAKEFILES \\
23143 dlls/dmloader/Makefile"
485cc59c 23144test "x$enable_dmloader" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23145 dmloader"
a360e934
AJ
23146ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23147dlls/dmloader/Makefile: dlls/dmloader/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23148ac_config_files="$ac_config_files dlls/dmloader/Makefile"
23149
a360e934
AJ
23150ALL_MAKEFILES="$ALL_MAKEFILES \\
23151 dlls/dmscript/Makefile"
485cc59c 23152test "x$enable_dmscript" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23153 dmscript"
a360e934
AJ
23154ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23155dlls/dmscript/Makefile: dlls/dmscript/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23156ac_config_files="$ac_config_files dlls/dmscript/Makefile"
23157
a360e934
AJ
23158ALL_MAKEFILES="$ALL_MAKEFILES \\
23159 dlls/dmstyle/Makefile"
485cc59c 23160test "x$enable_dmstyle" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23161 dmstyle"
a360e934
AJ
23162ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23163dlls/dmstyle/Makefile: dlls/dmstyle/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23164ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
23165
a360e934
AJ
23166ALL_MAKEFILES="$ALL_MAKEFILES \\
23167 dlls/dmsynth/Makefile"
485cc59c 23168test "x$enable_dmsynth" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23169 dmsynth"
a360e934
AJ
23170ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23171dlls/dmsynth/Makefile: dlls/dmsynth/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23172ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
23173
a360e934
AJ
23174ALL_MAKEFILES="$ALL_MAKEFILES \\
23175 dlls/dmusic/Makefile"
485cc59c 23176test "x$enable_dmusic" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23177 dmusic"
a360e934
AJ
23178ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23179dlls/dmusic/Makefile: dlls/dmusic/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23180ac_config_files="$ac_config_files dlls/dmusic/Makefile"
23181
a360e934
AJ
23182ALL_MAKEFILES="$ALL_MAKEFILES \\
23183 dlls/dmusic32/Makefile"
485cc59c 23184test "x$enable_dmusic32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23185 dmusic32"
a360e934
AJ
23186ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23187dlls/dmusic32/Makefile: dlls/dmusic32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23188ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
23189
a360e934
AJ
23190ALL_MAKEFILES="$ALL_MAKEFILES \\
23191 dlls/dnsapi/Makefile"
485cc59c 23192test "x$enable_dnsapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23193 dnsapi"
a360e934
AJ
23194ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23195dlls/dnsapi/Makefile: dlls/dnsapi/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23196ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
23197
a360e934
AJ
23198ALL_MAKEFILES="$ALL_MAKEFILES \\
23199 dlls/dnsapi/tests/Makefile"
485cc59c 23200test "x$enable_dnsapi_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 23201 dnsapi/tests"
a360e934
AJ
23202ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23203dlls/dnsapi/tests/Makefile: dlls/dnsapi/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
23204ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
23205
a360e934
AJ
23206ALL_MAKEFILES="$ALL_MAKEFILES \\
23207 dlls/dplay/Makefile"
485cc59c 23208test "x$enable_dplay" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23209 dplay"
a360e934
AJ
23210ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23211dlls/dplay/Makefile: dlls/dplay/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23212ac_config_files="$ac_config_files dlls/dplay/Makefile"
23213
a360e934
AJ
23214ALL_MAKEFILES="$ALL_MAKEFILES \\
23215 dlls/dplayx/Makefile"
485cc59c 23216test "x$enable_dplayx" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23217 dplayx"
a360e934
AJ
23218ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23219dlls/dplayx/Makefile: dlls/dplayx/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23220ac_config_files="$ac_config_files dlls/dplayx/Makefile"
23221
a360e934
AJ
23222ALL_MAKEFILES="$ALL_MAKEFILES \\
23223 dlls/dplayx/tests/Makefile"
485cc59c 23224test "x$enable_dplayx_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 23225 dplayx/tests"
a360e934
AJ
23226ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23227dlls/dplayx/tests/Makefile: dlls/dplayx/tests/Makefile.in dlls/Maketest.rules"
d1331e62
AP
23228ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
23229
a360e934
AJ
23230ALL_MAKEFILES="$ALL_MAKEFILES \\
23231 dlls/dpnaddr/Makefile"
485cc59c 23232test "x$enable_dpnaddr" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23233 dpnaddr"
a360e934
AJ
23234ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23235dlls/dpnaddr/Makefile: dlls/dpnaddr/Makefile.in dlls/Makedll.rules"
8caf0787
LCBP
23236ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
23237
a360e934
AJ
23238ALL_MAKEFILES="$ALL_MAKEFILES \\
23239 dlls/dpnet/Makefile"
485cc59c 23240test "x$enable_dpnet" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23241 dpnet"
a360e934
AJ
23242ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23243dlls/dpnet/Makefile: dlls/dpnet/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23244ac_config_files="$ac_config_files dlls/dpnet/Makefile"
23245
a360e934
AJ
23246ALL_MAKEFILES="$ALL_MAKEFILES \\
23247 dlls/dpnhpast/Makefile"
485cc59c 23248test "x$enable_dpnhpast" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23249 dpnhpast"
a360e934
AJ
23250ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23251dlls/dpnhpast/Makefile: dlls/dpnhpast/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23252ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
23253
a360e934
AJ
23254ALL_MAKEFILES="$ALL_MAKEFILES \\
23255 dlls/dpnlobby/Makefile"
485cc59c 23256test "x$enable_dpnlobby" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23257 dpnlobby"
a360e934
AJ
23258ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23259dlls/dpnlobby/Makefile: dlls/dpnlobby/Makefile.in dlls/Makedll.rules"
5996c132
LBP
23260ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
23261
a360e934
AJ
23262ALL_MAKEFILES="$ALL_MAKEFILES \\
23263 dlls/dpwsockx/Makefile"
485cc59c 23264test "x$enable_dpwsockx" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23265 dpwsockx"
a360e934
AJ
23266ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23267dlls/dpwsockx/Makefile: dlls/dpwsockx/Makefile.in dlls/Makedll.rules"
9d2a1e8a
IB
23268ac_config_files="$ac_config_files dlls/dpwsockx/Makefile"
23269
a360e934
AJ
23270ALL_MAKEFILES="$ALL_MAKEFILES \\
23271 dlls/dsound/Makefile"
485cc59c 23272test "x$enable_dsound" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23273 dsound"
a360e934
AJ
23274ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23275dlls/dsound/Makefile: dlls/dsound/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23276ac_config_files="$ac_config_files dlls/dsound/Makefile"
23277
a360e934
AJ
23278ALL_MAKEFILES="$ALL_MAKEFILES \\
23279 dlls/dsound/tests/Makefile"
485cc59c 23280test "x$enable_dsound_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 23281 dsound/tests"
a360e934
AJ
23282ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23283dlls/dsound/tests/Makefile: dlls/dsound/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
23284ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
23285
a360e934
AJ
23286ALL_MAKEFILES="$ALL_MAKEFILES \\
23287 dlls/dssenh/Makefile"
485cc59c 23288test "x$enable_dssenh" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23289 dssenh"
a360e934
AJ
23290ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23291dlls/dssenh/Makefile: dlls/dssenh/Makefile.in dlls/Makedll.rules"
2472e81c
ML
23292ac_config_files="$ac_config_files dlls/dssenh/Makefile"
23293
a360e934
AJ
23294ALL_MAKEFILES="$ALL_MAKEFILES \\
23295 dlls/dswave/Makefile"
485cc59c 23296test "x$enable_dswave" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23297 dswave"
a360e934
AJ
23298ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23299dlls/dswave/Makefile: dlls/dswave/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23300ac_config_files="$ac_config_files dlls/dswave/Makefile"
23301
a360e934
AJ
23302ALL_MAKEFILES="$ALL_MAKEFILES \\
23303 dlls/dwmapi/Makefile"
485cc59c 23304test "x$enable_dwmapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23305 dwmapi"
a360e934
AJ
23306ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23307dlls/dwmapi/Makefile: dlls/dwmapi/Makefile.in dlls/Makedll.rules"
c0ddd5e3
KA
23308ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
23309
a360e934
AJ
23310ALL_MAKEFILES="$ALL_MAKEFILES \\
23311 dlls/dxdiagn/Makefile"
485cc59c 23312test "x$enable_dxdiagn" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23313 dxdiagn"
a360e934
AJ
23314ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23315dlls/dxdiagn/Makefile: dlls/dxdiagn/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23316ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
23317
a360e934
AJ
23318ALL_MAKEFILES="$ALL_MAKEFILES \\
23319 dlls/dxerr8/Makefile"
485cc59c 23320test "x$enable_dxerr8" != xno && ALL_IMPLIB_DIRS="$ALL_IMPLIB_DIRS \\
49163da1 23321 dxerr8"
a360e934
AJ
23322ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23323dlls/dxerr8/Makefile: dlls/dxerr8/Makefile.in dlls/Makeimplib.rules"
fbc80d79
MM
23324ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
23325
a360e934
AJ
23326ALL_MAKEFILES="$ALL_MAKEFILES \\
23327 dlls/dxerr9/Makefile"
485cc59c 23328test "x$enable_dxerr9" != xno && ALL_IMPLIB_DIRS="$ALL_IMPLIB_DIRS \\
49163da1 23329 dxerr9"
a360e934
AJ
23330ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23331dlls/dxerr9/Makefile: dlls/dxerr9/Makefile.in dlls/Makeimplib.rules"
fbc80d79
MM
23332ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
23333
a360e934
AJ
23334ALL_MAKEFILES="$ALL_MAKEFILES \\
23335 dlls/dxguid/Makefile"
485cc59c 23336test "x$enable_dxguid" != xno && ALL_IMPLIB_DIRS="$ALL_IMPLIB_DIRS \\
49163da1 23337 dxguid"
a360e934
AJ
23338ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23339dlls/dxguid/Makefile: dlls/dxguid/Makefile.in dlls/Makeimplib.rules"
fbc80d79
MM
23340ac_config_files="$ac_config_files dlls/dxguid/Makefile"
23341
a360e934
AJ
23342ALL_MAKEFILES="$ALL_MAKEFILES \\
23343 dlls/faultrep/Makefile"
485cc59c 23344test "x$enable_faultrep" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23345 faultrep"
a360e934
AJ
23346ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23347dlls/faultrep/Makefile: dlls/faultrep/Makefile.in dlls/Makedll.rules"
a2cd6430
PDT
23348ac_config_files="$ac_config_files dlls/faultrep/Makefile"
23349
a360e934
AJ
23350ALL_MAKEFILES="$ALL_MAKEFILES \\
23351 dlls/fusion/Makefile"
485cc59c 23352test "x$enable_fusion" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23353 fusion"
a360e934
AJ
23354ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23355dlls/fusion/Makefile: dlls/fusion/Makefile.in dlls/Makedll.rules"
c0b3af34
JH
23356ac_config_files="$ac_config_files dlls/fusion/Makefile"
23357
a360e934
AJ
23358ALL_MAKEFILES="$ALL_MAKEFILES \\
23359 dlls/fusion/tests/Makefile"
485cc59c 23360test "x$enable_fusion_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 23361 fusion/tests"
a360e934
AJ
23362ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23363dlls/fusion/tests/Makefile: dlls/fusion/tests/Makefile.in dlls/Maketest.rules"
9e021cff
JH
23364ac_config_files="$ac_config_files dlls/fusion/tests/Makefile"
23365
a360e934
AJ
23366ALL_MAKEFILES="$ALL_MAKEFILES \\
23367 dlls/gdi32/Makefile"
485cc59c 23368test "x$enable_gdi32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23369 gdi32"
a360e934
AJ
23370ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23371dlls/gdi32/Makefile: dlls/gdi32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23372ac_config_files="$ac_config_files dlls/gdi32/Makefile"
23373
a360e934
AJ
23374ALL_MAKEFILES="$ALL_MAKEFILES \\
23375 dlls/gdi32/tests/Makefile"
485cc59c 23376test "x$enable_gdi32_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 23377 gdi32/tests"
a360e934
AJ
23378ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23379dlls/gdi32/tests/Makefile: dlls/gdi32/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
23380ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
23381
a360e934
AJ
23382ALL_MAKEFILES="$ALL_MAKEFILES \\
23383 dlls/gdiplus/Makefile"
485cc59c 23384test "x$enable_gdiplus" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23385 gdiplus"
a360e934
AJ
23386ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23387dlls/gdiplus/Makefile: dlls/gdiplus/Makefile.in dlls/Makedll.rules"
bed761c9
ES
23388ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
23389
a360e934
AJ
23390ALL_MAKEFILES="$ALL_MAKEFILES \\
23391 dlls/gdiplus/tests/Makefile"
485cc59c 23392test "x$enable_gdiplus_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 23393 gdiplus/tests"
a360e934
AJ
23394ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23395dlls/gdiplus/tests/Makefile: dlls/gdiplus/tests/Makefile.in dlls/Maketest.rules"
fcd7a62e
ES
23396ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
23397
a360e934
AJ
23398ALL_MAKEFILES="$ALL_MAKEFILES \\
23399 dlls/glu32/Makefile"
485cc59c 23400test "x$enable_glu32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23401 glu32"
a360e934
AJ
23402ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23403dlls/glu32/Makefile: dlls/glu32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23404ac_config_files="$ac_config_files dlls/glu32/Makefile"
23405
a360e934
AJ
23406ALL_MAKEFILES="$ALL_MAKEFILES \\
23407 dlls/gphoto2.ds/Makefile"
485cc59c 23408test "x$enable_gphoto2_ds" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23409 gphoto2.ds"
a360e934
AJ
23410ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23411dlls/gphoto2.ds/Makefile: dlls/gphoto2.ds/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23412ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
23413
a360e934
AJ
23414ALL_MAKEFILES="$ALL_MAKEFILES \\
23415 dlls/gpkcsp/Makefile"
485cc59c 23416test "x$enable_gpkcsp" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23417 gpkcsp"
a360e934
AJ
23418ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23419dlls/gpkcsp/Makefile: dlls/gpkcsp/Makefile.in dlls/Makedll.rules"
e4576c80
ML
23420ac_config_files="$ac_config_files dlls/gpkcsp/Makefile"
23421
a360e934
AJ
23422ALL_MAKEFILES="$ALL_MAKEFILES \\
23423 dlls/hal/Makefile"
485cc59c 23424test "x$enable_hal" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23425 hal"
a360e934
AJ
23426ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23427dlls/hal/Makefile: dlls/hal/Makefile.in dlls/Makedll.rules"
d2d68702
AJ
23428ac_config_files="$ac_config_files dlls/hal/Makefile"
23429
a360e934
AJ
23430ALL_MAKEFILES="$ALL_MAKEFILES \\
23431 dlls/hhctrl.ocx/Makefile"
485cc59c 23432test "x$enable_hhctrl_ocx" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23433 hhctrl.ocx"
a360e934
AJ
23434ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23435dlls/hhctrl.ocx/Makefile: dlls/hhctrl.ocx/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23436ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
23437
a360e934
AJ
23438ALL_MAKEFILES="$ALL_MAKEFILES \\
23439 dlls/hid/Makefile"
485cc59c 23440test "x$enable_hid" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23441 hid"
a360e934
AJ
23442ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23443dlls/hid/Makefile: dlls/hid/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23444ac_config_files="$ac_config_files dlls/hid/Makefile"
23445
a360e934
AJ
23446ALL_MAKEFILES="$ALL_MAKEFILES \\
23447 dlls/hlink/Makefile"
485cc59c 23448test "x$enable_hlink" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23449 hlink"
a360e934
AJ
23450ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23451dlls/hlink/Makefile: dlls/hlink/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23452ac_config_files="$ac_config_files dlls/hlink/Makefile"
23453
a360e934
AJ
23454ALL_MAKEFILES="$ALL_MAKEFILES \\
23455 dlls/hlink/tests/Makefile"
485cc59c 23456test "x$enable_hlink_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 23457 hlink/tests"
a360e934
AJ
23458ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23459dlls/hlink/tests/Makefile: dlls/hlink/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
23460ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
23461
a360e934
AJ
23462ALL_MAKEFILES="$ALL_MAKEFILES \\
23463 dlls/hnetcfg/Makefile"
485cc59c 23464test "x$enable_hnetcfg" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23465 hnetcfg"
a360e934
AJ
23466ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23467dlls/hnetcfg/Makefile: dlls/hnetcfg/Makefile.in dlls/Makedll.rules"
a00aa039
JL
23468ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
23469
a360e934
AJ
23470ALL_MAKEFILES="$ALL_MAKEFILES \\
23471 dlls/iccvid/Makefile"
485cc59c 23472test "x$enable_iccvid" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23473 iccvid"
a360e934
AJ
23474ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23475dlls/iccvid/Makefile: dlls/iccvid/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23476ac_config_files="$ac_config_files dlls/iccvid/Makefile"
23477
a360e934
AJ
23478ALL_MAKEFILES="$ALL_MAKEFILES \\
23479 dlls/icmp/Makefile"
485cc59c 23480test "x$enable_icmp" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23481 icmp"
a360e934
AJ
23482ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23483dlls/icmp/Makefile: dlls/icmp/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23484ac_config_files="$ac_config_files dlls/icmp/Makefile"
23485
a360e934
AJ
23486ALL_MAKEFILES="$ALL_MAKEFILES \\
23487 dlls/ifsmgr.vxd/Makefile"
485cc59c 23488test "x$enable_ifsmgr_vxd" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23489 ifsmgr.vxd"
a360e934
AJ
23490ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23491dlls/ifsmgr.vxd/Makefile: dlls/ifsmgr.vxd/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23492ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
23493
a360e934
AJ
23494ALL_MAKEFILES="$ALL_MAKEFILES \\
23495 dlls/imaadp32.acm/Makefile"
485cc59c 23496test "x$enable_imaadp32_acm" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23497 imaadp32.acm"
a360e934
AJ
23498ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23499dlls/imaadp32.acm/Makefile: dlls/imaadp32.acm/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23500ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
23501
a360e934
AJ
23502ALL_MAKEFILES="$ALL_MAKEFILES \\
23503 dlls/imagehlp/Makefile"
485cc59c 23504test "x$enable_imagehlp" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23505 imagehlp"
a360e934
AJ
23506ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23507dlls/imagehlp/Makefile: dlls/imagehlp/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23508ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
23509
a360e934
AJ
23510ALL_MAKEFILES="$ALL_MAKEFILES \\
23511 dlls/imm32/Makefile"
485cc59c 23512test "x$enable_imm32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23513 imm32"
a360e934
AJ
23514ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23515dlls/imm32/Makefile: dlls/imm32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23516ac_config_files="$ac_config_files dlls/imm32/Makefile"
23517
a360e934
AJ
23518ALL_MAKEFILES="$ALL_MAKEFILES \\
23519 dlls/imm32/tests/Makefile"
485cc59c 23520test "x$enable_imm32_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 23521 imm32/tests"
a360e934
AJ
23522ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23523dlls/imm32/tests/Makefile: dlls/imm32/tests/Makefile.in dlls/Maketest.rules"
0a31ab7e
MJ
23524ac_config_files="$ac_config_files dlls/imm32/tests/Makefile"
23525
a360e934
AJ
23526ALL_MAKEFILES="$ALL_MAKEFILES \\
23527 dlls/inetcomm/Makefile"
485cc59c 23528test "x$enable_inetcomm" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23529 inetcomm"
a360e934
AJ
23530ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23531dlls/inetcomm/Makefile: dlls/inetcomm/Makefile.in dlls/Makedll.rules"
beab2c17
RS
23532ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
23533
a360e934
AJ
23534ALL_MAKEFILES="$ALL_MAKEFILES \\
23535 dlls/inetcomm/tests/Makefile"
485cc59c 23536test "x$enable_inetcomm_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 23537 inetcomm/tests"
a360e934
AJ
23538ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23539dlls/inetcomm/tests/Makefile: dlls/inetcomm/tests/Makefile.in dlls/Maketest.rules"
ba6b7e8b
HD
23540ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
23541
a360e934
AJ
23542ALL_MAKEFILES="$ALL_MAKEFILES \\
23543 dlls/inetmib1/Makefile"
485cc59c 23544test "x$enable_inetmib1" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23545 inetmib1"
a360e934
AJ
23546ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23547dlls/inetmib1/Makefile: dlls/inetmib1/Makefile.in dlls/Makedll.rules"
17231579
JL
23548ac_config_files="$ac_config_files dlls/inetmib1/Makefile"
23549
a360e934
AJ
23550ALL_MAKEFILES="$ALL_MAKEFILES \\
23551 dlls/inetmib1/tests/Makefile"
485cc59c 23552test "x$enable_inetmib1_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 23553 inetmib1/tests"
a360e934
AJ
23554ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23555dlls/inetmib1/tests/Makefile: dlls/inetmib1/tests/Makefile.in dlls/Maketest.rules"
cca77db0
JL
23556ac_config_files="$ac_config_files dlls/inetmib1/tests/Makefile"
23557
a360e934
AJ
23558ALL_MAKEFILES="$ALL_MAKEFILES \\
23559 dlls/infosoft/Makefile"
485cc59c 23560test "x$enable_infosoft" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23561 infosoft"
a360e934
AJ
23562ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23563dlls/infosoft/Makefile: dlls/infosoft/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23564ac_config_files="$ac_config_files dlls/infosoft/Makefile"
23565
a360e934
AJ
23566ALL_MAKEFILES="$ALL_MAKEFILES \\
23567 dlls/infosoft/tests/Makefile"
485cc59c 23568test "x$enable_infosoft_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 23569 infosoft/tests"
a360e934
AJ
23570ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23571dlls/infosoft/tests/Makefile: dlls/infosoft/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
23572ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
23573
a360e934
AJ
23574ALL_MAKEFILES="$ALL_MAKEFILES \\
23575 dlls/initpki/Makefile"
485cc59c 23576test "x$enable_initpki" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23577 initpki"
a360e934
AJ
23578ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23579dlls/initpki/Makefile: dlls/initpki/Makefile.in dlls/Makedll.rules"
7c3d24bf
ML
23580ac_config_files="$ac_config_files dlls/initpki/Makefile"
23581
a360e934
AJ
23582ALL_MAKEFILES="$ALL_MAKEFILES \\
23583 dlls/inkobj/Makefile"
485cc59c 23584test "x$enable_inkobj" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23585 inkobj"
a360e934
AJ
23586ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23587dlls/inkobj/Makefile: dlls/inkobj/Makefile.in dlls/Makedll.rules"
e9252251
JK
23588ac_config_files="$ac_config_files dlls/inkobj/Makefile"
23589
a360e934
AJ
23590ALL_MAKEFILES="$ALL_MAKEFILES \\
23591 dlls/inseng/Makefile"
485cc59c 23592test "x$enable_inseng" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23593 inseng"
a360e934
AJ
23594ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23595dlls/inseng/Makefile: dlls/inseng/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23596ac_config_files="$ac_config_files dlls/inseng/Makefile"
23597
a360e934
AJ
23598ALL_MAKEFILES="$ALL_MAKEFILES \\
23599 dlls/iphlpapi/Makefile"
485cc59c 23600test "x$enable_iphlpapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23601 iphlpapi"
a360e934
AJ
23602ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23603dlls/iphlpapi/Makefile: dlls/iphlpapi/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23604ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
23605
a360e934
AJ
23606ALL_MAKEFILES="$ALL_MAKEFILES \\
23607 dlls/iphlpapi/tests/Makefile"
485cc59c 23608test "x$enable_iphlpapi_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 23609 iphlpapi/tests"
a360e934
AJ
23610ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23611dlls/iphlpapi/tests/Makefile: dlls/iphlpapi/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
23612ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
23613
a360e934
AJ
23614ALL_MAKEFILES="$ALL_MAKEFILES \\
23615 dlls/itircl/Makefile"
485cc59c 23616test "x$enable_itircl" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23617 itircl"
a360e934
AJ
23618ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23619dlls/itircl/Makefile: dlls/itircl/Makefile.in dlls/Makedll.rules"
58b0686e
JH
23620ac_config_files="$ac_config_files dlls/itircl/Makefile"
23621
a360e934
AJ
23622ALL_MAKEFILES="$ALL_MAKEFILES \\
23623 dlls/itss/Makefile"
485cc59c 23624test "x$enable_itss" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23625 itss"
a360e934
AJ
23626ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23627dlls/itss/Makefile: dlls/itss/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23628ac_config_files="$ac_config_files dlls/itss/Makefile"
23629
a360e934
AJ
23630ALL_MAKEFILES="$ALL_MAKEFILES \\
23631 dlls/itss/tests/Makefile"
485cc59c 23632test "x$enable_itss_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 23633 itss/tests"
a360e934
AJ
23634ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23635dlls/itss/tests/Makefile: dlls/itss/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
23636ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
23637
a360e934
AJ
23638ALL_MAKEFILES="$ALL_MAKEFILES \\
23639 dlls/jscript/Makefile"
485cc59c 23640test "x$enable_jscript" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23641 jscript"
a360e934
AJ
23642ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23643dlls/jscript/Makefile: dlls/jscript/Makefile.in dlls/Makedll.rules"
fa23a2c4
JC
23644ac_config_files="$ac_config_files dlls/jscript/Makefile"
23645
a360e934
AJ
23646ALL_MAKEFILES="$ALL_MAKEFILES \\
23647 dlls/jscript/tests/Makefile"
485cc59c 23648test "x$enable_jscript_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 23649 jscript/tests"
a360e934
AJ
23650ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23651dlls/jscript/tests/Makefile: dlls/jscript/tests/Makefile.in dlls/Maketest.rules"
63ebe019
JC
23652ac_config_files="$ac_config_files dlls/jscript/tests/Makefile"
23653
a360e934
AJ
23654ALL_MAKEFILES="$ALL_MAKEFILES \\
23655 dlls/kernel32/Makefile"
485cc59c 23656test "x$enable_kernel32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23657 kernel32"
a360e934
AJ
23658ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23659dlls/kernel32/Makefile: dlls/kernel32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23660ac_config_files="$ac_config_files dlls/kernel32/Makefile"
23661
a360e934
AJ
23662ALL_MAKEFILES="$ALL_MAKEFILES \\
23663 dlls/kernel32/tests/Makefile"
485cc59c 23664test "x$enable_kernel32_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 23665 kernel32/tests"
a360e934
AJ
23666ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23667dlls/kernel32/tests/Makefile: dlls/kernel32/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
23668ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
23669
a360e934
AJ
23670ALL_MAKEFILES="$ALL_MAKEFILES \\
23671 dlls/localspl/Makefile"
485cc59c 23672test "x$enable_localspl" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23673 localspl"
a360e934
AJ
23674ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23675dlls/localspl/Makefile: dlls/localspl/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23676ac_config_files="$ac_config_files dlls/localspl/Makefile"
23677
a360e934
AJ
23678ALL_MAKEFILES="$ALL_MAKEFILES \\
23679 dlls/localspl/tests/Makefile"
485cc59c 23680test "x$enable_localspl_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 23681 localspl/tests"
a360e934
AJ
23682ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23683dlls/localspl/tests/Makefile: dlls/localspl/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
23684ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
23685
a360e934
AJ
23686ALL_MAKEFILES="$ALL_MAKEFILES \\
23687 dlls/localui/Makefile"
485cc59c 23688test "x$enable_localui" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23689 localui"
a360e934
AJ
23690ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23691dlls/localui/Makefile: dlls/localui/Makefile.in dlls/Makedll.rules"
d24bc087
DR
23692ac_config_files="$ac_config_files dlls/localui/Makefile"
23693
a360e934
AJ
23694ALL_MAKEFILES="$ALL_MAKEFILES \\
23695 dlls/localui/tests/Makefile"
485cc59c 23696test "x$enable_localui_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 23697 localui/tests"
a360e934
AJ
23698ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23699dlls/localui/tests/Makefile: dlls/localui/tests/Makefile.in dlls/Maketest.rules"
62e92795
DR
23700ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
23701
a360e934
AJ
23702ALL_MAKEFILES="$ALL_MAKEFILES \\
23703 dlls/lz32/Makefile"
485cc59c 23704test "x$enable_lz32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23705 lz32"
a360e934
AJ
23706ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23707dlls/lz32/Makefile: dlls/lz32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23708ac_config_files="$ac_config_files dlls/lz32/Makefile"
23709
a360e934
AJ
23710ALL_MAKEFILES="$ALL_MAKEFILES \\
23711 dlls/lz32/tests/Makefile"
485cc59c 23712test "x$enable_lz32_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 23713 lz32/tests"
a360e934
AJ
23714ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23715dlls/lz32/tests/Makefile: dlls/lz32/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
23716ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
23717
a360e934
AJ
23718ALL_MAKEFILES="$ALL_MAKEFILES \\
23719 dlls/mapi32/Makefile"
485cc59c 23720test "x$enable_mapi32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23721 mapi32"
a360e934
AJ
23722ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23723dlls/mapi32/Makefile: dlls/mapi32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23724ac_config_files="$ac_config_files dlls/mapi32/Makefile"
23725
a360e934
AJ
23726ALL_MAKEFILES="$ALL_MAKEFILES \\
23727 dlls/mapi32/tests/Makefile"
485cc59c 23728test "x$enable_mapi32_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 23729 mapi32/tests"
a360e934
AJ
23730ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23731dlls/mapi32/tests/Makefile: dlls/mapi32/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
23732ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
23733
a360e934
AJ
23734ALL_MAKEFILES="$ALL_MAKEFILES \\
23735 dlls/mciavi32/Makefile"
485cc59c 23736test "x$enable_mciavi32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23737 mciavi32"
a360e934
AJ
23738ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23739dlls/mciavi32/Makefile: dlls/mciavi32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23740ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
23741
a360e934
AJ
23742ALL_MAKEFILES="$ALL_MAKEFILES \\
23743 dlls/mcicda/Makefile"
485cc59c 23744test "x$enable_mcicda" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23745 mcicda"
a360e934
AJ
23746ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23747dlls/mcicda/Makefile: dlls/mcicda/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23748ac_config_files="$ac_config_files dlls/mcicda/Makefile"
23749
a360e934
AJ
23750ALL_MAKEFILES="$ALL_MAKEFILES \\
23751 dlls/mciseq/Makefile"
485cc59c 23752test "x$enable_mciseq" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23753 mciseq"
a360e934
AJ
23754ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23755dlls/mciseq/Makefile: dlls/mciseq/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23756ac_config_files="$ac_config_files dlls/mciseq/Makefile"
23757
a360e934
AJ
23758ALL_MAKEFILES="$ALL_MAKEFILES \\
23759 dlls/mciwave/Makefile"
485cc59c 23760test "x$enable_mciwave" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23761 mciwave"
a360e934
AJ
23762ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23763dlls/mciwave/Makefile: dlls/mciwave/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23764ac_config_files="$ac_config_files dlls/mciwave/Makefile"
23765
a360e934
AJ
23766ALL_MAKEFILES="$ALL_MAKEFILES \\
23767 dlls/midimap/Makefile"
485cc59c 23768test "x$enable_midimap" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23769 midimap"
a360e934
AJ
23770ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23771dlls/midimap/Makefile: dlls/midimap/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23772ac_config_files="$ac_config_files dlls/midimap/Makefile"
23773
a360e934
AJ
23774ALL_MAKEFILES="$ALL_MAKEFILES \\
23775 dlls/mlang/Makefile"
485cc59c 23776test "x$enable_mlang" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23777 mlang"
a360e934
AJ
23778ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23779dlls/mlang/Makefile: dlls/mlang/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23780ac_config_files="$ac_config_files dlls/mlang/Makefile"
23781
a360e934
AJ
23782ALL_MAKEFILES="$ALL_MAKEFILES \\
23783 dlls/mlang/tests/Makefile"
485cc59c 23784test "x$enable_mlang_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 23785 mlang/tests"
a360e934
AJ
23786ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23787dlls/mlang/tests/Makefile: dlls/mlang/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
23788ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
23789
a360e934
AJ
23790ALL_MAKEFILES="$ALL_MAKEFILES \\
23791 dlls/mmdevldr.vxd/Makefile"
485cc59c 23792test "x$enable_mmdevldr_vxd" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23793 mmdevldr.vxd"
a360e934
AJ
23794ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23795dlls/mmdevldr.vxd/Makefile: dlls/mmdevldr.vxd/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23796ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
23797
a360e934
AJ
23798ALL_MAKEFILES="$ALL_MAKEFILES \\
23799 dlls/monodebg.vxd/Makefile"
485cc59c 23800test "x$enable_monodebg_vxd" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23801 monodebg.vxd"
a360e934
AJ
23802ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23803dlls/monodebg.vxd/Makefile: dlls/monodebg.vxd/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23804ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
23805
a360e934
AJ
23806ALL_MAKEFILES="$ALL_MAKEFILES \\
23807 dlls/mountmgr.sys/Makefile"
485cc59c 23808test "x$enable_mountmgr_sys" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23809 mountmgr.sys"
a360e934
AJ
23810ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23811dlls/mountmgr.sys/Makefile: dlls/mountmgr.sys/Makefile.in dlls/Makedll.rules"
43dc80e6
AJ
23812ac_config_files="$ac_config_files dlls/mountmgr.sys/Makefile"
23813
a360e934
AJ
23814ALL_MAKEFILES="$ALL_MAKEFILES \\
23815 dlls/mpr/Makefile"
485cc59c 23816test "x$enable_mpr" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23817 mpr"
a360e934
AJ
23818ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23819dlls/mpr/Makefile: dlls/mpr/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23820ac_config_files="$ac_config_files dlls/mpr/Makefile"
23821
a360e934
AJ
23822ALL_MAKEFILES="$ALL_MAKEFILES \\
23823 dlls/mprapi/Makefile"
485cc59c 23824test "x$enable_mprapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23825 mprapi"
a360e934
AJ
23826ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23827dlls/mprapi/Makefile: dlls/mprapi/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23828ac_config_files="$ac_config_files dlls/mprapi/Makefile"
23829
a360e934
AJ
23830ALL_MAKEFILES="$ALL_MAKEFILES \\
23831 dlls/msacm32.drv/Makefile"
485cc59c 23832test "x$enable_msacm32_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23833 msacm32.drv"
a360e934
AJ
23834ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23835dlls/msacm32.drv/Makefile: dlls/msacm32.drv/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23836ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
23837
a360e934
AJ
23838ALL_MAKEFILES="$ALL_MAKEFILES \\
23839 dlls/msacm32/Makefile"
485cc59c 23840test "x$enable_msacm32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23841 msacm32"
a360e934
AJ
23842ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23843dlls/msacm32/Makefile: dlls/msacm32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23844ac_config_files="$ac_config_files dlls/msacm32/Makefile"
23845
a360e934
AJ
23846ALL_MAKEFILES="$ALL_MAKEFILES \\
23847 dlls/msacm32/tests/Makefile"
485cc59c 23848test "x$enable_msacm32_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 23849 msacm32/tests"
a360e934
AJ
23850ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23851dlls/msacm32/tests/Makefile: dlls/msacm32/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
23852ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
23853
a360e934
AJ
23854ALL_MAKEFILES="$ALL_MAKEFILES \\
23855 dlls/msadp32.acm/Makefile"
485cc59c 23856test "x$enable_msadp32_acm" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23857 msadp32.acm"
a360e934
AJ
23858ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23859dlls/msadp32.acm/Makefile: dlls/msadp32.acm/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23860ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
23861
a360e934
AJ
23862ALL_MAKEFILES="$ALL_MAKEFILES \\
23863 dlls/mscat32/Makefile"
485cc59c 23864test "x$enable_mscat32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23865 mscat32"
a360e934
AJ
23866ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23867dlls/mscat32/Makefile: dlls/mscat32/Makefile.in dlls/Makedll.rules"
6103f312
ANS
23868ac_config_files="$ac_config_files dlls/mscat32/Makefile"
23869
a360e934
AJ
23870ALL_MAKEFILES="$ALL_MAKEFILES \\
23871 dlls/mscms/Makefile"
485cc59c 23872test "x$enable_mscms" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23873 mscms"
a360e934
AJ
23874ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23875dlls/mscms/Makefile: dlls/mscms/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23876ac_config_files="$ac_config_files dlls/mscms/Makefile"
23877
a360e934
AJ
23878ALL_MAKEFILES="$ALL_MAKEFILES \\
23879 dlls/mscms/tests/Makefile"
485cc59c 23880test "x$enable_mscms_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 23881 mscms/tests"
a360e934
AJ
23882ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23883dlls/mscms/tests/Makefile: dlls/mscms/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
23884ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
23885
a360e934
AJ
23886ALL_MAKEFILES="$ALL_MAKEFILES \\
23887 dlls/mscoree/Makefile"
485cc59c 23888test "x$enable_mscoree" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23889 mscoree"
a360e934
AJ
23890ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23891dlls/mscoree/Makefile: dlls/mscoree/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23892ac_config_files="$ac_config_files dlls/mscoree/Makefile"
23893
a360e934
AJ
23894ALL_MAKEFILES="$ALL_MAKEFILES \\
23895 dlls/msdmo/Makefile"
485cc59c 23896test "x$enable_msdmo" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23897 msdmo"
a360e934
AJ
23898ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23899dlls/msdmo/Makefile: dlls/msdmo/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23900ac_config_files="$ac_config_files dlls/msdmo/Makefile"
23901
a360e934
AJ
23902ALL_MAKEFILES="$ALL_MAKEFILES \\
23903 dlls/msftedit/Makefile"
485cc59c 23904test "x$enable_msftedit" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23905 msftedit"
a360e934
AJ
23906ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23907dlls/msftedit/Makefile: dlls/msftedit/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23908ac_config_files="$ac_config_files dlls/msftedit/Makefile"
23909
a360e934
AJ
23910ALL_MAKEFILES="$ALL_MAKEFILES \\
23911 dlls/msg711.acm/Makefile"
485cc59c 23912test "x$enable_msg711_acm" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23913 msg711.acm"
a360e934
AJ
23914ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23915dlls/msg711.acm/Makefile: dlls/msg711.acm/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23916ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
23917
a360e934
AJ
23918ALL_MAKEFILES="$ALL_MAKEFILES \\
23919 dlls/mshtml.tlb/Makefile"
485cc59c 23920test "x$enable_mshtml_tlb" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23921 mshtml.tlb"
a360e934
AJ
23922ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23923dlls/mshtml.tlb/Makefile: dlls/mshtml.tlb/Makefile.in dlls/Makedll.rules"
021d06a4
JC
23924ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
23925
a360e934
AJ
23926ALL_MAKEFILES="$ALL_MAKEFILES \\
23927 dlls/mshtml/Makefile"
485cc59c 23928test "x$enable_mshtml" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23929 mshtml"
a360e934
AJ
23930ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23931dlls/mshtml/Makefile: dlls/mshtml/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23932ac_config_files="$ac_config_files dlls/mshtml/Makefile"
23933
a360e934
AJ
23934ALL_MAKEFILES="$ALL_MAKEFILES \\
23935 dlls/mshtml/tests/Makefile"
485cc59c 23936test "x$enable_mshtml_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 23937 mshtml/tests"
a360e934
AJ
23938ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23939dlls/mshtml/tests/Makefile: dlls/mshtml/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
23940ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
23941
a360e934
AJ
23942ALL_MAKEFILES="$ALL_MAKEFILES \\
23943 dlls/msi/Makefile"
485cc59c 23944test "x$enable_msi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23945 msi"
a360e934
AJ
23946ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23947dlls/msi/Makefile: dlls/msi/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23948ac_config_files="$ac_config_files dlls/msi/Makefile"
23949
a360e934
AJ
23950ALL_MAKEFILES="$ALL_MAKEFILES \\
23951 dlls/msi/tests/Makefile"
485cc59c 23952test "x$enable_msi_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 23953 msi/tests"
a360e934
AJ
23954ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23955dlls/msi/tests/Makefile: dlls/msi/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
23956ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
23957
a360e934
AJ
23958ALL_MAKEFILES="$ALL_MAKEFILES \\
23959 dlls/msimg32/Makefile"
485cc59c 23960test "x$enable_msimg32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23961 msimg32"
a360e934
AJ
23962ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23963dlls/msimg32/Makefile: dlls/msimg32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23964ac_config_files="$ac_config_files dlls/msimg32/Makefile"
23965
a360e934
AJ
23966ALL_MAKEFILES="$ALL_MAKEFILES \\
23967 dlls/msimtf/Makefile"
485cc59c 23968test "x$enable_msimtf" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23969 msimtf"
a360e934
AJ
23970ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23971dlls/msimtf/Makefile: dlls/msimtf/Makefile.in dlls/Makedll.rules"
44a808fb
JC
23972ac_config_files="$ac_config_files dlls/msimtf/Makefile"
23973
a360e934
AJ
23974ALL_MAKEFILES="$ALL_MAKEFILES \\
23975 dlls/msisip/Makefile"
485cc59c 23976test "x$enable_msisip" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23977 msisip"
a360e934
AJ
23978ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23979dlls/msisip/Makefile: dlls/msisip/Makefile.in dlls/Makedll.rules"
8a6c2c2b
JL
23980ac_config_files="$ac_config_files dlls/msisip/Makefile"
23981
a360e934
AJ
23982ALL_MAKEFILES="$ALL_MAKEFILES \\
23983 dlls/msisys.ocx/Makefile"
485cc59c 23984test "x$enable_msisys_ocx" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23985 msisys.ocx"
a360e934
AJ
23986ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23987dlls/msisys.ocx/Makefile: dlls/msisys.ocx/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23988ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
23989
a360e934
AJ
23990ALL_MAKEFILES="$ALL_MAKEFILES \\
23991 dlls/msnet32/Makefile"
485cc59c 23992test "x$enable_msnet32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23993 msnet32"
a360e934
AJ
23994ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23995dlls/msnet32/Makefile: dlls/msnet32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23996ac_config_files="$ac_config_files dlls/msnet32/Makefile"
23997
a360e934
AJ
23998ALL_MAKEFILES="$ALL_MAKEFILES \\
23999 dlls/msrle32/Makefile"
485cc59c 24000test "x$enable_msrle32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24001 msrle32"
a360e934
AJ
24002ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24003dlls/msrle32/Makefile: dlls/msrle32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24004ac_config_files="$ac_config_files dlls/msrle32/Makefile"
24005
a360e934
AJ
24006ALL_MAKEFILES="$ALL_MAKEFILES \\
24007 dlls/mssip32/Makefile"
485cc59c 24008test "x$enable_mssip32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24009 mssip32"
a360e934
AJ
24010ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24011dlls/mssip32/Makefile: dlls/mssip32/Makefile.in dlls/Makedll.rules"
c438d239
ML
24012ac_config_files="$ac_config_files dlls/mssip32/Makefile"
24013
a360e934
AJ
24014ALL_MAKEFILES="$ALL_MAKEFILES \\
24015 dlls/mstask/Makefile"
485cc59c 24016test "x$enable_mstask" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24017 mstask"
a360e934
AJ
24018ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24019dlls/mstask/Makefile: dlls/mstask/Makefile.in dlls/Makedll.rules"
80ee225f
RS
24020ac_config_files="$ac_config_files dlls/mstask/Makefile"
24021
a360e934
AJ
24022ALL_MAKEFILES="$ALL_MAKEFILES \\
24023 dlls/mstask/tests/Makefile"
485cc59c 24024test "x$enable_mstask_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24025 mstask/tests"
a360e934
AJ
24026ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24027dlls/mstask/tests/Makefile: dlls/mstask/tests/Makefile.in dlls/Maketest.rules"
3842ab09
AJ
24028ac_config_files="$ac_config_files dlls/mstask/tests/Makefile"
24029
a360e934
AJ
24030ALL_MAKEFILES="$ALL_MAKEFILES \\
24031 dlls/msvcirt/Makefile"
485cc59c 24032test "x$enable_msvcirt" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24033 msvcirt"
a360e934
AJ
24034ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24035dlls/msvcirt/Makefile: dlls/msvcirt/Makefile.in dlls/Makedll.rules"
455a4994
AJ
24036ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
24037
a360e934
AJ
24038ALL_MAKEFILES="$ALL_MAKEFILES \\
24039 dlls/msvcr71/Makefile"
485cc59c 24040test "x$enable_msvcr71" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24041 msvcr71"
a360e934
AJ
24042ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24043dlls/msvcr71/Makefile: dlls/msvcr71/Makefile.in dlls/Makedll.rules"
67815c6b
HL
24044ac_config_files="$ac_config_files dlls/msvcr71/Makefile"
24045
a360e934
AJ
24046ALL_MAKEFILES="$ALL_MAKEFILES \\
24047 dlls/msvcrt/Makefile"
485cc59c 24048test "x$enable_msvcrt" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24049 msvcrt"
a360e934
AJ
24050ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24051dlls/msvcrt/Makefile: dlls/msvcrt/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24052ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
24053
a360e934
AJ
24054ALL_MAKEFILES="$ALL_MAKEFILES \\
24055 dlls/msvcrt/tests/Makefile"
485cc59c 24056test "x$enable_msvcrt_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24057 msvcrt/tests"
a360e934
AJ
24058ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24059dlls/msvcrt/tests/Makefile: dlls/msvcrt/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
24060ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
24061
a360e934
AJ
24062ALL_MAKEFILES="$ALL_MAKEFILES \\
24063 dlls/msvcrt20/Makefile"
485cc59c 24064test "x$enable_msvcrt20" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24065 msvcrt20"
a360e934
AJ
24066ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24067dlls/msvcrt20/Makefile: dlls/msvcrt20/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24068ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
24069
a360e934
AJ
24070ALL_MAKEFILES="$ALL_MAKEFILES \\
24071 dlls/msvcrt40/Makefile"
485cc59c 24072test "x$enable_msvcrt40" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24073 msvcrt40"
a360e934
AJ
24074ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24075dlls/msvcrt40/Makefile: dlls/msvcrt40/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24076ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
24077
a360e934
AJ
24078ALL_MAKEFILES="$ALL_MAKEFILES \\
24079 dlls/msvcrtd/Makefile"
485cc59c 24080test "x$enable_msvcrtd" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24081 msvcrtd"
a360e934
AJ
24082ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24083dlls/msvcrtd/Makefile: dlls/msvcrtd/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24084ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
24085
a360e934
AJ
24086ALL_MAKEFILES="$ALL_MAKEFILES \\
24087 dlls/msvcrtd/tests/Makefile"
485cc59c 24088test "x$enable_msvcrtd_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24089 msvcrtd/tests"
a360e934
AJ
24090ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24091dlls/msvcrtd/tests/Makefile: dlls/msvcrtd/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
24092ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
24093
a360e934
AJ
24094ALL_MAKEFILES="$ALL_MAKEFILES \\
24095 dlls/msvfw32/Makefile"
485cc59c 24096test "x$enable_msvfw32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24097 msvfw32"
a360e934
AJ
24098ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24099dlls/msvfw32/Makefile: dlls/msvfw32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24100ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
24101
a360e934
AJ
24102ALL_MAKEFILES="$ALL_MAKEFILES \\
24103 dlls/msvidc32/Makefile"
485cc59c 24104test "x$enable_msvidc32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24105 msvidc32"
a360e934
AJ
24106ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24107dlls/msvidc32/Makefile: dlls/msvidc32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24108ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
24109
a360e934
AJ
24110ALL_MAKEFILES="$ALL_MAKEFILES \\
24111 dlls/mswsock/Makefile"
485cc59c 24112test "x$enable_mswsock" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24113 mswsock"
a360e934
AJ
24114ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24115dlls/mswsock/Makefile: dlls/mswsock/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24116ac_config_files="$ac_config_files dlls/mswsock/Makefile"
24117
a360e934
AJ
24118ALL_MAKEFILES="$ALL_MAKEFILES \\
24119 dlls/msxml3/Makefile"
485cc59c 24120test "x$enable_msxml3" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24121 msxml3"
a360e934
AJ
24122ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24123dlls/msxml3/Makefile: dlls/msxml3/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24124ac_config_files="$ac_config_files dlls/msxml3/Makefile"
24125
a360e934
AJ
24126ALL_MAKEFILES="$ALL_MAKEFILES \\
24127 dlls/msxml3/tests/Makefile"
485cc59c 24128test "x$enable_msxml3_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24129 msxml3/tests"
a360e934
AJ
24130ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24131dlls/msxml3/tests/Makefile: dlls/msxml3/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
24132ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
24133
a360e934
AJ
24134ALL_MAKEFILES="$ALL_MAKEFILES \\
24135 dlls/nddeapi/Makefile"
485cc59c 24136test "x$enable_nddeapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24137 nddeapi"
a360e934
AJ
24138ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24139dlls/nddeapi/Makefile: dlls/nddeapi/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24140ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
24141
a360e934
AJ
24142ALL_MAKEFILES="$ALL_MAKEFILES \\
24143 dlls/netapi32/Makefile"
485cc59c 24144test "x$enable_netapi32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24145 netapi32"
a360e934
AJ
24146ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24147dlls/netapi32/Makefile: dlls/netapi32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24148ac_config_files="$ac_config_files dlls/netapi32/Makefile"
24149
a360e934
AJ
24150ALL_MAKEFILES="$ALL_MAKEFILES \\
24151 dlls/netapi32/tests/Makefile"
485cc59c 24152test "x$enable_netapi32_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24153 netapi32/tests"
a360e934
AJ
24154ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24155dlls/netapi32/tests/Makefile: dlls/netapi32/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
24156ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
24157
a360e934
AJ
24158ALL_MAKEFILES="$ALL_MAKEFILES \\
24159 dlls/newdev/Makefile"
485cc59c 24160test "x$enable_newdev" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24161 newdev"
a360e934
AJ
24162ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24163dlls/newdev/Makefile: dlls/newdev/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24164ac_config_files="$ac_config_files dlls/newdev/Makefile"
24165
a360e934
AJ
24166ALL_MAKEFILES="$ALL_MAKEFILES \\
24167 dlls/ntdll/Makefile"
485cc59c 24168test "x$enable_ntdll" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24169 ntdll"
a360e934
AJ
24170ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24171dlls/ntdll/Makefile: dlls/ntdll/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24172ac_config_files="$ac_config_files dlls/ntdll/Makefile"
24173
a360e934
AJ
24174ALL_MAKEFILES="$ALL_MAKEFILES \\
24175 dlls/ntdll/tests/Makefile"
485cc59c 24176test "x$enable_ntdll_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24177 ntdll/tests"
a360e934
AJ
24178ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24179dlls/ntdll/tests/Makefile: dlls/ntdll/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
24180ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
24181
a360e934
AJ
24182ALL_MAKEFILES="$ALL_MAKEFILES \\
24183 dlls/ntdsapi/Makefile"
485cc59c 24184test "x$enable_ntdsapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24185 ntdsapi"
a360e934
AJ
24186ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24187dlls/ntdsapi/Makefile: dlls/ntdsapi/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24188ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
24189
a360e934
AJ
24190ALL_MAKEFILES="$ALL_MAKEFILES \\
24191 dlls/ntdsapi/tests/Makefile"
485cc59c 24192test "x$enable_ntdsapi_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24193 ntdsapi/tests"
a360e934
AJ
24194ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24195dlls/ntdsapi/tests/Makefile: dlls/ntdsapi/tests/Makefile.in dlls/Maketest.rules"
5db45041
RS
24196ac_config_files="$ac_config_files dlls/ntdsapi/tests/Makefile"
24197
a360e934
AJ
24198ALL_MAKEFILES="$ALL_MAKEFILES \\
24199 dlls/ntoskrnl.exe/Makefile"
485cc59c 24200test "x$enable_ntoskrnl_exe" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24201 ntoskrnl.exe"
a360e934
AJ
24202ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24203dlls/ntoskrnl.exe/Makefile: dlls/ntoskrnl.exe/Makefile.in dlls/Makedll.rules"
12c169d2
AJ
24204ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
24205
a360e934
AJ
24206ALL_MAKEFILES="$ALL_MAKEFILES \\
24207 dlls/ntprint/Makefile"
485cc59c 24208test "x$enable_ntprint" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24209 ntprint"
a360e934
AJ
24210ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24211dlls/ntprint/Makefile: dlls/ntprint/Makefile.in dlls/Makedll.rules"
a8697b58
DR
24212ac_config_files="$ac_config_files dlls/ntprint/Makefile"
24213
a360e934
AJ
24214ALL_MAKEFILES="$ALL_MAKEFILES \\
24215 dlls/ntprint/tests/Makefile"
485cc59c 24216test "x$enable_ntprint_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24217 ntprint/tests"
a360e934
AJ
24218ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24219dlls/ntprint/tests/Makefile: dlls/ntprint/tests/Makefile.in dlls/Maketest.rules"
a114483e
DR
24220ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
24221
a360e934
AJ
24222ALL_MAKEFILES="$ALL_MAKEFILES \\
24223 dlls/objsel/Makefile"
485cc59c 24224test "x$enable_objsel" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24225 objsel"
a360e934
AJ
24226ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24227dlls/objsel/Makefile: dlls/objsel/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24228ac_config_files="$ac_config_files dlls/objsel/Makefile"
24229
a360e934
AJ
24230ALL_MAKEFILES="$ALL_MAKEFILES \\
24231 dlls/odbc32/Makefile"
485cc59c 24232test "x$enable_odbc32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24233 odbc32"
a360e934
AJ
24234ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24235dlls/odbc32/Makefile: dlls/odbc32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24236ac_config_files="$ac_config_files dlls/odbc32/Makefile"
24237
a360e934
AJ
24238ALL_MAKEFILES="$ALL_MAKEFILES \\
24239 dlls/odbccp32/Makefile"
485cc59c 24240test "x$enable_odbccp32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24241 odbccp32"
a360e934
AJ
24242ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24243dlls/odbccp32/Makefile: dlls/odbccp32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24244ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
24245
a360e934
AJ
24246ALL_MAKEFILES="$ALL_MAKEFILES \\
24247 dlls/odbccp32/tests/Makefile"
485cc59c 24248test "x$enable_odbccp32_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24249 odbccp32/tests"
a360e934
AJ
24250ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24251dlls/odbccp32/tests/Makefile: dlls/odbccp32/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
24252ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
24253
a360e934
AJ
24254ALL_MAKEFILES="$ALL_MAKEFILES \\
24255 dlls/ole32/Makefile"
485cc59c 24256test "x$enable_ole32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24257 ole32"
a360e934
AJ
24258ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24259dlls/ole32/Makefile: dlls/ole32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24260ac_config_files="$ac_config_files dlls/ole32/Makefile"
24261
a360e934
AJ
24262ALL_MAKEFILES="$ALL_MAKEFILES \\
24263 dlls/ole32/tests/Makefile"
485cc59c 24264test "x$enable_ole32_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24265 ole32/tests"
a360e934
AJ
24266ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24267dlls/ole32/tests/Makefile: dlls/ole32/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
24268ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
24269
a360e934
AJ
24270ALL_MAKEFILES="$ALL_MAKEFILES \\
24271 dlls/oleacc/Makefile"
485cc59c 24272test "x$enable_oleacc" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24273 oleacc"
a360e934
AJ
24274ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24275dlls/oleacc/Makefile: dlls/oleacc/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24276ac_config_files="$ac_config_files dlls/oleacc/Makefile"
24277
a360e934
AJ
24278ALL_MAKEFILES="$ALL_MAKEFILES \\
24279 dlls/oleaut32/Makefile"
485cc59c 24280test "x$enable_oleaut32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24281 oleaut32"
a360e934
AJ
24282ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24283dlls/oleaut32/Makefile: dlls/oleaut32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24284ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
24285
a360e934
AJ
24286ALL_MAKEFILES="$ALL_MAKEFILES \\
24287 dlls/oleaut32/tests/Makefile"
485cc59c 24288test "x$enable_oleaut32_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24289 oleaut32/tests"
a360e934
AJ
24290ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24291dlls/oleaut32/tests/Makefile: dlls/oleaut32/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
24292ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
24293
a360e934
AJ
24294ALL_MAKEFILES="$ALL_MAKEFILES \\
24295 dlls/olecli32/Makefile"
485cc59c 24296test "x$enable_olecli32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24297 olecli32"
a360e934
AJ
24298ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24299dlls/olecli32/Makefile: dlls/olecli32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24300ac_config_files="$ac_config_files dlls/olecli32/Makefile"
24301
a360e934
AJ
24302ALL_MAKEFILES="$ALL_MAKEFILES \\
24303 dlls/oledlg/Makefile"
485cc59c 24304test "x$enable_oledlg" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24305 oledlg"
a360e934
AJ
24306ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24307dlls/oledlg/Makefile: dlls/oledlg/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24308ac_config_files="$ac_config_files dlls/oledlg/Makefile"
24309
a360e934
AJ
24310ALL_MAKEFILES="$ALL_MAKEFILES \\
24311 dlls/olepro32/Makefile"
485cc59c 24312test "x$enable_olepro32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24313 olepro32"
a360e934
AJ
24314ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24315dlls/olepro32/Makefile: dlls/olepro32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24316ac_config_files="$ac_config_files dlls/olepro32/Makefile"
24317
a360e934
AJ
24318ALL_MAKEFILES="$ALL_MAKEFILES \\
24319 dlls/olesvr32/Makefile"
485cc59c 24320test "x$enable_olesvr32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24321 olesvr32"
a360e934
AJ
24322ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24323dlls/olesvr32/Makefile: dlls/olesvr32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24324ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
24325
a360e934
AJ
24326ALL_MAKEFILES="$ALL_MAKEFILES \\
24327 dlls/olethk32/Makefile"
485cc59c 24328test "x$enable_olethk32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24329 olethk32"
a360e934
AJ
24330ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24331dlls/olethk32/Makefile: dlls/olethk32/Makefile.in dlls/Makedll.rules"
7db1bd9f
SL
24332ac_config_files="$ac_config_files dlls/olethk32/Makefile"
24333
a360e934
AJ
24334ALL_MAKEFILES="$ALL_MAKEFILES \\
24335 dlls/opengl32/Makefile"
485cc59c 24336test "x$enable_opengl32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24337 opengl32"
a360e934
AJ
24338ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24339dlls/opengl32/Makefile: dlls/opengl32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24340ac_config_files="$ac_config_files dlls/opengl32/Makefile"
24341
a360e934
AJ
24342ALL_MAKEFILES="$ALL_MAKEFILES \\
24343 dlls/opengl32/tests/Makefile"
485cc59c 24344test "x$enable_opengl32_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24345 opengl32/tests"
a360e934
AJ
24346ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24347dlls/opengl32/tests/Makefile: dlls/opengl32/tests/Makefile.in dlls/Maketest.rules"
219269c0
RC
24348ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
24349
a360e934
AJ
24350ALL_MAKEFILES="$ALL_MAKEFILES \\
24351 dlls/pdh/Makefile"
485cc59c 24352test "x$enable_pdh" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24353 pdh"
a360e934
AJ
24354ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24355dlls/pdh/Makefile: dlls/pdh/Makefile.in dlls/Makedll.rules"
41f15a76
AT
24356ac_config_files="$ac_config_files dlls/pdh/Makefile"
24357
a360e934
AJ
24358ALL_MAKEFILES="$ALL_MAKEFILES \\
24359 dlls/pdh/tests/Makefile"
485cc59c 24360test "x$enable_pdh_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24361 pdh/tests"
a360e934
AJ
24362ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24363dlls/pdh/tests/Makefile: dlls/pdh/tests/Makefile.in dlls/Maketest.rules"
0a6f6874
HL
24364ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
24365
a360e934
AJ
24366ALL_MAKEFILES="$ALL_MAKEFILES \\
24367 dlls/powrprof/Makefile"
485cc59c 24368test "x$enable_powrprof" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24369 powrprof"
a360e934
AJ
24370ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24371dlls/powrprof/Makefile: dlls/powrprof/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24372ac_config_files="$ac_config_files dlls/powrprof/Makefile"
24373
a360e934
AJ
24374ALL_MAKEFILES="$ALL_MAKEFILES \\
24375 dlls/printui/Makefile"
485cc59c 24376test "x$enable_printui" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24377 printui"
a360e934
AJ
24378ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24379dlls/printui/Makefile: dlls/printui/Makefile.in dlls/Makedll.rules"
3fd4a536
DR
24380ac_config_files="$ac_config_files dlls/printui/Makefile"
24381
a360e934
AJ
24382ALL_MAKEFILES="$ALL_MAKEFILES \\
24383 dlls/propsys/Makefile"
485cc59c 24384test "x$enable_propsys" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24385 propsys"
a360e934
AJ
24386ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24387dlls/propsys/Makefile: dlls/propsys/Makefile.in dlls/Makedll.rules"
07588027
JH
24388ac_config_files="$ac_config_files dlls/propsys/Makefile"
24389
a360e934
AJ
24390ALL_MAKEFILES="$ALL_MAKEFILES \\
24391 dlls/psapi/Makefile"
485cc59c 24392test "x$enable_psapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24393 psapi"
a360e934
AJ
24394ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24395dlls/psapi/Makefile: dlls/psapi/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24396ac_config_files="$ac_config_files dlls/psapi/Makefile"
24397
a360e934
AJ
24398ALL_MAKEFILES="$ALL_MAKEFILES \\
24399 dlls/psapi/tests/Makefile"
485cc59c 24400test "x$enable_psapi_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24401 psapi/tests"
a360e934
AJ
24402ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24403dlls/psapi/tests/Makefile: dlls/psapi/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
24404ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
24405
a360e934
AJ
24406ALL_MAKEFILES="$ALL_MAKEFILES \\
24407 dlls/pstorec/Makefile"
485cc59c 24408test "x$enable_pstorec" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24409 pstorec"
a360e934
AJ
24410ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24411dlls/pstorec/Makefile: dlls/pstorec/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24412ac_config_files="$ac_config_files dlls/pstorec/Makefile"
24413
a360e934
AJ
24414ALL_MAKEFILES="$ALL_MAKEFILES \\
24415 dlls/qcap/Makefile"
485cc59c 24416test "x$enable_qcap" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24417 qcap"
a360e934
AJ
24418ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24419dlls/qcap/Makefile: dlls/qcap/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24420ac_config_files="$ac_config_files dlls/qcap/Makefile"
24421
a360e934
AJ
24422ALL_MAKEFILES="$ALL_MAKEFILES \\
24423 dlls/qedit/Makefile"
485cc59c 24424test "x$enable_qedit" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24425 qedit"
a360e934
AJ
24426ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24427dlls/qedit/Makefile: dlls/qedit/Makefile.in dlls/Makedll.rules"
6de8be71
LZ
24428ac_config_files="$ac_config_files dlls/qedit/Makefile"
24429
a360e934
AJ
24430ALL_MAKEFILES="$ALL_MAKEFILES \\
24431 dlls/qedit/tests/Makefile"
485cc59c 24432test "x$enable_qedit_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24433 qedit/tests"
a360e934
AJ
24434ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24435dlls/qedit/tests/Makefile: dlls/qedit/tests/Makefile.in dlls/Maketest.rules"
e8551a07
LZ
24436ac_config_files="$ac_config_files dlls/qedit/tests/Makefile"
24437
a360e934
AJ
24438ALL_MAKEFILES="$ALL_MAKEFILES \\
24439 dlls/qmgr/Makefile"
485cc59c 24440test "x$enable_qmgr" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24441 qmgr"
a360e934
AJ
24442ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24443dlls/qmgr/Makefile: dlls/qmgr/Makefile.in dlls/Makedll.rules"
2b0255f6
RS
24444ac_config_files="$ac_config_files dlls/qmgr/Makefile"
24445
a360e934
AJ
24446ALL_MAKEFILES="$ALL_MAKEFILES \\
24447 dlls/qmgr/tests/Makefile"
485cc59c 24448test "x$enable_qmgr_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24449 qmgr/tests"
a360e934
AJ
24450ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24451dlls/qmgr/tests/Makefile: dlls/qmgr/tests/Makefile.in dlls/Maketest.rules"
884e7e7b
RS
24452ac_config_files="$ac_config_files dlls/qmgr/tests/Makefile"
24453
a360e934
AJ
24454ALL_MAKEFILES="$ALL_MAKEFILES \\
24455 dlls/qmgrprxy/Makefile"
485cc59c 24456test "x$enable_qmgrprxy" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24457 qmgrprxy"
a360e934
AJ
24458ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24459dlls/qmgrprxy/Makefile: dlls/qmgrprxy/Makefile.in dlls/Makedll.rules"
00ef4e58
RS
24460ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
24461
a360e934
AJ
24462ALL_MAKEFILES="$ALL_MAKEFILES \\
24463 dlls/quartz/Makefile"
485cc59c 24464test "x$enable_quartz" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24465 quartz"
a360e934
AJ
24466ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24467dlls/quartz/Makefile: dlls/quartz/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24468ac_config_files="$ac_config_files dlls/quartz/Makefile"
24469
a360e934
AJ
24470ALL_MAKEFILES="$ALL_MAKEFILES \\
24471 dlls/quartz/tests/Makefile"
485cc59c 24472test "x$enable_quartz_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24473 quartz/tests"
a360e934
AJ
24474ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24475dlls/quartz/tests/Makefile: dlls/quartz/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
24476ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
24477
a360e934
AJ
24478ALL_MAKEFILES="$ALL_MAKEFILES \\
24479 dlls/query/Makefile"
485cc59c 24480test "x$enable_query" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24481 query"
a360e934
AJ
24482ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24483dlls/query/Makefile: dlls/query/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24484ac_config_files="$ac_config_files dlls/query/Makefile"
24485
a360e934
AJ
24486ALL_MAKEFILES="$ALL_MAKEFILES \\
24487 dlls/rasapi32/Makefile"
485cc59c 24488test "x$enable_rasapi32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24489 rasapi32"
a360e934
AJ
24490ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24491dlls/rasapi32/Makefile: dlls/rasapi32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24492ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
24493
a360e934
AJ
24494ALL_MAKEFILES="$ALL_MAKEFILES \\
24495 dlls/rasapi32/tests/Makefile"
485cc59c 24496test "x$enable_rasapi32_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24497 rasapi32/tests"
a360e934
AJ
24498ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24499dlls/rasapi32/tests/Makefile: dlls/rasapi32/tests/Makefile.in dlls/Maketest.rules"
b8c6d8e5
SL
24500ac_config_files="$ac_config_files dlls/rasapi32/tests/Makefile"
24501
a360e934
AJ
24502ALL_MAKEFILES="$ALL_MAKEFILES \\
24503 dlls/resutils/Makefile"
485cc59c 24504test "x$enable_resutils" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24505 resutils"
a360e934
AJ
24506ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24507dlls/resutils/Makefile: dlls/resutils/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24508ac_config_files="$ac_config_files dlls/resutils/Makefile"
24509
a360e934
AJ
24510ALL_MAKEFILES="$ALL_MAKEFILES \\
24511 dlls/riched20/Makefile"
485cc59c 24512test "x$enable_riched20" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24513 riched20"
a360e934
AJ
24514ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24515dlls/riched20/Makefile: dlls/riched20/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24516ac_config_files="$ac_config_files dlls/riched20/Makefile"
24517
a360e934
AJ
24518ALL_MAKEFILES="$ALL_MAKEFILES \\
24519 dlls/riched20/tests/Makefile"
485cc59c 24520test "x$enable_riched20_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24521 riched20/tests"
a360e934
AJ
24522ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24523dlls/riched20/tests/Makefile: dlls/riched20/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
24524ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
24525
a360e934
AJ
24526ALL_MAKEFILES="$ALL_MAKEFILES \\
24527 dlls/riched32/Makefile"
485cc59c 24528test "x$enable_riched32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24529 riched32"
a360e934
AJ
24530ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24531dlls/riched32/Makefile: dlls/riched32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24532ac_config_files="$ac_config_files dlls/riched32/Makefile"
24533
a360e934
AJ
24534ALL_MAKEFILES="$ALL_MAKEFILES \\
24535 dlls/riched32/tests/Makefile"
485cc59c 24536test "x$enable_riched32_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24537 riched32/tests"
a360e934
AJ
24538ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24539dlls/riched32/tests/Makefile: dlls/riched32/tests/Makefile.in dlls/Maketest.rules"
74cd5903
AVL
24540ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
24541
a360e934
AJ
24542ALL_MAKEFILES="$ALL_MAKEFILES \\
24543 dlls/rpcrt4/Makefile"
485cc59c 24544test "x$enable_rpcrt4" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24545 rpcrt4"
a360e934
AJ
24546ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24547dlls/rpcrt4/Makefile: dlls/rpcrt4/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24548ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
24549
a360e934
AJ
24550ALL_MAKEFILES="$ALL_MAKEFILES \\
24551 dlls/rpcrt4/tests/Makefile"
485cc59c 24552test "x$enable_rpcrt4_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24553 rpcrt4/tests"
a360e934
AJ
24554ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24555dlls/rpcrt4/tests/Makefile: dlls/rpcrt4/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
24556ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
24557
a360e934
AJ
24558ALL_MAKEFILES="$ALL_MAKEFILES \\
24559 dlls/rsabase/Makefile"
485cc59c 24560test "x$enable_rsabase" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24561 rsabase"
a360e934
AJ
24562ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24563dlls/rsabase/Makefile: dlls/rsabase/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24564ac_config_files="$ac_config_files dlls/rsabase/Makefile"
24565
a360e934
AJ
24566ALL_MAKEFILES="$ALL_MAKEFILES \\
24567 dlls/rsaenh/Makefile"
485cc59c 24568test "x$enable_rsaenh" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24569 rsaenh"
a360e934
AJ
24570ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24571dlls/rsaenh/Makefile: dlls/rsaenh/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24572ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
24573
a360e934
AJ
24574ALL_MAKEFILES="$ALL_MAKEFILES \\
24575 dlls/rsaenh/tests/Makefile"
485cc59c 24576test "x$enable_rsaenh_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24577 rsaenh/tests"
a360e934
AJ
24578ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24579dlls/rsaenh/tests/Makefile: dlls/rsaenh/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
24580ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
24581
a360e934
AJ
24582ALL_MAKEFILES="$ALL_MAKEFILES \\
24583 dlls/sane.ds/Makefile"
485cc59c 24584test "x$enable_sane_ds" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24585 sane.ds"
a360e934
AJ
24586ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24587dlls/sane.ds/Makefile: dlls/sane.ds/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24588ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
24589
a360e934
AJ
24590ALL_MAKEFILES="$ALL_MAKEFILES \\
24591 dlls/sccbase/Makefile"
485cc59c 24592test "x$enable_sccbase" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24593 sccbase"
a360e934
AJ
24594ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24595dlls/sccbase/Makefile: dlls/sccbase/Makefile.in dlls/Makedll.rules"
322d4cab
ML
24596ac_config_files="$ac_config_files dlls/sccbase/Makefile"
24597
a360e934
AJ
24598ALL_MAKEFILES="$ALL_MAKEFILES \\
24599 dlls/schannel/Makefile"
485cc59c 24600test "x$enable_schannel" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24601 schannel"
a360e934
AJ
24602ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24603dlls/schannel/Makefile: dlls/schannel/Makefile.in dlls/Makedll.rules"
361c6f20
RS
24604ac_config_files="$ac_config_files dlls/schannel/Makefile"
24605
a360e934
AJ
24606ALL_MAKEFILES="$ALL_MAKEFILES \\
24607 dlls/schannel/tests/Makefile"
485cc59c 24608test "x$enable_schannel_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24609 schannel/tests"
a360e934
AJ
24610ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24611dlls/schannel/tests/Makefile: dlls/schannel/tests/Makefile.in dlls/Maketest.rules"
735df246
YF
24612ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
24613
a360e934
AJ
24614ALL_MAKEFILES="$ALL_MAKEFILES \\
24615 dlls/secur32/Makefile"
485cc59c 24616test "x$enable_secur32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24617 secur32"
a360e934
AJ
24618ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24619dlls/secur32/Makefile: dlls/secur32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24620ac_config_files="$ac_config_files dlls/secur32/Makefile"
24621
a360e934
AJ
24622ALL_MAKEFILES="$ALL_MAKEFILES \\
24623 dlls/secur32/tests/Makefile"
485cc59c 24624test "x$enable_secur32_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24625 secur32/tests"
a360e934
AJ
24626ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24627dlls/secur32/tests/Makefile: dlls/secur32/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
24628ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
24629
a360e934
AJ
24630ALL_MAKEFILES="$ALL_MAKEFILES \\
24631 dlls/security/Makefile"
485cc59c 24632test "x$enable_security" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24633 security"
a360e934
AJ
24634ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24635dlls/security/Makefile: dlls/security/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24636ac_config_files="$ac_config_files dlls/security/Makefile"
24637
a360e934
AJ
24638ALL_MAKEFILES="$ALL_MAKEFILES \\
24639 dlls/sensapi/Makefile"
485cc59c 24640test "x$enable_sensapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24641 sensapi"
a360e934
AJ
24642ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24643dlls/sensapi/Makefile: dlls/sensapi/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24644ac_config_files="$ac_config_files dlls/sensapi/Makefile"
24645
a360e934
AJ
24646ALL_MAKEFILES="$ALL_MAKEFILES \\
24647 dlls/serialui/Makefile"
485cc59c 24648test "x$enable_serialui" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24649 serialui"
a360e934
AJ
24650ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24651dlls/serialui/Makefile: dlls/serialui/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24652ac_config_files="$ac_config_files dlls/serialui/Makefile"
24653
a360e934
AJ
24654ALL_MAKEFILES="$ALL_MAKEFILES \\
24655 dlls/serialui/tests/Makefile"
485cc59c 24656test "x$enable_serialui_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24657 serialui/tests"
a360e934
AJ
24658ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24659dlls/serialui/tests/Makefile: dlls/serialui/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
24660ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
24661
a360e934
AJ
24662ALL_MAKEFILES="$ALL_MAKEFILES \\
24663 dlls/setupapi/Makefile"
485cc59c 24664test "x$enable_setupapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24665 setupapi"
a360e934
AJ
24666ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24667dlls/setupapi/Makefile: dlls/setupapi/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24668ac_config_files="$ac_config_files dlls/setupapi/Makefile"
24669
a360e934
AJ
24670ALL_MAKEFILES="$ALL_MAKEFILES \\
24671 dlls/setupapi/tests/Makefile"
485cc59c 24672test "x$enable_setupapi_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24673 setupapi/tests"
a360e934
AJ
24674ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24675dlls/setupapi/tests/Makefile: dlls/setupapi/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
24676ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
24677
a360e934
AJ
24678ALL_MAKEFILES="$ALL_MAKEFILES \\
24679 dlls/sfc/Makefile"
485cc59c 24680test "x$enable_sfc" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24681 sfc"
a360e934
AJ
24682ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24683dlls/sfc/Makefile: dlls/sfc/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24684ac_config_files="$ac_config_files dlls/sfc/Makefile"
24685
a360e934
AJ
24686ALL_MAKEFILES="$ALL_MAKEFILES \\
24687 dlls/sfc_os/Makefile"
485cc59c 24688test "x$enable_sfc_os" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24689 sfc_os"
a360e934
AJ
24690ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24691dlls/sfc_os/Makefile: dlls/sfc_os/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24692ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
24693
a360e934
AJ
24694ALL_MAKEFILES="$ALL_MAKEFILES \\
24695 dlls/shdoclc/Makefile"
485cc59c 24696test "x$enable_shdoclc" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24697 shdoclc"
a360e934
AJ
24698ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24699dlls/shdoclc/Makefile: dlls/shdoclc/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24700ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
24701
a360e934
AJ
24702ALL_MAKEFILES="$ALL_MAKEFILES \\
24703 dlls/shdocvw/Makefile"
485cc59c 24704test "x$enable_shdocvw" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24705 shdocvw"
a360e934
AJ
24706ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24707dlls/shdocvw/Makefile: dlls/shdocvw/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24708ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
24709
a360e934
AJ
24710ALL_MAKEFILES="$ALL_MAKEFILES \\
24711 dlls/shdocvw/tests/Makefile"
485cc59c 24712test "x$enable_shdocvw_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24713 shdocvw/tests"
a360e934
AJ
24714ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24715dlls/shdocvw/tests/Makefile: dlls/shdocvw/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
24716ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
24717
a360e934
AJ
24718ALL_MAKEFILES="$ALL_MAKEFILES \\
24719 dlls/shell32/Makefile"
485cc59c 24720test "x$enable_shell32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24721 shell32"
a360e934
AJ
24722ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24723dlls/shell32/Makefile: dlls/shell32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24724ac_config_files="$ac_config_files dlls/shell32/Makefile"
24725
a360e934
AJ
24726ALL_MAKEFILES="$ALL_MAKEFILES \\
24727 dlls/shell32/tests/Makefile"
485cc59c 24728test "x$enable_shell32_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24729 shell32/tests"
a360e934
AJ
24730ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24731dlls/shell32/tests/Makefile: dlls/shell32/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
24732ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
24733
a360e934
AJ
24734ALL_MAKEFILES="$ALL_MAKEFILES \\
24735 dlls/shfolder/Makefile"
485cc59c 24736test "x$enable_shfolder" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24737 shfolder"
a360e934
AJ
24738ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24739dlls/shfolder/Makefile: dlls/shfolder/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24740ac_config_files="$ac_config_files dlls/shfolder/Makefile"
24741
a360e934
AJ
24742ALL_MAKEFILES="$ALL_MAKEFILES \\
24743 dlls/shlwapi/Makefile"
485cc59c 24744test "x$enable_shlwapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24745 shlwapi"
a360e934
AJ
24746ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24747dlls/shlwapi/Makefile: dlls/shlwapi/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24748ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
24749
a360e934
AJ
24750ALL_MAKEFILES="$ALL_MAKEFILES \\
24751 dlls/shlwapi/tests/Makefile"
485cc59c 24752test "x$enable_shlwapi_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24753 shlwapi/tests"
a360e934
AJ
24754ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24755dlls/shlwapi/tests/Makefile: dlls/shlwapi/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
24756ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
24757
a360e934
AJ
24758ALL_MAKEFILES="$ALL_MAKEFILES \\
24759 dlls/slbcsp/Makefile"
485cc59c 24760test "x$enable_slbcsp" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24761 slbcsp"
a360e934
AJ
24762ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24763dlls/slbcsp/Makefile: dlls/slbcsp/Makefile.in dlls/Makedll.rules"
b3a9699a
ML
24764ac_config_files="$ac_config_files dlls/slbcsp/Makefile"
24765
a360e934
AJ
24766ALL_MAKEFILES="$ALL_MAKEFILES \\
24767 dlls/slc/Makefile"
485cc59c 24768test "x$enable_slc" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24769 slc"
a360e934
AJ
24770ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24771dlls/slc/Makefile: dlls/slc/Makefile.in dlls/Makedll.rules"
ea563709
ALH
24772ac_config_files="$ac_config_files dlls/slc/Makefile"
24773
a360e934
AJ
24774ALL_MAKEFILES="$ALL_MAKEFILES \\
24775 dlls/snmpapi/Makefile"
485cc59c 24776test "x$enable_snmpapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24777 snmpapi"
a360e934
AJ
24778ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24779dlls/snmpapi/Makefile: dlls/snmpapi/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24780ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
24781
a360e934
AJ
24782ALL_MAKEFILES="$ALL_MAKEFILES \\
24783 dlls/snmpapi/tests/Makefile"
485cc59c 24784test "x$enable_snmpapi_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24785 snmpapi/tests"
a360e934
AJ
24786ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24787dlls/snmpapi/tests/Makefile: dlls/snmpapi/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
24788ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
24789
a360e934
AJ
24790ALL_MAKEFILES="$ALL_MAKEFILES \\
24791 dlls/softpub/Makefile"
485cc59c 24792test "x$enable_softpub" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24793 softpub"
a360e934
AJ
24794ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24795dlls/softpub/Makefile: dlls/softpub/Makefile.in dlls/Makedll.rules"
e11826f5
ML
24796ac_config_files="$ac_config_files dlls/softpub/Makefile"
24797
a360e934
AJ
24798ALL_MAKEFILES="$ALL_MAKEFILES \\
24799 dlls/spoolss/Makefile"
485cc59c 24800test "x$enable_spoolss" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24801 spoolss"
a360e934
AJ
24802ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24803dlls/spoolss/Makefile: dlls/spoolss/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24804ac_config_files="$ac_config_files dlls/spoolss/Makefile"
24805
a360e934
AJ
24806ALL_MAKEFILES="$ALL_MAKEFILES \\
24807 dlls/spoolss/tests/Makefile"
485cc59c 24808test "x$enable_spoolss_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24809 spoolss/tests"
a360e934
AJ
24810ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24811dlls/spoolss/tests/Makefile: dlls/spoolss/tests/Makefile.in dlls/Maketest.rules"
cf122bab
DR
24812ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
24813
a360e934
AJ
24814ALL_MAKEFILES="$ALL_MAKEFILES \\
24815 dlls/stdole2.tlb/Makefile"
485cc59c 24816test "x$enable_stdole2_tlb" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24817 stdole2.tlb"
a360e934
AJ
24818ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24819dlls/stdole2.tlb/Makefile: dlls/stdole2.tlb/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24820ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
24821
a360e934
AJ
24822ALL_MAKEFILES="$ALL_MAKEFILES \\
24823 dlls/stdole32.tlb/Makefile"
485cc59c 24824test "x$enable_stdole32_tlb" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24825 stdole32.tlb"
a360e934
AJ
24826ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24827dlls/stdole32.tlb/Makefile: dlls/stdole32.tlb/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24828ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
24829
a360e934
AJ
24830ALL_MAKEFILES="$ALL_MAKEFILES \\
24831 dlls/sti/Makefile"
485cc59c 24832test "x$enable_sti" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24833 sti"
a360e934
AJ
24834ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24835dlls/sti/Makefile: dlls/sti/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24836ac_config_files="$ac_config_files dlls/sti/Makefile"
24837
a360e934
AJ
24838ALL_MAKEFILES="$ALL_MAKEFILES \\
24839 dlls/strmiids/Makefile"
485cc59c 24840test "x$enable_strmiids" != xno && ALL_IMPLIB_DIRS="$ALL_IMPLIB_DIRS \\
49163da1 24841 strmiids"
a360e934
AJ
24842ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24843dlls/strmiids/Makefile: dlls/strmiids/Makefile.in dlls/Makeimplib.rules"
fbc80d79
MM
24844ac_config_files="$ac_config_files dlls/strmiids/Makefile"
24845
a360e934
AJ
24846ALL_MAKEFILES="$ALL_MAKEFILES \\
24847 dlls/svrapi/Makefile"
485cc59c 24848test "x$enable_svrapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24849 svrapi"
a360e934
AJ
24850ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24851dlls/svrapi/Makefile: dlls/svrapi/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24852ac_config_files="$ac_config_files dlls/svrapi/Makefile"
24853
a360e934
AJ
24854ALL_MAKEFILES="$ALL_MAKEFILES \\
24855 dlls/sxs/Makefile"
485cc59c 24856test "x$enable_sxs" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24857 sxs"
a360e934
AJ
24858ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24859dlls/sxs/Makefile: dlls/sxs/Makefile.in dlls/Makedll.rules"
74977dae
ED
24860ac_config_files="$ac_config_files dlls/sxs/Makefile"
24861
a360e934
AJ
24862ALL_MAKEFILES="$ALL_MAKEFILES \\
24863 dlls/tapi32/Makefile"
485cc59c 24864test "x$enable_tapi32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24865 tapi32"
a360e934
AJ
24866ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24867dlls/tapi32/Makefile: dlls/tapi32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24868ac_config_files="$ac_config_files dlls/tapi32/Makefile"
24869
a360e934
AJ
24870ALL_MAKEFILES="$ALL_MAKEFILES \\
24871 dlls/twain_32/Makefile"
485cc59c 24872test "x$enable_twain_32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24873 twain_32"
a360e934
AJ
24874ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24875dlls/twain_32/Makefile: dlls/twain_32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24876ac_config_files="$ac_config_files dlls/twain_32/Makefile"
24877
a360e934
AJ
24878ALL_MAKEFILES="$ALL_MAKEFILES \\
24879 dlls/unicows/Makefile"
485cc59c 24880test "x$enable_unicows" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24881 unicows"
a360e934
AJ
24882ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24883dlls/unicows/Makefile: dlls/unicows/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24884ac_config_files="$ac_config_files dlls/unicows/Makefile"
24885
a360e934
AJ
24886ALL_MAKEFILES="$ALL_MAKEFILES \\
24887 dlls/url/Makefile"
485cc59c 24888test "x$enable_url" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24889 url"
a360e934
AJ
24890ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24891dlls/url/Makefile: dlls/url/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24892ac_config_files="$ac_config_files dlls/url/Makefile"
24893
a360e934
AJ
24894ALL_MAKEFILES="$ALL_MAKEFILES \\
24895 dlls/urlmon/Makefile"
485cc59c 24896test "x$enable_urlmon" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24897 urlmon"
a360e934
AJ
24898ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24899dlls/urlmon/Makefile: dlls/urlmon/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24900ac_config_files="$ac_config_files dlls/urlmon/Makefile"
24901
a360e934
AJ
24902ALL_MAKEFILES="$ALL_MAKEFILES \\
24903 dlls/urlmon/tests/Makefile"
485cc59c 24904test "x$enable_urlmon_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24905 urlmon/tests"
a360e934
AJ
24906ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24907dlls/urlmon/tests/Makefile: dlls/urlmon/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
24908ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
24909
a360e934
AJ
24910ALL_MAKEFILES="$ALL_MAKEFILES \\
24911 dlls/user32/Makefile"
485cc59c 24912test "x$enable_user32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24913 user32"
a360e934
AJ
24914ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24915dlls/user32/Makefile: dlls/user32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24916ac_config_files="$ac_config_files dlls/user32/Makefile"
24917
a360e934
AJ
24918ALL_MAKEFILES="$ALL_MAKEFILES \\
24919 dlls/user32/tests/Makefile"
485cc59c 24920test "x$enable_user32_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24921 user32/tests"
a360e934
AJ
24922ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24923dlls/user32/tests/Makefile: dlls/user32/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
24924ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
24925
a360e934
AJ
24926ALL_MAKEFILES="$ALL_MAKEFILES \\
24927 dlls/userenv/Makefile"
485cc59c 24928test "x$enable_userenv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24929 userenv"
a360e934
AJ
24930ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24931dlls/userenv/Makefile: dlls/userenv/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24932ac_config_files="$ac_config_files dlls/userenv/Makefile"
24933
a360e934
AJ
24934ALL_MAKEFILES="$ALL_MAKEFILES \\
24935 dlls/userenv/tests/Makefile"
485cc59c 24936test "x$enable_userenv_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24937 userenv/tests"
a360e934
AJ
24938ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24939dlls/userenv/tests/Makefile: dlls/userenv/tests/Makefile.in dlls/Maketest.rules"
ffb04579
LZ
24940ac_config_files="$ac_config_files dlls/userenv/tests/Makefile"
24941
a360e934
AJ
24942ALL_MAKEFILES="$ALL_MAKEFILES \\
24943 dlls/usp10/Makefile"
485cc59c 24944test "x$enable_usp10" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24945 usp10"
a360e934
AJ
24946ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24947dlls/usp10/Makefile: dlls/usp10/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24948ac_config_files="$ac_config_files dlls/usp10/Makefile"
24949
a360e934
AJ
24950ALL_MAKEFILES="$ALL_MAKEFILES \\
24951 dlls/usp10/tests/Makefile"
485cc59c 24952test "x$enable_usp10_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24953 usp10/tests"
a360e934
AJ
24954ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24955dlls/usp10/tests/Makefile: dlls/usp10/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
24956ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
24957
a360e934
AJ
24958ALL_MAKEFILES="$ALL_MAKEFILES \\
24959 dlls/uuid/Makefile"
485cc59c 24960test "x$enable_uuid" != xno && ALL_IMPLIB_DIRS="$ALL_IMPLIB_DIRS \\
49163da1 24961 uuid"
a360e934
AJ
24962ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24963dlls/uuid/Makefile: dlls/uuid/Makefile.in dlls/Makeimplib.rules"
fbc80d79
MM
24964ac_config_files="$ac_config_files dlls/uuid/Makefile"
24965
a360e934
AJ
24966ALL_MAKEFILES="$ALL_MAKEFILES \\
24967 dlls/uxtheme/Makefile"
485cc59c 24968test "x$enable_uxtheme" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24969 uxtheme"
a360e934
AJ
24970ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24971dlls/uxtheme/Makefile: dlls/uxtheme/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24972ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
24973
a360e934
AJ
24974ALL_MAKEFILES="$ALL_MAKEFILES \\
24975 dlls/uxtheme/tests/Makefile"
485cc59c 24976test "x$enable_uxtheme_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24977 uxtheme/tests"
a360e934
AJ
24978ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24979dlls/uxtheme/tests/Makefile: dlls/uxtheme/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
24980ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
24981
a360e934
AJ
24982ALL_MAKEFILES="$ALL_MAKEFILES \\
24983 dlls/vdhcp.vxd/Makefile"
485cc59c 24984test "x$enable_vdhcp_vxd" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24985 vdhcp.vxd"
a360e934
AJ
24986ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24987dlls/vdhcp.vxd/Makefile: dlls/vdhcp.vxd/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24988ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
24989
a360e934
AJ
24990ALL_MAKEFILES="$ALL_MAKEFILES \\
24991 dlls/vdmdbg/Makefile"
485cc59c 24992test "x$enable_vdmdbg" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24993 vdmdbg"
a360e934
AJ
24994ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24995dlls/vdmdbg/Makefile: dlls/vdmdbg/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24996ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
24997
a360e934
AJ
24998ALL_MAKEFILES="$ALL_MAKEFILES \\
24999 dlls/version/Makefile"
485cc59c 25000test "x$enable_version" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25001 version"
a360e934
AJ
25002ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25003dlls/version/Makefile: dlls/version/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25004ac_config_files="$ac_config_files dlls/version/Makefile"
25005
a360e934
AJ
25006ALL_MAKEFILES="$ALL_MAKEFILES \\
25007 dlls/version/tests/Makefile"
485cc59c 25008test "x$enable_version_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 25009 version/tests"
a360e934
AJ
25010ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25011dlls/version/tests/Makefile: dlls/version/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
25012ac_config_files="$ac_config_files dlls/version/tests/Makefile"
25013
a360e934
AJ
25014ALL_MAKEFILES="$ALL_MAKEFILES \\
25015 dlls/vmm.vxd/Makefile"
485cc59c 25016test "x$enable_vmm_vxd" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25017 vmm.vxd"
a360e934
AJ
25018ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25019dlls/vmm.vxd/Makefile: dlls/vmm.vxd/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25020ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
25021
a360e934
AJ
25022ALL_MAKEFILES="$ALL_MAKEFILES \\
25023 dlls/vnbt.vxd/Makefile"
485cc59c 25024test "x$enable_vnbt_vxd" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25025 vnbt.vxd"
a360e934
AJ
25026ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25027dlls/vnbt.vxd/Makefile: dlls/vnbt.vxd/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25028ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
25029
a360e934
AJ
25030ALL_MAKEFILES="$ALL_MAKEFILES \\
25031 dlls/vnetbios.vxd/Makefile"
485cc59c 25032test "x$enable_vnetbios_vxd" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25033 vnetbios.vxd"
a360e934
AJ
25034ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25035dlls/vnetbios.vxd/Makefile: dlls/vnetbios.vxd/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25036ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
25037
a360e934
AJ
25038ALL_MAKEFILES="$ALL_MAKEFILES \\
25039 dlls/vtdapi.vxd/Makefile"
485cc59c 25040test "x$enable_vtdapi_vxd" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25041 vtdapi.vxd"
a360e934
AJ
25042ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25043dlls/vtdapi.vxd/Makefile: dlls/vtdapi.vxd/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25044ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
25045
a360e934
AJ
25046ALL_MAKEFILES="$ALL_MAKEFILES \\
25047 dlls/vwin32.vxd/Makefile"
485cc59c 25048test "x$enable_vwin32_vxd" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25049 vwin32.vxd"
a360e934
AJ
25050ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25051dlls/vwin32.vxd/Makefile: dlls/vwin32.vxd/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25052ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
25053
a360e934
AJ
25054ALL_MAKEFILES="$ALL_MAKEFILES \\
25055 dlls/w32skrnl/Makefile"
485cc59c 25056test "x$enable_w32skrnl" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25057 w32skrnl"
a360e934
AJ
25058ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25059dlls/w32skrnl/Makefile: dlls/w32skrnl/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25060ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
25061
a360e934
AJ
25062ALL_MAKEFILES="$ALL_MAKEFILES \\
25063 dlls/winealsa.drv/Makefile"
485cc59c 25064test "x$enable_winealsa_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25065 winealsa.drv"
a360e934
AJ
25066ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25067dlls/winealsa.drv/Makefile: dlls/winealsa.drv/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25068ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
25069
a360e934
AJ
25070ALL_MAKEFILES="$ALL_MAKEFILES \\
25071 dlls/wineaudioio.drv/Makefile"
485cc59c 25072test "x$enable_wineaudioio_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25073 wineaudioio.drv"
a360e934
AJ
25074ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25075dlls/wineaudioio.drv/Makefile: dlls/wineaudioio.drv/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25076ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
25077
a360e934
AJ
25078ALL_MAKEFILES="$ALL_MAKEFILES \\
25079 dlls/winecoreaudio.drv/Makefile"
485cc59c 25080test "x$enable_winecoreaudio_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25081 winecoreaudio.drv"
a360e934
AJ
25082ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25083dlls/winecoreaudio.drv/Makefile: dlls/winecoreaudio.drv/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25084ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
25085
a360e934
AJ
25086ALL_MAKEFILES="$ALL_MAKEFILES \\
25087 dlls/winecrt0/Makefile"
485cc59c 25088test "x$enable_winecrt0" != xno && ALL_IMPLIB_DIRS="$ALL_IMPLIB_DIRS \\
49163da1 25089 winecrt0"
a360e934
AJ
25090ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25091dlls/winecrt0/Makefile: dlls/winecrt0/Makefile.in dlls/Makeimplib.rules"
fbc80d79
MM
25092ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
25093
a360e934
AJ
25094ALL_MAKEFILES="$ALL_MAKEFILES \\
25095 dlls/wined3d/Makefile"
485cc59c 25096test "x$enable_wined3d" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25097 wined3d"
a360e934
AJ
25098ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25099dlls/wined3d/Makefile: dlls/wined3d/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25100ac_config_files="$ac_config_files dlls/wined3d/Makefile"
25101
a360e934
AJ
25102ALL_MAKEFILES="$ALL_MAKEFILES \\
25103 dlls/winedos/Makefile"
485cc59c 25104test "x$enable_winedos" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25105 winedos"
a360e934
AJ
25106ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25107dlls/winedos/Makefile: dlls/winedos/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25108ac_config_files="$ac_config_files dlls/winedos/Makefile"
25109
a360e934
AJ
25110ALL_MAKEFILES="$ALL_MAKEFILES \\
25111 dlls/wineesd.drv/Makefile"
485cc59c 25112test "x$enable_wineesd_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25113 wineesd.drv"
a360e934
AJ
25114ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25115dlls/wineesd.drv/Makefile: dlls/wineesd.drv/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25116ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
25117
a360e934
AJ
25118ALL_MAKEFILES="$ALL_MAKEFILES \\
25119 dlls/winejack.drv/Makefile"
485cc59c 25120test "x$enable_winejack_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25121 winejack.drv"
a360e934
AJ
25122ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25123dlls/winejack.drv/Makefile: dlls/winejack.drv/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25124ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
25125
a360e934
AJ
25126ALL_MAKEFILES="$ALL_MAKEFILES \\
25127 dlls/winejoystick.drv/Makefile"
485cc59c 25128test "x$enable_winejoystick_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25129 winejoystick.drv"
a360e934
AJ
25130ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25131dlls/winejoystick.drv/Makefile: dlls/winejoystick.drv/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25132ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
25133
a360e934
AJ
25134ALL_MAKEFILES="$ALL_MAKEFILES \\
25135 dlls/winemp3.acm/Makefile"
485cc59c 25136test "x$enable_winemp3_acm" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25137 winemp3.acm"
a360e934
AJ
25138ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25139dlls/winemp3.acm/Makefile: dlls/winemp3.acm/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25140ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
25141
a360e934
AJ
25142ALL_MAKEFILES="$ALL_MAKEFILES \\
25143 dlls/winenas.drv/Makefile"
485cc59c 25144test "x$enable_winenas_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25145 winenas.drv"
a360e934
AJ
25146ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25147dlls/winenas.drv/Makefile: dlls/winenas.drv/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25148ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
25149
a360e934
AJ
25150ALL_MAKEFILES="$ALL_MAKEFILES \\
25151 dlls/wineoss.drv/Makefile"
485cc59c 25152test "x$enable_wineoss_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25153 wineoss.drv"
a360e934
AJ
25154ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25155dlls/wineoss.drv/Makefile: dlls/wineoss.drv/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25156ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
25157
a360e934
AJ
25158ALL_MAKEFILES="$ALL_MAKEFILES \\
25159 dlls/wineps.drv/Makefile"
485cc59c 25160test "x$enable_wineps_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25161 wineps.drv"
a360e934
AJ
25162ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25163dlls/wineps.drv/Makefile: dlls/wineps.drv/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25164ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
25165
a360e934
AJ
25166ALL_MAKEFILES="$ALL_MAKEFILES \\
25167 dlls/winequartz.drv/Makefile"
485cc59c 25168test "x$enable_winequartz_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25169 winequartz.drv"
a360e934
AJ
25170ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25171dlls/winequartz.drv/Makefile: dlls/winequartz.drv/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25172ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
25173
a360e934
AJ
25174ALL_MAKEFILES="$ALL_MAKEFILES \\
25175 dlls/winex11.drv/Makefile"
485cc59c 25176test "x$enable_winex11_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25177 winex11.drv"
a360e934
AJ
25178ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25179dlls/winex11.drv/Makefile: dlls/winex11.drv/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25180ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
25181
a360e934
AJ
25182ALL_MAKEFILES="$ALL_MAKEFILES \\
25183 dlls/wing32/Makefile"
485cc59c 25184test "x$enable_wing32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25185 wing32"
a360e934
AJ
25186ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25187dlls/wing32/Makefile: dlls/wing32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25188ac_config_files="$ac_config_files dlls/wing32/Makefile"
25189
a360e934
AJ
25190ALL_MAKEFILES="$ALL_MAKEFILES \\
25191 dlls/winhttp/Makefile"
485cc59c 25192test "x$enable_winhttp" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25193 winhttp"
a360e934
AJ
25194ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25195dlls/winhttp/Makefile: dlls/winhttp/Makefile.in dlls/Makedll.rules"
21572967
JC
25196ac_config_files="$ac_config_files dlls/winhttp/Makefile"
25197
a360e934
AJ
25198ALL_MAKEFILES="$ALL_MAKEFILES \\
25199 dlls/winhttp/tests/Makefile"
485cc59c 25200test "x$enable_winhttp_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 25201 winhttp/tests"
a360e934
AJ
25202ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25203dlls/winhttp/tests/Makefile: dlls/winhttp/tests/Makefile.in dlls/Maketest.rules"
b2be840e
ZB
25204ac_config_files="$ac_config_files dlls/winhttp/tests/Makefile"
25205
a360e934
AJ
25206ALL_MAKEFILES="$ALL_MAKEFILES \\
25207 dlls/wininet/Makefile"
485cc59c 25208test "x$enable_wininet" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25209 wininet"
a360e934
AJ
25210ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25211dlls/wininet/Makefile: dlls/wininet/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25212ac_config_files="$ac_config_files dlls/wininet/Makefile"
25213
a360e934
AJ
25214ALL_MAKEFILES="$ALL_MAKEFILES \\
25215 dlls/wininet/tests/Makefile"
485cc59c 25216test "x$enable_wininet_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 25217 wininet/tests"
a360e934
AJ
25218ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25219dlls/wininet/tests/Makefile: dlls/wininet/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
25220ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
25221
a360e934
AJ
25222ALL_MAKEFILES="$ALL_MAKEFILES \\
25223 dlls/winmm/Makefile"
485cc59c 25224test "x$enable_winmm" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25225 winmm"
a360e934
AJ
25226ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25227dlls/winmm/Makefile: dlls/winmm/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25228ac_config_files="$ac_config_files dlls/winmm/Makefile"
25229
a360e934
AJ
25230ALL_MAKEFILES="$ALL_MAKEFILES \\
25231 dlls/winmm/tests/Makefile"
485cc59c 25232test "x$enable_winmm_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 25233 winmm/tests"
a360e934
AJ
25234ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25235dlls/winmm/tests/Makefile: dlls/winmm/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
25236ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
25237
a360e934
AJ
25238ALL_MAKEFILES="$ALL_MAKEFILES \\
25239 dlls/winnls32/Makefile"
485cc59c 25240test "x$enable_winnls32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25241 winnls32"
a360e934
AJ
25242ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25243dlls/winnls32/Makefile: dlls/winnls32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25244ac_config_files="$ac_config_files dlls/winnls32/Makefile"
25245
a360e934
AJ
25246ALL_MAKEFILES="$ALL_MAKEFILES \\
25247 dlls/winscard/Makefile"
485cc59c 25248test "x$enable_winscard" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25249 winscard"
a360e934
AJ
25250ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25251dlls/winscard/Makefile: dlls/winscard/Makefile.in dlls/Makedll.rules"
23df68d8
MI
25252ac_config_files="$ac_config_files dlls/winscard/Makefile"
25253
a360e934
AJ
25254ALL_MAKEFILES="$ALL_MAKEFILES \\
25255 dlls/winspool.drv/Makefile"
485cc59c 25256test "x$enable_winspool_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25257 winspool.drv"
a360e934
AJ
25258ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25259dlls/winspool.drv/Makefile: dlls/winspool.drv/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25260ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
25261
a360e934
AJ
25262ALL_MAKEFILES="$ALL_MAKEFILES \\
25263 dlls/winspool.drv/tests/Makefile"
485cc59c 25264test "x$enable_winspool_drv_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 25265 winspool.drv/tests"
a360e934
AJ
25266ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25267dlls/winspool.drv/tests/Makefile: dlls/winspool.drv/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
25268ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
25269
a360e934
AJ
25270ALL_MAKEFILES="$ALL_MAKEFILES \\
25271 dlls/wintab32/Makefile"
485cc59c 25272test "x$enable_wintab32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25273 wintab32"
a360e934
AJ
25274ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25275dlls/wintab32/Makefile: dlls/wintab32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25276ac_config_files="$ac_config_files dlls/wintab32/Makefile"
25277
a360e934
AJ
25278ALL_MAKEFILES="$ALL_MAKEFILES \\
25279 dlls/wintrust/Makefile"
485cc59c 25280test "x$enable_wintrust" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25281 wintrust"
a360e934
AJ
25282ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25283dlls/wintrust/Makefile: dlls/wintrust/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25284ac_config_files="$ac_config_files dlls/wintrust/Makefile"
25285
a360e934
AJ
25286ALL_MAKEFILES="$ALL_MAKEFILES \\
25287 dlls/wintrust/tests/Makefile"
485cc59c 25288test "x$enable_wintrust_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 25289 wintrust/tests"
a360e934
AJ
25290ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25291dlls/wintrust/tests/Makefile: dlls/wintrust/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
25292ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
25293
a360e934
AJ
25294ALL_MAKEFILES="$ALL_MAKEFILES \\
25295 dlls/wldap32/Makefile"
485cc59c 25296test "x$enable_wldap32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25297 wldap32"
a360e934
AJ
25298ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25299dlls/wldap32/Makefile: dlls/wldap32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25300ac_config_files="$ac_config_files dlls/wldap32/Makefile"
25301
a360e934
AJ
25302ALL_MAKEFILES="$ALL_MAKEFILES \\
25303 dlls/wmi/Makefile"
485cc59c 25304test "x$enable_wmi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25305 wmi"
a360e934
AJ
25306ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25307dlls/wmi/Makefile: dlls/wmi/Makefile.in dlls/Makedll.rules"
4328d92d
MM
25308ac_config_files="$ac_config_files dlls/wmi/Makefile"
25309
a360e934
AJ
25310ALL_MAKEFILES="$ALL_MAKEFILES \\
25311 dlls/wnaspi32/Makefile"
485cc59c 25312test "x$enable_wnaspi32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25313 wnaspi32"
a360e934
AJ
25314ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25315dlls/wnaspi32/Makefile: dlls/wnaspi32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25316ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
25317
a360e934
AJ
25318ALL_MAKEFILES="$ALL_MAKEFILES \\
25319 dlls/wow32/Makefile"
485cc59c 25320test "x$enable_wow32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25321 wow32"
a360e934
AJ
25322ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25323dlls/wow32/Makefile: dlls/wow32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25324ac_config_files="$ac_config_files dlls/wow32/Makefile"
25325
a360e934
AJ
25326ALL_MAKEFILES="$ALL_MAKEFILES \\
25327 dlls/ws2_32/Makefile"
485cc59c 25328test "x$enable_ws2_32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25329 ws2_32"
a360e934
AJ
25330ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25331dlls/ws2_32/Makefile: dlls/ws2_32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25332ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
25333
a360e934
AJ
25334ALL_MAKEFILES="$ALL_MAKEFILES \\
25335 dlls/ws2_32/tests/Makefile"
485cc59c 25336test "x$enable_ws2_32_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 25337 ws2_32/tests"
a360e934
AJ
25338ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25339dlls/ws2_32/tests/Makefile: dlls/ws2_32/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
25340ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
25341
a360e934
AJ
25342ALL_MAKEFILES="$ALL_MAKEFILES \\
25343 dlls/wsock32/Makefile"
485cc59c 25344test "x$enable_wsock32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25345 wsock32"
a360e934
AJ
25346ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25347dlls/wsock32/Makefile: dlls/wsock32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25348ac_config_files="$ac_config_files dlls/wsock32/Makefile"
25349
a360e934
AJ
25350ALL_MAKEFILES="$ALL_MAKEFILES \\
25351 dlls/wtsapi32/Makefile"
485cc59c 25352test "x$enable_wtsapi32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25353 wtsapi32"
a360e934
AJ
25354ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25355dlls/wtsapi32/Makefile: dlls/wtsapi32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25356ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
25357
a360e934
AJ
25358ALL_MAKEFILES="$ALL_MAKEFILES \\
25359 documentation/Makefile"
6de0af1e
AJ
25360test "x$enable_documentation" != xno && ALL_TOP_DIRS="$ALL_TOP_DIRS \\
25361 documentation"
a360e934
AJ
25362ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25363documentation/Makefile: documentation/Makefile.in Make.rules"
fbc80d79
MM
25364ac_config_files="$ac_config_files documentation/Makefile"
25365
a360e934
AJ
25366ALL_MAKEFILES="$ALL_MAKEFILES \\
25367 fonts/Makefile"
6de0af1e
AJ
25368test "x$enable_fonts" != xno && ALL_TOP_DIRS="$ALL_TOP_DIRS \\
25369 fonts"
a360e934
AJ
25370ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25371fonts/Makefile: fonts/Makefile.in Make.rules"
fbc80d79
MM
25372ac_config_files="$ac_config_files fonts/Makefile"
25373
a360e934
AJ
25374ALL_MAKEFILES="$ALL_MAKEFILES \\
25375 include/Makefile"
6de0af1e
AJ
25376test "x$enable_include" != xno && ALL_TOP_DIRS="$ALL_TOP_DIRS \\
25377 include"
a360e934
AJ
25378ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25379include/Makefile: include/Makefile.in Make.rules"
fbc80d79
MM
25380ac_config_files="$ac_config_files include/Makefile"
25381
a360e934
AJ
25382ALL_MAKEFILES="$ALL_MAKEFILES \\
25383 libs/Makefile"
6de0af1e
AJ
25384test "x$enable_libs" != xno && ALL_TOP_DIRS="$ALL_TOP_DIRS \\
25385 libs"
a360e934
AJ
25386ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25387libs/Makefile: libs/Makefile.in Make.rules"
fbc80d79
MM
25388ac_config_files="$ac_config_files libs/Makefile"
25389
a360e934
AJ
25390ALL_MAKEFILES="$ALL_MAKEFILES \\
25391 libs/port/Makefile"
49163da1 25392
a360e934
AJ
25393ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25394libs/port/Makefile: libs/port/Makefile.in Make.rules"
fbc80d79
MM
25395ac_config_files="$ac_config_files libs/port/Makefile"
25396
a360e934
AJ
25397ALL_MAKEFILES="$ALL_MAKEFILES \\
25398 libs/wine/Makefile"
49163da1 25399
a360e934
AJ
25400ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25401libs/wine/Makefile: libs/wine/Makefile.in Make.rules"
fbc80d79
MM
25402ac_config_files="$ac_config_files libs/wine/Makefile"
25403
a360e934
AJ
25404ALL_MAKEFILES="$ALL_MAKEFILES \\
25405 libs/wpp/Makefile"
49163da1 25406
a360e934
AJ
25407ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25408libs/wpp/Makefile: libs/wpp/Makefile.in Make.rules"
fbc80d79
MM
25409ac_config_files="$ac_config_files libs/wpp/Makefile"
25410
a360e934
AJ
25411ALL_MAKEFILES="$ALL_MAKEFILES \\
25412 loader/Makefile"
6de0af1e
AJ
25413test "x$enable_loader" != xno && ALL_TOP_DIRS="$ALL_TOP_DIRS \\
25414 loader"
a360e934
AJ
25415ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25416loader/Makefile: loader/Makefile.in Make.rules"
fbc80d79
MM
25417ac_config_files="$ac_config_files loader/Makefile"
25418
a360e934
AJ
25419ALL_MAKEFILES="$ALL_MAKEFILES \\
25420 programs/Makefile"
6de0af1e
AJ
25421test "x$enable_programs" != xno && ALL_TOP_DIRS="$ALL_TOP_DIRS \\
25422 programs"
a360e934
AJ
25423ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25424programs/Makefile: programs/Makefile.in Make.rules"
fbc80d79
MM
25425ac_config_files="$ac_config_files programs/Makefile"
25426
a360e934
AJ
25427ALL_MAKEFILES="$ALL_MAKEFILES \\
25428 programs/clock/Makefile"
4051eaf7
AJ
25429test "x$enable_clock" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25430 clock" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
25431 clock"
a360e934
AJ
25432ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25433programs/clock/Makefile: programs/clock/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
25434ac_config_files="$ac_config_files programs/clock/Makefile"
25435
a360e934
AJ
25436ALL_MAKEFILES="$ALL_MAKEFILES \\
25437 programs/cmd/Makefile"
4051eaf7
AJ
25438test "x$enable_cmd" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25439 cmd" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
25440 cmd"
a360e934
AJ
25441ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25442programs/cmd/Makefile: programs/cmd/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
25443ac_config_files="$ac_config_files programs/cmd/Makefile"
25444
a360e934
AJ
25445ALL_MAKEFILES="$ALL_MAKEFILES \\
25446 programs/cmdlgtst/Makefile"
4051eaf7
AJ
25447test "x$enable_cmdlgtst" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25448 cmdlgtst"
a360e934
AJ
25449ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25450programs/cmdlgtst/Makefile: programs/cmdlgtst/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
25451ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
25452
a360e934
AJ
25453ALL_MAKEFILES="$ALL_MAKEFILES \\
25454 programs/control/Makefile"
4051eaf7
AJ
25455test "x$enable_control" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25456 control" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
25457 control"
a360e934
AJ
25458ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25459programs/control/Makefile: programs/control/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
25460ac_config_files="$ac_config_files programs/control/Makefile"
25461
a360e934
AJ
25462ALL_MAKEFILES="$ALL_MAKEFILES \\
25463 programs/eject/Makefile"
4051eaf7
AJ
25464test "x$enable_eject" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25465 eject" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
25466 eject"
a360e934
AJ
25467ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25468programs/eject/Makefile: programs/eject/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
25469ac_config_files="$ac_config_files programs/eject/Makefile"
25470
a360e934
AJ
25471ALL_MAKEFILES="$ALL_MAKEFILES \\
25472 programs/expand/Makefile"
4051eaf7
AJ
25473test "x$enable_expand" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25474 expand" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
25475 expand"
a360e934
AJ
25476ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25477programs/expand/Makefile: programs/expand/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
25478ac_config_files="$ac_config_files programs/expand/Makefile"
25479
a360e934
AJ
25480ALL_MAKEFILES="$ALL_MAKEFILES \\
25481 programs/explorer/Makefile"
4051eaf7
AJ
25482test "x$enable_explorer" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25483 explorer" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
25484 explorer"
a360e934
AJ
25485ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25486programs/explorer/Makefile: programs/explorer/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
25487ac_config_files="$ac_config_files programs/explorer/Makefile"
25488
a360e934
AJ
25489ALL_MAKEFILES="$ALL_MAKEFILES \\
25490 programs/hh/Makefile"
4051eaf7
AJ
25491test "x$enable_hh" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25492 hh" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
25493 hh"
a360e934
AJ
25494ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25495programs/hh/Makefile: programs/hh/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
25496ac_config_files="$ac_config_files programs/hh/Makefile"
25497
a360e934
AJ
25498ALL_MAKEFILES="$ALL_MAKEFILES \\
25499 programs/icinfo/Makefile"
4051eaf7
AJ
25500test "x$enable_icinfo" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25501 icinfo" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
25502 icinfo"
a360e934
AJ
25503ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25504programs/icinfo/Makefile: programs/icinfo/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
25505ac_config_files="$ac_config_files programs/icinfo/Makefile"
25506
a360e934
AJ
25507ALL_MAKEFILES="$ALL_MAKEFILES \\
25508 programs/iexplore/Makefile"
4051eaf7
AJ
25509test "x$enable_iexplore" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25510 iexplore" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
25511 iexplore"
a360e934
AJ
25512ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25513programs/iexplore/Makefile: programs/iexplore/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
25514ac_config_files="$ac_config_files programs/iexplore/Makefile"
25515
a360e934
AJ
25516ALL_MAKEFILES="$ALL_MAKEFILES \\
25517 programs/msiexec/Makefile"
4051eaf7
AJ
25518test "x$enable_msiexec" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25519 msiexec" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
25520 msiexec" && ALL_PROGRAM_BIN_INSTALL_DIRS="$ALL_PROGRAM_BIN_INSTALL_DIRS \\
25521 msiexec"
a360e934
AJ
25522ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25523programs/msiexec/Makefile: programs/msiexec/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
25524ac_config_files="$ac_config_files programs/msiexec/Makefile"
25525
a360e934
AJ
25526ALL_MAKEFILES="$ALL_MAKEFILES \\
25527 programs/net/Makefile"
4051eaf7
AJ
25528test "x$enable_net" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25529 net" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
25530 net"
a360e934
AJ
25531ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25532programs/net/Makefile: programs/net/Makefile.in programs/Makeprog.rules"
451616ee
TS
25533ac_config_files="$ac_config_files programs/net/Makefile"
25534
a360e934
AJ
25535ALL_MAKEFILES="$ALL_MAKEFILES \\
25536 programs/notepad/Makefile"
4051eaf7
AJ
25537test "x$enable_notepad" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25538 notepad" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
25539 notepad" && ALL_PROGRAM_BIN_INSTALL_DIRS="$ALL_PROGRAM_BIN_INSTALL_DIRS \\
25540 notepad"
a360e934
AJ
25541ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25542programs/notepad/Makefile: programs/notepad/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
25543ac_config_files="$ac_config_files programs/notepad/Makefile"
25544
a360e934
AJ
25545ALL_MAKEFILES="$ALL_MAKEFILES \\
25546 programs/oleview/Makefile"
4051eaf7
AJ
25547test "x$enable_oleview" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25548 oleview" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
25549 oleview"
a360e934
AJ
25550ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25551programs/oleview/Makefile: programs/oleview/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
25552ac_config_files="$ac_config_files programs/oleview/Makefile"
25553
a360e934
AJ
25554ALL_MAKEFILES="$ALL_MAKEFILES \\
25555 programs/progman/Makefile"
4051eaf7
AJ
25556test "x$enable_progman" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25557 progman" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
25558 progman" && ALL_PROGRAM_BIN_INSTALL_DIRS="$ALL_PROGRAM_BIN_INSTALL_DIRS \\
25559 progman"
a360e934
AJ
25560ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25561programs/progman/Makefile: programs/progman/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
25562ac_config_files="$ac_config_files programs/progman/Makefile"
25563
a360e934
AJ
25564ALL_MAKEFILES="$ALL_MAKEFILES \\
25565 programs/reg/Makefile"
4051eaf7
AJ
25566test "x$enable_reg" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25567 reg" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
25568 reg"
a360e934
AJ
25569ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25570programs/reg/Makefile: programs/reg/Makefile.in programs/Makeprog.rules"
2087ad46
AR
25571ac_config_files="$ac_config_files programs/reg/Makefile"
25572
a360e934
AJ
25573ALL_MAKEFILES="$ALL_MAKEFILES \\
25574 programs/regedit/Makefile"
4051eaf7
AJ
25575test "x$enable_regedit" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25576 regedit" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
25577 regedit" && ALL_PROGRAM_BIN_INSTALL_DIRS="$ALL_PROGRAM_BIN_INSTALL_DIRS \\
25578 regedit"
a360e934
AJ
25579ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25580programs/regedit/Makefile: programs/regedit/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
25581ac_config_files="$ac_config_files programs/regedit/Makefile"
25582
a360e934
AJ
25583ALL_MAKEFILES="$ALL_MAKEFILES \\
25584 programs/regsvr32/Makefile"
4051eaf7
AJ
25585test "x$enable_regsvr32" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25586 regsvr32" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
25587 regsvr32" && ALL_PROGRAM_BIN_INSTALL_DIRS="$ALL_PROGRAM_BIN_INSTALL_DIRS \\
25588 regsvr32"
a360e934
AJ
25589ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25590programs/regsvr32/Makefile: programs/regsvr32/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
25591ac_config_files="$ac_config_files programs/regsvr32/Makefile"
25592
a360e934
AJ
25593ALL_MAKEFILES="$ALL_MAKEFILES \\
25594 programs/rpcss/Makefile"
4051eaf7
AJ
25595test "x$enable_rpcss" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25596 rpcss" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
25597 rpcss"
a360e934
AJ
25598ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25599programs/rpcss/Makefile: programs/rpcss/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
25600ac_config_files="$ac_config_files programs/rpcss/Makefile"
25601
a360e934
AJ
25602ALL_MAKEFILES="$ALL_MAKEFILES \\
25603 programs/rundll32/Makefile"
4051eaf7
AJ
25604test "x$enable_rundll32" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25605 rundll32" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
25606 rundll32"
a360e934
AJ
25607ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25608programs/rundll32/Makefile: programs/rundll32/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
25609ac_config_files="$ac_config_files programs/rundll32/Makefile"
25610
a360e934
AJ
25611ALL_MAKEFILES="$ALL_MAKEFILES \\
25612 programs/secedit/Makefile"
4051eaf7
AJ
25613test "x$enable_secedit" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25614 secedit" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
25615 secedit"
a360e934
AJ
25616ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25617programs/secedit/Makefile: programs/secedit/Makefile.in programs/Makeprog.rules"
6547fef3
LL
25618ac_config_files="$ac_config_files programs/secedit/Makefile"
25619
a360e934
AJ
25620ALL_MAKEFILES="$ALL_MAKEFILES \\
25621 programs/services/Makefile"
4051eaf7
AJ
25622test "x$enable_services" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25623 services" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
25624 services"
a360e934
AJ
25625ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25626programs/services/Makefile: programs/services/Makefile.in programs/Makeprog.rules"
7bd0efa1
MZ
25627ac_config_files="$ac_config_files programs/services/Makefile"
25628
a360e934
AJ
25629ALL_MAKEFILES="$ALL_MAKEFILES \\
25630 programs/spoolsv/Makefile"
4051eaf7
AJ
25631test "x$enable_spoolsv" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25632 spoolsv" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
25633 spoolsv"
a360e934
AJ
25634ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25635programs/spoolsv/Makefile: programs/spoolsv/Makefile.in programs/Makeprog.rules"
d1ddc9c1
JC
25636ac_config_files="$ac_config_files programs/spoolsv/Makefile"
25637
a360e934
AJ
25638ALL_MAKEFILES="$ALL_MAKEFILES \\
25639 programs/start/Makefile"
4051eaf7
AJ
25640test "x$enable_start" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25641 start" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
25642 start"
a360e934
AJ
25643ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25644programs/start/Makefile: programs/start/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
25645ac_config_files="$ac_config_files programs/start/Makefile"
25646
a360e934
AJ
25647ALL_MAKEFILES="$ALL_MAKEFILES \\
25648 programs/svchost/Makefile"
4051eaf7
AJ
25649test "x$enable_svchost" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25650 svchost" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
25651 svchost"
a360e934
AJ
25652ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25653programs/svchost/Makefile: programs/svchost/Makefile.in programs/Makeprog.rules"
4714c4fa
RS
25654ac_config_files="$ac_config_files programs/svchost/Makefile"
25655
a360e934
AJ
25656ALL_MAKEFILES="$ALL_MAKEFILES \\
25657 programs/taskmgr/Makefile"
4051eaf7
AJ
25658test "x$enable_taskmgr" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25659 taskmgr" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
25660 taskmgr"
a360e934
AJ
25661ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25662programs/taskmgr/Makefile: programs/taskmgr/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
25663ac_config_files="$ac_config_files programs/taskmgr/Makefile"
25664
a360e934
AJ
25665ALL_MAKEFILES="$ALL_MAKEFILES \\
25666 programs/uninstaller/Makefile"
4051eaf7
AJ
25667test "x$enable_uninstaller" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25668 uninstaller" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
25669 uninstaller" && ALL_PROGRAM_BIN_INSTALL_DIRS="$ALL_PROGRAM_BIN_INSTALL_DIRS \\
25670 uninstaller"
a360e934
AJ
25671ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25672programs/uninstaller/Makefile: programs/uninstaller/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
25673ac_config_files="$ac_config_files programs/uninstaller/Makefile"
25674
a360e934
AJ
25675ALL_MAKEFILES="$ALL_MAKEFILES \\
25676 programs/view/Makefile"
4051eaf7
AJ
25677test "x$enable_view" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25678 view"
a360e934
AJ
25679ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25680programs/view/Makefile: programs/view/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
25681ac_config_files="$ac_config_files programs/view/Makefile"
25682
a360e934
AJ
25683ALL_MAKEFILES="$ALL_MAKEFILES \\
25684 programs/wineboot/Makefile"
4051eaf7
AJ
25685test "x$enable_wineboot" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25686 wineboot" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
25687 wineboot" && ALL_PROGRAM_BIN_INSTALL_DIRS="$ALL_PROGRAM_BIN_INSTALL_DIRS \\
25688 wineboot"
a360e934
AJ
25689ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25690programs/wineboot/Makefile: programs/wineboot/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
25691ac_config_files="$ac_config_files programs/wineboot/Makefile"
25692
a360e934
AJ
25693ALL_MAKEFILES="$ALL_MAKEFILES \\
25694 programs/winebrowser/Makefile"
4051eaf7
AJ
25695test "x$enable_winebrowser" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25696 winebrowser" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
25697 winebrowser" && ALL_PROGRAM_BIN_INSTALL_DIRS="$ALL_PROGRAM_BIN_INSTALL_DIRS \\
25698 winebrowser"
a360e934
AJ
25699ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25700programs/winebrowser/Makefile: programs/winebrowser/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
25701ac_config_files="$ac_config_files programs/winebrowser/Makefile"
25702
a360e934
AJ
25703ALL_MAKEFILES="$ALL_MAKEFILES \\
25704 programs/winecfg/Makefile"
4051eaf7
AJ
25705test "x$enable_winecfg" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25706 winecfg" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
25707 winecfg" && ALL_PROGRAM_BIN_INSTALL_DIRS="$ALL_PROGRAM_BIN_INSTALL_DIRS \\
25708 winecfg"
a360e934
AJ
25709ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25710programs/winecfg/Makefile: programs/winecfg/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
25711ac_config_files="$ac_config_files programs/winecfg/Makefile"
25712
a360e934
AJ
25713ALL_MAKEFILES="$ALL_MAKEFILES \\
25714 programs/wineconsole/Makefile"
4051eaf7
AJ
25715test "x$enable_wineconsole" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25716 wineconsole" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
25717 wineconsole" && ALL_PROGRAM_BIN_INSTALL_DIRS="$ALL_PROGRAM_BIN_INSTALL_DIRS \\
25718 wineconsole"
a360e934
AJ
25719ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25720programs/wineconsole/Makefile: programs/wineconsole/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
25721ac_config_files="$ac_config_files programs/wineconsole/Makefile"
25722
a360e934
AJ
25723ALL_MAKEFILES="$ALL_MAKEFILES \\
25724 programs/winedbg/Makefile"
4051eaf7
AJ
25725test "x$enable_winedbg" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25726 winedbg" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
25727 winedbg" && ALL_PROGRAM_BIN_INSTALL_DIRS="$ALL_PROGRAM_BIN_INSTALL_DIRS \\
25728 winedbg"
a360e934
AJ
25729ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25730programs/winedbg/Makefile: programs/winedbg/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
25731ac_config_files="$ac_config_files programs/winedbg/Makefile"
25732
a360e934
AJ
25733ALL_MAKEFILES="$ALL_MAKEFILES \\
25734 programs/winedevice/Makefile"
4051eaf7
AJ
25735test "x$enable_winedevice" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25736 winedevice" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
25737 winedevice"
a360e934
AJ
25738ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25739programs/winedevice/Makefile: programs/winedevice/Makefile.in programs/Makeprog.rules"
c81d0995
AJ
25740ac_config_files="$ac_config_files programs/winedevice/Makefile"
25741
a360e934
AJ
25742ALL_MAKEFILES="$ALL_MAKEFILES \\
25743 programs/winefile/Makefile"
4051eaf7
AJ
25744test "x$enable_winefile" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25745 winefile" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
25746 winefile" && ALL_PROGRAM_BIN_INSTALL_DIRS="$ALL_PROGRAM_BIN_INSTALL_DIRS \\
25747 winefile"
a360e934
AJ
25748ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25749programs/winefile/Makefile: programs/winefile/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
25750ac_config_files="$ac_config_files programs/winefile/Makefile"
25751
a360e934
AJ
25752ALL_MAKEFILES="$ALL_MAKEFILES \\
25753 programs/winemenubuilder/Makefile"
4051eaf7
AJ
25754test "x$enable_winemenubuilder" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25755 winemenubuilder" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
25756 winemenubuilder"
a360e934
AJ
25757ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25758programs/winemenubuilder/Makefile: programs/winemenubuilder/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
25759ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
25760
a360e934
AJ
25761ALL_MAKEFILES="$ALL_MAKEFILES \\
25762 programs/winemine/Makefile"
4051eaf7
AJ
25763test "x$enable_winemine" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25764 winemine" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
25765 winemine" && ALL_PROGRAM_BIN_INSTALL_DIRS="$ALL_PROGRAM_BIN_INSTALL_DIRS \\
25766 winemine"
a360e934
AJ
25767ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25768programs/winemine/Makefile: programs/winemine/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
25769ac_config_files="$ac_config_files programs/winemine/Makefile"
25770
a360e934
AJ
25771ALL_MAKEFILES="$ALL_MAKEFILES \\
25772 programs/winepath/Makefile"
4051eaf7
AJ
25773test "x$enable_winepath" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25774 winepath" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
25775 winepath" && ALL_PROGRAM_BIN_INSTALL_DIRS="$ALL_PROGRAM_BIN_INSTALL_DIRS \\
25776 winepath"
a360e934
AJ
25777ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25778programs/winepath/Makefile: programs/winepath/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
25779ac_config_files="$ac_config_files programs/winepath/Makefile"
25780
a360e934
AJ
25781ALL_MAKEFILES="$ALL_MAKEFILES \\
25782 programs/winetest/Makefile"
4051eaf7
AJ
25783test "x$enable_winetest" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25784 winetest"
a360e934
AJ
25785ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25786programs/winetest/Makefile: programs/winetest/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
25787ac_config_files="$ac_config_files programs/winetest/Makefile"
25788
a360e934
AJ
25789ALL_MAKEFILES="$ALL_MAKEFILES \\
25790 programs/winevdm/Makefile"
4051eaf7
AJ
25791test "x$enable_winevdm" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25792 winevdm" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
25793 winevdm"
a360e934
AJ
25794ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25795programs/winevdm/Makefile: programs/winevdm/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
25796ac_config_files="$ac_config_files programs/winevdm/Makefile"
25797
a360e934
AJ
25798ALL_MAKEFILES="$ALL_MAKEFILES \\
25799 programs/winhlp32/Makefile"
4051eaf7
AJ
25800test "x$enable_winhlp32" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25801 winhlp32" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
25802 winhlp32"
a360e934
AJ
25803ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25804programs/winhlp32/Makefile: programs/winhlp32/Makefile.in programs/Makeprog.rules"
a795f36a 25805ac_config_files="$ac_config_files programs/winhlp32/Makefile"
fbc80d79 25806
a360e934
AJ
25807ALL_MAKEFILES="$ALL_MAKEFILES \\
25808 programs/winver/Makefile"
4051eaf7
AJ
25809test "x$enable_winver" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25810 winver" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
25811 winver"
a360e934
AJ
25812ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25813programs/winver/Makefile: programs/winver/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
25814ac_config_files="$ac_config_files programs/winver/Makefile"
25815
a360e934
AJ
25816ALL_MAKEFILES="$ALL_MAKEFILES \\
25817 programs/wordpad/Makefile"
4051eaf7
AJ
25818test "x$enable_wordpad" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25819 wordpad" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
25820 wordpad"
a360e934
AJ
25821ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25822programs/wordpad/Makefile: programs/wordpad/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
25823ac_config_files="$ac_config_files programs/wordpad/Makefile"
25824
a360e934
AJ
25825ALL_MAKEFILES="$ALL_MAKEFILES \\
25826 programs/write/Makefile"
4051eaf7
AJ
25827test "x$enable_write" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25828 write" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
25829 write"
a360e934
AJ
25830ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25831programs/write/Makefile: programs/write/Makefile.in programs/Makeprog.rules"
2777a94d
MZ
25832ac_config_files="$ac_config_files programs/write/Makefile"
25833
a360e934
AJ
25834ALL_MAKEFILES="$ALL_MAKEFILES \\
25835 programs/xcopy/Makefile"
4051eaf7
AJ
25836test "x$enable_xcopy" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
25837 xcopy" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
25838 xcopy"
a360e934
AJ
25839ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25840programs/xcopy/Makefile: programs/xcopy/Makefile.in programs/Makeprog.rules"
921edab7
JE
25841ac_config_files="$ac_config_files programs/xcopy/Makefile"
25842
a360e934
AJ
25843ALL_MAKEFILES="$ALL_MAKEFILES \\
25844 server/Makefile"
6de0af1e
AJ
25845test "x$enable_server" != xno && ALL_TOP_DIRS="$ALL_TOP_DIRS \\
25846 server"
a360e934
AJ
25847ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25848server/Makefile: server/Makefile.in Make.rules"
fbc80d79
MM
25849ac_config_files="$ac_config_files server/Makefile"
25850
a360e934
AJ
25851ALL_MAKEFILES="$ALL_MAKEFILES \\
25852 tools/Makefile"
6de0af1e
AJ
25853test "x$enable_tools" != xno && ALL_TOP_DIRS="$ALL_TOP_DIRS \\
25854 tools"
a360e934
AJ
25855ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25856tools/Makefile: tools/Makefile.in Make.rules"
fbc80d79
MM
25857ac_config_files="$ac_config_files tools/Makefile"
25858
a360e934
AJ
25859ALL_MAKEFILES="$ALL_MAKEFILES \\
25860 tools/widl/Makefile"
49163da1 25861
a360e934
AJ
25862ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25863tools/widl/Makefile: tools/widl/Makefile.in Make.rules"
fbc80d79
MM
25864ac_config_files="$ac_config_files tools/widl/Makefile"
25865
a360e934
AJ
25866ALL_MAKEFILES="$ALL_MAKEFILES \\
25867 tools/winebuild/Makefile"
49163da1 25868
a360e934
AJ
25869ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25870tools/winebuild/Makefile: tools/winebuild/Makefile.in Make.rules"
fbc80d79
MM
25871ac_config_files="$ac_config_files tools/winebuild/Makefile"
25872
a360e934
AJ
25873ALL_MAKEFILES="$ALL_MAKEFILES \\
25874 tools/winedump/Makefile"
49163da1 25875
a360e934
AJ
25876ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25877tools/winedump/Makefile: tools/winedump/Makefile.in Make.rules"
fbc80d79
MM
25878ac_config_files="$ac_config_files tools/winedump/Makefile"
25879
a360e934
AJ
25880ALL_MAKEFILES="$ALL_MAKEFILES \\
25881 tools/winegcc/Makefile"
49163da1 25882
a360e934
AJ
25883ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25884tools/winegcc/Makefile: tools/winegcc/Makefile.in Make.rules"
fbc80d79
MM
25885ac_config_files="$ac_config_files tools/winegcc/Makefile"
25886
a360e934
AJ
25887ALL_MAKEFILES="$ALL_MAKEFILES \\
25888 tools/wmc/Makefile"
49163da1 25889
a360e934
AJ
25890ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25891tools/wmc/Makefile: tools/wmc/Makefile.in Make.rules"
fbc80d79
MM
25892ac_config_files="$ac_config_files tools/wmc/Makefile"
25893
a360e934
AJ
25894ALL_MAKEFILES="$ALL_MAKEFILES \\
25895 tools/wrc/Makefile"
49163da1 25896
a360e934
AJ
25897ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25898tools/wrc/Makefile: tools/wrc/Makefile.in Make.rules"
fbc80d79 25899ac_config_files="$ac_config_files tools/wrc/Makefile"
daa2886c 25900
626f425b 25901
67828b60
AJ
25902
25903ALL_WINETEST_DEPENDS="# Test binaries"
25904
25905for dir in $ALL_TEST_DIRS
25906do
25907 if test "$dir" != "\\"
25908 then
25909 testname=`expr $dir : '\(.*\)/tests'`_test.exe
25910 ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
25911$testname: \$(DLLDIR)/$dir/$testname\$(DLLEXT)
25912 cp \$(DLLDIR)/$dir/$testname\$(DLLEXT) \$@ && \$(STRIP) \$@"
25913 fi
25914done
25915
f5818d2f 25916cat >confcache <<\_ACEOF
e2991ea7
AJ
25917# This file is a shell script that caches the results of configure
25918# tests run on this system so they can be shared between configure
f5818d2f
AJ
25919# scripts and configure runs, see configure's option --config-cache.
25920# It is not useful on other systems. If it contains results you don't
25921# want to keep, you may remove or edit it.
e2991ea7 25922#
f5818d2f
AJ
25923# config.status only pays attention to the cache file if you give it
25924# the --recheck option to rerun configure.
e2991ea7 25925#
11af04e3 25926# `ac_cv_env_foo' variables (set or unset) will be overridden when
f5818d2f
AJ
25927# loading this file, other *unset* `ac_cv_foo' will be assigned the
25928# following values.
25929
25930_ACEOF
25931
7e6ae4ba
AJ
25932# The following way of writing the cache mishandles newlines in values,
25933# but we know of no workaround that is simple, portable, and efficient.
fc6ffb29 25934# So, we kill variables containing newlines.
e2991ea7
AJ
25935# Ultrix sh set writes to stderr and can't be redirected directly,
25936# and sets the high bit in the cache file unless we assign to the vars.
fc6ffb29
AJ
25937(
25938 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25939 eval ac_val=\$$ac_var
25940 case $ac_val in #(
25941 *${as_nl}*)
25942 case $ac_var in #(
25943 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25944echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25945 esac
25946 case $ac_var in #(
25947 _ | IFS | as_nl) ;; #(
25948 *) $as_unset $ac_var ;;
25949 esac ;;
25950 esac
25951 done
25952
f5818d2f 25953 (set) 2>&1 |
fc6ffb29
AJ
25954 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25955 *${as_nl}ac_space=\ *)
f5818d2f
AJ
25956 # `set' does not quote correctly, so add quotes (double-quote
25957 # substitution turns \\\\ into \\, and sed turns \\ into \).
25958 sed -n \
875927f6
AJ
25959 "s/'/'\\\\''/g;
25960 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
fc6ffb29 25961 ;; #(
f5818d2f
AJ
25962 *)
25963 # `set' quotes correctly as required by POSIX, so do not add quotes.
fc6ffb29 25964 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
f5818d2f 25965 ;;
fc6ffb29
AJ
25966 esac |
25967 sort
25968) |
f5818d2f 25969 sed '
fc6ffb29 25970 /^ac_cv_env_/b end
f5818d2f 25971 t clear
fc6ffb29 25972 :clear
f5818d2f
AJ
25973 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25974 t end
fc6ffb29
AJ
25975 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25976 :end' >>confcache
0ebeb530
JW
25977if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25978 if test -w "$cache_file"; then
fc6ffb29
AJ
25979 test "x$cache_file" != "x/dev/null" &&
25980 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25981echo "$as_me: updating cache $cache_file" >&6;}
f5818d2f 25982 cat confcache >$cache_file
e2991ea7 25983 else
fc6ffb29
AJ
25984 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25985echo "$as_me: not updating unwritable cache $cache_file" >&6;}
e2991ea7
AJ
25986 fi
25987fi
25988rm -f confcache
25989
e2991ea7
AJ
25990test "x$prefix" = xNONE && prefix=$ac_default_prefix
25991# Let make expand exec_prefix.
25992test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
25993
18f92e76 25994DEFS=-DHAVE_CONFIG_H
e2991ea7 25995
11af04e3
AJ
25996ac_libobjs=
25997ac_ltlibobjs=
25998for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
25999 # 1. Remove the extension, and $U if already installed.
fc6ffb29
AJ
26000 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
26001 ac_i=`echo "$ac_i" | sed "$ac_script"`
26002 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26003 # will be set to the directory where LIBOBJS objects are built.
26004 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26005 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
11af04e3
AJ
26006done
26007LIBOBJS=$ac_libobjs
26008
26009LTLIBOBJS=$ac_ltlibobjs
26010
26011
daa2886c 26012
e2991ea7 26013: ${CONFIG_STATUS=./config.status}
f5818d2f
AJ
26014ac_clean_files_save=$ac_clean_files
26015ac_clean_files="$ac_clean_files $CONFIG_STATUS"
daa2886c 26016{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
f5818d2f
AJ
26017echo "$as_me: creating $CONFIG_STATUS" >&6;}
26018cat >$CONFIG_STATUS <<_ACEOF
26019#! $SHELL
daa2886c 26020# Generated by $as_me.
e2991ea7 26021# Run this file to recreate the current configuration.
e2991ea7 26022# Compiler output produced by configure, useful for debugging
f5818d2f 26023# configure, is in config.log if it exists.
e2991ea7 26024
f5818d2f 26025debug=false
e24bcc77
AJ
26026ac_cs_recheck=false
26027ac_cs_silent=false
f5818d2f 26028SHELL=\${CONFIG_SHELL-$SHELL}
f5818d2f
AJ
26029_ACEOF
26030
26031cat >>$CONFIG_STATUS <<\_ACEOF
daa2886c
AJ
26032## --------------------- ##
26033## M4sh Initialization. ##
26034## --------------------- ##
26035
dc9f3843
AJ
26036# Be more Bourne compatible
26037DUALCASE=1; export DUALCASE # for MKS sh
f5818d2f
AJ
26038if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
26039 emulate sh
26040 NULLCMD=:
11af04e3
AJ
26041 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
26042 # is contrary to our usage. Disable this feature.
26043 alias -g '${1+"$@"}'='"$@"'
fc6ffb29
AJ
26044 setopt NO_GLOB_SUBST
26045else
dc9f3843
AJ
26046 case `(set -o) 2>/dev/null` in
26047 *posix*) set -o posix ;;
26048esac
26049
f5818d2f 26050fi
dc9f3843
AJ
26051
26052
f5818d2f 26053
fc6ffb29
AJ
26054
26055# PATH needs CR
26056# Avoid depending upon Character Ranges.
26057as_cr_letters='abcdefghijklmnopqrstuvwxyz'
26058as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26059as_cr_Letters=$as_cr_letters$as_cr_LETTERS
26060as_cr_digits='0123456789'
26061as_cr_alnum=$as_cr_Letters$as_cr_digits
26062
26063# The user is always right.
26064if test "${PATH_SEPARATOR+set}" != set; then
26065 echo "#! /bin/sh" >conf$$.sh
26066 echo "exit 0" >>conf$$.sh
26067 chmod +x conf$$.sh
26068 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26069 PATH_SEPARATOR=';'
26070 else
26071 PATH_SEPARATOR=:
26072 fi
26073 rm -f conf$$.sh
26074fi
26075
daa2886c 26076# Support unset when possible.
875927f6 26077if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
daa2886c
AJ
26078 as_unset=unset
26079else
26080 as_unset=false
26081fi
26082
11af04e3 26083
fc6ffb29
AJ
26084# IFS
26085# We need space, tab and new line, in precisely that order. Quoting is
26086# there to prevent editors from complaining about space-tab.
26087# (If _AS_PATH_WALK were called with IFS unset, it would disable word
26088# splitting by setting IFS to empty value.)
26089as_nl='
26090'
26091IFS=" "" $as_nl"
26092
26093# Find who we are. Look in the path if we contain no directory separator.
26094case $0 in
26095 *[\\/]* ) as_myself=$0 ;;
26096 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26097for as_dir in $PATH
26098do
26099 IFS=$as_save_IFS
26100 test -z "$as_dir" && as_dir=.
26101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26102done
26103IFS=$as_save_IFS
26104
26105 ;;
26106esac
26107# We did not find ourselves, most probably we were run as `sh COMMAND'
26108# in which case we are not to be found in the path.
26109if test "x$as_myself" = x; then
26110 as_myself=$0
26111fi
26112if test ! -f "$as_myself"; then
26113 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26114 { (exit 1); exit 1; }
26115fi
26116
11af04e3 26117# Work around bugs in pre-3.0 UWIN ksh.
fc6ffb29
AJ
26118for as_var in ENV MAIL MAILPATH
26119do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
26120done
11af04e3
AJ
26121PS1='$ '
26122PS2='> '
26123PS4='+ '
26124
26125# NLS nuisances.
e24bcc77
AJ
26126for as_var in \
26127 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
26128 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
26129 LC_TELEPHONE LC_TIME
11af04e3 26130do
875927f6 26131 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11af04e3
AJ
26132 eval $as_var=C; export $as_var
26133 else
fc6ffb29 26134 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
11af04e3
AJ
26135 fi
26136done
26137
26138# Required to use basename.
fc6ffb29
AJ
26139if expr a : '\(a\)' >/dev/null 2>&1 &&
26140 test "X`expr 00001 : '.*\(...\)'`" = X001; then
11af04e3
AJ
26141 as_expr=expr
26142else
26143 as_expr=false
26144fi
26145
fc6ffb29 26146if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11af04e3
AJ
26147 as_basename=basename
26148else
26149 as_basename=false
26150fi
daa2886c
AJ
26151
26152
f5818d2f 26153# Name of the executable.
fc6ffb29 26154as_me=`$as_basename -- "$0" ||
daa2886c
AJ
26155$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26156 X"$0" : 'X\(//\)$' \| \
fc6ffb29 26157 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
daa2886c 26158echo X/"$0" |
fc6ffb29
AJ
26159 sed '/^.*\/\([^/][^/]*\)\/*$/{
26160 s//\1/
26161 q
26162 }
26163 /^X\/\(\/\/\)$/{
26164 s//\1/
26165 q
26166 }
26167 /^X\/\(\/\).*/{
26168 s//\1/
26169 q
26170 }
26171 s/.*/./; q'`
daa2886c 26172
fc6ffb29
AJ
26173# CDPATH.
26174$as_unset CDPATH
11af04e3 26175
daa2886c
AJ
26176
26177
26178 as_lineno_1=$LINENO
26179 as_lineno_2=$LINENO
daa2886c 26180 test "x$as_lineno_1" != "x$as_lineno_2" &&
fc6ffb29 26181 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
daa2886c
AJ
26182
26183 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
26184 # uniformly replaced by the line number. The first 'sed' inserts a
fc6ffb29
AJ
26185 # line-number line after each line using $LINENO; the second 'sed'
26186 # does the real work. The second script uses 'N' to pair each
26187 # line-number line with the line containing $LINENO, and appends
26188 # trailing '-' during substitution so that $LINENO is not a special
26189 # case at line end.
daa2886c 26190 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
fc6ffb29
AJ
26191 # scripts with optimization help from Paolo Bonzini. Blame Lee
26192 # E. McMahon (1931-1989) for sed's syntax. :-)
26193 sed -n '
26194 p
26195 /[$]LINENO/=
26196 ' <$as_myself |
daa2886c 26197 sed '
fc6ffb29
AJ
26198 s/[$]LINENO.*/&-/
26199 t lineno
26200 b
26201 :lineno
daa2886c 26202 N
fc6ffb29
AJ
26203 :loop
26204 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
daa2886c 26205 t loop
fc6ffb29 26206 s/-\n.*//
daa2886c 26207 ' >$as_me.lineno &&
fc6ffb29
AJ
26208 chmod +x "$as_me.lineno" ||
26209 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
daa2886c
AJ
26210 { (exit 1); exit 1; }; }
26211
26212 # Don't try to exec as it changes $[0], causing all sort of problems
26213 # (the dirname of $[0] is not the place where we might find the
fc6ffb29
AJ
26214 # original and so on. Autoconf is especially sensitive to this).
26215 . "./$as_me.lineno"
daa2886c
AJ
26216 # Exit status is that of the last command.
26217 exit
26218}
26219
26220
0ebeb530 26221if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
fc6ffb29
AJ
26222 as_dirname=dirname
26223else
26224 as_dirname=false
26225fi
26226
26227ECHO_C= ECHO_N= ECHO_T=
26228case `echo -n x` in
26229-n*)
26230 case `echo 'x\c'` in
26231 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
26232 *) ECHO_C='\c';;
26233 esac;;
26234*)
26235 ECHO_N='-n';;
daa2886c 26236esac
f5818d2f 26237
fc6ffb29
AJ
26238if expr a : '\(a\)' >/dev/null 2>&1 &&
26239 test "X`expr 00001 : '.*\(...\)'`" = X001; then
f5818d2f
AJ
26240 as_expr=expr
26241else
26242 as_expr=false
26243fi
26244
26245rm -f conf$$ conf$$.exe conf$$.file
fc6ffb29
AJ
26246if test -d conf$$.dir; then
26247 rm -f conf$$.dir/conf$$.file
26248else
26249 rm -f conf$$.dir
26250 mkdir conf$$.dir
26251fi
f5818d2f
AJ
26252echo >conf$$.file
26253if ln -s conf$$.file conf$$ 2>/dev/null; then
fc6ffb29
AJ
26254 as_ln_s='ln -s'
26255 # ... but there are two gotchas:
26256 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26257 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26258 # In both cases, we have to default to `cp -p'.
26259 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
f5818d2f 26260 as_ln_s='cp -p'
f5818d2f
AJ
26261elif ln conf$$.file conf$$ 2>/dev/null; then
26262 as_ln_s=ln
26263else
26264 as_ln_s='cp -p'
26265fi
fc6ffb29
AJ
26266rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
26267rmdir conf$$.dir 2>/dev/null
f5818d2f 26268
11af04e3
AJ
26269if mkdir -p . 2>/dev/null; then
26270 as_mkdir_p=:
26271else
875927f6 26272 test -d ./-p && rmdir ./-p
11af04e3
AJ
26273 as_mkdir_p=false
26274fi
26275
dc9f3843
AJ
26276if test -x / >/dev/null 2>&1; then
26277 as_test_x='test -x'
fc6ffb29 26278else
dc9f3843
AJ
26279 if ls -dL / >/dev/null 2>&1; then
26280 as_ls_L_option=L
26281 else
26282 as_ls_L_option=
26283 fi
26284 as_test_x='
26285 eval sh -c '\''
26286 if test -d "$1"; then
26287 test -d "$1/.";
26288 else
26289 case $1 in
26290 -*)set "./$1";;
26291 esac;
26292 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
26293 ???[sx]*):;;*)false;;esac;fi
26294 '\'' sh
26295 '
fc6ffb29 26296fi
dc9f3843 26297as_executable_p=$as_test_x
f5818d2f 26298
daa2886c 26299# Sed expression to map a string onto a valid CPP name.
875927f6 26300as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
daa2886c
AJ
26301
26302# Sed expression to map a string onto a valid variable name.
875927f6 26303as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
f5818d2f 26304
f5818d2f 26305
f5818d2f
AJ
26306exec 6>&1
26307
fc6ffb29 26308# Save the log message, to keep $[0] and so on meaningful, and to
daa2886c 26309# report actual input values of CONFIG_FILES etc. instead of their
fc6ffb29
AJ
26310# values after options handling.
26311ac_log="
d381c7cb 26312This file was extended by Wine $as_me 1.1.5, which was
dc9f3843 26313generated by GNU Autoconf 2.61. Invocation command line was
daa2886c
AJ
26314
26315 CONFIG_FILES = $CONFIG_FILES
26316 CONFIG_HEADERS = $CONFIG_HEADERS
26317 CONFIG_LINKS = $CONFIG_LINKS
26318 CONFIG_COMMANDS = $CONFIG_COMMANDS
26319 $ $0 $@
26320
fc6ffb29
AJ
26321on `(hostname || uname -n) 2>/dev/null | sed 1q`
26322"
26323
f5818d2f
AJ
26324_ACEOF
26325
fc6ffb29 26326cat >>$CONFIG_STATUS <<_ACEOF
f5818d2f 26327# Files that config.status was made for.
fc6ffb29
AJ
26328config_files="$ac_config_files"
26329config_headers="$ac_config_headers"
26330config_commands="$ac_config_commands"
f5818d2f 26331
fc6ffb29 26332_ACEOF
f5818d2f 26333
daa2886c 26334cat >>$CONFIG_STATUS <<\_ACEOF
f5818d2f
AJ
26335ac_cs_usage="\
26336\`$as_me' instantiates files from templates according to the
26337current configuration.
26338
26339Usage: $0 [OPTIONS] [FILE]...
26340
26341 -h, --help print this help, then exit
78bd1948 26342 -V, --version print version number and configuration settings, then exit
e24bcc77 26343 -q, --quiet do not print progress messages
f5818d2f
AJ
26344 -d, --debug don't remove temporary files
26345 --recheck update $as_me by reconfiguring in the same conditions
26346 --file=FILE[:TEMPLATE]
875927f6 26347 instantiate the configuration file FILE
f5818d2f 26348 --header=FILE[:TEMPLATE]
875927f6 26349 instantiate the configuration header FILE
f5818d2f
AJ
26350
26351Configuration files:
26352$config_files
26353
26354Configuration headers:
26355$config_headers
26356
26357Configuration commands:
26358$config_commands
26359
26360Report bugs to <bug-autoconf@gnu.org>."
f5818d2f 26361
fc6ffb29 26362_ACEOF
daa2886c 26363cat >>$CONFIG_STATUS <<_ACEOF
f5818d2f 26364ac_cs_version="\\
d381c7cb 26365Wine config.status 1.1.5
dc9f3843 26366configured by $0, generated by GNU Autoconf 2.61,
0ebeb530 26367 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
f5818d2f 26368
fc6ffb29 26369Copyright (C) 2006 Free Software Foundation, Inc.
f5818d2f
AJ
26370This config.status script is free software; the Free Software Foundation
26371gives unlimited permission to copy, distribute and modify it."
fc6ffb29
AJ
26372
26373ac_pwd='$ac_pwd'
26374srcdir='$srcdir'
26375INSTALL='$INSTALL'
daa2886c 26376_ACEOF
f5818d2f 26377
daa2886c 26378cat >>$CONFIG_STATUS <<\_ACEOF
f5818d2f
AJ
26379# If no file are specified by the user, then we need to provide default
26380# value. By we need to know if files were specified by the user.
26381ac_need_defaults=:
26382while test $# != 0
e2991ea7 26383do
f5818d2f
AJ
26384 case $1 in
26385 --*=*)
fc6ffb29
AJ
26386 ac_option=`expr "X$1" : 'X\([^=]*\)='`
26387 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
11af04e3
AJ
26388 ac_shift=:
26389 ;;
fc6ffb29 26390 *)
11af04e3
AJ
26391 ac_option=$1
26392 ac_optarg=$2
26393 ac_shift=shift
f5818d2f 26394 ;;
f5818d2f
AJ
26395 esac
26396
11af04e3 26397 case $ac_option in
f5818d2f 26398 # Handling of the options.
e24bcc77
AJ
26399 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
26400 ac_cs_recheck=: ;;
fc6ffb29
AJ
26401 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
26402 echo "$ac_cs_version"; exit ;;
26403 --debug | --debu | --deb | --de | --d | -d )
f5818d2f
AJ
26404 debug=: ;;
26405 --file | --fil | --fi | --f )
11af04e3
AJ
26406 $ac_shift
26407 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
f5818d2f
AJ
26408 ac_need_defaults=false;;
26409 --header | --heade | --head | --hea )
11af04e3
AJ
26410 $ac_shift
26411 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
f5818d2f 26412 ac_need_defaults=false;;
fc6ffb29
AJ
26413 --he | --h)
26414 # Conflict between --help and --header
26415 { echo "$as_me: error: ambiguous option: $1
26416Try \`$0 --help' for more information." >&2
26417 { (exit 1); exit 1; }; };;
26418 --help | --hel | -h )
26419 echo "$ac_cs_usage"; exit ;;
e24bcc77
AJ
26420 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
26421 | -silent | --silent | --silen | --sile | --sil | --si | --s)
26422 ac_cs_silent=: ;;
f5818d2f
AJ
26423
26424 # This is an error.
fc6ffb29
AJ
26425 -*) { echo "$as_me: error: unrecognized option: $1
26426Try \`$0 --help' for more information." >&2
f5818d2f
AJ
26427 { (exit 1); exit 1; }; } ;;
26428
fc6ffb29
AJ
26429 *) ac_config_targets="$ac_config_targets $1"
26430 ac_need_defaults=false ;;
f5818d2f 26431
e2991ea7 26432 esac
f5818d2f 26433 shift
e2991ea7
AJ
26434done
26435
e24bcc77
AJ
26436ac_configure_extra_args=
26437
26438if $ac_cs_silent; then
26439 exec 6>/dev/null
26440 ac_configure_extra_args="$ac_configure_extra_args --silent"
26441fi
26442
26443_ACEOF
26444cat >>$CONFIG_STATUS <<_ACEOF
26445if \$ac_cs_recheck; then
0ebeb530 26446 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
fc6ffb29
AJ
26447 CONFIG_SHELL=$SHELL
26448 export CONFIG_SHELL
0ebeb530 26449 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
e24bcc77
AJ
26450fi
26451
f5818d2f 26452_ACEOF
fc6ffb29
AJ
26453cat >>$CONFIG_STATUS <<\_ACEOF
26454exec 5>>config.log
26455{
26456 echo
26457 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26458## Running $as_me. ##
26459_ASBOX
26460 echo "$ac_log"
26461} >&5
e2991ea7 26462
fc6ffb29
AJ
26463_ACEOF
26464cat >>$CONFIG_STATUS <<_ACEOF
26465_ACEOF
daa2886c
AJ
26466
26467cat >>$CONFIG_STATUS <<\_ACEOF
fc6ffb29
AJ
26468
26469# Handling of arguments.
f5818d2f
AJ
26470for ac_config_target in $ac_config_targets
26471do
fc6ffb29
AJ
26472 case $ac_config_target in
26473 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
c4704c2d 26474 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
7dfc4477
AJ
26475 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
26476 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
1c60e3bf 26477 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
b8a2e3b8 26478 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
fc6ffb29
AJ
26479 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
26480 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
26481 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
26482 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
26483 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
26484 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
fc6ffb29
AJ
26485 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
26486 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
26487 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
0da02fb2 26488 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
fc6ffb29 26489 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
e8c7c068 26490 "dlls/actxprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
76e08969 26491 "dlls/adsiid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/adsiid/Makefile" ;;
fc6ffb29
AJ
26492 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
26493 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
26494 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
26495 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
26496 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
f4e6489e 26497 "dlls/appwiz.cpl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/appwiz.cpl/Makefile" ;;
fc6ffb29
AJ
26498 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
26499 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
26500 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
ea0361f3 26501 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
7206e106 26502 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
fc6ffb29
AJ
26503 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
26504 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
26505 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
26506 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
26507 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
493bc6b8 26508 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
fc6ffb29 26509 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
9c3b12bd 26510 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
fc6ffb29
AJ
26511 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
26512 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
26513 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
955fe0da 26514 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
5640b56e 26515 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
c82fde40 26516 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
e146591c 26517 "dlls/credui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
fc6ffb29
AJ
26518 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
26519 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
26520 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
f9308217 26521 "dlls/cryptdlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
fc6ffb29 26522 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
d2ee3872 26523 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
322bcddf 26524 "dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
2016c63e 26525 "dlls/cryptui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptui/Makefile" ;;
f89c6de7 26526 "dlls/ctapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
fc6ffb29 26527 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
0db109ff 26528 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
fc6ffb29
AJ
26529 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
26530 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
26531 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
26532 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
26533 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
26534 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
f50800b2 26535 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
fc6ffb29 26536 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
e4ba8eb4 26537 "dlls/d3dx8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
6f834d35 26538 "dlls/d3dx9_24/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
e9c16391 26539 "dlls/d3dx9_25/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
409b19b9
TW
26540 "dlls/d3dx9_26/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
26541 "dlls/d3dx9_27/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
2aa1505a
TW
26542 "dlls/d3dx9_28/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
26543 "dlls/d3dx9_29/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
26544 "dlls/d3dx9_30/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
e4866622 26545 "dlls/d3dx9_31/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
df0a694f
TW
26546 "dlls/d3dx9_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
26547 "dlls/d3dx9_33/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
26548 "dlls/d3dx9_34/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
26549 "dlls/d3dx9_35/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
87fefc7e 26550 "dlls/d3dx9_36/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
b67290b9 26551 "dlls/d3dx9_36/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/tests/Makefile" ;;
be0799fc 26552 "dlls/d3dx9_37/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_37/Makefile" ;;
fc6ffb29 26553 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
04d72cdd 26554 "dlls/d3dxof/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/tests/Makefile" ;;
fc6ffb29
AJ
26555 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
26556 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
26557 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
26558 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
fe70c54a 26559 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
fc6ffb29
AJ
26560 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
26561 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
26562 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
26563 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
26564 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
26565 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
26566 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
26567 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
26568 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
26569 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
26570 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
26571 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
26572 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
26573 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
26574 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
26575 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
26576 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
d1331e62 26577 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
8caf0787 26578 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
fc6ffb29
AJ
26579 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
26580 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
5996c132 26581 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
9d2a1e8a 26582 "dlls/dpwsockx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpwsockx/Makefile" ;;
fc6ffb29
AJ
26583 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
26584 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
2472e81c 26585 "dlls/dssenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dssenh/Makefile" ;;
fc6ffb29 26586 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
c0ddd5e3 26587 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
fc6ffb29
AJ
26588 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
26589 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
26590 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
26591 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
a2cd6430 26592 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
c0b3af34 26593 "dlls/fusion/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/Makefile" ;;
9e021cff 26594 "dlls/fusion/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/tests/Makefile" ;;
7dfc4477
AJ
26595 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
26596 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
bed761c9 26597 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
fcd7a62e 26598 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
fc6ffb29 26599 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
fc6ffb29 26600 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
e4576c80 26601 "dlls/gpkcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
d2d68702 26602 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
fc6ffb29 26603 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
b89cafaf 26604 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
b732e9b4 26605 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
a430db9e 26606 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
a00aa039 26607 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
fc6ffb29
AJ
26608 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
26609 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
26610 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
26611 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
26612 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
26613 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
0a31ab7e 26614 "dlls/imm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
beab2c17 26615 "dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
ba6b7e8b 26616 "dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
17231579 26617 "dlls/inetmib1/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetmib1/Makefile" ;;
cca77db0 26618 "dlls/inetmib1/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetmib1/tests/Makefile" ;;
4d3877b6 26619 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
b5871fa5 26620 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
7c3d24bf 26621 "dlls/initpki/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/initpki/Makefile" ;;
e9252251 26622 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
4d3877b6 26623 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
fc6ffb29
AJ
26624 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
26625 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
58b0686e 26626 "dlls/itircl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itircl/Makefile" ;;
fc6ffb29 26627 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
1e65d474 26628 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
fa23a2c4 26629 "dlls/jscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/Makefile" ;;
63ebe019 26630 "dlls/jscript/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/tests/Makefile" ;;
489d87d1
AJ
26631 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
26632 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
2198d836 26633 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
ecb97fc2 26634 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
d24bc087 26635 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
62e92795 26636 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
fc6ffb29
AJ
26637 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
26638 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
26639 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
26640 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
26641 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
26642 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
26643 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
26644 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
26645 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
26646 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
26647 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
26648 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
26649 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
43dc80e6 26650 "dlls/mountmgr.sys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
fc6ffb29
AJ
26651 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
26652 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
26653 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
26654 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
26655 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
26656 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
6103f312 26657 "dlls/mscat32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscat32/Makefile" ;;
fc6ffb29
AJ
26658 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
26659 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
4fe6c3fa 26660 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
fc6ffb29
AJ
26661 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
26662 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
26663 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
021d06a4 26664 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
fc6ffb29
AJ
26665 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
26666 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
26667 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
26668 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
26669 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
44a808fb 26670 "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;;
8a6c2c2b 26671 "dlls/msisip/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisip/Makefile" ;;
fc6ffb29
AJ
26672 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
26673 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
26674 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
c438d239 26675 "dlls/mssip32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mssip32/Makefile" ;;
80ee225f 26676 "dlls/mstask/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mstask/Makefile" ;;
3842ab09 26677 "dlls/mstask/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mstask/tests/Makefile" ;;
455a4994 26678 "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
67815c6b 26679 "dlls/msvcr71/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
fc6ffb29
AJ
26680 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
26681 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
26682 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
26683 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
26684 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
26685 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
26686 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
26687 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
26688 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
26689 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
26690 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
0b4eafad 26691 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
fc6ffb29
AJ
26692 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
26693 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
26694 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
26695 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
26696 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
26697 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
5db45041 26698 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
12c169d2 26699 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
a8697b58 26700 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
a114483e 26701 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
fc6ffb29
AJ
26702 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
26703 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
26704 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
cf6e0d82 26705 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
fc6ffb29
AJ
26706 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
26707 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
26708 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
26709 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
26710 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
26711 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
26712 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
26713 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
26714 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
7db1bd9f 26715 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
fc6ffb29 26716 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
219269c0 26717 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
41f15a76 26718 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
0a6f6874 26719 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
fc6ffb29 26720 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
3fd4a536 26721 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
07588027 26722 "dlls/propsys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/propsys/Makefile" ;;
fc6ffb29
AJ
26723 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
26724 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
acb7f8ab 26725 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
fc6ffb29 26726 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
6de8be71 26727 "dlls/qedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/Makefile" ;;
e8551a07 26728 "dlls/qedit/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
2b0255f6 26729 "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
884e7e7b 26730 "dlls/qmgr/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
00ef4e58 26731 "dlls/qmgrprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
fc6ffb29
AJ
26732 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
26733 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
defbc49b 26734 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
fc6ffb29 26735 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
b8c6d8e5 26736 "dlls/rasapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/tests/Makefile" ;;
3ac07aa0 26737 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
fc6ffb29
AJ
26738 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
26739 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
26740 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
74cd5903 26741 "dlls/riched32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
fc6ffb29
AJ
26742 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
26743 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
26744 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
fc6ffb29
AJ
26745 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
26746 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
26747 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
322d4cab 26748 "dlls/sccbase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sccbase/Makefile" ;;
361c6f20 26749 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
735df246 26750 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
fc6ffb29
AJ
26751 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
26752 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
26753 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
26754 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
26755 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
8650c570 26756 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
fc6ffb29
AJ
26757 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
26758 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
26759 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
161897e1 26760 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
2d3a5a61 26761 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
fc6ffb29
AJ
26762 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
26763 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
26764 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
26765 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
26766 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
26767 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
26768 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
b3a9699a 26769 "dlls/slbcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
ea563709 26770 "dlls/slc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slc/Makefile" ;;
fc6ffb29 26771 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
396f6c05 26772 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
e11826f5 26773 "dlls/softpub/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/softpub/Makefile" ;;
fc6ffb29 26774 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
cf122bab 26775 "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
fc6ffb29
AJ
26776 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
26777 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
26778 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
26779 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
bb497631 26780 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
74977dae 26781 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
fc6ffb29
AJ
26782 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
26783 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
26784 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
26785 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
26786 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
26787 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
b8a2e3b8
AJ
26788 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
26789 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
a6ea0f61 26790 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
ffb04579 26791 "dlls/userenv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/tests/Makefile" ;;
fc6ffb29
AJ
26792 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
26793 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
26794 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
26795 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
569a452d 26796 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
fc6ffb29
AJ
26797 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
26798 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
26799 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
26800 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
26801 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
26802 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
26803 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
26804 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
26805 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
26806 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
01905338 26807 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
f972d662 26808 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
9402089e 26809 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
fc6ffb29
AJ
26810 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
26811 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
26812 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
851e6d7c 26813 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
7fc151d6 26814 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
f231a70f 26815 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
fc6ffb29 26816 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
ae0380d9 26817 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
dc3961bc 26818 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
fc6ffb29 26819 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
08884514 26820 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
bdb4fab7 26821 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
47e6fb4d 26822 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
21572967 26823 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
b2be840e 26824 "dlls/winhttp/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/tests/Makefile" ;;
fc6ffb29
AJ
26825 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
26826 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
26827 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
fc6ffb29 26828 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
fc6ffb29 26829 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
23df68d8 26830 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
fc6ffb29
AJ
26831 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
26832 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
26833 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
26834 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
95bb9032 26835 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
fc6ffb29 26836 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
4328d92d 26837 "dlls/wmi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wmi/Makefile" ;;
fc6ffb29
AJ
26838 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
26839 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
26840 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
26841 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
26842 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
26843 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
fc6ffb29
AJ
26844 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
26845 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
26846 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
26847 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
26848 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
fc6ffb29
AJ
26849 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
26850 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
26851 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
26852 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
26853 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
39857443 26854 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
fc6ffb29
AJ
26855 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
26856 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
26857 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
26858 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
26859 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
26860 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
26861 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
26862 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
26863 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
451616ee 26864 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
fc6ffb29 26865 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
68f590cf 26866 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
fc6ffb29 26867 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
2087ad46 26868 "programs/reg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/reg/Makefile" ;;
fc6ffb29
AJ
26869 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
26870 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
26871 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
26872 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
6547fef3 26873 "programs/secedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/secedit/Makefile" ;;
7bd0efa1 26874 "programs/services/Makefile") CONFIG_FILES="$CONFIG_FILES programs/services/Makefile" ;;
d1ddc9c1 26875 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
fc6ffb29 26876 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
4714c4fa 26877 "programs/svchost/Makefile") CONFIG_FILES="$CONFIG_FILES programs/svchost/Makefile" ;;
fc6ffb29
AJ
26878 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
26879 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
26880 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
fc6ffb29
AJ
26881 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
26882 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
26883 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
26884 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
26885 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
c81d0995 26886 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
fc6ffb29
AJ
26887 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
26888 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
26889 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
26890 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
26891 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
26892 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
a795f36a 26893 "programs/winhlp32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhlp32/Makefile" ;;
fc6ffb29
AJ
26894 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
26895 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
2777a94d 26896 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
921edab7 26897 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
fc6ffb29
AJ
26898 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
26899 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
26900 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
fc6ffb29
AJ
26901 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
26902 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
26903 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
26904 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
26905 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
26906
daa2886c 26907 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
f5818d2f
AJ
26908echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
26909 { (exit 1); exit 1; }; };;
26910 esac
26911done
26912
fc6ffb29 26913
f5818d2f
AJ
26914# If the user did not use the arguments to specify the items to instantiate,
26915# then the envvar interface is used. Set only those that are not.
26916# We use the long form for the default assignment because of an extremely
26917# bizarre bug on SunOS 4.1.3.
26918if $ac_need_defaults; then
26919 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
26920 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
26921 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
26922fi
26923
e24bcc77 26924# Have a temporary directory for convenience. Make it in the build tree
fc6ffb29 26925# simply because there is no reason against having it here, and in addition,
e24bcc77 26926# creating and moving files from /tmp can sometimes cause problems.
fc6ffb29
AJ
26927# Hook for its removal unless debugging.
26928# Note that there is a small window in which the directory will not be cleaned:
26929# after its creation but before its name has been assigned to `$tmp'.
f5818d2f
AJ
26930$debug ||
26931{
fc6ffb29
AJ
26932 tmp=
26933 trap 'exit_status=$?
26934 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26935' 0
f5818d2f
AJ
26936 trap '{ (exit 1); exit 1; }' 1 2 13 15
26937}
f5818d2f 26938# Create a (secure) tmp directory for tmp files.
e24bcc77 26939
f5818d2f 26940{
fc6ffb29 26941 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
f5818d2f
AJ
26942 test -n "$tmp" && test -d "$tmp"
26943} ||
26944{
fc6ffb29
AJ
26945 tmp=./conf$$-$RANDOM
26946 (umask 077 && mkdir "$tmp")
f5818d2f
AJ
26947} ||
26948{
e24bcc77 26949 echo "$me: cannot create a temporary directory in ." >&2
f5818d2f
AJ
26950 { (exit 1); exit 1; }
26951}
26952
f5818d2f 26953#
fc6ffb29 26954# Set up the sed scripts for CONFIG_FILES section.
f5818d2f
AJ
26955#
26956
26957# No need to generate the scripts if there are no CONFIG_FILES.
26958# This happens for instance when ./config.status config.h
fc6ffb29
AJ
26959if test -n "$CONFIG_FILES"; then
26960
26961_ACEOF
26962
26963# Create sed commands to just substitute file output variables.
26964
26965# Remaining file output variables are in a fragment that also has non-file
26966# output varibles.
26967
26968
26969
26970ac_delim='%!_!# '
26971for ac_last_try in false false false false false :; do
26972 cat >conf$$subs.sed <<_ACEOF
26973SHELL!$SHELL$ac_delim
26974PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
26975PACKAGE_NAME!$PACKAGE_NAME$ac_delim
26976PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
26977PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
26978PACKAGE_STRING!$PACKAGE_STRING$ac_delim
26979PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
26980exec_prefix!$exec_prefix$ac_delim
26981prefix!$prefix$ac_delim
26982program_transform_name!$program_transform_name$ac_delim
26983bindir!$bindir$ac_delim
26984sbindir!$sbindir$ac_delim
26985libexecdir!$libexecdir$ac_delim
26986datarootdir!$datarootdir$ac_delim
26987datadir!$datadir$ac_delim
26988sysconfdir!$sysconfdir$ac_delim
26989sharedstatedir!$sharedstatedir$ac_delim
26990localstatedir!$localstatedir$ac_delim
26991includedir!$includedir$ac_delim
26992oldincludedir!$oldincludedir$ac_delim
26993docdir!$docdir$ac_delim
26994infodir!$infodir$ac_delim
26995htmldir!$htmldir$ac_delim
26996dvidir!$dvidir$ac_delim
26997pdfdir!$pdfdir$ac_delim
26998psdir!$psdir$ac_delim
26999libdir!$libdir$ac_delim
27000localedir!$localedir$ac_delim
27001mandir!$mandir$ac_delim
27002DEFS!$DEFS$ac_delim
27003ECHO_C!$ECHO_C$ac_delim
27004ECHO_N!$ECHO_N$ac_delim
27005ECHO_T!$ECHO_T$ac_delim
27006LIBS!$LIBS$ac_delim
27007build_alias!$build_alias$ac_delim
27008host_alias!$host_alias$ac_delim
27009target_alias!$target_alias$ac_delim
9d037226 27010MAINTAINER_MODE!$MAINTAINER_MODE$ac_delim
fc6ffb29
AJ
27011build!$build$ac_delim
27012build_cpu!$build_cpu$ac_delim
27013build_vendor!$build_vendor$ac_delim
27014build_os!$build_os$ac_delim
27015host!$host$ac_delim
27016host_cpu!$host_cpu$ac_delim
27017host_vendor!$host_vendor$ac_delim
27018host_os!$host_os$ac_delim
27019WIN16_FILES!$WIN16_FILES$ac_delim
27020WIN16_INSTALL!$WIN16_INSTALL$ac_delim
27021SET_MAKE!$SET_MAKE$ac_delim
27022CC!$CC$ac_delim
27023CFLAGS!$CFLAGS$ac_delim
27024LDFLAGS!$LDFLAGS$ac_delim
27025CPPFLAGS!$CPPFLAGS$ac_delim
27026ac_ct_CC!$ac_ct_CC$ac_delim
27027EXEEXT!$EXEEXT$ac_delim
27028OBJEXT!$OBJEXT$ac_delim
27029CXX!$CXX$ac_delim
27030CXXFLAGS!$CXXFLAGS$ac_delim
27031ac_ct_CXX!$ac_ct_CXX$ac_delim
27032CPPBIN!$CPPBIN$ac_delim
27033TOOLSDIR!$TOOLSDIR$ac_delim
27034XMKMF!$XMKMF$ac_delim
27035CPP!$CPP$ac_delim
27036X_CFLAGS!$X_CFLAGS$ac_delim
27037X_PRE_LIBS!$X_PRE_LIBS$ac_delim
27038X_LIBS!$X_LIBS$ac_delim
27039X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
4091627c 27040FLEX!$FLEX$ac_delim
fc6ffb29
AJ
27041BISON!$BISON$ac_delim
27042AS!$AS$ac_delim
27043ac_ct_AS!$ac_ct_AS$ac_delim
27044LD!$LD$ac_delim
86bd0461
FG
27045ac_ct_LD!$ac_ct_LD$ac_delim
27046NM!$NM$ac_delim
27047ac_ct_NM!$ac_ct_NM$ac_delim
fc6ffb29 27048AR!$AR$ac_delim
86bd0461 27049ac_ct_AR!$ac_ct_AR$ac_delim
0c694d71 27050ARFLAGS!$ARFLAGS$ac_delim
fc6ffb29
AJ
27051RANLIB!$RANLIB$ac_delim
27052STRIP!$STRIP$ac_delim
27053WINDRES!$WINDRES$ac_delim
27054LN_S!$LN_S$ac_delim
27055_ACEOF
27056
fdfc24ca 27057 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
fc6ffb29
AJ
27058 break
27059 elif $ac_last_try; then
27060 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
27061echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
27062 { (exit 1); exit 1; }; }
27063 else
27064 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
da0cfb36 27065 fi
fc6ffb29
AJ
27066done
27067
0ebeb530
JW
27068ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
27069if test -n "$ac_eof"; then
27070 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
27071 ac_eof=`expr $ac_eof + 1`
fc6ffb29
AJ
27072fi
27073
27074cat >>$CONFIG_STATUS <<_ACEOF
27075cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
27076/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
27077/^[ ]*@MAKE_RULES@[ ]*$/{
27078r $MAKE_RULES
27079d
27080}
27081/^[ ]*@MAKE_DLL_RULES@[ ]*$/{
27082r $MAKE_DLL_RULES
27083d
27084}
27085/^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
27086r $MAKE_IMPLIB_RULES
27087d
27088}
27089/^[ ]*@MAKE_TEST_RULES@[ ]*$/{
27090r $MAKE_TEST_RULES
27091d
27092}
fc6ffb29
AJ
27093/^[ ]*@MAKE_PROG_RULES@[ ]*$/{
27094r $MAKE_PROG_RULES
27095d
27096}
27097_ACEOF
27098sed '
27099s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
27100s/^/s,@/; s/!/@,|#_!!_#|/
27101:n
27102t n
27103s/'"$ac_delim"'$/,g/; t
27104s/$/\\/; p
27105N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
27106' >>$CONFIG_STATUS <conf$$subs.sed
27107rm -f conf$$subs.sed
27108cat >>$CONFIG_STATUS <<_ACEOF
27109CEOF$ac_eof
27110_ACEOF
27111
27112
27113ac_delim='%!_!# '
27114for ac_last_try in false false false false false :; do
27115 cat >conf$$subs.sed <<_ACEOF
86bd0461
FG
27116LN!$LN$ac_delim
27117GREP!$GREP$ac_delim
27118EGREP!$EGREP$ac_delim
27119LDCONFIG!$LDCONFIG$ac_delim
9d037226 27120INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
0c694d71 27121INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
fc6ffb29
AJ
27122INSTALL_DATA!$INSTALL_DATA$ac_delim
27123LINT!$LINT$ac_delim
27124LINTFLAGS!$LINTFLAGS$ac_delim
27125FONTFORGE!$FONTFORGE$ac_delim
27126PKG_CONFIG!$PKG_CONFIG$ac_delim
dc4a475f
AJ
27127RSVG!$RSVG$ac_delim
27128ICOTOOL!$ICOTOOL$ac_delim
fc6ffb29
AJ
27129PRELINK!$PRELINK$ac_delim
27130LIBPTHREAD!$LIBPTHREAD$ac_delim
27131XLIB!$XLIB$ac_delim
fc6ffb29 27132OPENGL_LIBS!$OPENGL_LIBS$ac_delim
a3097628
AJ
27133DLLEXT!$DLLEXT$ac_delim
27134DLLFLAGS!$DLLFLAGS$ac_delim
27135LDSHARED!$LDSHARED$ac_delim
27136LDDLLFLAGS!$LDDLLFLAGS$ac_delim
27137LIBEXT!$LIBEXT$ac_delim
27138IMPLIBEXT!$IMPLIBEXT$ac_delim
27139LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
27140LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
27141LDD!$LDD$ac_delim
27142DLLTOOL!$DLLTOOL$ac_delim
27143DLLWRAP!$DLLWRAP$ac_delim
27144MINGWAR!$MINGWAR$ac_delim
312a1db3 27145SECURITYLIB!$SECURITYLIB$ac_delim
a3097628
AJ
27146COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
27147IOKITLIB!$IOKITLIB$ac_delim
27148LDEXECFLAGS!$LDEXECFLAGS$ac_delim
27149DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
27150COREAUDIO!$COREAUDIO$ac_delim
27151CARBONLIB!$CARBONLIB$ac_delim
27152CROSSTEST!$CROSSTEST$ac_delim
27153CROSSCC!$CROSSCC$ac_delim
27154CROSSWINDRES!$CROSSWINDRES$ac_delim
fc6ffb29
AJ
27155NASLIBS!$NASLIBS$ac_delim
27156XML2LIBS!$XML2LIBS$ac_delim
27157XML2INCL!$XML2INCL$ac_delim
27158XSLTLIBS!$XSLTLIBS$ac_delim
27159XSLTINCL!$XSLTINCL$ac_delim
27160HALINCL!$HALINCL$ac_delim
874c9ef6 27161GNUTLSINCL!$GNUTLSINCL$ac_delim
fc6ffb29 27162sane_devel!$sane_devel$ac_delim
fc6ffb29
AJ
27163SANEINCL!$SANEINCL$ac_delim
27164gphoto2_devel!$gphoto2_devel$ac_delim
27165gphoto2port_devel!$gphoto2port_devel$ac_delim
27166GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
27167GPHOTO2INCL!$GPHOTO2INCL$ac_delim
fc6ffb29
AJ
27168RESOLVLIBS!$RESOLVLIBS$ac_delim
27169LCMSLIBS!$LCMSLIBS$ac_delim
24a55f38 27170ft_devel!$ft_devel$ac_delim
fc6ffb29
AJ
27171FREETYPELIBS!$FREETYPELIBS$ac_delim
27172FREETYPEINCL!$FREETYPEINCL$ac_delim
fc6ffb29 27173ESDCONFIG!$ESDCONFIG$ac_delim
fc6ffb29 27174ESDINCL!$ESDINCL$ac_delim
e9b1a406 27175ESDLIBS!$ESDLIBS$ac_delim
fc6ffb29
AJ
27176ALSALIBS!$ALSALIBS$ac_delim
27177AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
289ea338 27178CUPSINCL!$CUPSINCL$ac_delim
5c076730 27179FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
fc6ffb29
AJ
27180EXTRACFLAGS!$EXTRACFLAGS$ac_delim
27181BUILTINFLAG!$BUILTINFLAG$ac_delim
fc6ffb29
AJ
27182LDPATH!$LDPATH$ac_delim
27183CRTLIBS!$CRTLIBS$ac_delim
27184SOCKETLIBS!$SOCKETLIBS$ac_delim
27185MAIN_BINARY!$MAIN_BINARY$ac_delim
27186EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
e533e972 27187LIBDL!$LIBDL$ac_delim
1089260f 27188LIBPOLL!$LIBPOLL$ac_delim
bcba2705 27189LDAPLIBS!$LDAPLIBS$ac_delim
32ab895e 27190DEPENDENCIES!$DEPENDENCIES$ac_delim
a360e934
AJ
27191ALL_MAKERULES!$ALL_MAKERULES$ac_delim
27192ALL_MAKEFILES!$ALL_MAKEFILES$ac_delim
27193ALL_MAKEFILE_DEPENDS!$ALL_MAKEFILE_DEPENDS$ac_delim
6de0af1e 27194ALL_TOP_DIRS!$ALL_TOP_DIRS$ac_delim
49163da1
AJ
27195ALL_DLL_DIRS!$ALL_DLL_DIRS$ac_delim
27196ALL_IMPLIB_DIRS!$ALL_IMPLIB_DIRS$ac_delim
27197ALL_TEST_DIRS!$ALL_TEST_DIRS$ac_delim
4051eaf7
AJ
27198ALL_PROGRAM_DIRS!$ALL_PROGRAM_DIRS$ac_delim
27199ALL_PROGRAM_INSTALL_DIRS!$ALL_PROGRAM_INSTALL_DIRS$ac_delim
27200ALL_PROGRAM_BIN_INSTALL_DIRS!$ALL_PROGRAM_BIN_INSTALL_DIRS$ac_delim
67828b60 27201ALL_WINETEST_DEPENDS!$ALL_WINETEST_DEPENDS$ac_delim
fc6ffb29
AJ
27202LIBOBJS!$LIBOBJS$ac_delim
27203LTLIBOBJS!$LTLIBOBJS$ac_delim
27204_ACEOF
27205
874c9ef6 27206 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 88; then
fc6ffb29
AJ
27207 break
27208 elif $ac_last_try; then
27209 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
27210echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
27211 { (exit 1); exit 1; }; }
27212 else
27213 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27214 fi
27215done
27216
0ebeb530
JW
27217ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
27218if test -n "$ac_eof"; then
27219 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
27220 ac_eof=`expr $ac_eof + 1`
fc6ffb29 27221fi
da0cfb36 27222
fc6ffb29
AJ
27223cat >>$CONFIG_STATUS <<_ACEOF
27224cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
27225/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
27226_ACEOF
27227sed '
27228s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
27229s/^/s,@/; s/!/@,|#_!!_#|/
27230:n
27231t n
27232s/'"$ac_delim"'$/,g/; t
27233s/$/\\/; p
27234N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
27235' >>$CONFIG_STATUS <conf$$subs.sed
27236rm -f conf$$subs.sed
27237cat >>$CONFIG_STATUS <<_ACEOF
27238:end
27239s/|#_!!_#|//g
27240CEOF$ac_eof
daa2886c 27241_ACEOF
fc6ffb29
AJ
27242
27243
27244# VPATH may cause trouble with some makes, so we remove $(srcdir),
27245# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
27246# trailing colons and then remove the whole line if VPATH becomes empty
27247# (actually we leave an empty line to preserve line numbers).
27248if test "x$srcdir" = x.; then
27249 ac_vpsub='/^[ ]*VPATH[ ]*=/{
27250s/:*\$(srcdir):*/:/
27251s/:*\${srcdir}:*/:/
27252s/:*@srcdir@:*/:/
27253s/^\([^=]*=[ ]*\):*/\1/
27254s/:*$//
27255s/^[^=]*=[ ]*$//
27256}'
27257fi
27258
daa2886c 27259cat >>$CONFIG_STATUS <<\_ACEOF
fc6ffb29
AJ
27260fi # test -n "$CONFIG_FILES"
27261
27262
27263for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
27264do
27265 case $ac_tag in
27266 :[FHLC]) ac_mode=$ac_tag; continue;;
27267 esac
27268 case $ac_mode$ac_tag in
27269 :[FHL]*:*);;
27270 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
27271echo "$as_me: error: Invalid tag $ac_tag." >&2;}
27272 { (exit 1); exit 1; }; };;
27273 :[FH]-) ac_tag=-:-;;
27274 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
e2991ea7 27275 esac
fc6ffb29
AJ
27276 ac_save_IFS=$IFS
27277 IFS=:
27278 set x $ac_tag
27279 IFS=$ac_save_IFS
27280 shift
27281 ac_file=$1
27282 shift
e2991ea7 27283
fc6ffb29
AJ
27284 case $ac_mode in
27285 :L) ac_source=$1;;
27286 :[FH])
27287 ac_file_inputs=
27288 for ac_f
27289 do
27290 case $ac_f in
27291 -) ac_f="$tmp/stdin";;
27292 *) # Look for the file first in the build tree, then in the source tree
27293 # (if the path is not absolute). The absolute path cannot be DOS-style,
27294 # because $ac_f cannot contain `:'.
27295 test -f "$ac_f" ||
27296 case $ac_f in
27297 [\\/$]*) false;;
27298 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
27299 esac ||
27300 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
27301echo "$as_me: error: cannot find input file: $ac_f" >&2;}
27302 { (exit 1); exit 1; }; };;
27303 esac
27304 ac_file_inputs="$ac_file_inputs $ac_f"
27305 done
27306
27307 # Let's still pretend it is `configure' which instantiates (i.e., don't
27308 # use $as_me), people would be surprised to read:
27309 # /* config.h. Generated by config.status. */
27310 configure_input="Generated from "`IFS=:
27311 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
27312 if test x"$ac_file" != x-; then
27313 configure_input="$ac_file. $configure_input"
27314 { echo "$as_me:$LINENO: creating $ac_file" >&5
27315echo "$as_me: creating $ac_file" >&6;}
27316 fi
27317
27318 case $ac_tag in
27319 *:-:* | *:-) cat >"$tmp/stdin";;
27320 esac
27321 ;;
27322 esac
27323
27324 ac_dir=`$as_dirname -- "$ac_file" ||
daa2886c 27325$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
875927f6
AJ
27326 X"$ac_file" : 'X\(//\)[^/]' \| \
27327 X"$ac_file" : 'X\(//\)$' \| \
fc6ffb29 27328 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
f5818d2f 27329echo X"$ac_file" |
fc6ffb29
AJ
27330 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27331 s//\1/
27332 q
27333 }
27334 /^X\(\/\/\)[^/].*/{
27335 s//\1/
27336 q
27337 }
27338 /^X\(\/\/\)$/{
27339 s//\1/
27340 q
27341 }
27342 /^X\(\/\).*/{
27343 s//\1/
27344 q
27345 }
27346 s/.*/./; q'`
27347 { as_dir="$ac_dir"
27348 case $as_dir in #(
27349 -*) as_dir=./$as_dir;;
27350 esac
27351 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11af04e3 27352 as_dirs=
fc6ffb29
AJ
27353 while :; do
27354 case $as_dir in #(
27355 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
27356 *) as_qdir=$as_dir;;
27357 esac
27358 as_dirs="'$as_qdir' $as_dirs"
27359 as_dir=`$as_dirname -- "$as_dir" ||
11af04e3 27360$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
875927f6
AJ
27361 X"$as_dir" : 'X\(//\)[^/]' \| \
27362 X"$as_dir" : 'X\(//\)$' \| \
fc6ffb29 27363 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11af04e3 27364echo X"$as_dir" |
fc6ffb29
AJ
27365 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27366 s//\1/
27367 q
27368 }
27369 /^X\(\/\/\)[^/].*/{
27370 s//\1/
27371 q
27372 }
27373 /^X\(\/\/\)$/{
27374 s//\1/
27375 q
27376 }
27377 /^X\(\/\).*/{
27378 s//\1/
27379 q
27380 }
27381 s/.*/./; q'`
27382 test -d "$as_dir" && break
11af04e3 27383 done
fc6ffb29
AJ
27384 test -z "$as_dirs" || eval "mkdir $as_dirs"
27385 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
27386echo "$as_me: error: cannot create directory $as_dir" >&2;}
11af04e3 27387 { (exit 1); exit 1; }; }; }
daa2886c 27388 ac_builddir=.
e2991ea7 27389
fc6ffb29
AJ
27390case "$ac_dir" in
27391.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
27392*)
daa2886c 27393 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
fc6ffb29
AJ
27394 # A ".." for each directory in $ac_dir_suffix.
27395 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
27396 case $ac_top_builddir_sub in
27397 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
27398 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
27399 esac ;;
27400esac
27401ac_abs_top_builddir=$ac_pwd
27402ac_abs_builddir=$ac_pwd$ac_dir_suffix
27403# for backward compatibility:
27404ac_top_builddir=$ac_top_build_prefix
daa2886c
AJ
27405
27406case $srcdir in
fc6ffb29 27407 .) # We are building in place.
daa2886c 27408 ac_srcdir=.
fc6ffb29
AJ
27409 ac_top_srcdir=$ac_top_builddir_sub
27410 ac_abs_top_srcdir=$ac_pwd ;;
27411 [\\/]* | ?:[\\/]* ) # Absolute name.
daa2886c 27412 ac_srcdir=$srcdir$ac_dir_suffix;
fc6ffb29
AJ
27413 ac_top_srcdir=$srcdir
27414 ac_abs_top_srcdir=$srcdir ;;
27415 *) # Relative name.
27416 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
27417 ac_top_srcdir=$ac_top_build_prefix$srcdir
27418 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
daa2886c 27419esac
fc6ffb29 27420ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
875927f6 27421
daa2886c 27422
fc6ffb29
AJ
27423 case $ac_mode in
27424 :F)
27425 #
27426 # CONFIG_FILE
27427 #
e2991ea7 27428
f5818d2f
AJ
27429 case $INSTALL in
27430 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
fc6ffb29 27431 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
d7d4fdf8 27432 esac
fc6ffb29 27433_ACEOF
da0cfb36 27434
fc6ffb29
AJ
27435cat >>$CONFIG_STATUS <<\_ACEOF
27436# If the template does not know about datarootdir, expand it.
27437# FIXME: This hack should be removed a few years after 2.60.
0ebeb530 27438ac_datarootdir_hack=; ac_datarootdir_seen=
875927f6 27439
fc6ffb29
AJ
27440case `sed -n '/datarootdir/ {
27441 p
27442 q
27443}
27444/@datadir@/p
27445/@docdir@/p
27446/@infodir@/p
27447/@localedir@/p
27448/@mandir@/p
27449' $ac_file_inputs` in
0ebeb530 27450*datarootdir*) ac_datarootdir_seen=yes;;
fc6ffb29
AJ
27451*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
27452 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
27453echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
daa2886c 27454_ACEOF
fc6ffb29
AJ
27455cat >>$CONFIG_STATUS <<_ACEOF
27456 ac_datarootdir_hack='
27457 s&@datadir@&$datadir&g
27458 s&@docdir@&$docdir&g
27459 s&@infodir@&$infodir&g
27460 s&@localedir@&$localedir&g
27461 s&@mandir@&$mandir&g
27462 s&\\\${datarootdir}&$datarootdir&g' ;;
27463esac
27464_ACEOF
27465
27466# Neutralize VPATH when `$srcdir' = `.'.
27467# Shell code in configure.ac might set extrasub.
27468# FIXME: do we really want to maintain this feature?
daa2886c 27469cat >>$CONFIG_STATUS <<_ACEOF
f5818d2f
AJ
27470 sed "$ac_vpsub
27471$extrasub
daa2886c
AJ
27472_ACEOF
27473cat >>$CONFIG_STATUS <<\_ACEOF
f5818d2f
AJ
27474:t
27475/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
fc6ffb29
AJ
27476s&@configure_input@&$configure_input&;t t
27477s&@top_builddir@&$ac_top_builddir_sub&;t t
27478s&@srcdir@&$ac_srcdir&;t t
27479s&@abs_srcdir@&$ac_abs_srcdir&;t t
27480s&@top_srcdir@&$ac_top_srcdir&;t t
27481s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
27482s&@builddir@&$ac_builddir&;t t
27483s&@abs_builddir@&$ac_abs_builddir&;t t
27484s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
27485s&@INSTALL@&$ac_INSTALL&;t t
27486$ac_datarootdir_hack
27487" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
27488
0ebeb530
JW
27489test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27490 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
f5f37a85 27491 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
0ebeb530
JW
27492 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27493which seems to be undefined. Please make sure it is defined." >&5
27494echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27495which seems to be undefined. Please make sure it is defined." >&2;}
27496
fc6ffb29 27497 rm -f "$tmp/stdin"
f5818d2f 27498 case $ac_file in
fc6ffb29
AJ
27499 -) cat "$tmp/out"; rm -f "$tmp/out";;
27500 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
18f92e76 27501 esac
fc6ffb29
AJ
27502 ;;
27503 :H)
27504 #
27505 # CONFIG_HEADER
27506 #
fc6ffb29
AJ
27507_ACEOF
27508
27509# Transform confdefs.h into a sed script `conftest.defines', that
27510# substitutes the proper values into config.h.in to produce config.h.
27511rm -f conftest.defines conftest.tail
27512# First, append a space to every undef/define line, to ease matching.
27513echo 's/$/ /' >conftest.defines
27514# Then, protect against being on the right side of a sed subst, or in
27515# an unquoted here document, in config.status. If some macros were
27516# called several times there might be several #defines for the same
27517# symbol, which is useless. But do not sort them, since the last
27518# AC_DEFINE must be honored.
27519ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
0ebeb530
JW
27520# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
27521# NAME is the cpp macro being defined, VALUE is the value it is being given.
27522# PARAMS is the parameter list in the macro definition--in most cases, it's
27523# just an empty string.
27524ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
27525ac_dB='\\)[ (].*,\\1define\\2'
27526ac_dC=' '
27527ac_dD=' ,'
27528
fc6ffb29
AJ
27529uniq confdefs.h |
27530 sed -n '
27531 t rset
27532 :rset
27533 s/^[ ]*#[ ]*define[ ][ ]*//
27534 t ok
27535 d
27536 :ok
27537 s/[\\&,]/\\&/g
0ebeb530
JW
27538 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
27539 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
fc6ffb29
AJ
27540 ' >>conftest.defines
27541
27542# Remove the space that was appended to ease matching.
27543# Then replace #undef with comments. This is necessary, for
18f92e76
AJ
27544# example, in the case of _POSIX_SOURCE, which is predefined and required
27545# on some systems where configure will not decide to define it.
fc6ffb29
AJ
27546# (The regexp can be short, since the line contains either #define or #undef.)
27547echo 's/ $//
27548s,^[ #]*u.*,/* & */,' >>conftest.defines
27549
27550# Break up conftest.defines:
0ebeb530 27551ac_max_sed_lines=50
fc6ffb29
AJ
27552
27553# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
27554# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
27555# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
27556# et cetera.
27557ac_in='$ac_file_inputs'
27558ac_out='"$tmp/out1"'
27559ac_nxt='"$tmp/out2"'
27560
27561while :
f5818d2f 27562do
fc6ffb29 27563 # Write a here document:
0ebeb530
JW
27564 cat >>$CONFIG_STATUS <<_ACEOF
27565 # First, check the format of the line:
27566 cat >"\$tmp/defines.sed" <<\\CEOF
27567/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
27568/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
fc6ffb29 27569b
0ebeb530
JW
27570:def
27571_ACEOF
fc6ffb29 27572 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
f5818d2f 27573 echo 'CEOF
fc6ffb29
AJ
27574 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
27575 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
27576 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
27577 grep . conftest.tail >/dev/null || break
f5818d2f
AJ
27578 rm -f conftest.defines
27579 mv conftest.tail conftest.defines
27580done
fc6ffb29 27581rm -f conftest.defines conftest.tail
f5818d2f 27582
fc6ffb29 27583echo "ac_result=$ac_in" >>$CONFIG_STATUS
daa2886c 27584cat >>$CONFIG_STATUS <<\_ACEOF
f5818d2f 27585 if test x"$ac_file" != x-; then
fc6ffb29
AJ
27586 echo "/* $configure_input */" >"$tmp/config.h"
27587 cat "$ac_result" >>"$tmp/config.h"
27588 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
daa2886c 27589 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
f5818d2f
AJ
27590echo "$as_me: $ac_file is unchanged" >&6;}
27591 else
f5818d2f 27592 rm -f $ac_file
fc6ffb29 27593 mv "$tmp/config.h" $ac_file
18f92e76 27594 fi
f5818d2f 27595 else
fc6ffb29
AJ
27596 echo "/* $configure_input */"
27597 cat "$ac_result"
18f92e76 27598 fi
fc6ffb29
AJ
27599 rm -f "$tmp/out12"
27600 ;;
875927f6 27601
fc6ffb29
AJ
27602 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
27603echo "$as_me: executing $ac_file commands" >&6;}
27604 ;;
27605 esac
daa2886c
AJ
27606
27607
fc6ffb29 27608 case $ac_file$ac_mode in
c4704c2d 27609 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
7dfc4477
AJ
27610 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
27611echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
27612 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
27613echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
1c60e3bf
AJ
27614 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
27615echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
b8a2e3b8
AJ
27616 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
27617echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
fc6ffb29 27618 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
57ed75bf 27619echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
fc6ffb29 27620 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
f5818d2f 27621echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
fc6ffb29 27622
f5818d2f 27623 esac
fc6ffb29 27624done # for ac_tag
e2991ea7 27625
87a2f8df 27626
f5818d2f 27627{ (exit 0); exit 0; }
daa2886c 27628_ACEOF
e2991ea7 27629chmod +x $CONFIG_STATUS
f5818d2f
AJ
27630ac_clean_files=$ac_clean_files_save
27631
daa2886c 27632
f5818d2f
AJ
27633# configure is writing to config.log, and then calls config.status.
27634# config.status does its own redirection, appending to config.log.
27635# Unfortunately, on DOS this fails, as config.log is still kept open
27636# by configure, so config.status won't be able to write to it; its
27637# output is simply discarded. So we exec the FD to /dev/null,
27638# effectively closing config.log, so it can be properly (re)opened and
27639# appended to by config.status. When coming back to configure, we
27640# need to make the FD available again.
27641if test "$no_create" != yes; then
27642 ac_cs_success=:
e24bcc77
AJ
27643 ac_config_status_args=
27644 test "$silent" = yes &&
27645 ac_config_status_args="$ac_config_status_args --quiet"
f5818d2f 27646 exec 5>/dev/null
e24bcc77 27647 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
f5818d2f
AJ
27648 exec 5>>config.log
27649 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27650 # would make configure fail if this is the last instruction.
27651 $ac_cs_success || { (exit 1); exit 1; }
27652fi
e2991ea7 27653
daa2886c 27654
e3bd111b
AJ
27655if test "$no_create" = "yes"
27656then
27657 exit 0
27658fi
27659
f9dec94f
AJ
27660ac_save_IFS="$IFS"
27661IFS="|"
a41f0f1b
AJ
27662if test "x$wine_notices != "x; then
27663 echo >&6
f9dec94f
AJ
27664 for msg in $wine_notices; do
27665 if test -n "$msg"; then
f9dec94f
AJ
27666 { echo "$as_me:$LINENO: $msg" >&5
27667echo "$as_me: $msg" >&6;}
27668 fi
27669 done
99d026fb 27670fi
f9dec94f
AJ
27671for msg in $wine_warnings; do
27672 if test -n "$msg"; then
27673 echo >&2
27674 { echo "$as_me:$LINENO: WARNING: $msg" >&5
27675echo "$as_me: WARNING: $msg" >&2;}
27676 fi
27677done
27678IFS="$ac_save_IFS"
99d026fb 27679
a41f0f1b
AJ
27680echo "
27681$as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.
27682" >&6
e2991ea7 27683